Lines Matching refs:sifive_serial_port

137  * struct sifive_serial_port - driver-specific data extension to struct uart_port
147 struct sifive_serial_port {
161 struct sifive_serial_port, \
165 struct sifive_serial_port, \
218 * @ssp: pointer to a struct sifive_serial_port record
221 * IP block base, given a pointer @ssp to a struct sifive_serial_port record.
225 static void __ssp_writel(u32 v, u16 offs, struct sifive_serial_port *ssp)
232 * @ssp: pointer to a struct sifive_serial_port record
236 * IP block base, given a pointer @ssp to a struct sifive_serial_port record.
242 static u32 __ssp_readl(struct sifive_serial_port *ssp, u16 offs)
249 * @ssp: pointer to a struct sifive_serial_port
258 static int sifive_serial_is_txfifo_full(struct sifive_serial_port *ssp)
266 * @ssp: pointer to a struct sifive_serial_port
270 * struct sifive_serial_port * to transmit on. Caller should first check to
275 static void __ssp_transmit_char(struct sifive_serial_port *ssp, int ch)
282 * @ssp: pointer to a struct sifive_serial_port
289 static void __ssp_transmit_chars(struct sifive_serial_port *ssp)
301 * @ssp: pointer to a struct sifive_serial_port
306 static void __ssp_enable_txwm(struct sifive_serial_port *ssp)
317 * @ssp: pointer to a struct sifive_serial_port
322 static void __ssp_enable_rxwm(struct sifive_serial_port *ssp)
333 * @ssp: pointer to a struct sifive_serial_port
338 static void __ssp_disable_txwm(struct sifive_serial_port *ssp)
349 * @ssp: pointer to a struct sifive_serial_port
354 static void __ssp_disable_rxwm(struct sifive_serial_port *ssp)
365 * @ssp: pointer to a struct sifive_serial_port
375 static char __ssp_receive_char(struct sifive_serial_port *ssp, char *is_empty)
396 * @ssp: pointer to a struct sifive_serial_port
403 static void __ssp_receive_chars(struct sifive_serial_port *ssp)
424 * @ssp: pointer to a struct sifive_serial_port
430 static void __ssp_update_div(struct sifive_serial_port *ssp)
441 * @ssp: pointer to a struct sifive_serial_port
449 static void __ssp_update_baud_rate(struct sifive_serial_port *ssp,
461 * @ssp: pointer to a struct sifive_serial_port
466 static void __ssp_set_stop_bits(struct sifive_serial_port *ssp, char nstop)
483 * @ssp: pointer to a struct sifive_serial_port
489 static void __maybe_unused __ssp_wait_for_xmitr(struct sifive_serial_port *ssp)
501 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port);
508 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port);
515 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port);
522 struct sifive_serial_port *ssp = dev_id;
565 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port);
574 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port);
597 struct sifive_serial_port *ssp = notifier_to_sifive_serial_port(nb);
631 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port);
688 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port);
707 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port);
720 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port);
774 static struct sifive_serial_port *sifive_serial_console_ports[SIFIVE_SERIAL_MAX_PORTS];
778 struct sifive_serial_port *ssp = port_to_sifive_serial_port(port);
787 struct sifive_serial_port *ssp = sifive_serial_console_ports[co->index];
813 struct sifive_serial_port *ssp;
852 static void __ssp_add_console_port(struct sifive_serial_port *ssp)
857 static void __ssp_remove_console_port(struct sifive_serial_port *ssp)
868 static void __ssp_add_console_port(struct sifive_serial_port *ssp)
870 static void __ssp_remove_console_port(struct sifive_serial_port *ssp)
907 struct sifive_serial_port *ssp;
1009 struct sifive_serial_port *ssp = platform_get_drvdata(dev);
1019 struct sifive_serial_port *ssp = dev_get_drvdata(dev);
1026 struct sifive_serial_port *ssp = dev_get_drvdata(dev);