Home
last modified time | relevance | path

Searched defs:serdev (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.8/drivers/tty/serdev/
Dcore.c62 struct serdev_device *serdev = to_serdev_device(dev); in serdev_device_release() local
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()
190 static void devm_serdev_device_close(void *serdev) in devm_serdev_device_close()
195 int devm_serdev_device_open(struct device *dev, struct serdev_device *serdev) in devm_serdev_device_open()
207 void serdev_device_write_wakeup(struct serdev_device *serdev) in serdev_device_write_wakeup()
228 int serdev_device_write_buf(struct serdev_device *serdev, const u8 *buf, size_t count) in serdev_device_write_buf()
261 ssize_t serdev_device_write(struct serdev_device *serdev, const u8 *buf, in serdev_device_write()
[all …]
/linux-6.8/include/linux/
Dserdev.h111 struct serdev_device *serdev; member
120 static inline void *serdev_device_get_drvdata(const struct serdev_device *serdev) in serdev_device_get_drvdata()
125 static inline void serdev_device_set_drvdata(struct serdev_device *serdev, void *data) in serdev_device_set_drvdata()
134 static inline void serdev_device_put(struct serdev_device *serdev) in serdev_device_put()
140 static inline void serdev_device_set_client_ops(struct serdev_device *serdev, in serdev_device_set_client_ops()
180 struct serdev_device *serdev = ctrl->serdev; in serdev_controller_write_wakeup() local
192 struct serdev_device *serdev = ctrl->serdev; in serdev_controller_receive_buf() local
250 static inline int serdev_device_write_buf(struct serdev_device *serdev, in serdev_device_write_buf()
257 static inline int serdev_device_get_tiocm(struct serdev_device *serdev) in serdev_device_get_tiocm()
261 static inline int serdev_device_set_tiocm(struct serdev_device *serdev, int set, int clear) in serdev_device_set_tiocm()
[all …]
/linux-6.8/drivers/gnss/
Dserial.c25 struct serdev_device *serdev = gserial->serdev; in gnss_serial_open() local
52 struct serdev_device *serdev = gserial->serdev; in gnss_serial_close() local
63 struct serdev_device *serdev = gserial->serdev; in gnss_serial_write_raw() local
83 static ssize_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() local
202 struct serdev_device *serdev = gserial->serdev; in gnss_serial_deregister() local
Dsirf.c40 struct serdev_device *serdev; member
91 struct serdev_device *serdev = data->serdev; in sirf_open() local
128 struct serdev_device *serdev = data->serdev; in sirf_close() local
143 struct serdev_device *serdev = data->serdev; in sirf_write_raw() local
163 static ssize_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()
Dubx.c66 static int ubx_probe(struct serdev_device *serdev) in ubx_probe()
114 static void ubx_remove(struct serdev_device *serdev) in ubx_remove()
Dmtk.c66 static int mtk_probe(struct serdev_device *serdev) in mtk_probe()
120 static void mtk_remove(struct serdev_device *serdev) in mtk_remove()
Dserial.h15 struct serdev_device *serdev; member
/linux-6.8/drivers/nfc/s3fwrn5/
Duart.c54 static ssize_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-6.8/drivers/platform/chrome/
Dcros_ec_uart.c77 struct serdev_device *serdev; member
84 static ssize_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() local
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-6.8/drivers/net/ethernet/qualcomm/
Dqca_uart.c52 struct serdev_device *serdev; member
62 qca_tty_receive(struct serdev_device *serdev, const u8 *data, size_t count) in qca_tty_receive()
161 static void qca_tty_wakeup(struct serdev_device *serdev) in qca_tty_wakeup()
320 static int qca_uart_probe(struct serdev_device *serdev) in qca_uart_probe()
387 static void qca_uart_remove(struct serdev_device *serdev) in qca_uart_remove()
/linux-6.8/drivers/nfc/pn533/
Duart.c29 struct serdev_device *serdev; member
206 static ssize_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-6.8/sound/drivers/
Dserial-generic.c41 struct serdev_device *serdev; member
96 static void snd_serial_generic_write_wakeup(struct serdev_device *serdev) in snd_serial_generic_write_wakeup()
103 static ssize_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-6.8/drivers/bluetooth/
Dbtmtkuart.c56 struct serdev_device *serdev; member
240 struct serdev_device *serdev = bdev->serdev; in btmtkuart_tx_work() local
386 static ssize_t btmtkuart_receive_buf(struct serdev_device *serdev, in btmtkuart_receive_buf()
398 static void btmtkuart_write_wakeup(struct serdev_device *serdev) in btmtkuart_write_wakeup()
758 static int btmtkuart_parse_dt(struct serdev_device *serdev) in btmtkuart_parse_dt()
826 static int btmtkuart_probe(struct serdev_device *serdev) in btmtkuart_probe()
942 static void btmtkuart_remove(struct serdev_device *serdev) in btmtkuart_remove()
Dhci_serdev.c60 struct serdev_device *serdev = hu->serdev; in hci_uart_write_work() local
249 static void hci_uart_write_wakeup(struct serdev_device *serdev) in hci_uart_write_wakeup()
274 static ssize_t hci_uart_receive_buf(struct serdev_device *serdev, in hci_uart_receive_buf()
Dhci_nokia.c126 struct serdev_device *serdev; member
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()
759 static void nokia_bluetooth_serdev_remove(struct serdev_device *serdev) in nokia_bluetooth_serdev_remove()
768 struct serdev_device *serdev = to_serdev_device(dev); in nokia_bluetooth_runtime_suspend() local
776 struct serdev_device *serdev = to_serdev_device(dev); in nokia_bluetooth_runtime_resume() local
Dhci_ll.c67 struct serdev_device *serdev; member
612 struct serdev_device *serdev = hu->serdev; in ll_setup() local
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()
Dbtnxpuart.c150 struct serdev_device *serdev; member
1184 struct serdev_device *serdev = nxpdev->serdev; in btnxpuart_tx_work() local
1267 static ssize_t btnxpuart_receive_buf(struct serdev_device *serdev, in btnxpuart_receive_buf()
1288 static void btnxpuart_write_wakeup(struct serdev_device *serdev) in btnxpuart_write_wakeup()
1298 static int nxp_serdev_probe(struct serdev_device *serdev) in nxp_serdev_probe()
1362 static void nxp_serdev_remove(struct serdev_device *serdev) in nxp_serdev_remove()
Dhci_mrvl.c462 static int mrvl_serdev_probe(struct serdev_device *serdev) in mrvl_serdev_probe()
481 static void mrvl_serdev_remove(struct serdev_device *serdev) in mrvl_serdev_remove()
Dhci_qca.c2276 static int qca_serdev_probe(struct serdev_device *serdev) in qca_serdev_probe()
2408 static void qca_serdev_remove(struct serdev_device *serdev) in qca_serdev_remove()
2439 struct serdev_device *serdev = to_serdev_device(dev); in qca_serdev_shutdown() local
2476 struct serdev_device *serdev = to_serdev_device(dev); in qca_suspend() local
2590 struct serdev_device *serdev = to_serdev_device(dev); in qca_resume() local
2635 struct serdev_device *serdev = to_serdev_device(dev); in hciqca_coredump() local
/linux-6.8/drivers/iio/chemical/
Dscd30_serial.c58 struct serdev_device *serdev = to_serdev_device(state->dev); in scd30_serdev_xfer() local
177 static ssize_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()
Dpms7003.c72 struct serdev_device *serdev; member
214 static ssize_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()
Dsps30_serial.c53 struct serdev_device *serdev = to_serdev_device(state->dev); in sps30_serial_xfer() local
213 static ssize_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-6.8/drivers/platform/surface/aggregator/
Dcore.c307 struct serdev_device *serdev = ctx; in ssam_serdev_setup_via_acpi_crs() local
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()
/linux-6.8/drivers/iio/imu/bno055/
Dbno055_ser_core.c162 struct serdev_device *serdev; member
381 static ssize_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()
/linux-6.8/drivers/greybus/
Dgb-beagleplay.c342 static void gb_tty_wakeup(struct serdev_device *serdev) in gb_tty_wakeup()
466 static int gb_beagleplay_probe(struct serdev_device *serdev) in gb_beagleplay_probe()
499 static void gb_beagleplay_remove(struct serdev_device *serdev) in gb_beagleplay_remove()

12