| /linux/include/linux/ |
| A D | serdev.h | 16 struct serdev_device; 31 void (*write_wakeup)(struct serdev_device *); 43 struct serdev_device { struct 54 return container_of(d, struct serdev_device, dev); in to_serdev_device() 66 int (*probe)(struct serdev_device *); 67 void (*remove)(struct serdev_device *); 111 struct serdev_device *serdev; 169 int serdev_device_add(struct serdev_device *); 180 struct serdev_device *serdev = ctrl->serdev; in serdev_controller_write_wakeup() 192 struct serdev_device *serdev = ctrl->serdev; in serdev_controller_receive_buf() [all …]
|
| /linux/drivers/tty/serdev/ |
| A D | core.c | 45 ATTRIBUTE_GROUPS(serdev_device); 62 struct serdev_device *serdev = to_serdev_device(dev); in serdev_device_release() 104 int serdev_device_add(struct serdev_device *serdev) in serdev_device_add() 140 void serdev_device_remove(struct serdev_device *serdev) in serdev_device_remove() 149 int serdev_device_open(struct serdev_device *serdev) in serdev_device_open() 177 void serdev_device_close(struct serdev_device *serdev) in serdev_device_close() 376 int serdev_device_get_tiocm(struct serdev_device *serdev) in serdev_device_get_tiocm() 450 struct serdev_device *serdev; in serdev_device_alloc() 527 struct serdev_device *serdev = NULL; in of_serdev_register_devices() 678 struct serdev_device *serdev; in acpi_serdev_register_device() [all …]
|
| /linux/drivers/w1/masters/ |
| A D | w1-uart.c | 55 struct serdev_device *serdev; 106 static int w1_uart_set_config(struct serdev_device *serdev, in w1_uart_set_config() 156 struct serdev_device *serdev = w1dev->serdev; in w1_uart_set_config_reset() 177 struct serdev_device *serdev = w1dev->serdev; in w1_uart_set_config_touch_0() 198 struct serdev_device *serdev = w1dev->serdev; in w1_uart_set_config_touch_1() 217 struct serdev_device *serdev = w1dev->serdev; in w1_uart_serdev_open() 260 struct serdev_device *serdev = w1dev->serdev; in w1_uart_serdev_tx_rx() 292 static size_t w1_uart_serdev_receive_buf(struct serdev_device *serdev, in w1_uart_serdev_receive_buf() 358 static int w1_uart_probe(struct serdev_device *serdev) in w1_uart_probe() 384 static void w1_uart_remove(struct serdev_device *serdev) in w1_uart_remove()
|
| /linux/drivers/gnss/ |
| A D | serial.c | 25 struct serdev_device *serdev = gserial->serdev; in gnss_serial_open() 52 struct serdev_device *serdev = gserial->serdev; in gnss_serial_close() 63 struct serdev_device *serdev = gserial->serdev; in gnss_serial_write_raw() 83 static size_t gnss_serial_receive_buf(struct serdev_device *serdev, in gnss_serial_receive_buf() 110 static int gnss_serial_parse_dt(struct serdev_device *serdev) in gnss_serial_parse_dt() 123 struct gnss_serial *gnss_serial_allocate(struct serdev_device *serdev, in gnss_serial_allocate() 173 struct serdev_device *serdev = gserial->serdev; in gnss_serial_register() 202 struct serdev_device *serdev = gserial->serdev; in gnss_serial_deregister()
|
| A D | sirf.c | 40 struct serdev_device *serdev; 91 struct serdev_device *serdev = data->serdev; in sirf_open() 128 struct serdev_device *serdev = data->serdev; in sirf_close() 143 struct serdev_device *serdev = data->serdev; in sirf_write_raw() 163 static size_t sirf_receive_buf(struct serdev_device *serdev, in sirf_receive_buf() 382 static int sirf_parse_dt(struct serdev_device *serdev) in sirf_parse_dt() 395 static int sirf_probe(struct serdev_device *serdev) in sirf_probe() 536 static void sirf_remove(struct serdev_device *serdev) in sirf_remove()
|
| A D | serial.h | 15 struct serdev_device *serdev; 35 struct gnss_serial *gnss_serial_allocate(struct serdev_device *gserial,
|
| A D | ubx.c | 66 static int ubx_probe(struct serdev_device *serdev) in ubx_probe() 114 static void ubx_remove(struct serdev_device *serdev) in ubx_remove()
|
| A D | mtk.c | 66 static int mtk_probe(struct serdev_device *serdev) in mtk_probe() 120 static void mtk_remove(struct serdev_device *serdev) in mtk_remove()
|
| /linux/drivers/nfc/s3fwrn5/ |
| A D | uart.c | 29 struct serdev_device *ser_dev; 54 static size_t s3fwrn82_uart_read(struct serdev_device *serdev, in s3fwrn82_uart_read() 91 static int s3fwrn82_uart_parse_dt(struct serdev_device *serdev) in s3fwrn82_uart_parse_dt() 110 static int s3fwrn82_uart_probe(struct serdev_device *serdev) in s3fwrn82_uart_probe() 173 static void s3fwrn82_uart_remove(struct serdev_device *serdev) in s3fwrn82_uart_remove()
|
| /linux/drivers/platform/chrome/ |
| A D | cros_ec_uart.c | 77 struct serdev_device *serdev; 84 static size_t cros_ec_uart_rx_bytes(struct serdev_device *serdev, in cros_ec_uart_rx_bytes() 133 struct serdev_device *serdev = ec_uart->serdev; in cros_ec_uart_pkt_xfer() 251 static int cros_ec_uart_probe(struct serdev_device *serdev) in cros_ec_uart_probe() 307 static void cros_ec_uart_remove(struct serdev_device *serdev) in cros_ec_uart_remove()
|
| /linux/drivers/platform/surface/aggregator/ |
| A D | core.c | 233 static size_t ssam_receive_buf(struct serdev_device *dev, const u8 *buf, in ssam_receive_buf() 245 static void ssam_write_wakeup(struct serdev_device *dev) in ssam_write_wakeup() 310 struct serdev_device *serdev = ctx; in ssam_serdev_setup_via_acpi_crs() 358 static int ssam_serdev_setup_via_acpi(struct serdev_device *serdev, acpi_handle handle) in ssam_serdev_setup_via_acpi() 368 static int ssam_serdev_setup(struct acpi_device *ssh, struct serdev_device *serdev) in ssam_serdev_setup() 637 static int ssam_serial_hub_probe(struct serdev_device *serdev) in ssam_serial_hub_probe() 776 static void ssam_serial_hub_remove(struct serdev_device *serdev) in ssam_serial_hub_remove()
|
| A D | ssh_packet_layer.h | 78 struct serdev_device *serdev; 139 int ssh_ptl_init(struct ssh_ptl *ptl, struct serdev_device *serdev,
|
| /linux/sound/drivers/ |
| A D | serial-generic.c | 41 struct serdev_device *serdev; 96 static void snd_serial_generic_write_wakeup(struct serdev_device *serdev) in snd_serial_generic_write_wakeup() 103 static size_t snd_serial_generic_receive_buf(struct serdev_device *serdev, in snd_serial_generic_receive_buf() 262 static void snd_serial_generic_parse_dt(struct serdev_device *serdev, in snd_serial_generic_parse_dt() 319 static int snd_serial_generic_probe(struct serdev_device *serdev) in snd_serial_generic_probe()
|
| /linux/drivers/nfc/pn533/ |
| A D | uart.c | 29 struct serdev_device *serdev; 206 static size_t pn532_receive_buf(struct serdev_device *serdev, in pn532_receive_buf() 238 static int pn532_uart_probe(struct serdev_device *serdev) in pn532_uart_probe() 306 static void pn532_uart_remove(struct serdev_device *serdev) in pn532_uart_remove()
|
| /linux/drivers/platform/x86/ |
| A D | lenovo-yoga-tab2-pro-1380-fastcharger.c | 136 static size_t yt2_1380_fc_receive(struct serdev_device *serdev, const u8 *data, size_t len) in yt2_1380_fc_receive() 151 static int yt2_1380_fc_serdev_probe(struct serdev_device *serdev) in yt2_1380_fc_serdev_probe() 237 struct serdev_device *serdev; in yt2_1380_fc_pdev_probe() 293 struct serdev_device *serdev = platform_get_drvdata(pdev); in yt2_1380_fc_pdev_remove()
|
| /linux/drivers/net/ethernet/qualcomm/ |
| A D | qca_uart.c | 39 struct serdev_device *serdev; 49 qca_tty_receive(struct serdev_device *serdev, const u8 *data, size_t count) in qca_tty_receive() 148 static void qca_tty_wakeup(struct serdev_device *serdev) in qca_tty_wakeup() 307 static int qca_uart_probe(struct serdev_device *serdev) in qca_uart_probe() 374 static void qca_uart_remove(struct serdev_device *serdev) in qca_uart_remove()
|
| /linux/drivers/iio/chemical/ |
| A D | scd30_serial.c | 58 struct serdev_device *serdev = to_serdev_device(state->dev); in scd30_serdev_xfer() 177 static size_t scd30_serdev_receive_buf(struct serdev_device *serdev, in scd30_serdev_receive_buf() 216 static int scd30_serdev_probe(struct serdev_device *serdev) in scd30_serdev_probe()
|
| A D | pms7003.c | 72 struct serdev_device *serdev; 214 static size_t pms7003_receive_buf(struct serdev_device *serdev, const u8 *buf, in pms7003_receive_buf() 270 static int pms7003_probe(struct serdev_device *serdev) in pms7003_probe()
|
| A D | sps30_serial.c | 53 struct serdev_device *serdev = to_serdev_device(state->dev); in sps30_serial_xfer() 213 static size_t sps30_serial_receive_buf(struct serdev_device *serdev, in sps30_serial_receive_buf() 387 static int sps30_serial_probe(struct serdev_device *serdev) in sps30_serial_probe()
|
| /linux/drivers/platform/x86/dell/ |
| A D | dell-uart-backlight.c | 208 static size_t dell_uart_bl_receive(struct serdev_device *serdev, const u8 *data, size_t len) in dell_uart_bl_receive() 270 static int dell_uart_bl_serdev_probe(struct serdev_device *serdev) in dell_uart_bl_serdev_probe() 337 struct serdev_device *serdev; in dell_uart_bl_pdev_probe() 388 struct serdev_device *serdev = platform_get_drvdata(pdev); in dell_uart_bl_pdev_remove()
|
| /linux/drivers/bluetooth/ |
| A D | hci_nokia.c | 121 struct serdev_device *serdev; 146 static void nokia_flow_control(struct serdev_device *serdev, bool enable) in nokia_flow_control() 678 static int nokia_bluetooth_serdev_probe(struct serdev_device *serdev) in nokia_bluetooth_serdev_probe() 754 static void nokia_bluetooth_serdev_remove(struct serdev_device *serdev) in nokia_bluetooth_serdev_remove() 763 struct serdev_device *serdev = to_serdev_device(dev); in nokia_bluetooth_runtime_suspend() 771 struct serdev_device *serdev = to_serdev_device(dev); in nokia_bluetooth_runtime_resume()
|
| A D | btmtkuart.c | 57 struct serdev_device *serdev; 241 struct serdev_device *serdev = bdev->serdev; in btmtkuart_tx_work() 387 static size_t btmtkuart_receive_buf(struct serdev_device *serdev, in btmtkuart_receive_buf() 399 static void btmtkuart_write_wakeup(struct serdev_device *serdev) in btmtkuart_write_wakeup() 759 static int btmtkuart_parse_dt(struct serdev_device *serdev) in btmtkuart_parse_dt() 827 static int btmtkuart_probe(struct serdev_device *serdev) in btmtkuart_probe() 943 static void btmtkuart_remove(struct serdev_device *serdev) in btmtkuart_remove()
|
| A D | hci_uart.h | 46 struct serdev_device; 66 struct serdev_device *serdev;
|
| A D | hci_serdev.c | 60 struct serdev_device *serdev = hu->serdev; in hci_uart_write_work() 249 static void hci_uart_write_wakeup(struct serdev_device *serdev) in hci_uart_write_wakeup() 274 static size_t hci_uart_receive_buf(struct serdev_device *serdev, in hci_uart_receive_buf()
|
| /linux/drivers/iio/imu/bno055/ |
| A D | bno055_ser_core.c | 162 struct serdev_device *serdev; 381 static size_t bno055_ser_receive_buf(struct serdev_device *serdev, in bno055_ser_receive_buf() 500 static int bno055_ser_probe(struct serdev_device *serdev) in bno055_ser_probe()
|