Home
last modified time | relevance | path

Searched refs:actual_len (Results 1 – 25 of 53) sorted by relevance

123

/Linux-v5.10/drivers/media/usb/gspca/
Dkinect.c125 int res, actual_len; in send_cmd() local
154 actual_len = kinect_read(udev, ibuf, 0x200); in send_cmd()
155 } while (actual_len == 0); in send_cmd()
156 gspca_dbg(gspca_dev, D_USBO, "Control reply: %d\n", actual_len); in send_cmd()
157 if (actual_len < (int)sizeof(*rhdr)) { in send_cmd()
159 actual_len); in send_cmd()
160 return actual_len < 0 ? actual_len : -EREMOTEIO; in send_cmd()
162 actual_len -= sizeof(*rhdr); in send_cmd()
179 if (le16_to_cpu(rhdr->len) != (actual_len/2)) { in send_cmd()
181 le16_to_cpu(rhdr->len), (int)(actual_len/2)); in send_cmd()
[all …]
/Linux-v5.10/drivers/media/usb/as102/
Das102_usb_drv.c139 int ret, actual_len; in as102_send_ep1() local
143 send_buf, send_buf_len, &actual_len, 200); in as102_send_ep1()
150 if (actual_len != send_buf_len) { in as102_send_ep1()
152 actual_len, send_buf_len); in as102_send_ep1()
155 return actual_len; in as102_send_ep1()
161 int ret, actual_len; in as102_read_ep2() local
168 recv_buf, recv_buf_len, &actual_len, 200); in as102_read_ep2()
175 if (actual_len != recv_buf_len) { in as102_read_ep2()
177 actual_len, recv_buf_len); in as102_read_ep2()
180 return actual_len; in as102_read_ep2()
/Linux-v5.10/drivers/media/radio/
Dradio-shark2.c78 int i, res, actual_len; in shark_write_reg() local
91 &actual_len, 1000); in shark_write_reg()
103 int i, res, actual_len; in shark_read_reg() local
111 &actual_len, 1000); in shark_read_reg()
120 &actual_len, 1000); in shark_read_reg()
146 int i, res, brightness, actual_len; in shark_led_work() local
160 &actual_len, 1000); in shark_led_work()
Dradio-shark.c83 int i, res, actual_len; in shark_write_val() local
97 &actual_len, 1000); in shark_write_val()
107 int i, res, actual_len; in shark_read_val() local
115 &actual_len, 1000); in shark_read_val()
124 &actual_len, 1000); in shark_read_val()
159 int i, res, brightness, actual_len; in shark_led_work() local
175 &actual_len, 1000); in shark_led_work()
/Linux-v5.10/drivers/usb/musb/
Dmusbhsdma.c121 channel->actual_len = 0; in dma_channel_allocate()
133 channel->actual_len = 0; in dma_channel_release()
209 channel->actual_len = 0; in dma_channel_program()
328 channel->actual_len = addr in dma_controller_irq()
333 addr, channel->actual_len, in dma_controller_irq()
335 (channel->actual_len in dma_controller_irq()
346 (channel->actual_len % in dma_controller_irq()
Dmusb_trace.h167 __field(u32, actual_len)
176 __entry->actual_len = urb->actual_length;
184 __entry->actual_len, __entry->buf_len,
228 __field(unsigned int, actual_len)
239 __entry->actual_len = req->request.actual;
250 __entry->actual_len, __entry->buf_len,
Dcppi_dma.c495 if (n_bds && rx->channel.actual_len) { in cppi_autoreq_update()
826 rx->channel.actual_len, rx->buf_len); in cppi_next_rx_segment()
990 cppi_ch->channel.actual_len = 0; in cppi_channel_program()
1035 rx->channel.actual_len); in cppi_rx_scan()
1055 rx->channel.actual_len); in cppi_rx_scan()
1074 rx->channel.actual_len += len; in cppi_rx_scan()
1214 tx_ch->channel.actual_len += len; in cppi_interrupt()
1271 if (rx_ch->channel.actual_len != rx_ch->buf_len in cppi_interrupt()
1272 && rx_ch->channel.actual_len in cppi_interrupt()
Dtusb6010_omap.c128 channel->actual_len = chdat->transfer_len - remaining; in tusb_omap_dma_cb()
129 pio = chdat->len - channel->actual_len; in tusb_omap_dma_cb()
150 channel->actual_len += pio; in tusb_omap_dma_cb()
255 channel->actual_len = 0; in tusb_omap_dma_program()
468 channel->actual_len = 0; in tusb_omap_dma_allocate()
Dux500_dma.c63 ux500_channel->channel.actual_len = ux500_channel->cur_len; in ux500_dma_callback()
173 channel->actual_len = 0; in ux500_dma_channel_release()
199 channel->actual_len = 0; in ux500_dma_channel_program()
Dmusb_host.c615 channel->actual_len = 0; in musb_tx_dma_set_mode_cppi_tusb()
866 dma_channel->actual_len = 0L; in musb_ep_program()
943 urb->actual_length += dma->actual_len; in musb_bulk_nak_timeout()
944 dma->actual_len = 0L; in musb_bulk_nak_timeout()
1360 length = dma->actual_len; in musb_host_tx()
1575 || channel->actual_len < qh->maxpacket in musb_rx_dma_inventra_cppi41()
1833 xfer_len = dma->actual_len; in musb_host_rx()
1863 xfer_len = dma->actual_len; in musb_host_rx()
1877 xfer_len = dma->actual_len; in musb_host_rx()
2329 urb->actual_length += dma->actual_len; in musb_cleanup_urb()
Dmusb_dma.h124 size_t actual_len; member
/Linux-v5.10/drivers/net/usb/
Dcx82310_eth.c57 int actual_len, retries, ret; in cx82310_cmd() local
71 CMD_PACKET_SIZE, &actual_len, CMD_TIMEOUT); in cx82310_cmd()
83 buf, CMD_PACKET_SIZE, &actual_len, in cx82310_cmd()
91 if (actual_len > 0) in cx82310_cmd()
94 if (actual_len == 0) { in cx82310_cmd()
/Linux-v5.10/drivers/net/wireless/ti/wlcore/
Devent.c35 u32 actual_len; in wlcore_event_fw_logger() local
61 actual_len = le32_to_cpu(fw_log.actual_buff_size); in wlcore_event_fw_logger()
68 actual_len = min(actual_len, available_len); in wlcore_event_fw_logger()
69 len = actual_len; in wlcore_event_fw_logger()
/Linux-v5.10/sound/usb/6fire/
Dcomm.c95 int actual_len; in usb6fire_comm_send_buffer() local
98 buffer, buffer[1] + 2, &actual_len, HZ); in usb6fire_comm_send_buffer()
101 else if (actual_len != buffer[1] + 2) in usb6fire_comm_send_buffer()
Dfirmware.c177 int actual_len; in usb6fire_fw_fpga_write() local
181 &actual_len, HZ); in usb6fire_fw_fpga_write()
184 else if (actual_len != len) in usb6fire_fw_fpga_write()
/Linux-v5.10/drivers/usb/host/
Dfhci-sched.c53 if ((td->data + td->actual_len) && trans_len) in fhci_transaction_confirm()
54 memcpy(td->data + td->actual_len, pkt->data, in fhci_transaction_confirm()
70 td->actual_len = trans_len; in fhci_transaction_confirm()
89 td->actual_len += trans_len; in fhci_transaction_confirm()
111 td->actual_len += trans_len; in fhci_transaction_confirm()
113 if (td->len == td->actual_len) in fhci_transaction_confirm()
173 len = min(td->len - td->actual_len, ed->max_pkt_size); in add_packet()
175 ((len + td->actual_len) == td->len))) in add_packet()
176 data = td->data + td->actual_len; in add_packet()
Dfhci-q.c229 len = td->actual_len; in fhci_done_td()
260 urb->actual_length += td->actual_len; in fhci_done_td()
/Linux-v5.10/arch/parisc/kernel/
Dinventory.c305 unsigned long actual_len; in pat_memconfig() local
316 status = pdc_pat_pd_get_addr_map(&actual_len, mem_table, length, 0L); in pat_memconfig()
319 || ((actual_len % sizeof(struct pdc_pat_pd_addr_map_entry)) != 0)) { in pat_memconfig()
332 entries = actual_len / sizeof(struct pdc_pat_pd_addr_map_entry); in pat_memconfig()
/Linux-v5.10/drivers/usb/serial/
Dmetro-usb.c81 int actual_len; in metrousb_send_unidirectional_cmd() local
96 &actual_len, USB_CTRL_SET_TIMEOUT); in metrousb_send_unidirectional_cmd()
102 else if (actual_len != sizeof(cmd)) in metrousb_send_unidirectional_cmd()
/Linux-v5.10/sound/usb/caiaq/
Ddevice.c209 int actual_len; in snd_usb_caiaq_send_command() local
223 cdev->ep1_out_buf, len+1, &actual_len, 200); in snd_usb_caiaq_send_command()
232 int actual_len; in snd_usb_caiaq_send_command_bank() local
248 cdev->ep1_out_buf, len+2, &actual_len, 200); in snd_usb_caiaq_send_command_bank()
/Linux-v5.10/drivers/net/wimax/i2400m/
Dusb.c147 int pipe, actual_len, ret; in __i2400mu_send_barker() local
166 &actual_len, 200); in __i2400mu_send_barker()
169 if (actual_len != barker_size) { /* Too short? drop it */ in __i2400mu_send_barker()
172 __func__, actual_len, barker_size); in __i2400mu_send_barker()
/Linux-v5.10/drivers/media/usb/ttusb-budget/
Ddvb-ttusb-budget.c143 int actual_len; in ttusb_cmd() local
155 ttusb->send_buf, len, &actual_len, 1000); in ttusb_cmd()
160 if (actual_len != len) { in ttusb_cmd()
163 actual_len, len); in ttusb_cmd()
168 ttusb->last_result, MAX_RCV, &actual_len, 1000); in ttusb_cmd()
176 actual_len = ttusb->last_result[3] + 4; in ttusb_cmd()
177 dprintk("< %*ph\n", actual_len, ttusb->last_result); in ttusb_cmd()
510 int err, actual_len;
/Linux-v5.10/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_core.c186 int actual_len; /* Not used */ in kvaser_usb_send_cmd() local
191 cmd, len, &actual_len, KVASER_USB_TIMEOUT); in kvaser_usb_send_cmd()
195 int *actual_len) in kvaser_usb_recv_cmd() argument
200 cmd, len, actual_len, KVASER_USB_TIMEOUT); in kvaser_usb_recv_cmd()
Dkvaser_usb.h180 int *actual_len);
/Linux-v5.10/drivers/media/usb/ttusb-dec/
Dttusb_dec.c318 int result, actual_len; in ttusb_dec_send_command() local
347 COMMAND_PACKET_SIZE + 4, &actual_len, 1000); in ttusb_dec_send_command()
358 COMMAND_PACKET_SIZE + 4, &actual_len, 1000); in ttusb_dec_send_command()
369 __func__, actual_len, b); in ttusb_dec_send_command()
1308 int i, j, actual_len, result, size, trans_count; in ttusb_dec_boot_dsp() local
1396 ARM_PACKET_SIZE, &actual_len, in ttusb_dec_boot_dsp()
1402 &actual_len, 100); in ttusb_dec_boot_dsp()

123