Home
last modified time | relevance | path

Searched refs:ch341 (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/spi/
H A Dspi-ch341.c44 struct ch341_spi_dev *ch341 = in ch341_set_cs() local
48 memset(ch341->tx_buf, 0, CH341_PACKET_LENGTH); in ch341_set_cs()
49 ch341->tx_buf[0] = CH341A_CMD_UIO_STREAM; in ch341_set_cs()
50 ch341->tx_buf[1] = CH341A_CMD_UIO_STM_OUT | (is_high ? 0x36 : 0x37); in ch341_set_cs()
53 ch341->tx_buf[2] = CH341A_CMD_UIO_STM_DIR | 0x3f; in ch341_set_cs()
54 ch341->tx_buf[3] = CH341A_CMD_UIO_STM_END; in ch341_set_cs()
56 ch341->tx_buf[2] = CH341A_CMD_UIO_STM_END; in ch341_set_cs()
59 err = usb_bulk_msg(ch341->udev, ch341->write_pipe, ch341->tx_buf, in ch341_set_cs()
70 struct ch341_spi_dev *ch341 = in ch341_transfer_one() local
77 memset(ch341->tx_buf, 0, CH341_PACKET_LENGTH); in ch341_transfer_one()
[all …]
/linux/drivers/usb/serial/
H A DMakefile17 obj-$(CONFIG_USB_SERIAL_CH341) += ch341.o
H A DKconfig113 module will be called ch341.