Home
last modified time | relevance | path

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

/drivers/net/usb/
Dkalmia.c59 int act_len; in kalmia_send_init_packet() local
65 init_msg, init_msg_len, &act_len, KALMIA_USB_TIMEOUT); in kalmia_send_init_packet()
72 else if (act_len != init_msg_len) { in kalmia_send_init_packet()
75 act_len); in kalmia_send_init_packet()
82 buffer, expected_len, &act_len, KALMIA_USB_TIMEOUT); in kalmia_send_init_packet()
88 else if (act_len != expected_len) in kalmia_send_init_packet()
90 act_len); in kalmia_send_init_packet()
/drivers/media/usb/gspca/
Djl2005bcd.c312 int act_len; in jl2005c_dostream() local
337 buffer, JL2005C_MAX_TRANSFER, &act_len, in jl2005c_dostream()
341 act_len, JL2005C_MAX_TRANSFER); in jl2005c_dostream()
342 if (ret < 0 || act_len < JL2005C_MAX_TRANSFER) in jl2005c_dostream()
351 bytes_left = buffer[0x07] * dev->block_size - act_len; in jl2005c_dostream()
357 buffer, act_len); in jl2005c_dostream()
365 buffer, data_len, &act_len, in jl2005c_dostream()
367 if (ret < 0 || act_len < data_len) in jl2005c_dostream()
Dsq905c.c127 int act_len; in sq905c_dostream() local
146 buffer, FRAME_HEADER_LEN, &act_len, in sq905c_dostream()
150 act_len, FRAME_HEADER_LEN); in sq905c_dostream()
151 if (ret < 0 || act_len < FRAME_HEADER_LEN) in sq905c_dostream()
167 buffer, data_len, &act_len, in sq905c_dostream()
169 if (ret < 0 || act_len < data_len) in sq905c_dostream()
Dvicam.c103 int ret, unscaled_height, act_len = 0; in vicam_read_frame() local
149 data, size, &act_len, 10000); in vicam_read_frame()
151 if (ret < 0 || act_len != size) { in vicam_read_frame()
153 ret, act_len, size); in vicam_read_frame()
Dsq905.c161 int act_len = 0; in sq905_read_data() local
180 data, size, &act_len, SQ905_DATA_TIMEOUT); in sq905_read_data()
183 if (ret < 0 || act_len != size) { in sq905_read_data()
184 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.h315 u32 act_len; member
371 u8 act_len; member
648 packet->act_len = len; in set_htc_pkt_info()
656 packet->act_len = 0; in htc_rxpkt_reset()
Dtxrx.c728 if (WARN_ON_ONCE(!status && (packet->act_len != skb->len))) { in ath6kl_tx_complete()
772 __func__, skb, packet->buf, packet->act_len, in ath6kl_tx_complete()
777 __func__, skb, packet->buf, packet->act_len, in ath6kl_tx_complete()
1325 packet->act_len, status); in ath6kl_rx()
1327 if (status || packet->act_len < HTC_HDR_LENGTH) { in ath6kl_rx()
1332 skb_put(skb, packet->act_len + HTC_HDR_LENGTH); in ath6kl_rx()
1364 vif->ndev->stats.rx_bytes += packet->act_len; in ath6kl_rx()
1390 ((packet->act_len < min_hdr_len) || in ath6kl_rx()
1391 (packet->act_len > WMI_MAX_AMSDU_RX_DATA_FRAME_LENGTH))) { in ath6kl_rx()
1512 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()
1075 packet->act_len = netlen - HTC_HDR_LENGTH - trailerlen; in ath6kl_htc_pipe_rx_complete()
1113 packet->act_len = 0; in htc_flush_rx_queue()
1547 packet->act_len); in ath6kl_htc_pipe_tx()
/drivers/net/ethernet/netronome/nfp/flower/
Daction.c134 struct nfp_fl_payload *nfp_flow, int act_len, in nfp_fl_pre_lag() argument
146 if (act_len + act_size > NFP_FL_MAX_A_SIZ) { in nfp_fl_pre_lag()
154 if (act_len) in nfp_fl_pre_lag()
156 nfp_flow->action_data, act_len); in nfp_fl_pre_lag()
308 static struct nfp_fl_pre_tunnel *nfp_fl_pre_tunnel(char *act_data, int act_len) in nfp_fl_pre_tunnel() argument
316 if (act_len) in nfp_fl_pre_tunnel()
317 memmove(act_data + act_size, act_data, act_len); in nfp_fl_pre_tunnel()
1263 int act_len, act_cnt, err, tun_out_cnt, out_cnt, i; in nfp_flower_compile_action() local
1275 nfp_flow->meta.act_len = 0; in nfp_flower_compile_action()
1277 act_len = 0; in nfp_flower_compile_action()
[all …]
Doffload.c98 u32 meta_len, key_len, mask_len, act_len, tot_len; in nfp_flower_xmit_flow() local
105 act_len = nfp_flow->meta.act_len; in nfp_flower_xmit_flow()
107 tot_len = meta_len + key_len + mask_len + act_len; in nfp_flower_xmit_flow()
114 nfp_flow->meta.act_len >>= NFP_FL_LW_SIZ; in nfp_flower_xmit_flow()
125 nfp_flow->action_data, act_len); in nfp_flower_xmit_flow()
132 nfp_flow->meta.act_len <<= NFP_FL_LW_SIZ; in nfp_flower_xmit_flow()
604 while (act_off < flow->meta.act_len) { in nfp_flower_update_merge_with_actions()
798 unsigned int act_off = 0, act_len; in nfp_flower_copy_pre_actions() local
804 act_len = a->len_lw << NFP_FL_LW_SIZ; in nfp_flower_copy_pre_actions()
813 memcpy(act_dst + act_off, act_src + act_off, act_len); in nfp_flower_copy_pre_actions()
[all …]
Dmain.h407 u8 act_len; member
/drivers/net/wireless/ath/ath10k/
Dsdio.c50 pkt->act_len = 0; in ath10k_sdio_mbox_free_rx_pkt()
55 size_t act_len, size_t full_len, in ath10k_sdio_mbox_alloc_rx_pkt() argument
63 pkt->act_len = act_len; in ath10k_sdio_mbox_alloc_rx_pkt()
502 size_t full_len, size_t act_len, in ath10k_sdio_mbox_alloc_bundle() argument
526 act_len, in ath10k_sdio_mbox_alloc_bundle()
542 size_t full_len, act_len; in ath10k_sdio_mbox_rx_alloc() local
570 act_len = le16_to_cpu(htc_hdr->len) + sizeof(*htc_hdr); in ath10k_sdio_mbox_rx_alloc()
571 full_len = ath10k_sdio_calc_txrx_padded_len(ar_sdio, act_len); in ath10k_sdio_mbox_rx_alloc()
593 act_len, in ath10k_sdio_mbox_rx_alloc()
616 act_len, in ath10k_sdio_mbox_rx_alloc()
[all …]
Dsdio.h131 size_t act_len; member
/drivers/usb/storage/
Dtransport.c386 void *buf, unsigned int length, unsigned int *act_len) in usb_stor_bulk_transfer_buf() argument
398 if (act_len) in usb_stor_bulk_transfer_buf()
399 *act_len = us->current_urb->actual_length; in usb_stor_bulk_transfer_buf()
413 unsigned int *act_len) in usb_stor_bulk_transfer_sglist() argument
451 if (act_len) in usb_stor_bulk_transfer_sglist()
452 *act_len = us->current_sg.bytes; in usb_stor_bulk_transfer_sglist()
457 if (act_len) in usb_stor_bulk_transfer_sglist()
458 *act_len = 0; in usb_stor_bulk_transfer_sglist()
Dtransport.h81 void *buf, unsigned int length, unsigned int *act_len);
Drealtek_cr.c203 enum dma_data_direction dir, int *act_len) in rts51x_bulk_transport() argument
266 if (act_len) in rts51x_bulk_transport()
267 *act_len = buf_len - residue; in rts51x_bulk_transport()
293 enum dma_data_direction dir, int *act_len) in rts51x_bulk_transport_special() argument
/drivers/media/usb/dvb-usb/
Daf9005.c562 int act_len = 0, i, ret; in af9005_boot_packet() local
610 buf, FW_BULKOUT_SIZE + 2, &act_len, 2000); in af9005_boot_packet()
613 FW_BULKOUT_SIZE + 2, act_len); in af9005_boot_packet()
615 ret = act_len != FW_BULKOUT_SIZE + 2 ? -1 : 0; in af9005_boot_packet()
620 usb_rcvbulkpipe(udev, 0x01), buf, 9, &act_len, 2000); in af9005_boot_packet()
626 debug_dump(buf, act_len, deb_fw); in af9005_boot_packet()
715 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.c510 int pos = 0, ret, act_len, i, adap_num; in dib0700_download_firmware() local
533 &act_len, in dib0700_download_firmware()
/drivers/misc/cardreader/
Drtsx_usb.c42 unsigned int length, unsigned int *act_len, int timeout) in rtsx_usb_bulk_transfer_sglist() argument
61 if (act_len) in rtsx_usb_bulk_transfer_sglist()
62 *act_len = ucr->current_sg.bytes; in rtsx_usb_bulk_transfer_sglist()
69 unsigned int *act_len, int timeout) in rtsx_usb_transfer_data() argument
76 (struct scatterlist *)buf, num_sg, len, act_len, in rtsx_usb_transfer_data()
79 return usb_bulk_msg(ucr->pusb_dev, pipe, buf, len, act_len, in rtsx_usb_transfer_data()
/drivers/usb/host/
Disp1362-hcd.c365 int act_len; in isp1362_read_ptd() local
376 act_len = PTD_GET_COUNT(ptd); in isp1362_read_ptd()
377 if (PTD_GET_DIR(ptd) != PTD_DIR_IN || act_len == 0) in isp1362_read_ptd()
379 if (act_len > ep->length) in isp1362_read_ptd()
381 ep->ptd_offset, act_len, ep->length); in isp1362_read_ptd()
382 BUG_ON(act_len > ep->length); in isp1362_read_ptd()
389 ep->ptd_offset + PTD_HEADER_SIZE, act_len); in isp1362_read_ptd()
/drivers/media/usb/dvb-usb-v2/
Danysee.c40 int act_len, ret, i; in anysee_ctrl_msg() local
72 state->buf, sizeof(state->buf), &act_len, 2000); in anysee_ctrl_msg()
/drivers/scsi/
Dscsi_debug.c1158 int act_len; in fill_from_dev_buffer() local
1166 act_len = sg_copy_from_buffer(sdb->table.sgl, sdb->table.nents, in fill_from_dev_buffer()
1168 scsi_set_resid(scp, scsi_bufflen(scp) - act_len); in fill_from_dev_buffer()
1181 unsigned int act_len, n; in p_fill_from_dev_buffer() local
1190 act_len = sg_pcopy_from_buffer(sdb->table.sgl, sdb->table.nents, in p_fill_from_dev_buffer()
1193 __func__, off_dst, scsi_bufflen(scp), act_len, in p_fill_from_dev_buffer()
1195 n = scsi_bufflen(scp) - (off_dst + act_len); in p_fill_from_dev_buffer()