Home
last modified time | relevance | path

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

/linux-4.1.27/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()
/linux-4.1.27/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.c325 int act_len; in jl2005c_dostream() local
350 buffer, JL2005C_MAX_TRANSFER, &act_len, in jl2005c_dostream()
354 act_len, JL2005C_MAX_TRANSFER); in jl2005c_dostream()
355 if (ret < 0 || act_len < JL2005C_MAX_TRANSFER) in jl2005c_dostream()
364 bytes_left = buffer[0x07] * dev->block_size - act_len; in jl2005c_dostream()
369 buffer, act_len); in jl2005c_dostream()
377 buffer, data_len, &act_len, in jl2005c_dostream()
379 if (ret < 0 || act_len < data_len) in jl2005c_dostream()
Dvicam.c117 int ret, unscaled_height, act_len = 0; in vicam_read_frame() local
163 data, size, &act_len, 10000); in vicam_read_frame()
165 if (ret < 0 || act_len != size) { in vicam_read_frame()
167 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()
/linux-4.1.27/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()
1131 packet->endpoint, packet->buf, packet->act_len); in ath6kl_htc_mbox_tx()
1182 packet, packet->act_len, in ath6kl_htc_mbox_flush_txep()
1464 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()
1513 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()
/linux-4.1.27/drivers/media/usb/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()
Ddib0700_core.c475 int pos = 0, ret, act_len, i, adap_num; in dib0700_download_firmware() local
498 &act_len, in dib0700_download_firmware()
/linux-4.1.27/drivers/mfd/
Drtsx_usb.c56 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()
/linux-4.1.27/drivers/usb/storage/
Dtransport.h96 void *buf, unsigned int length, unsigned int *act_len);
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
455 if (act_len) in usb_stor_bulk_transfer_sglist()
456 *act_len = us->current_sg.bytes; in usb_stor_bulk_transfer_sglist()
Drealtek_cr.c211 enum dma_data_direction dir, int *act_len) in rts51x_bulk_transport() argument
272 if (act_len) in rts51x_bulk_transport()
273 *act_len = buf_len - residue; in rts51x_bulk_transport()
298 enum dma_data_direction dir, int *act_len) in rts51x_bulk_transport_special() argument
/linux-4.1.27/include/linux/mfd/
Drtsx_usb.h96 unsigned int *act_len, int timeout);
/linux-4.1.27/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()
/linux-4.1.27/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()
/linux-4.1.27/drivers/scsi/
Dscsi_debug.c905 int act_len; in fill_from_dev_buffer() local
913 act_len = sg_copy_from_buffer(sdb->table.sgl, sdb->table.nents, in fill_from_dev_buffer()
915 sdb->resid = scsi_bufflen(scp) - act_len; in fill_from_dev_buffer()