Lines Matching refs:sbd_port

92 struct sbd_port {  struct
104 struct sbd_port sport[2]; argument
109 #define to_sport(uport) container_of(uport, struct sbd_port, port)
125 static u64 __read_sbdchn(struct sbd_port *sport, int reg) in __read_sbdchn()
132 static u64 __read_sbdshr(struct sbd_port *sport, int reg) in __read_sbdshr()
139 static void __write_sbdchn(struct sbd_port *sport, int reg, u64 value) in __write_sbdchn()
146 static void __write_sbdshr(struct sbd_port *sport, int reg, u64 value) in __write_sbdshr()
157 static void __war_sbd1956(struct sbd_port *sport) in __war_sbd1956()
163 static unsigned char read_sbdchn(struct sbd_port *sport, int reg) in read_sbdchn()
173 static unsigned char read_sbdshr(struct sbd_port *sport, int reg) in read_sbdshr()
183 static void write_sbdchn(struct sbd_port *sport, int reg, unsigned int value) in write_sbdchn()
190 static void write_sbdshr(struct sbd_port *sport, int reg, unsigned int value) in write_sbdshr()
198 static int sbd_receive_ready(struct sbd_port *sport) in sbd_receive_ready()
203 static int sbd_receive_drain(struct sbd_port *sport) in sbd_receive_drain()
212 static int __maybe_unused sbd_transmit_ready(struct sbd_port *sport) in sbd_transmit_ready()
217 static int __maybe_unused sbd_transmit_drain(struct sbd_port *sport) in sbd_transmit_drain()
226 static int sbd_transmit_empty(struct sbd_port *sport) in sbd_transmit_empty()
231 static int sbd_line_drain(struct sbd_port *sport) in sbd_line_drain()
243 struct sbd_port *sport = to_sport(uport); in sbd_tx_empty()
250 struct sbd_port *sport = to_sport(uport); in sbd_get_mctrl()
264 struct sbd_port *sport = to_sport(uport); in sbd_set_mctrl()
292 struct sbd_port *sport = to_sport(uport); in sbd_stop_tx()
300 struct sbd_port *sport = to_sport(uport); in sbd_start_tx()
315 struct sbd_port *sport = to_sport(uport); in sbd_stop_rx()
322 struct sbd_port *sport = to_sport(uport); in sbd_enable_ms()
330 struct sbd_port *sport = to_sport(uport); in sbd_break_ctl()
339 static void sbd_receive_chars(struct sbd_port *sport) in sbd_receive_chars()
390 static void sbd_transmit_chars(struct sbd_port *sport) in sbd_transmit_chars()
427 static void sbd_status_handle(struct sbd_port *sport) in sbd_status_handle()
448 struct sbd_port *sport = dev_id; in sbd_interrupt()
479 struct sbd_port *sport = to_sport(uport); in sbd_startup()
513 struct sbd_port *sport = to_sport(uport); in sbd_shutdown()
521 static void sbd_init_port(struct sbd_port *sport) in sbd_init_port()
545 struct sbd_port *sport = to_sport(uport); in sbd_set_termios()
655 struct sbd_port *sport = to_sport(uport); in sbd_release_port()
673 struct sbd_port *sport = to_sport(uport); in sbd_map_port()
736 struct sbd_port *sport = to_sport(uport); in sbd_config_port()
811 struct sbd_port *sport = &sbd_duarts[chip].sport[side]; in sbd_probe_duarts()
837 struct sbd_port *sport = to_sport(uport); in sbd_console_putchar()
848 struct sbd_port *sport = &sbd_duarts[chip].sport[side]; in sbd_console_write()
876 struct sbd_port *sport = &sbd_duarts[chip].sport[side]; in sbd_console_setup()
948 struct sbd_port *sport = &duart->sport[i % DUART_MAX_SIDE]; in sbd_init()
965 struct sbd_port *sport = &duart->sport[i % DUART_MAX_SIDE]; in sbd_exit()