/openbmc/linux/drivers/net/usb/ |
H A D | kalmia.c | 59 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()
|
/openbmc/u-boot/examples/api/ |
H A D | glue.c | 276 lbasize_t act_len; in ub_dev_read() local 283 if (!syscall(API_DEV_READ, &err, di, buf, &len, &start, &act_len)) in ub_dev_read() 287 *rlen = act_len; in ub_dev_read() 306 int err = 0, act_len; in ub_dev_recv() local 312 if (!syscall(API_DEV_READ, &err, di, buf, &len, &act_len)) in ub_dev_recv() 316 *rlen = act_len; in ub_dev_recv()
|
/openbmc/linux/drivers/media/usb/gspca/ |
H A D | jl2005bcd.c | 312 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()
|
H A D | sq905c.c | 127 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()
|
H A D | vicam.c | 103 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()
|
H A D | sq905.c | 161 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()
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | usb-sandbox.c | 66 udev->act_len = 0; in sandbox_submit_control() 69 udev->act_len = ret; in sandbox_submit_control() 91 udev->act_len = 0; in sandbox_submit_bulk() 94 udev->act_len = ret; in sandbox_submit_bulk()
|
H A D | r8a66597-hcd.c | 362 buf = (u16 *)(buffer + dev->act_len); in send_bulk_packet() 373 dev->act_len += size; in send_bulk_packet() 383 if (dev->act_len >= transfer_len) in send_bulk_packet() 404 if (dev->act_len == 0) { in receive_bulk_packet() 433 buf = (u16 *)(buffer + dev->act_len); in receive_bulk_packet() 435 dev->act_len += rcv_len; in receive_bulk_packet() 478 dev->act_len += rcv_len; in receive_control_packet() 751 dev->act_len = len; in r8a66597_submit_rh_msg() 771 dev->act_len = 0; in submit_bulk_msg() 772 while (dev->act_len < transfer_len && ret == 0) { in submit_bulk_msg() [all …]
|
H A D | dwc2.c | 583 dev->act_len = min(len, txlen); in dwc_otg_submit_rh_msg_in_status() 666 dev->act_len = min(len, txlen); in dwc_otg_submit_rh_msg_in_descriptor() 690 dev->act_len = min(len, txlen); in dwc_otg_submit_rh_msg_in_configuration() 781 dev->act_len = len; in dwc_otg_submit_rh_msg_out() 1026 dev->act_len = done; in chunk_msg() 1057 int ret, act_len; in _submit_control_msg() local 1078 act_len = 0; in _submit_control_msg() 1084 act_len += dev->act_len; in _submit_control_msg() 1085 buffer += dev->act_len; in _submit_control_msg() 1086 len -= dev->act_len; in _submit_control_msg() [all …]
|
H A D | xhci-ring.c | 519 udev->act_len = min(length, length - in record_transfer_result() 524 BUG_ON(udev->act_len != length); in record_transfer_result() 719 udev->act_len = 0; in xhci_bulk_tx() 943 udev->act_len = 0; in xhci_ctrl_tx()
|
H A D | sl811-hcd.c | 317 dev->act_len = done; in submit_bulk_msg() 381 dev->act_len = done; in submit_control_msg() 710 usb_dev->act_len = len; in sl811_rh_submit_urb()
|
/openbmc/u-boot/drivers/usb/musb/ |
H A D | musb_hcd.c | 257 dev->act_len = 0; in ctrlreq_setup_phase() 298 dev->act_len += rxedlength; in ctrlreq_in_data_phase() 302 dev->act_len = rxlen; in ctrlreq_in_data_phase() 339 dev->act_len = txlen; in ctrlreq_out_data_phase() 730 dev->act_len = len; in musb_submit_rh_msg() 837 dev->act_len = len; in submit_control_msg() 928 dev->act_len = txlen; in submit_bulk_msg() 965 dev->act_len = txlen; in submit_bulk_msg() 988 dev->act_len = len; in submit_bulk_msg() 1138 dev->act_len = txlen; in submit_int_msg() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | htc_mbox.c | 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() 1180 packet, packet->act_len, in ath6kl_htc_mbox_flush_txep() 1579 if (packets->act_len > 0) { in htc_ctrl_rx() 1840 packet->act_len = min(packet->act_len, packet->buf_len); in ath6kl_htc_rx_process_hdr() 1886 packet->act_len -= htc_hdr->ctrl[0]; in ath6kl_htc_rx_process_hdr() 1890 packet->act_len -= HTC_HDR_LENGTH; in ath6kl_htc_rx_process_hdr() 1957 packet->act_len); in ath6kl_htc_rx_bundle() 2106 packet->act_len); in ath6kl_htc_rx_fetch() 2295 packet->buf, packet->act_len); in htc_wait_for_ctrl_msg() [all …]
|
H A D | htc.h | 315 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()
|
H A D | txrx.c | 728 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 …]
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | action.c | 134 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() 316 if (act_len) in nfp_fl_pre_tunnel() 317 memmove(act_data + act_size, act_data, act_len); in nfp_fl_pre_tunnel() 1275 nfp_flow->meta.act_len = 0; in nfp_flower_compile_action() 1277 act_len = 0; in nfp_flower_compile_action() 1294 &nfp_flow->action_data[act_len], in nfp_flower_compile_action() 1295 &act_len, &set_act, &csum_updated); in nfp_flower_compile_action() [all …]
|
H A D | offload.c | 98 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() 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() 819 act_off += act_len; in nfp_flower_copy_pre_actions() 887 sub2_act_len = sub_flow2->meta.act_len; in nfp_flower_merge_action() [all …]
|
/openbmc/linux/drivers/usb/storage/ |
H A D | transport.c | 386 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()
|
H A D | transport.h | 81 void *buf, unsigned int length, unsigned int *act_len);
|
H A D | realtek_cr.c | 203 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
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | sdio.c | 50 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 593 act_len, in ath10k_sdio_mbox_rx_alloc() 616 act_len, in ath10k_sdio_mbox_rx_alloc() 658 if (pkt->act_len > pkt->alloc_len) { in ath10k_sdio_mbox_rx_fetch() 663 skb_put(skb, pkt->act_len); in ath10k_sdio_mbox_rx_fetch() [all …]
|
H A D | sdio.h | 131 size_t act_len; member
|
/openbmc/linux/drivers/media/usb/dvb-usb/ |
H A D | af9005.c | 562 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()
|
/openbmc/linux/drivers/misc/cardreader/ |
H A D | rtsx_usb.c | 42 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()
|
/openbmc/u-boot/drivers/usb/emul/ |
H A D | sandbox_hub.c | 220 udev->act_len = sizeof(*hubsts); in sandbox_hub_submit_control_msg() 239 udev->act_len = sizeof(*portsts); in sandbox_hub_submit_control_msg()
|