Home
last modified time | relevance | path

Searched refs:curr_len (Results 1 – 5 of 5) sorted by relevance

/drivers/usb/host/
Dmax3421-hcd.c155 size_t curr_len; member
523 max3421_hcd->curr_len = 0; in max3421_transfer_in()
544 spi_wr8(hcd, MAX3421_REG_SNDBC, max3421_hcd->curr_len); in max3421_transfer_out()
562 max3421_hcd->curr_len = min((urb->transfer_buffer_length - in max3421_transfer_out()
565 spi_wr_buf(hcd, MAX3421_REG_SNDFIFO, src, max3421_hcd->curr_len); in max3421_transfer_out()
566 spi_wr8(hcd, MAX3421_REG_SNDBC, max3421_hcd->curr_len); in max3421_transfer_out()
842 max3421_hcd->curr_len = transfer_size; in max3421_recv_data_available()
967 if (max3421_hcd->curr_len < max_packet) { in max3421_transfer_in_done()
990 urb->actual_length += max3421_hcd->curr_len; in max3421_transfer_out_done()
1003 if (max3421_hcd->curr_len == max_packet) in max3421_transfer_out_done()
/drivers/net/ethernet/huawei/hinic/
Dhinic_rx.c276 unsigned int curr_len; in rx_recv_jumbo_pkt() local
292 curr_len = (left_pkt_len > HINIC_RX_BUF_SZ) ? HINIC_RX_BUF_SZ : in rx_recv_jumbo_pkt()
295 left_pkt_len -= curr_len; in rx_recv_jumbo_pkt()
297 __skb_put(skb, curr_len); in rx_recv_jumbo_pkt()
/drivers/scsi/esas2r/
Desas2r_flash.c208 fc->curr_len = fc->sgc.length; in build_flash_msg()
223 fc->flsh_addr += fc->curr_len; in build_flash_msg()
356 for (len = fc->curr_len; len; len--) in fw_download_proc()
360 fc->cmp_len -= fc->curr_len; /* # left to compare */ in fw_download_proc()
Desas2r.h710 u32 curr_len; member
/drivers/net/ethernet/qlogic/qed/
Dqed_debug.c2160 u32 curr_len = min_t(u32, read_len, total_len - reg_offset); in qed_grc_dump_reg_entry_skip() local
2165 dump, addr, curr_len, false, in qed_grc_dump_reg_entry_skip()
2167 reg_offset += curr_len; in qed_grc_dump_reg_entry_skip()
2168 addr += curr_len; in qed_grc_dump_reg_entry_skip()
2171 curr_len = min_t(u32, skip_len, total_len - skip_len); in qed_grc_dump_reg_entry_skip()
2172 memset(dump_buf + offset, 0, DWORDS_TO_BYTES(curr_len)); in qed_grc_dump_reg_entry_skip()
2173 offset += curr_len; in qed_grc_dump_reg_entry_skip()
2174 reg_offset += curr_len; in qed_grc_dump_reg_entry_skip()
2175 addr += curr_len; in qed_grc_dump_reg_entry_skip()