Lines Matching defs:sbd_port
83 struct sbd_port {
95 struct sbd_port sport[2];
100 #define to_sport(uport) container_of(uport, struct sbd_port, port)
116 static u64 __read_sbdchn(struct sbd_port *sport, int reg)
123 static u64 __read_sbdshr(struct sbd_port *sport, int reg)
130 static void __write_sbdchn(struct sbd_port *sport, int reg, u64 value)
137 static void __write_sbdshr(struct sbd_port *sport, int reg, u64 value)
148 static void __war_sbd1956(struct sbd_port *sport)
154 static unsigned char read_sbdchn(struct sbd_port *sport, int reg)
164 static unsigned char read_sbdshr(struct sbd_port *sport, int reg)
174 static void write_sbdchn(struct sbd_port *sport, int reg, unsigned int value)
181 static void write_sbdshr(struct sbd_port *sport, int reg, unsigned int value)
189 static int sbd_receive_ready(struct sbd_port *sport)
194 static int sbd_receive_drain(struct sbd_port *sport)
203 static int __maybe_unused sbd_transmit_ready(struct sbd_port *sport)
208 static int __maybe_unused sbd_transmit_drain(struct sbd_port *sport)
217 static int sbd_transmit_empty(struct sbd_port *sport)
222 static int sbd_line_drain(struct sbd_port *sport)
234 struct sbd_port *sport = to_sport(uport);
241 struct sbd_port *sport = to_sport(uport);
255 struct sbd_port *sport = to_sport(uport);
283 struct sbd_port *sport = to_sport(uport);
291 struct sbd_port *sport = to_sport(uport);
306 struct sbd_port *sport = to_sport(uport);
313 struct sbd_port *sport = to_sport(uport);
321 struct sbd_port *sport = to_sport(uport);
330 static void sbd_receive_chars(struct sbd_port *sport)
381 static void sbd_transmit_chars(struct sbd_port *sport)
418 static void sbd_status_handle(struct sbd_port *sport)
439 struct sbd_port *sport = dev_id;
470 struct sbd_port *sport = to_sport(uport);
504 struct sbd_port *sport = to_sport(uport);
512 static void sbd_init_port(struct sbd_port *sport)
536 struct sbd_port *sport = to_sport(uport);
646 struct sbd_port *sport = to_sport(uport);
662 struct sbd_port *sport = to_sport(uport);
723 struct sbd_port *sport = to_sport(uport);
798 struct sbd_port *sport = &sbd_duarts[chip].sport[side];
825 struct sbd_port *sport = to_sport(uport);
836 struct sbd_port *sport = &sbd_duarts[chip].sport[side];
864 struct sbd_port *sport = &sbd_duarts[chip].sport[side];
936 struct sbd_port *sport = &duart->sport[i % DUART_MAX_SIDE];
953 struct sbd_port *sport = &duart->sport[i % DUART_MAX_SIDE];