/kernel/linux/linux-6.6/include/linux/ |
H A D | serdev.h | 16 struct serdev_device; 30 int (*receive_buf)(struct serdev_device *, const unsigned char *, size_t); 31 void (*write_wakeup)(struct serdev_device *); 35 * struct serdev_device - Basic representation of an serdev device 43 struct serdev_device { struct 52 static inline struct serdev_device *to_serdev_device(struct device *d) in to_serdev_device() 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 *); 109 struct serdev_device *serde [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | serdev.h | 14 struct serdev_device; 28 int (*receive_buf)(struct serdev_device *, const unsigned char *, size_t); 29 void (*write_wakeup)(struct serdev_device *); 33 * struct serdev_device - Basic representation of an serdev device 41 struct serdev_device { struct 50 static inline struct serdev_device *to_serdev_device(struct device *d) in to_serdev_device() 52 return container_of(d, struct serdev_device, dev); in to_serdev_device() 64 int (*probe)(struct serdev_device *); 65 void (*remove)(struct serdev_device *); 106 struct serdev_device *serde [all...] |
/kernel/linux/linux-6.6/drivers/tty/serdev/ |
H A D | core.c | 43 ATTRIBUTE_GROUPS(serdev_device); variable 60 struct serdev_device *serdev = to_serdev_device(dev); in serdev_device_release() 100 * @serdev: serdev_device to be added 102 int serdev_device_add(struct serdev_device *serdev) in serdev_device_add() 136 * @serdev: serdev_device to be removed 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 *serde [all...] |
/kernel/linux/linux-5.10/drivers/tty/serdev/ |
H A D | core.c | 43 ATTRIBUTE_GROUPS(serdev_device); variable 60 struct serdev_device *serdev = to_serdev_device(dev); in serdev_device_release() 100 * @serdev: serdev_device to be added 102 int serdev_device_add(struct serdev_device *serdev) in serdev_device_add() 136 * @serdev: serdev_device to be removed 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 *serde [all...] |
/kernel/linux/linux-5.10/drivers/gnss/ |
H 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 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()
|
H 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 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()
|
H A D | serial.h | 15 struct serdev_device *serdev; 35 struct gnss_serial *gnss_serial_allocate(struct serdev_device *gserial,
|
H 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()
|
H A 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()
|
/kernel/linux/linux-6.6/drivers/gnss/ |
H 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 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()
|
H 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 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()
|
H A D | serial.h | 15 struct serdev_device *serdev; 35 struct gnss_serial *gnss_serial_allocate(struct serdev_device *gserial,
|
/kernel/linux/linux-6.6/drivers/nfc/s3fwrn5/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/qualcomm/ |
H A D | qca_uart.c | 52 struct serdev_device *serdev; 62 qca_tty_receive(struct serdev_device *serdev, const unsigned char *data, in qca_tty_receive() 162 static void qca_tty_wakeup(struct serdev_device *serdev) in qca_tty_wakeup() 321 static int qca_uart_probe(struct serdev_device *serdev) in qca_uart_probe() 388 static void qca_uart_remove(struct serdev_device *serdev) in qca_uart_remove()
|
/kernel/linux/linux-6.6/drivers/platform/chrome/ |
H A D | cros_ec_uart.c | 77 struct serdev_device *serdev; 84 static int cros_ec_uart_rx_bytes(struct serdev_device *serdev, in cros_ec_uart_rx_bytes() 134 struct serdev_device *serdev = ec_uart->serdev; in cros_ec_uart_pkt_xfer() 252 static int cros_ec_uart_probe(struct serdev_device *serdev) in cros_ec_uart_probe() 308 static void cros_ec_uart_remove(struct serdev_device *serdev) in cros_ec_uart_remove()
|
/kernel/linux/linux-6.6/sound/drivers/ |
H 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 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()
|
/kernel/linux/linux-6.6/drivers/platform/surface/aggregator/ |
H A D | core.c | 228 /* -- Glue layer (serdev_device -> ssam_controller). ------------------------ */ 230 static int ssam_receive_buf(struct serdev_device *dev, const unsigned char *buf, in ssam_receive_buf() 242 static void ssam_write_wakeup(struct serdev_device *dev) in ssam_write_wakeup() 307 struct serdev_device *serdev = ctx; in ssam_serdev_setup_via_acpi_crs() 356 struct serdev_device *serdev) in ssam_serdev_setup_via_acpi() 619 static int ssam_serial_hub_probe(struct serdev_device *serdev) in ssam_serial_hub_probe() 727 static void ssam_serial_hub_remove(struct serdev_device *serdev) in ssam_serial_hub_remove()
|
H A D | ssh_packet_layer.h | 78 struct serdev_device *serdev; 139 int ssh_ptl_init(struct ssh_ptl *ptl, struct serdev_device *serdev,
|
/kernel/linux/linux-5.10/drivers/nfc/pn533/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/nfc/pn533/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/iio/chemical/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/iio/chemical/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/ |
H A 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() 394 static void qca_uart_remove(struct serdev_device *serdev) in qca_uart_remove()
|
/kernel/linux/linux-5.10/drivers/bluetooth/ |
H A D | hci_uart.h | 46 struct serdev_device; 66 struct serdev_device *serdev;
|
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | hci_uart.h | 46 struct serdev_device; 66 struct serdev_device *serdev;
|