Home
last modified time | relevance | path

Searched refs:act_len (Results 1 – 17 of 17) sorted by relevance

/linux-2.6.39/drivers/media/video/gspca/
Djeilinj.c186 int act_len; in jlj_dostream() local
204 buffer, JEILINJ_MAX_TRANSFER, &act_len, in jlj_dostream()
208 act_len, JEILINJ_MAX_TRANSFER); in jlj_dostream()
209 if (ret < 0 || act_len < FRAME_HEADER_LEN) in jlj_dostream()
227 buffer, JEILINJ_MAX_TRANSFER, &act_len, in jlj_dostream()
229 if (ret < 0 || act_len < JEILINJ_MAX_TRANSFER) in jlj_dostream()
Dsq905c.c142 int act_len; in sq905c_dostream() local
157 buffer, FRAME_HEADER_LEN, &act_len, in sq905c_dostream()
161 act_len, FRAME_HEADER_LEN); in sq905c_dostream()
162 if (ret < 0 || act_len < FRAME_HEADER_LEN) in sq905c_dostream()
177 buffer, data_len, &act_len, in sq905c_dostream()
179 if (ret < 0 || act_len < data_len) in sq905c_dostream()
Dvicam.c145 int ret, unscaled_height, act_len = 0; in vicam_read_frame() local
189 data, size, &act_len, 10000); in vicam_read_frame()
191 if (ret < 0 || act_len != size) { in vicam_read_frame()
193 ret, act_len, size); in vicam_read_frame()
Dsq905.c175 int act_len; in sq905_read_data() local
194 data, size, &act_len, SQ905_DATA_TIMEOUT); in sq905_read_data()
197 if (ret < 0 || act_len != size) { in sq905_read_data()
199 ret, act_len, size); in sq905_read_data()
/linux-2.6.39/drivers/media/dvb/dvb-usb/
Daf9005.c569 int act_len, i, ret; in af9005_boot_packet() local
616 buf, FW_BULKOUT_SIZE + 2, &act_len, 2000); in af9005_boot_packet()
619 FW_BULKOUT_SIZE + 2, act_len); in af9005_boot_packet()
621 ret = act_len != FW_BULKOUT_SIZE + 2 ? -1 : 0; in af9005_boot_packet()
626 usb_rcvbulkpipe(udev, 0x01), buf, 9, &act_len, 2000); in af9005_boot_packet()
632 debug_dump(buf, act_len, deb_fw); in af9005_boot_packet()
721 int i, packets, ret, act_len; in af9005_download_firmware() local
743 buf, FW_BULKOUT_SIZE + 2, &act_len, 1000); in af9005_download_firmware()
Danysee.c55 int act_len, ret; in anysee_ctrl_msg() local
74 &act_len, 2000); in anysee_ctrl_msg()
79 debug_dump(buf, act_len, deb_xfer); in anysee_ctrl_msg()
Daf9015.c72 int act_len, ret; in af9015_rw_udev() local
137 &act_len, AF9015_USB_TIMEOUT); in af9015_rw_udev()
139 err("bulk message failed:%d (%d/%d)", ret, msg_len, act_len); in af9015_rw_udev()
141 if (act_len != msg_len) in af9015_rw_udev()
157 &act_len, AF9015_USB_TIMEOUT); in af9015_rw_udev()
165 debug_dump(buf, act_len, deb_xfer); in af9015_rw_udev()
Ddib0700_core.c388 int pos = 0, ret, act_len, i, adap_num; in dib0700_download_firmware() local
409 &act_len, in dib0700_download_firmware()
/linux-2.6.39/drivers/staging/keucr/
Dtransport.c172 void *buf, unsigned int length, unsigned int *act_len) in usb_stor_bulk_transfer_buf() argument
183 if (act_len) in usb_stor_bulk_transfer_buf()
184 *act_len = us->current_urb->actual_length; in usb_stor_bulk_transfer_buf()
192 unsigned int *act_len) in usb_stor_bulk_transfer_sglist() argument
227 if (act_len) in usb_stor_bulk_transfer_sglist()
228 *act_len = us->current_sg.bytes; in usb_stor_bulk_transfer_sglist()
Dtransport.h77 void *buf, unsigned int length, unsigned int *act_len);
/linux-2.6.39/drivers/staging/asus_oled/
Dasus_oled.c164 int act_len; in enable_oled() local
186 &act_len, in enable_oled()
251 int act_len; in send_packets() local
276 &act_len, -1); in send_packets()
289 int act_len; in send_packet() local
298 &act_len, in send_packet()
/linux-2.6.39/drivers/usb/storage/
Dtransport.c392 void *buf, unsigned int length, unsigned int *act_len) in usb_stor_bulk_transfer_buf() argument
404 if (act_len) in usb_stor_bulk_transfer_buf()
405 *act_len = us->current_urb->actual_length; in usb_stor_bulk_transfer_buf()
419 unsigned int *act_len) in usb_stor_bulk_transfer_sglist() argument
456 if (act_len) in usb_stor_bulk_transfer_sglist()
457 *act_len = us->current_sg.bytes; in usb_stor_bulk_transfer_sglist()
Dtransport.h135 void *buf, unsigned int length, unsigned int *act_len);
Drealtek_cr.c175 enum dma_data_direction dir, int *act_len) in rts51x_bulk_transport() argument
237 if (act_len) in rts51x_bulk_transport()
238 *act_len = buf_len - residue; in rts51x_bulk_transport()
/linux-2.6.39/drivers/block/
Dub.c206 unsigned int act_len; /* Return size */ member
787 if (cmd->act_len >= rq->resid_len) in ub_rw_cmd_done()
790 rq->resid_len -= cmd->act_len; in ub_rw_cmd_done()
793 if (cmd->act_len != cmd->len) { in ub_rw_cmd_done()
856 sc->name, UB_DIR_CHAR(cmd->dir), cmd->len, cmd->act_len, in ub_rw_cmd_retry()
1157 cmd->act_len += len; in ub_scsi_urb_compl()
1183 cmd->act_len += urb->actual_length; in ub_scsi_urb_compl()
1260 if (len != cmd->len - cmd->act_len) { in ub_scsi_urb_compl()
1264 if (cmd->len == cmd->act_len) { in ub_scsi_urb_compl()
1932 if (cmd->act_len != 8) { in ub_sync_read_cap()
/linux-2.6.39/drivers/usb/host/
Disp1362-hcd.c369 int act_len; in isp1362_read_ptd() local
380 act_len = PTD_GET_COUNT(ptd); in isp1362_read_ptd()
381 if (PTD_GET_DIR(ptd) != PTD_DIR_IN || act_len == 0) in isp1362_read_ptd()
383 if (act_len > ep->length) in isp1362_read_ptd()
385 ep->ptd_offset, act_len, ep->length); in isp1362_read_ptd()
386 BUG_ON(act_len > ep->length); in isp1362_read_ptd()
393 ep->ptd_offset + PTD_HEADER_SIZE, act_len); in isp1362_read_ptd()
/linux-2.6.39/drivers/scsi/
Dscsi_debug.c428 int act_len; in fill_from_dev_buffer() local
436 act_len = sg_copy_from_buffer(sdb->table.sgl, sdb->table.nents, in fill_from_dev_buffer()
439 sdb->resid -= act_len; in fill_from_dev_buffer()
441 sdb->resid = scsi_bufflen(scp) - act_len; in fill_from_dev_buffer()