/Linux-v6.1/include/linux/ |
D | serdev.h | 15 struct serdev_device; 29 int (*receive_buf)(struct serdev_device *, const unsigned char *, size_t); 30 void (*write_wakeup)(struct serdev_device *); 42 struct serdev_device { struct 51 static inline struct serdev_device *to_serdev_device(struct device *d) in to_serdev_device() argument 53 return container_of(d, struct serdev_device, dev); in to_serdev_device() 65 int (*probe)(struct serdev_device *); 66 void (*remove)(struct serdev_device *); 107 struct serdev_device *serdev; 116 static inline void *serdev_device_get_drvdata(const struct serdev_device *serdev) in serdev_device_get_drvdata() [all …]
|
/Linux-v6.1/drivers/tty/serdev/ |
D | core.c | 43 ATTRIBUTE_GROUPS(serdev_device); 60 struct serdev_device *serdev = to_serdev_device(dev); in serdev_device_release() 102 int serdev_device_add(struct serdev_device *serdev) in serdev_device_add() 138 void serdev_device_remove(struct serdev_device *serdev) in serdev_device_remove() 147 int serdev_device_open(struct serdev_device *serdev) in serdev_device_open() 175 void serdev_device_close(struct serdev_device *serdev) in serdev_device_close() 190 serdev_device_close(*(struct serdev_device **)dr); in devm_serdev_device_release() 193 int devm_serdev_device_open(struct device *dev, struct serdev_device *serdev) in devm_serdev_device_open() 195 struct serdev_device **dr; in devm_serdev_device_open() 215 void serdev_device_write_wakeup(struct serdev_device *serdev) in serdev_device_write_wakeup() [all …]
|
/Linux-v6.1/drivers/gnss/ |
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 int 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()
|
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 int 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()
|
D | serial.h | 15 struct serdev_device *serdev; 35 struct gnss_serial *gnss_serial_allocate(struct serdev_device *gserial,
|
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()
|
D | ubx.c | 66 static int ubx_probe(struct serdev_device *serdev) in ubx_probe() 120 static void ubx_remove(struct serdev_device *serdev) in ubx_remove()
|
/Linux-v6.1/drivers/nfc/s3fwrn5/ |
D | uart.c | 29 struct serdev_device *ser_dev; 54 static int s3fwrn82_uart_read(struct serdev_device *serdev, in s3fwrn82_uart_read() 92 static int s3fwrn82_uart_parse_dt(struct serdev_device *serdev) in s3fwrn82_uart_parse_dt() 111 static int s3fwrn82_uart_probe(struct serdev_device *serdev) in s3fwrn82_uart_probe() 174 static void s3fwrn82_uart_remove(struct serdev_device *serdev) in s3fwrn82_uart_remove()
|
/Linux-v6.1/drivers/net/ethernet/qualcomm/ |
D | qca_uart.c | 53 struct serdev_device *serdev; 63 qca_tty_receive(struct serdev_device *serdev, const unsigned char *data, in qca_tty_receive() 163 static void qca_tty_wakeup(struct serdev_device *serdev) in qca_tty_wakeup() 322 static int qca_uart_probe(struct serdev_device *serdev) in qca_uart_probe() 389 static void qca_uart_remove(struct serdev_device *serdev) in qca_uart_remove()
|
/Linux-v6.1/sound/drivers/ |
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 int 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-v6.1/drivers/nfc/pn533/ |
D | uart.c | 29 struct serdev_device *serdev; 206 static int 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-v6.1/drivers/platform/surface/aggregator/ |
D | core.c | 230 static int ssam_receive_buf(struct serdev_device *dev, const unsigned char *buf, in ssam_receive_buf() 239 static void ssam_write_wakeup(struct serdev_device *dev) in ssam_write_wakeup() 304 struct serdev_device *serdev = ctx; in ssam_serdev_setup_via_acpi_crs() 353 struct serdev_device *serdev) in ssam_serdev_setup_via_acpi() 616 static int ssam_serial_hub_probe(struct serdev_device *serdev) in ssam_serial_hub_probe() 724 static void ssam_serial_hub_remove(struct serdev_device *serdev) in ssam_serial_hub_remove()
|
D | ssh_packet_layer.h | 78 struct serdev_device *serdev; 139 int ssh_ptl_init(struct ssh_ptl *ptl, struct serdev_device *serdev,
|
D | ssh_request_layer.h | 132 int ssh_rtl_init(struct ssh_rtl *rtl, struct serdev_device *serdev,
|
/Linux-v6.1/drivers/iio/chemical/ |
D | scd30_serial.c | 58 struct serdev_device *serdev = to_serdev_device(state->dev); in scd30_serdev_xfer() 177 static int 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()
|
D | pms7003.c | 72 struct serdev_device *serdev; 214 static int pms7003_receive_buf(struct serdev_device *serdev, in pms7003_receive_buf() 270 static int pms7003_probe(struct serdev_device *serdev) in pms7003_probe()
|
D | sps30_serial.c | 53 struct serdev_device *serdev = to_serdev_device(state->dev); in sps30_serial_xfer() 213 static int 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-v6.1/drivers/bluetooth/ |
D | hci_uart.h | 46 struct serdev_device; 66 struct serdev_device *serdev;
|
D | hci_nokia.c | 126 struct serdev_device *serdev; 151 static void nokia_flow_control(struct serdev_device *serdev, bool enable) in nokia_flow_control() 683 static int nokia_bluetooth_serdev_probe(struct serdev_device *serdev) in nokia_bluetooth_serdev_probe() 755 static void nokia_bluetooth_serdev_remove(struct serdev_device *serdev) in nokia_bluetooth_serdev_remove() 764 struct serdev_device *serdev = to_serdev_device(dev); in nokia_bluetooth_runtime_suspend() 772 struct serdev_device *serdev = to_serdev_device(dev); in nokia_bluetooth_runtime_resume()
|
D | btmtkuart.c | 57 struct serdev_device *serdev; 241 struct serdev_device *serdev = bdev->serdev; in btmtkuart_tx_work() 389 static int btmtkuart_receive_buf(struct serdev_device *serdev, const u8 *data, in btmtkuart_receive_buf() 404 static void btmtkuart_write_wakeup(struct serdev_device *serdev) in btmtkuart_write_wakeup() 764 static int btmtkuart_parse_dt(struct serdev_device *serdev) in btmtkuart_parse_dt() 832 static int btmtkuart_probe(struct serdev_device *serdev) in btmtkuart_probe() 948 static void btmtkuart_remove(struct serdev_device *serdev) in btmtkuart_remove()
|
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 int hci_uart_receive_buf(struct serdev_device *serdev, const u8 *data, in hci_uart_receive_buf()
|
D | hci_ll.c | 67 struct serdev_device *serdev; 612 struct serdev_device *serdev = hu->serdev; in ll_setup() 685 static int hci_ti_probe(struct serdev_device *serdev) in hci_ti_probe() 762 static void hci_ti_remove(struct serdev_device *serdev) in hci_ti_remove()
|
D | hci_mrvl.c | 396 static int mrvl_serdev_probe(struct serdev_device *serdev) in mrvl_serdev_probe() 410 static void mrvl_serdev_remove(struct serdev_device *serdev) in mrvl_serdev_remove()
|
/Linux-v6.1/drivers/iio/imu/bno055/ |
D | bno055_ser_core.c | 162 struct serdev_device *serdev; 381 static int 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()
|
/Linux-v6.1/drivers/mfd/ |
D | rave-sp.c | 189 struct serdev_device *serdev; 474 static int rave_sp_receive_buf(struct serdev_device *serdev, in rave_sp_receive_buf() 768 static int rave_sp_probe(struct serdev_device *serdev) in rave_sp_probe()
|