Home
last modified time | relevance | path

Searched refs:serdev_device (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.4/include/linux/
Dserdev.h14 struct serdev_device;
28 int (*receive_buf)(struct serdev_device *, const unsigned char *, size_t);
29 void (*write_wakeup)(struct serdev_device *);
41 struct serdev_device { struct
50 static inline struct serdev_device *to_serdev_device(struct device *d) in to_serdev_device() argument
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 *serdev;
115 static inline void *serdev_device_get_drvdata(const struct serdev_device *serdev) in serdev_device_get_drvdata()
[all …]
/Linux-v5.4/drivers/tty/serdev/
Dcore.c42 ATTRIBUTE_GROUPS(serdev_device);
59 struct serdev_device *serdev = to_serdev_device(dev); in serdev_device_release()
101 int serdev_device_add(struct serdev_device *serdev) in serdev_device_add()
137 void serdev_device_remove(struct serdev_device *serdev) in serdev_device_remove()
146 int serdev_device_open(struct serdev_device *serdev) in serdev_device_open()
174 void serdev_device_close(struct serdev_device *serdev) in serdev_device_close()
189 serdev_device_close(*(struct serdev_device **)dr); in devm_serdev_device_release()
192 int devm_serdev_device_open(struct device *dev, struct serdev_device *serdev) in devm_serdev_device_open()
194 struct serdev_device **dr; in devm_serdev_device_open()
214 void serdev_device_write_wakeup(struct serdev_device *serdev) in serdev_device_write_wakeup()
[all …]
/Linux-v5.4/drivers/gnss/
Dserial.c25 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()
Dsirf.c40 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()
532 static void sirf_remove(struct serdev_device *serdev) in sirf_remove()
Dserial.h15 struct serdev_device *serdev;
35 struct gnss_serial *gnss_serial_allocate(struct serdev_device *gserial,
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()
Dubx.c66 static int ubx_probe(struct serdev_device *serdev) in ubx_probe()
120 static void ubx_remove(struct serdev_device *serdev) in ubx_remove()
/Linux-v5.4/drivers/net/ethernet/qualcomm/
Dqca_uart.c53 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()
/Linux-v5.4/drivers/bluetooth/
Dhci_uart.h46 struct serdev_device;
66 struct serdev_device *serdev;
Dhci_serdev.c62 struct serdev_device *serdev = hu->serdev; in hci_uart_write_work()
214 static void hci_uart_write_wakeup(struct serdev_device *serdev) in hci_uart_write_wakeup()
239 static int hci_uart_receive_buf(struct serdev_device *serdev, const u8 *data, in hci_uart_receive_buf()
Dhci_nokia.c126 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()
Dbtmtkuart.c117 struct serdev_device *serdev;
372 struct serdev_device *serdev = bdev->serdev; in btmtkuart_tx_work()
520 static int btmtkuart_receive_buf(struct serdev_device *serdev, const u8 *data, in btmtkuart_receive_buf()
535 static void btmtkuart_write_wakeup(struct serdev_device *serdev) in btmtkuart_write_wakeup()
898 static int btmtkuart_parse_dt(struct serdev_device *serdev) in btmtkuart_parse_dt()
966 static int btmtkuart_probe(struct serdev_device *serdev) in btmtkuart_probe()
1079 static void btmtkuart_remove(struct serdev_device *serdev) in btmtkuart_remove()
Dhci_ll.c67 struct serdev_device *serdev;
612 struct serdev_device *serdev = hu->serdev; in ll_setup()
687 static int hci_ti_probe(struct serdev_device *serdev) in hci_ti_probe()
764 static void hci_ti_remove(struct serdev_device *serdev) in hci_ti_remove()
Dhci_mrvl.c396 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()
Dhci_h5.c783 static int h5_serdev_probe(struct serdev_device *serdev) in h5_serdev_probe()
824 static void h5_serdev_remove(struct serdev_device *serdev) in h5_serdev_remove()
Dhci_bcm.c1372 static int bcm_serdev_probe(struct serdev_device *serdev) in bcm_serdev_probe()
1412 static void bcm_serdev_remove(struct serdev_device *serdev) in bcm_serdev_remove()
Dhci_qca.c1479 static int qca_serdev_probe(struct serdev_device *serdev) in qca_serdev_probe()
1555 static void qca_serdev_remove(struct serdev_device *serdev) in qca_serdev_remove()
/Linux-v5.4/drivers/iio/chemical/
Dpms7003.c72 struct serdev_device *serdev;
207 static int pms7003_receive_buf(struct serdev_device *serdev, in pms7003_receive_buf()
263 static int pms7003_probe(struct serdev_device *serdev) in pms7003_probe()
/Linux-v5.4/drivers/mfd/
Drave-sp.c189 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()