[go: nahoru, domu]

Searched defs:act_len (Results 1 - 14 of 14) sorted by relevance

/drivers/media/usb/gspca/
H A Djl2005bcd.c325 int act_len; local
350 buffer, JL2005C_MAX_TRANSFER, &act_len,
354 act_len, JL2005C_MAX_TRANSFER);
355 if (ret < 0 || act_len < JL2005C_MAX_TRANSFER)
363 * of which we already got act_len */
364 bytes_left = buffer[0x07] * dev->block_size - act_len;
369 buffer, act_len);
377 buffer, data_len, &act_len,
379 if (ret < 0 || act_len < data_len)
H A Dsq905.c175 int act_len; local
194 data, size, &act_len, SQ905_DATA_TIMEOUT);
197 if (ret < 0 || act_len != size) {
198 pr_err("bulk read fail (%d) len %d/%d\n", ret, act_len, size);
H A Dsq905c.c140 int act_len; local
159 buffer, FRAME_HEADER_LEN, &act_len,
163 act_len, FRAME_HEADER_LEN);
164 if (ret < 0 || act_len < FRAME_HEADER_LEN)
179 buffer, data_len, &act_len,
181 if (ret < 0 || act_len < data_len)
H A Dvicam.c117 int ret, unscaled_height, act_len = 0; local
163 data, size, &act_len, 10000);
165 if (ret < 0 || act_len != size) {
167 ret, act_len, size);
/drivers/net/usb/
H A Dkalmia.c63 int act_len; local
69 init_msg, init_msg_len, &act_len, KALMIA_USB_TIMEOUT);
73 status, act_len);
76 else if (act_len != init_msg_len) {
79 act_len);
86 buffer, expected_len, &act_len, KALMIA_USB_TIMEOUT);
91 status, act_len);
92 else if (act_len != expected_len)
94 act_len);
/drivers/mfd/
H A Drtsx_usb.c56 unsigned int length, unsigned int *act_len, int timeout)
72 if (act_len)
73 *act_len = ucr->current_sg.bytes;
80 unsigned int *act_len, int timeout)
87 (struct scatterlist *)buf, num_sg, len, act_len,
90 return usb_bulk_msg(ucr->pusb_dev, pipe, buf, len, act_len,
54 rtsx_usb_bulk_transfer_sglist(struct rtsx_ucr *ucr, unsigned int pipe, struct scatterlist *sg, int num_sg, unsigned int length, unsigned int *act_len, int timeout) argument
78 rtsx_usb_transfer_data(struct rtsx_ucr *ucr, unsigned int pipe, void *buf, unsigned int len, int num_sg, unsigned int *act_len, int timeout) argument
/drivers/usb/storage/
H A Dtransport.c392 void *buf, unsigned int length, unsigned int *act_len)
404 if (act_len)
405 *act_len = us->current_urb->actual_length;
419 unsigned int *act_len)
455 if (act_len)
456 *act_len = us->current_sg.bytes;
391 usb_stor_bulk_transfer_buf(struct us_data *us, unsigned int pipe, void *buf, unsigned int length, unsigned int *act_len) argument
417 usb_stor_bulk_transfer_sglist(struct us_data *us, unsigned int pipe, struct scatterlist *sg, int num_sg, unsigned int length, unsigned int *act_len) argument
H A Drealtek_cr.c211 enum dma_data_direction dir, int *act_len)
272 if (act_len)
273 *act_len = buf_len - residue;
298 enum dma_data_direction dir, int *act_len)
209 rts51x_bulk_transport(struct us_data *us, u8 lun, u8 *cmd, int cmd_len, u8 *buf, int buf_len, enum dma_data_direction dir, int *act_len) argument
296 rts51x_bulk_transport_special(struct us_data *us, u8 lun, u8 *cmd, int cmd_len, u8 *buf, int buf_len, enum dma_data_direction dir, int *act_len) argument
/drivers/media/usb/dvb-usb/
H A Daf9005.c569 int act_len, i, ret; local
616 buf, FW_BULKOUT_SIZE + 2, &act_len, 2000);
619 FW_BULKOUT_SIZE + 2, act_len);
621 ret = act_len != FW_BULKOUT_SIZE + 2 ? -1 : 0;
626 usb_rcvbulkpipe(udev, 0x01), buf, 9, &act_len, 2000);
632 debug_dump(buf, act_len, deb_fw);
721 int i, packets, ret, act_len; local
743 buf, FW_BULKOUT_SIZE + 2, &act_len, 1000);
H A Ddib0700_core.c475 int pos = 0, ret, act_len, i, adap_num; local
498 &act_len,
/drivers/media/usb/dvb-usb-v2/
H A Danysee.c53 int act_len, ret, i; local
85 state->buf, sizeof(state->buf), &act_len, 2000);
/drivers/usb/host/
H A Disp1362-hcd.c363 int act_len; local
374 act_len = PTD_GET_COUNT(ptd);
375 if (PTD_GET_DIR(ptd) != PTD_DIR_IN || act_len == 0)
377 if (act_len > ep->length)
378 pr_err("%s: ep %p PTD $%04x act_len %d ep->length %d\n", __func__, ep,
379 ep->ptd_offset, act_len, ep->length);
380 BUG_ON(act_len > ep->length);
387 ep->ptd_offset + PTD_HEADER_SIZE, act_len);
/drivers/net/wireless/ath/ath6kl/
H A Dhtc.h308 u32 act_len; member in struct:htc_packet
364 u8 act_len; member in struct:htc_service_connect_resp
641 packet->act_len = len;
649 packet->act_len = 0;
/drivers/scsi/
H A Dscsi_debug.c553 int act_len; local
561 act_len = sg_copy_from_buffer(sdb->table.sgl, sdb->table.nents,
563 sdb->resid = scsi_bufflen(scp) - act_len;

Completed in 1417 milliseconds