Lines Matching refs:sbd_port

83 struct sbd_port {  struct
95 struct sbd_port sport[2]; argument
100 #define to_sport(uport) container_of(uport, struct sbd_port, port)
116 static u64 __read_sbdchn(struct sbd_port *sport, int reg) in __read_sbdchn()
123 static u64 __read_sbdshr(struct sbd_port *sport, int reg) in __read_sbdshr()
130 static void __write_sbdchn(struct sbd_port *sport, int reg, u64 value) in __write_sbdchn()
137 static void __write_sbdshr(struct sbd_port *sport, int reg, u64 value) in __write_sbdshr()
148 static void __war_sbd1956(struct sbd_port *sport) in __war_sbd1956()
154 static unsigned char read_sbdchn(struct sbd_port *sport, int reg) in read_sbdchn()
164 static unsigned char read_sbdshr(struct sbd_port *sport, int reg) in read_sbdshr()
174 static void write_sbdchn(struct sbd_port *sport, int reg, unsigned int value) in write_sbdchn()
181 static void write_sbdshr(struct sbd_port *sport, int reg, unsigned int value) in write_sbdshr()
189 static int sbd_receive_ready(struct sbd_port *sport) in sbd_receive_ready()
194 static int sbd_receive_drain(struct sbd_port *sport) in sbd_receive_drain()
203 static int __maybe_unused sbd_transmit_ready(struct sbd_port *sport) in sbd_transmit_ready()
208 static int __maybe_unused sbd_transmit_drain(struct sbd_port *sport) in sbd_transmit_drain()
217 static int sbd_transmit_empty(struct sbd_port *sport) in sbd_transmit_empty()
222 static int sbd_line_drain(struct sbd_port *sport) in sbd_line_drain()
234 struct sbd_port *sport = to_sport(uport); in sbd_tx_empty()
241 struct sbd_port *sport = to_sport(uport); in sbd_get_mctrl()
255 struct sbd_port *sport = to_sport(uport); in sbd_set_mctrl()
283 struct sbd_port *sport = to_sport(uport); in sbd_stop_tx()
291 struct sbd_port *sport = to_sport(uport); in sbd_start_tx()
306 struct sbd_port *sport = to_sport(uport); in sbd_stop_rx()
313 struct sbd_port *sport = to_sport(uport); in sbd_enable_ms()
321 struct sbd_port *sport = to_sport(uport); in sbd_break_ctl()
330 static void sbd_receive_chars(struct sbd_port *sport) in sbd_receive_chars()
382 static void sbd_transmit_chars(struct sbd_port *sport) in sbd_transmit_chars()
418 static void sbd_status_handle(struct sbd_port *sport) in sbd_status_handle()
439 struct sbd_port *sport = dev_id; in sbd_interrupt()
470 struct sbd_port *sport = to_sport(uport); in sbd_startup()
504 struct sbd_port *sport = to_sport(uport); in sbd_shutdown()
512 static void sbd_init_port(struct sbd_port *sport) in sbd_init_port()
536 struct sbd_port *sport = to_sport(uport); in sbd_set_termios()
646 struct sbd_port *sport = to_sport(uport); in sbd_release_port()
662 struct sbd_port *sport = to_sport(uport); in sbd_map_port()
723 struct sbd_port *sport = to_sport(uport); in sbd_config_port()
798 struct sbd_port *sport = &sbd_duarts[chip].sport[side]; in sbd_probe_duarts()
825 struct sbd_port *sport = to_sport(uport); in sbd_console_putchar()
836 struct sbd_port *sport = &sbd_duarts[chip].sport[side]; in sbd_console_write()
864 struct sbd_port *sport = &sbd_duarts[chip].sport[side]; in sbd_console_setup()
936 struct sbd_port *sport = &duart->sport[i % DUART_MAX_SIDE]; in sbd_init()
953 struct sbd_port *sport = &duart->sport[i % DUART_MAX_SIDE]; in sbd_exit()