Home
last modified time | relevance | path

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

12

/linux/drivers/tty/serdev/
H A 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()
139 void serdev_device_remove(struct serdev_device *serdev) in serdev_device_remove()
148 int serdev_device_open(struct serdev_device *serdev) in serdev_device_open()
176 void serdev_device_close(struct serdev_device *serdev) in serdev_device_close()
189 static void devm_serdev_device_close(void *serdev) in devm_serdev_device_close()
194 int devm_serdev_device_open(struct device *dev, struct serdev_device *serdev) in devm_serdev_device_open()
206 void serdev_device_write_wakeup(struct serdev_device *serdev) in serdev_device_write_wakeup()
227 int serdev_device_write_buf(struct serdev_device *serdev, const u8 *buf, size_t count) in serdev_device_write_buf()
260 ssize_t serdev_device_write(struct serdev_device *serdev, const u8 *buf, in serdev_device_write()
[all …]
/linux/drivers/gnss/
H A 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 size_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
H A 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 size_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()
H A 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()
H A 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()
H A Dserial.h15 struct serdev_device *serdev; member
/linux/drivers/nfc/s3fwrn5/
H A Duart.c54 static size_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/drivers/net/ethernet/qualcomm/
H A Dqca_uart.c39 struct serdev_device *serdev; member
49 qca_tty_receive(struct serdev_device *serdev, const u8 *data, size_t count) in qca_tty_receive()
148 static void qca_tty_wakeup(struct serdev_device *serdev) in qca_tty_wakeup()
307 static int qca_uart_probe(struct serdev_device *serdev) in qca_uart_probe()
374 static void qca_uart_remove(struct serdev_device *serdev) in qca_uart_remove()
/linux/drivers/nfc/pn533/
H A Duart.c29 struct serdev_device *serdev; member
206 static size_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/sound/drivers/
H A 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 size_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/drivers/iio/chemical/
H A Dmhz19b.c49 struct serdev_device *serdev; member
84 struct serdev_device *serdev = st->serdev; in mhz19b_serdev_cmd() local
238 static size_t mhz19b_receive_buf(struct serdev_device *serdev, in mhz19b_receive_buf()
260 static int mhz19b_probe(struct serdev_device *serdev) in mhz19b_probe()
H A Dscd30_serial.c58 struct serdev_device *serdev = to_serdev_device(state->dev); in scd30_serdev_xfer() local
177 static size_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()
H A Dpms7003.c73 struct serdev_device *serdev; member
215 static size_t pms7003_receive_buf(struct serdev_device *serdev, const u8 *buf, in pms7003_receive_buf()
271 static int pms7003_probe(struct serdev_device *serdev) in pms7003_probe()
H A Dsps30_serial.c53 struct serdev_device *serdev = to_serdev_device(state->dev); in sps30_serial_xfer() local
213 static size_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/drivers/platform/x86/lenovo/
H A Dyoga-tab2-pro-1380-fastcharger.c136 static size_t yt2_1380_fc_receive(struct serdev_device *serdev, const u8 *data, size_t len) in yt2_1380_fc_receive()
151 static int yt2_1380_fc_serdev_probe(struct serdev_device *serdev) in yt2_1380_fc_serdev_probe()
238 struct serdev_device *serdev; in yt2_1380_fc_pdev_probe() local
284 struct serdev_device *serdev = platform_get_drvdata(pdev); in yt2_1380_fc_pdev_remove() local
/linux/drivers/bluetooth/
H A Dbtmtkuart.c57 struct serdev_device *serdev; member
241 struct serdev_device *serdev = bdev->serdev; in btmtkuart_tx_work() local
387 static size_t btmtkuart_receive_buf(struct serdev_device *serdev, in btmtkuart_receive_buf()
399 static void btmtkuart_write_wakeup(struct serdev_device *serdev) in btmtkuart_write_wakeup()
759 static int btmtkuart_parse_dt(struct serdev_device *serdev) in btmtkuart_parse_dt()
827 static int btmtkuart_probe(struct serdev_device *serdev) in btmtkuart_probe()
943 static void btmtkuart_remove(struct serdev_device *serdev) in btmtkuart_remove()
H A 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 size_t hci_uart_receive_buf(struct serdev_device *serdev, in hci_uart_receive_buf()
H A Dhci_nokia.c121 struct serdev_device *serdev; member
146 static void nokia_flow_control(struct serdev_device *serdev, bool enable) in nokia_flow_control()
678 static int nokia_bluetooth_serdev_probe(struct serdev_device *serdev) in nokia_bluetooth_serdev_probe()
754 static void nokia_bluetooth_serdev_remove(struct serdev_device *serdev) in nokia_bluetooth_serdev_remove()
763 struct serdev_device *serdev = to_serdev_device(dev); in nokia_bluetooth_runtime_suspend() local
771 struct serdev_device *serdev = to_serdev_device(dev); in nokia_bluetooth_runtime_resume() local
H A 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()
H A Dbtnxpuart.c185 struct serdev_device *serdev; member
506 struct serdev_device *serdev = nxpdev->serdev; in ps_setup() local
1443 struct serdev_device *serdev = nxpdev->serdev; in nxp_setup() local
1659 struct serdev_device *serdev = nxpdev->serdev; in btnxpuart_tx_work() local
1752 static size_t btnxpuart_receive_buf(struct serdev_device *serdev, in btnxpuart_receive_buf()
1775 static void btnxpuart_write_wakeup(struct serdev_device *serdev) in btnxpuart_write_wakeup()
1788 struct serdev_device *serdev = nxpdev->serdev; in nxp_coredump_notify() local
1814 static int nxp_serdev_probe(struct serdev_device *serdev) in nxp_serdev_probe()
1921 static void nxp_serdev_remove(struct serdev_device *serdev) in nxp_serdev_remove()
H A 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()
/linux/drivers/platform/surface/aggregator/
H A Dcore.c310 struct serdev_device *serdev = ctx; in ssam_serdev_setup_via_acpi_crs() local
358 static int ssam_serdev_setup_via_acpi(struct serdev_device *serdev, acpi_handle handle) in ssam_serdev_setup_via_acpi()
368 static int ssam_serdev_setup(struct acpi_device *ssh, struct serdev_device *serdev) in ssam_serdev_setup()
637 static int ssam_serial_hub_probe(struct serdev_device *serdev) in ssam_serial_hub_probe()
776 static void ssam_serial_hub_remove(struct serdev_device *serdev) in ssam_serial_hub_remove()
/linux/drivers/platform/x86/dell/
H A Ddell-uart-backlight.c208 static size_t dell_uart_bl_receive(struct serdev_device *serdev, const u8 *data, size_t len) in dell_uart_bl_receive()
270 static int dell_uart_bl_serdev_probe(struct serdev_device *serdev) in dell_uart_bl_serdev_probe()
338 struct serdev_device *serdev; in dell_uart_bl_pdev_probe() local
389 struct serdev_device *serdev = platform_get_drvdata(pdev); in dell_uart_bl_pdev_remove() local
/linux/drivers/iio/imu/bno055/
H A Dbno055_ser_core.c162 struct serdev_device *serdev; member
381 static size_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/drivers/mfd/
H A Drave-sp.c189 struct serdev_device *serdev; member
474 static size_t 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()

12