Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dserdev.h22 struct serdev_device;
36 int (*receive_buf)(struct serdev_device *, const unsigned char *, size_t);
37 void (*write_wakeup)(struct serdev_device *);
49 struct serdev_device { struct
58 static inline struct serdev_device *to_serdev_device(struct device *d) in to_serdev_device() argument
60 return container_of(d, struct serdev_device, dev); in to_serdev_device()
72 int (*probe)(struct serdev_device *);
73 void (*remove)(struct serdev_device *);
114 struct serdev_device *serdev;
123 static inline void *serdev_device_get_drvdata(const struct serdev_device *serdev) in serdev_device_get_drvdata()
[all …]
/Linux-v4.19/drivers/tty/serdev/
Dcore.c41 ATTRIBUTE_GROUPS(serdev_device);
58 struct serdev_device *serdev = to_serdev_device(dev); in serdev_device_release()
100 int serdev_device_add(struct serdev_device *serdev) in serdev_device_add()
136 void serdev_device_remove(struct serdev_device *serdev) in serdev_device_remove()
145 int serdev_device_open(struct serdev_device *serdev) in serdev_device_open()
173 void serdev_device_close(struct serdev_device *serdev) in serdev_device_close()
188 serdev_device_close(*(struct serdev_device **)dr); in devm_serdev_device_release()
191 int devm_serdev_device_open(struct device *dev, struct serdev_device *serdev) in devm_serdev_device_open()
193 struct serdev_device **dr; in devm_serdev_device_open()
213 void serdev_device_write_wakeup(struct serdev_device *serdev) in serdev_device_write_wakeup()
[all …]
/Linux-v4.19/drivers/gnss/
Dserial.c24 struct serdev_device *serdev = gserial->serdev; in gnss_serial_open()
51 struct serdev_device *serdev = gserial->serdev; in gnss_serial_close()
62 struct serdev_device *serdev = gserial->serdev; in gnss_serial_write_raw()
82 static int gnss_serial_receive_buf(struct serdev_device *serdev, in gnss_serial_receive_buf()
109 static int gnss_serial_parse_dt(struct serdev_device *serdev) in gnss_serial_parse_dt()
122 struct gnss_serial *gnss_serial_allocate(struct serdev_device *serdev, in gnss_serial_allocate()
172 struct serdev_device *serdev = gserial->serdev; in gnss_serial_register()
201 struct serdev_device *serdev = gserial->serdev; in gnss_serial_deregister()
Dsirf.c30 struct serdev_device *serdev;
43 struct serdev_device *serdev = data->serdev; in sirf_open()
71 struct serdev_device *serdev = data->serdev; in sirf_close()
82 struct serdev_device *serdev = data->serdev; in sirf_write_raw()
102 static int sirf_receive_buf(struct serdev_device *serdev, in sirf_receive_buf()
242 static int sirf_parse_dt(struct serdev_device *serdev) in sirf_parse_dt()
255 static int sirf_probe(struct serdev_device *serdev) in sirf_probe()
367 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,
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-v4.19/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()
323 static int qca_uart_probe(struct serdev_device *serdev) in qca_uart_probe()
395 static void qca_uart_remove(struct serdev_device *serdev) in qca_uart_remove()
/Linux-v4.19/drivers/bluetooth/
Dbtmtkuart.c63 struct serdev_device *serdev;
219 struct serdev_device *serdev = bdev->serdev; in btmtkuart_tx_work()
367 static int btmtkuart_receive_buf(struct serdev_device *serdev, const u8 *data, in btmtkuart_receive_buf()
382 static void btmtkuart_write_wakeup(struct serdev_device *serdev) in btmtkuart_write_wakeup()
546 static int btmtkuart_probe(struct serdev_device *serdev) in btmtkuart_probe()
599 static void btmtkuart_remove(struct serdev_device *serdev) in btmtkuart_remove()
Dhci_uart.h61 struct serdev_device;
81 struct serdev_device *serdev;
Dhci_serdev.c71 struct serdev_device *serdev = hu->serdev; in hci_uart_write_work()
223 static void hci_uart_write_wakeup(struct serdev_device *serdev) in hci_uart_write_wakeup()
248 static int hci_uart_receive_buf(struct serdev_device *serdev, const u8 *data, in hci_uart_receive_buf()
Dhci_nokia.c135 struct serdev_device *serdev;
160 static void nokia_flow_control(struct serdev_device *serdev, bool enable) in nokia_flow_control()
692 static int nokia_bluetooth_serdev_probe(struct serdev_device *serdev) in nokia_bluetooth_serdev_probe()
764 static void nokia_bluetooth_serdev_remove(struct serdev_device *serdev) in nokia_bluetooth_serdev_remove()
773 struct serdev_device *serdev = to_serdev_device(dev); in nokia_bluetooth_runtime_suspend()
781 struct serdev_device *serdev = to_serdev_device(dev); in nokia_bluetooth_runtime_resume()
Dhci_ll.c80 struct serdev_device *serdev;
605 struct serdev_device *serdev = hu->serdev; in ll_setup()
677 static int hci_ti_probe(struct serdev_device *serdev) in hci_ti_probe()
752 static void hci_ti_remove(struct serdev_device *serdev) in hci_ti_remove()
Dhci_h5.c796 static int h5_serdev_probe(struct serdev_device *serdev) in h5_serdev_probe()
837 static void h5_serdev_remove(struct serdev_device *serdev) in h5_serdev_remove()
Dhci_bcm.c1268 static int bcm_serdev_probe(struct serdev_device *serdev) in bcm_serdev_probe()
1308 static void bcm_serdev_remove(struct serdev_device *serdev) in bcm_serdev_remove()
Dhci_qca.c1337 static int qca_serdev_probe(struct serdev_device *serdev) in qca_serdev_probe()
1411 static void qca_serdev_remove(struct serdev_device *serdev) in qca_serdev_remove()
/Linux-v4.19/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()