| /drivers/net/wireless/realtek/rtw89/ |
| A D | ser.c | 73 return ser->st_tbl[ser->state].name; in ser_st_name() 154 struct rtw89_dev *rtwdev = container_of(ser, struct rtw89_dev, ser); in ser_state_run() 157 ser_st_name(ser), ser_ev_name(ser, evt)); in ser_state_run() 163 ser->st_tbl[ser->state].st_func(ser, evt); in ser_state_run() 168 struct rtw89_dev *rtwdev = container_of(ser, struct rtw89_dev, ser); in ser_state_goto() 175 ser_st_name(ser), ser->st_tbl[new_state].name); in ser_state_goto() 208 struct rtw89_dev *rtwdev = container_of(ser, struct rtw89_dev, ser); in ser_send_msg() 233 ser_send_msg(ser, ser->alarm_event); in rtw89_ser_alarm_work() 773 struct rtw89_ser *ser = &rtwdev->ser; in rtw89_ser_init() local 775 memset(ser, 0, sizeof(*ser)); in rtw89_ser_init() [all …]
|
| /drivers/net/caif/ |
| A D | caif_serial.c | 89 ser->tty_status = in update_tty_status() 105 &ser->state); in debugfs_init() 110 ser->tx_blob.data = ser->tx_data; in debugfs_init() 112 ser->rx_blob.data = ser->rx_data; in debugfs_init() 126 ser->rx_blob.data = ser->rx_data; in debugfs_rx() 166 if (!ser->common.use_stx && !ser->tx_started) { in ldisc_receive() 200 tty = ser->tty; in handle_tx() 246 ser->common.flowctrl(ser->dev, ON); in handle_tx() 265 ser->common.flowctrl(ser->dev, OFF); in caif_xmit() 279 handle_tx(ser); in ldisc_tx_wakeup() [all …]
|
| /drivers/accessibility/speakup/ |
| A D | serialio.c | 60 ser = rs_table + index; in spk_serial_init() 63 quot = ser->baud_base / baud; in spk_serial_init() 81 ser->port, err); in spk_serial_init() 95 outb(0, ser->port + UART_IER); in spk_serial_init() 107 serstate = ser; in spk_serial_init() 111 return ser; in spk_serial_init() 177 if ((synth->ser >= SPK_LO_TTY) && (synth->ser <= SPK_HI_TTY)) { in spk_serial_synth_probe() 178 ser = spk_serial_init(synth->ser); in spk_serial_synth_probe() 179 if (!ser) { in spk_serial_synth_probe() 182 outb_p(0, ser->port); in spk_serial_synth_probe() [all …]
|
| A D | spk_ttyio.c | 26 static int ser_to_dev(int ser, dev_t *dev_no) in ser_to_dev() argument 28 if (ser < 0 || ser > (255 - 64)) { in ser_to_dev() 33 *dev_no = MKDEV(4, (64 + ser)); in ser_to_dev() 41 synth->ser == SYNTH_DEFAULT_SER) in get_dev_to_use() 44 return ser_to_dev(synth->ser, dev_no); in get_dev_to_use()
|
| A D | speakup_bns.c | 122 module_param_named(ser, synth_bns.ser, int, 0444); 132 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
| A D | speakup_txprt.c | 127 module_param_named(ser, synth_txprt.ser, int, 0444); 138 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
| A D | speakup_acntsa.c | 139 module_param_named(ser, synth_acntsa.ser, int, 0444); 148 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
| A D | speakup_spkout.c | 135 module_param_named(ser, synth_spkout.ser, int, 0444); 146 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
| A D | speakup_dummy.c | 142 module_param_named(ser, synth_dummy.ser, int, 0444); 156 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
| A D | speakup_audptr.c | 167 module_param_named(ser, synth_audptr.ser, int, 0444); 179 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
| A D | speakup_ltlk.c | 171 module_param_named(ser, synth_ltlk.ser, int, 0444); 186 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
| A D | speakup_apollo.c | 206 module_param_named(ser, synth_apollo.ser, int, 0444); 217 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
| A D | speakup_decext.c | 234 module_param_named(ser, synth_decext.ser, int, 0444); 246 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
| A D | speakup_dectlk.c | 314 module_param_named(ser, synth_dectlk.ser, int, 0444); 327 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
|
| /drivers/tty/serial/ |
| A D | 21285.c | 340 static int serial21285_verify_port(struct uart_port *port, struct serial_struct *ser) in serial21285_verify_port() argument 343 if (ser->type != PORT_UNKNOWN && ser->type != PORT_21285) in serial21285_verify_port() 345 if (ser->irq <= 0) in serial21285_verify_port() 347 if (ser->baud_base != port->uartclk / 16) in serial21285_verify_port()
|
| A D | apbuart.c | 285 struct serial_struct *ser) in apbuart_verify_port() argument 288 if (ser->type != PORT_UNKNOWN && ser->type != PORT_APBUART) in apbuart_verify_port() 290 if (ser->irq < 0 || ser->irq >= NR_IRQS) in apbuart_verify_port() 292 if (ser->baud_base < 9600) in apbuart_verify_port()
|
| A D | sa1100.c | 541 sa1100_verify_port(struct uart_port *port, struct serial_struct *ser) in sa1100_verify_port() argument 547 if (ser->type != PORT_UNKNOWN && ser->type != PORT_SA1100) in sa1100_verify_port() 549 if (sport->port.irq != ser->irq) in sa1100_verify_port() 551 if (ser->io_type != SERIAL_IO_MEM) in sa1100_verify_port() 553 if (sport->port.uartclk / 16 != ser->baud_base) in sa1100_verify_port() 555 if ((void *)sport->port.mapbase != ser->iomem_base) in sa1100_verify_port() 557 if (sport->port.iobase != ser->port) in sa1100_verify_port() 559 if (ser->hub6 != 0) in sa1100_verify_port()
|
| A D | ar933x_uart.c | 544 struct serial_struct *ser) in ar933x_uart_verify_port() argument 549 if (ser->type != PORT_UNKNOWN && in ar933x_uart_verify_port() 550 ser->type != PORT_AR933X) in ar933x_uart_verify_port() 553 if (ser->irq < 0 || ser->irq >= NR_IRQS) in ar933x_uart_verify_port() 556 if (ser->baud_base < up->min_baud || in ar933x_uart_verify_port() 557 ser->baud_base > up->max_baud) in ar933x_uart_verify_port()
|
| A D | amba-pl010.c | 497 static int pl010_verify_port(struct uart_port *port, struct serial_struct *ser) in pl010_verify_port() argument 500 if (ser->type != PORT_UNKNOWN && ser->type != PORT_AMBA) in pl010_verify_port() 502 if (ser->irq < 0 || ser->irq >= irq_get_nr_irqs()) in pl010_verify_port() 504 if (ser->baud_base < 9600) in pl010_verify_port()
|
| A D | lantiq.c | 549 struct serial_struct *ser) in lqasc_verify_port() argument 552 if (ser->type != PORT_UNKNOWN && ser->type != PORT_LTQ_ASC) in lqasc_verify_port() 554 if (ser->irq < 0 || ser->irq >= NR_IRQS) in lqasc_verify_port() 556 if (ser->baud_base < 9600) in lqasc_verify_port()
|
| A D | altera_jtaguart.c | 226 struct serial_struct *ser) in altera_jtaguart_verify_port() argument 228 if (ser->type != PORT_UNKNOWN && ser->type != PORT_ALTERA_JTAGUART) in altera_jtaguart_verify_port()
|
| A D | vt8500_serial.c | 438 struct serial_struct *ser) in vt8500_verify_port() argument 440 if (unlikely(ser->type != PORT_UNKNOWN && ser->type != PORT_VT8500)) in vt8500_verify_port() 442 if (unlikely(port->irq != ser->irq)) in vt8500_verify_port()
|
| A D | sb1250-duart.c | 736 static int sbd_verify_port(struct uart_port *uport, struct serial_struct *ser) in sbd_verify_port() argument 740 if (ser->type != PORT_UNKNOWN && ser->type != PORT_SB1250_DUART) in sbd_verify_port() 742 if (ser->irq != uport->irq) in sbd_verify_port() 744 if (ser->baud_base != uport->uartclk / 16) in sbd_verify_port()
|
| /drivers/media/i2c/ |
| A D | ds90ub960.c | 498 } ser; member 2139 if (rxport->ser.addr < 0) { in ub960_rxport_bc_ser_config() 2183 .fwnode = rxport->ser.fwnode, in ub960_rxport_add_serializer() 2200 rxport->ser.client = in ub960_rxport_add_serializer() 2202 if (IS_ERR(rxport->ser.client)) { in ub960_rxport_add_serializer() 2209 nport, rxport->ser.client->addr, in ub960_rxport_add_serializer() 2210 rxport->ser.client->adapter->nr, rxport->ser.client->addr); in ub960_rxport_add_serializer() 2220 rxport->ser.client = NULL; in ub960_rxport_remove_serializer() 3067 if (it.rxport->ser.addr >= 0) { in ub960_init_rx_ports_ub9702() 4501 if (!rxport->ser.fwnode) { in ub960_parse_dt_rxport_link_properties() [all …]
|
| /drivers/media/pci/mgb4/ |
| A D | mgb4_vout.c | 639 struct mgb4_i2c_client *ser = &voutdev->ser; in ser_init() local 645 rv = mgb4_i2c_init(ser, voutdev->mgbdev->i2c_adap, info, 8); in ser_init() 650 rv = mgb4_i2c_configure(ser, fpdl3_i2c, ARRAY_SIZE(fpdl3_i2c)); in ser_init() 659 mgb4_i2c_free(ser); in ser_init() 842 mgb4_i2c_free(&voutdev->ser); in mgb4_vout_free()
|