Home
last modified time | relevance | path

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

12

/kernel/linux/linux-4.19/drivers/tty/serdev/
Dcore.c58 struct serdev_device *serdev = to_serdev_device(dev); in serdev_device_release() local
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()
191 int devm_serdev_device_open(struct device *dev, struct serdev_device *serdev) in devm_serdev_device_open()
213 void serdev_device_write_wakeup(struct serdev_device *serdev) in serdev_device_write_wakeup()
219 int serdev_device_write_buf(struct serdev_device *serdev, in serdev_device_write_buf()
231 int serdev_device_write(struct serdev_device *serdev, in serdev_device_write()
261 void serdev_device_write_flush(struct serdev_device *serdev) in serdev_device_write_flush()
[all …]
/kernel/linux/linux-5.10/drivers/tty/serdev/
Dcore.c60 struct serdev_device *serdev = to_serdev_device(dev); in serdev_device_release() local
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()
193 int devm_serdev_device_open(struct device *dev, struct serdev_device *serdev) in devm_serdev_device_open()
215 void serdev_device_write_wakeup(struct serdev_device *serdev) in serdev_device_write_wakeup()
236 int serdev_device_write_buf(struct serdev_device *serdev, in serdev_device_write_buf()
270 int serdev_device_write(struct serdev_device *serdev, in serdev_device_write()
318 void serdev_device_write_flush(struct serdev_device *serdev) in serdev_device_write_flush()
[all …]
/kernel/linux/linux-4.19/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 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() local
202 struct serdev_device *serdev = gserial->serdev; in gnss_serial_deregister() local
Dsirf.c31 struct serdev_device *serdev; member
44 struct serdev_device *serdev = data->serdev; in sirf_open() local
72 struct serdev_device *serdev = data->serdev; in sirf_close() local
83 struct serdev_device *serdev = data->serdev; in sirf_write_raw() local
103 static int sirf_receive_buf(struct serdev_device *serdev, in sirf_receive_buf()
243 static int sirf_parse_dt(struct serdev_device *serdev) in sirf_parse_dt()
256 static int sirf_probe(struct serdev_device *serdev) in sirf_probe()
371 static void sirf_remove(struct serdev_device *serdev) in sirf_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()
/kernel/linux/linux-5.10/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 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() 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 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()
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()
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
/kernel/linux/linux-4.19/include/linux/
Dserdev.h114 struct serdev_device *serdev; member
123 static inline void *serdev_device_get_drvdata(const struct serdev_device *serdev) in serdev_device_get_drvdata()
128 static inline void serdev_device_set_drvdata(struct serdev_device *serdev, void *data) in serdev_device_set_drvdata()
137 static inline void serdev_device_put(struct serdev_device *serdev) in serdev_device_put()
143 static inline void serdev_device_set_client_ops(struct serdev_device *serdev, in serdev_device_set_client_ops()
181 struct serdev_device *serdev = ctrl->serdev; in serdev_controller_write_wakeup() local
193 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 …]
/kernel/linux/linux-5.10/include/linux/
Dserdev.h106 struct serdev_device *serdev; member
115 static inline void *serdev_device_get_drvdata(const struct serdev_device *serdev) in serdev_device_get_drvdata()
120 static inline void serdev_device_set_drvdata(struct serdev_device *serdev, void *data) in serdev_device_set_drvdata()
129 static inline void serdev_device_put(struct serdev_device *serdev) in serdev_device_put()
135 static inline void serdev_device_set_client_ops(struct serdev_device *serdev, in serdev_device_set_client_ops()
173 struct serdev_device *serdev = ctrl->serdev; in serdev_controller_write_wakeup() local
185 struct serdev_device *serdev = ctrl->serdev; in serdev_controller_receive_buf() local
242 static inline int serdev_device_write_buf(struct serdev_device *serdev, in serdev_device_write_buf()
249 static inline int serdev_device_get_tiocm(struct serdev_device *serdev) in serdev_device_get_tiocm()
253 static inline int serdev_device_set_tiocm(struct serdev_device *serdev, int set, int clear) in serdev_device_set_tiocm()
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/qualcomm/
Dqca_uart.c53 struct serdev_device *serdev; member
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()
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/
Dqca_uart.c53 struct serdev_device *serdev; member
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/nfc/pn533/
Duart.c29 struct serdev_device *serdev; member
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-4.19/drivers/bluetooth/
Dhci_serdev.c71 struct serdev_device *serdev = hu->serdev; in hci_uart_write_work() local
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()
Dbtmtkuart.c63 struct serdev_device *serdev; member
221 struct serdev_device *serdev = bdev->serdev; in btmtkuart_tx_work() local
369 static int btmtkuart_receive_buf(struct serdev_device *serdev, const u8 *data, in btmtkuart_receive_buf()
384 static void btmtkuart_write_wakeup(struct serdev_device *serdev) in btmtkuart_write_wakeup()
548 static int btmtkuart_probe(struct serdev_device *serdev) in btmtkuart_probe()
601 static void btmtkuart_remove(struct serdev_device *serdev) in btmtkuart_remove()
Dhci_nokia.c135 struct serdev_device *serdev; member
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() local
781 struct serdev_device *serdev = to_serdev_device(dev); in nokia_bluetooth_runtime_resume() local
Dhci_ll.c80 struct serdev_device *serdev; member
605 struct serdev_device *serdev = hu->serdev; in ll_setup() local
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()
/kernel/linux/linux-5.10/drivers/bluetooth/
Dhci_serdev.c60 struct serdev_device *serdev = hu->serdev; in hci_uart_write_work() local
240 static void hci_uart_write_wakeup(struct serdev_device *serdev) in hci_uart_write_wakeup()
265 static int hci_uart_receive_buf(struct serdev_device *serdev, const u8 *data, in hci_uart_receive_buf()
Dbtmtkuart.c117 struct serdev_device *serdev; member
372 struct serdev_device *serdev = bdev->serdev; in btmtkuart_tx_work() local
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()
897 static int btmtkuart_parse_dt(struct serdev_device *serdev) in btmtkuart_parse_dt()
965 static int btmtkuart_probe(struct serdev_device *serdev) in btmtkuart_probe()
1080 static void btmtkuart_remove(struct serdev_device *serdev) in btmtkuart_remove()
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()
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() local
772 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
684 static int hci_ti_probe(struct serdev_device *serdev) in hci_ti_probe()
761 static void hci_ti_remove(struct serdev_device *serdev) in hci_ti_remove()
/kernel/linux/linux-5.10/drivers/iio/chemical/
Dscd30_serial.c58 struct serdev_device *serdev = to_serdev_device(state->dev); in scd30_serdev_xfer() local
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()
Dpms7003.c72 struct serdev_device *serdev; member
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()

12