Searched refs:bus_adap (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/media/usb/as102/ |
D | as102_drv.c | 47 struct as10x_bus_adapter_t *bus_adap; in as102_stop_stream() local 50 bus_adap = &dev->bus_adap; in as102_stop_stream() 54 if (bus_adap->ops->stop_stream != NULL) in as102_stop_stream() 55 bus_adap->ops->stop_stream(dev); in as102_stop_stream() 58 if (mutex_lock_interruptible(&dev->bus_adap.lock)) in as102_stop_stream() 61 if (as10x_cmd_stop_streaming(bus_adap) < 0) in as102_stop_stream() 62 dev_dbg(&dev->bus_adap.usb_dev->dev, in as102_stop_stream() 65 mutex_unlock(&dev->bus_adap.lock); in as102_stop_stream() 71 struct as10x_bus_adapter_t *bus_adap; in as102_start_stream() local 75 bus_adap = &dev->bus_adap; in as102_start_stream() [all …]
|
D | as102_usb_drv.c | 77 static int as102_usb_xfer_cmd(struct as10x_bus_adapter_t *bus_adap, in as102_usb_xfer_cmd() argument 84 ret = usb_control_msg(bus_adap->usb_dev, in as102_usb_xfer_cmd() 85 usb_sndctrlpipe(bus_adap->usb_dev, 0), in as102_usb_xfer_cmd() 89 bus_adap->cmd_xid, /* value */ in as102_usb_xfer_cmd() 94 dev_dbg(&bus_adap->usb_dev->dev, in as102_usb_xfer_cmd() 100 dev_dbg(&bus_adap->usb_dev->dev, in as102_usb_xfer_cmd() 108 dev_dbg(bus_adap->usb_dev->dev, in as102_usb_xfer_cmd() 111 ret = usb_control_msg(bus_adap->usb_dev, in as102_usb_xfer_cmd() 112 usb_rcvctrlpipe(bus_adap->usb_dev, 0), in as102_usb_xfer_cmd() 116 bus_adap->cmd_xid, /* value */ in as102_usb_xfer_cmd() [all …]
|
D | as10x_handle.h | 19 int (*upload_fw_pkt)(struct as10x_bus_adapter_t *bus_adap, 22 int (*send_cmd)(struct as10x_bus_adapter_t *bus_adap, 25 int (*xfer_cmd)(struct as10x_bus_adapter_t *bus_adap, 32 int (*reset_target)(struct as10x_bus_adapter_t *bus_adap); 34 int (*read_write)(struct as10x_bus_adapter_t *bus_adap, uint8_t mode, 38 int (*as102_read_ep2)(struct as10x_bus_adapter_t *bus_adap,
|
D | as102_fw.c | 91 static int as102_firmware_upload(struct as10x_bus_adapter_t *bus_adap, in as102_firmware_upload() argument 125 errno = bus_adap->ops->upload_fw_pkt(bus_adap, in as102_firmware_upload() 140 errno = bus_adap->ops->upload_fw_pkt(bus_adap, in as102_firmware_upload() 155 int as102_fw_upload(struct as10x_bus_adapter_t *bus_adap) in as102_fw_upload() argument 161 struct usb_device *dev = bus_adap->usb_dev; in as102_fw_upload() 188 errno = as102_firmware_upload(bus_adap, cmd_buf, firmware); in as102_fw_upload() 212 errno = as102_firmware_upload(bus_adap, cmd_buf, firmware); in as102_fw_upload()
|
D | as102_fw.h | 24 int as102_fw_upload(struct as10x_bus_adapter_t *bus_adap);
|
D | as102_drv.h | 51 struct as10x_bus_adapter_t bus_adap; member
|