Home
last modified time | relevance | path

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

/drivers/net/usb/
Dkalmia.c63 int act_len; in kalmia_send_init_packet() local
69 init_msg, init_msg_len, &act_len, KALMIA_USB_TIMEOUT); in kalmia_send_init_packet()
73 status, act_len); in kalmia_send_init_packet()
76 else if (act_len != init_msg_len) { in kalmia_send_init_packet()
79 act_len); in kalmia_send_init_packet()
86 buffer, expected_len, &act_len, KALMIA_USB_TIMEOUT); in kalmia_send_init_packet()
91 status, act_len); in kalmia_send_init_packet()
92 else if (act_len != expected_len) in kalmia_send_init_packet()
94 act_len); in kalmia_send_init_packet()
/drivers/media/usb/gspca/
Dsq905c.c140 int act_len; in sq905c_dostream() local
159 buffer, FRAME_HEADER_LEN, &act_len, in sq905c_dostream()
163 act_len, FRAME_HEADER_LEN); in sq905c_dostream()
164 if (ret < 0 || act_len < FRAME_HEADER_LEN) in sq905c_dostream()
179 buffer, data_len, &act_len, in sq905c_dostream()
181 if (ret < 0 || act_len < data_len) in sq905c_dostream()
Djl2005bcd.c324 int act_len; in jl2005c_dostream() local
349 buffer, JL2005C_MAX_TRANSFER, &act_len, in jl2005c_dostream()
353 act_len, JL2005C_MAX_TRANSFER); in jl2005c_dostream()
354 if (ret < 0 || act_len < JL2005C_MAX_TRANSFER) in jl2005c_dostream()
363 bytes_left = buffer[0x07] * dev->block_size - act_len; in jl2005c_dostream()
368 buffer, act_len); in jl2005c_dostream()
376 buffer, data_len, &act_len, in jl2005c_dostream()
378 if (ret < 0 || act_len < data_len) in jl2005c_dostream()
Dvicam.c116 int ret, unscaled_height, act_len = 0; in vicam_read_frame() local
162 data, size, &act_len, 10000); in vicam_read_frame()
164 if (ret < 0 || act_len != size) { in vicam_read_frame()
166 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()
198 pr_err("bulk read fail (%d) len %d/%d\n", ret, act_len, size); in sq905_read_data()
/drivers/net/wireless/ath/ath6kl/
Dhtc_mbox.c368 put_unaligned((u16)packet->act_len, &hdr->payld_len); in ath6kl_htc_tx_prep_pkt()
419 packet->status, packet->endpoint, packet->act_len, in htc_tx_comp_update()
517 send_len = packet->act_len + HTC_HDR_LENGTH; in ath6kl_htc_tx_issue()
621 packet->act_len + HTC_HDR_LENGTH); in ath6kl_htc_tx_pkts_get()
700 packet->act_len + HTC_HDR_LENGTH); in ath6kl_htc_tx_setup_scat_list()
720 packet->act_len + HTC_HDR_LENGTH); in ath6kl_htc_tx_setup_scat_list()
841 packet->buf, packet->act_len); in ath6kl_htc_tx_bundle()
1129 packet->endpoint, packet->buf, packet->act_len); in ath6kl_htc_mbox_tx()
1180 packet, packet->act_len, in ath6kl_htc_mbox_flush_txep()
1462 packet->act_len = le16_to_cpu(htc_hdr->payld_len) + in ath6kl_htc_rx_setup()
[all …]
Dhtc.h308 u32 act_len; member
364 u8 act_len; member
641 packet->act_len = len; in set_htc_pkt_info()
649 packet->act_len = 0; in htc_rxpkt_reset()
Dtxrx.c733 if (WARN_ON_ONCE(!status && (packet->act_len != skb->len))) { in ath6kl_tx_complete()
777 __func__, skb, packet->buf, packet->act_len, in ath6kl_tx_complete()
782 __func__, skb, packet->buf, packet->act_len, in ath6kl_tx_complete()
1330 packet->act_len, status); in ath6kl_rx()
1332 if (status || packet->act_len < HTC_HDR_LENGTH) { in ath6kl_rx()
1337 skb_put(skb, packet->act_len + HTC_HDR_LENGTH); in ath6kl_rx()
1369 vif->net_stats.rx_bytes += packet->act_len; in ath6kl_rx()
1395 ((packet->act_len < min_hdr_len) || in ath6kl_rx()
1396 (packet->act_len > WMI_MAX_AMSDU_RX_DATA_FRAME_LENGTH))) { in ath6kl_rx()
1517 if ((packet->act_len < min_hdr_len) || in ath6kl_rx()
[all …]
Dhtc_pipe.c116 transfer_len = packet->act_len + HTC_HDR_LENGTH; in get_htc_packet_credit_based()
228 payload_len = packet->act_len; in htc_issue_packets()
1085 packet->act_len = netlen - HTC_HDR_LENGTH - trailerlen; in ath6kl_htc_pipe_rx_complete()
1123 packet->act_len = 0; in htc_flush_rx_queue()
1559 packet->act_len); in ath6kl_htc_pipe_tx()
/drivers/mfd/
Drtsx_usb.c53 unsigned int length, unsigned int *act_len, int timeout) in rtsx_usb_bulk_transfer_sglist() argument
72 if (act_len) in rtsx_usb_bulk_transfer_sglist()
73 *act_len = ucr->current_sg.bytes; in rtsx_usb_bulk_transfer_sglist()
80 unsigned int *act_len, int timeout) in rtsx_usb_transfer_data() argument
87 (struct scatterlist *)buf, num_sg, len, act_len, in rtsx_usb_transfer_data()
90 return usb_bulk_msg(ucr->pusb_dev, pipe, buf, len, act_len, in rtsx_usb_transfer_data()
/drivers/media/usb/dvb-usb/
Daf9005.c570 int act_len, i, ret; in af9005_boot_packet() local
618 buf, FW_BULKOUT_SIZE + 2, &act_len, 2000); in af9005_boot_packet()
621 FW_BULKOUT_SIZE + 2, act_len); in af9005_boot_packet()
623 ret = act_len != FW_BULKOUT_SIZE + 2 ? -1 : 0; in af9005_boot_packet()
628 usb_rcvbulkpipe(udev, 0x01), buf, 9, &act_len, 2000); in af9005_boot_packet()
634 debug_dump(buf, act_len, deb_fw); in af9005_boot_packet()
723 int i, packets, ret, act_len; in af9005_download_firmware() local
751 buf, FW_BULKOUT_SIZE + 2, &act_len, 1000); in af9005_download_firmware()
Ddib0700_core.c502 int pos = 0, ret, act_len, i, adap_num; in dib0700_download_firmware() local
525 &act_len, in dib0700_download_firmware()
/drivers/usb/storage/
Dtransport.c402 void *buf, unsigned int length, unsigned int *act_len) in usb_stor_bulk_transfer_buf() argument
414 if (act_len) in usb_stor_bulk_transfer_buf()
415 *act_len = us->current_urb->actual_length; in usb_stor_bulk_transfer_buf()
429 unsigned int *act_len) in usb_stor_bulk_transfer_sglist() argument
467 if (act_len) in usb_stor_bulk_transfer_sglist()
468 *act_len = us->current_sg.bytes; in usb_stor_bulk_transfer_sglist()
Dtransport.h97 void *buf, unsigned int length, unsigned int *act_len);
Drealtek_cr.c215 enum dma_data_direction dir, int *act_len) in rts51x_bulk_transport() argument
278 if (act_len) in rts51x_bulk_transport()
279 *act_len = buf_len - residue; in rts51x_bulk_transport()
305 enum dma_data_direction dir, int *act_len) in rts51x_bulk_transport_special() argument
/drivers/usb/host/
Disp1362-hcd.c363 int act_len; in isp1362_read_ptd() local
374 act_len = PTD_GET_COUNT(ptd); in isp1362_read_ptd()
375 if (PTD_GET_DIR(ptd) != PTD_DIR_IN || act_len == 0) in isp1362_read_ptd()
377 if (act_len > ep->length) in isp1362_read_ptd()
379 ep->ptd_offset, act_len, ep->length); in isp1362_read_ptd()
380 BUG_ON(act_len > ep->length); in isp1362_read_ptd()
387 ep->ptd_offset + PTD_HEADER_SIZE, act_len); in isp1362_read_ptd()
/drivers/media/usb/dvb-usb-v2/
Danysee.c53 int act_len, ret, i; in anysee_ctrl_msg() local
85 state->buf, sizeof(state->buf), &act_len, 2000); in anysee_ctrl_msg()
/drivers/scsi/
Dscsi_debug.c898 int act_len; in fill_from_dev_buffer() local
906 act_len = sg_copy_from_buffer(sdb->table.sgl, sdb->table.nents, in fill_from_dev_buffer()
908 sdb->resid = scsi_bufflen(scp) - act_len; in fill_from_dev_buffer()
921 int act_len, n; in p_fill_from_dev_buffer() local
930 act_len = sg_pcopy_from_buffer(sdb->table.sgl, sdb->table.nents, in p_fill_from_dev_buffer()
933 __func__, off_dst, scsi_bufflen(scp), act_len, sdb->resid); in p_fill_from_dev_buffer()
934 n = (int)scsi_bufflen(scp) - ((int)off_dst + act_len); in p_fill_from_dev_buffer()