Home
last modified time | relevance | path

Searched refs:data_left (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.6/drivers/i3c/master/mipi-i3c-hci/
Dpio.c248 p += (xfer->data_len - xfer->data_left) / 4; in hci_pio_do_rx()
250 while (xfer->data_left >= 4) { in hci_pio_do_rx()
254 nr_words = min(xfer->data_left / 4, pio->rx_thresh_size); in hci_pio_do_rx()
256 xfer->data_left -= nr_words * 4; in hci_pio_do_rx()
257 DBG("now %d left %d", nr_words * 4, xfer->data_left); in hci_pio_do_rx()
263 return !xfer->data_left; in hci_pio_do_rx()
275 p += (xfer->data_len - xfer->data_left) / 4; in hci_pio_do_trailing_rx()
280 xfer->data_left -= nr_words * 4; in hci_pio_do_trailing_rx()
281 DBG("now %d left %d", nr_words * 4, xfer->data_left); in hci_pio_do_trailing_rx()
298 xfer->data_left -= count; in hci_pio_do_trailing_rx()
[all …]
Dhci.h87 unsigned int data_left; member
/Linux-v6.6/fs/nfsd/
Dnfsfh.c161 int data_left = fh->fh_size/4; in nfsd_set_fh_dentry() local
174 if (--data_left < 0) in nfsd_set_fh_dentry()
195 data_left -= len; in nfsd_set_fh_dentry()
196 if (data_left < 0) in nfsd_set_fh_dentry()
250 data_left, fileid_type, in nfsd_set_fh_dentry()
/Linux-v6.6/drivers/remoteproc/
Dremoteproc_coredump.c136 size_t *data_left) in rproc_coredump_find_segment() argument
142 *data_left = segment->size - user_offset; in rproc_coredump_find_segment()
148 *data_left = 0; in rproc_coredump_find_segment()
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx.c1339 unsigned int data_left = in iwl_fill_data_tbs_amsdu() local
1345 total_len -= data_left; in iwl_fill_data_tbs_amsdu()
1350 data_left)) & 0x3; in iwl_fill_data_tbs_amsdu()
1356 length = snap_ip_tcp_hdrlen + data_left; in iwl_fill_data_tbs_amsdu()
1364 tso_build_hdr(skb, hdr_page->pos, &tso, data_left, !total_len); in iwl_fill_data_tbs_amsdu()
1384 while (data_left) { in iwl_fill_data_tbs_amsdu()
1386 data_left); in iwl_fill_data_tbs_amsdu()
1399 data_left -= size; in iwl_fill_data_tbs_amsdu()
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/queue/
Dtx.c388 unsigned int data_left = min_t(unsigned int, mss, total_len); in iwl_txq_gen2_build_amsdu() local
393 total_len -= data_left; in iwl_txq_gen2_build_amsdu()
398 data_left)) & 0x3; in iwl_txq_gen2_build_amsdu()
404 length = snap_ip_tcp_hdrlen + data_left; in iwl_txq_gen2_build_amsdu()
412 tso_build_hdr(skb, hdr_page->pos, &tso, data_left, !total_len); in iwl_txq_gen2_build_amsdu()
436 while (data_left) { in iwl_txq_gen2_build_amsdu()
439 tb_len = min_t(unsigned int, tso.size, data_left); in iwl_txq_gen2_build_amsdu()
448 data_left -= tb_len; in iwl_txq_gen2_build_amsdu()
/Linux-v6.6/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c1491 int seg_len, total_len, data_left; in nicvf_sq_append_tso() local
1504 data_left = min_t(int, skb_shinfo(skb)->gso_size, total_len); in nicvf_sq_append_tso()
1505 total_len -= data_left; in nicvf_sq_append_tso()
1510 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in nicvf_sq_append_tso()
1519 while (data_left > 0) { in nicvf_sq_append_tso()
1522 size = min_t(int, tso.size, data_left); in nicvf_sq_append_tso()
1530 data_left -= size; in nicvf_sq_append_tso()
/Linux-v6.6/drivers/net/ethernet/marvell/
Dmv643xx_eth.c822 int hdr_len, total_len, data_left, ret; in txq_submit_tso() local
844 data_left = min_t(int, skb_shinfo(skb)->gso_size, total_len); in txq_submit_tso()
845 total_len -= data_left; in txq_submit_tso()
850 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in txq_submit_tso()
851 txq_put_hdr_tso(skb, txq, data_left, &first_cmd_sts, in txq_submit_tso()
854 while (data_left > 0) { in txq_submit_tso()
858 size = min_t(int, tso.size, data_left); in txq_submit_tso()
860 size == data_left, in txq_submit_tso()
864 data_left -= size; in txq_submit_tso()
Dmvneta.c2806 int hdr_len, total_len, data_left; in mvneta_tx_tso() local
2827 data_left = min_t(int, skb_shinfo(skb)->gso_size, total_len); in mvneta_tx_tso()
2828 total_len -= data_left; in mvneta_tx_tso()
2832 mvneta_tso_put_hdr(skb, txq, &tso, data_left, total_len == 0); in mvneta_tx_tso()
2834 while (data_left > 0) { in mvneta_tx_tso()
2838 size = min_t(int, tso.size, data_left); in mvneta_tx_tso()
2842 size == data_left, in mvneta_tx_tso()
2845 data_left -= size; in mvneta_tx_tso()
/Linux-v6.6/drivers/mmc/host/
Dsunplus-mmc.c627 int data_left = data->blocks * data->blksz; in spmmc_xfer_data_pio() local
638 while (data_left > 0) { in spmmc_xfer_data_pio()
660 data_left -= consumed; in spmmc_xfer_data_pio()
/Linux-v6.6/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c1258 int hdr_len, total_len, data_left, fd_len; in dpaa2_eth_build_gso_fd() local
1286 data_left = min_t(int, skb_shinfo(skb)->gso_size, total_len); in dpaa2_eth_build_gso_fd()
1287 total_len -= data_left; in dpaa2_eth_build_gso_fd()
1288 fd_len = data_left + hdr_len; in dpaa2_eth_build_gso_fd()
1297 tso_build_hdr(skb, tso_hdr, &tso, data_left, total_len == 0); in dpaa2_eth_build_gso_fd()
1308 dpaa2_sg_set_final(sgt, data_left <= 0); in dpaa2_eth_build_gso_fd()
1312 while (data_left > 0) { in dpaa2_eth_build_gso_fd()
1317 size = min_t(int, tso.size, data_left); in dpaa2_eth_build_gso_fd()
1327 dpaa2_sg_set_final(sgt, size == data_left); in dpaa2_eth_build_gso_fd()
1332 data_left -= size; in dpaa2_eth_build_gso_fd()
/Linux-v6.6/drivers/tty/ipwireless/
Dhardware.c462 unsigned short data_left = packet->length - packet->offset; in do_send_packet() local
471 if (data_left < fragment_data_len) in do_send_packet()
472 fragment_data_len = data_left; in do_send_packet()
/Linux-v6.6/drivers/net/ethernet/toshiba/
Dps3_gelic_wireless.c513 size_t data_left = len; in gelic_wl_parse_ie() local
522 while (2 <= data_left) { in gelic_wl_parse_ie()
525 data_left -= 2; in gelic_wl_parse_ie()
527 if (data_left < item_len) in gelic_wl_parse_ie()
550 data_left -= item_len; in gelic_wl_parse_ie()
/Linux-v6.6/drivers/net/ethernet/freescale/
Dfec_main.c807 int hdr_len, total_len, data_left; in fec_enet_txq_submit_tso() local
834 data_left = min_t(int, skb_shinfo(skb)->gso_size, total_len); in fec_enet_txq_submit_tso()
835 total_len -= data_left; in fec_enet_txq_submit_tso()
839 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in fec_enet_txq_submit_tso()
844 while (data_left > 0) { in fec_enet_txq_submit_tso()
847 size = min_t(int, tso.size, data_left); in fec_enet_txq_submit_tso()
853 size == data_left, in fec_enet_txq_submit_tso()
858 data_left -= size; in fec_enet_txq_submit_tso()