Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/remoteproc/
Dremoteproc_coredump.c135 size_t *data_left) in rproc_coredump_find_segment() argument
141 *data_left = segment->size - user_offset; in rproc_coredump_find_segment()
147 *data_left = 0; in rproc_coredump_find_segment()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx.c1351 unsigned int data_left = in iwl_fill_data_tbs_amsdu() local
1357 total_len -= data_left; in iwl_fill_data_tbs_amsdu()
1362 data_left)) & 0x3; in iwl_fill_data_tbs_amsdu()
1368 length = snap_ip_tcp_hdrlen + data_left; in iwl_fill_data_tbs_amsdu()
1376 tso_build_hdr(skb, hdr_page->pos, &tso, data_left, !total_len); in iwl_fill_data_tbs_amsdu()
1396 while (data_left) { in iwl_fill_data_tbs_amsdu()
1398 data_left); in iwl_fill_data_tbs_amsdu()
1411 data_left -= size; in iwl_fill_data_tbs_amsdu()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/queue/
Dtx.c379 unsigned int data_left = min_t(unsigned int, mss, total_len); in iwl_txq_gen2_build_amsdu() local
384 total_len -= data_left; in iwl_txq_gen2_build_amsdu()
389 data_left)) & 0x3; in iwl_txq_gen2_build_amsdu()
395 length = snap_ip_tcp_hdrlen + data_left; in iwl_txq_gen2_build_amsdu()
403 tso_build_hdr(skb, hdr_page->pos, &tso, data_left, !total_len); in iwl_txq_gen2_build_amsdu()
427 while (data_left) { in iwl_txq_gen2_build_amsdu()
430 tb_len = min_t(unsigned int, tso.size, data_left); in iwl_txq_gen2_build_amsdu()
439 data_left -= tb_len; in iwl_txq_gen2_build_amsdu()
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/marvell/
Dmv643xx_eth.c821 int hdr_len, total_len, data_left, ret; in txq_submit_tso() local
843 data_left = min_t(int, skb_shinfo(skb)->gso_size, total_len); in txq_submit_tso()
844 total_len -= data_left; in txq_submit_tso()
849 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in txq_submit_tso()
850 txq_put_hdr_tso(skb, txq, data_left, &first_cmd_sts, in txq_submit_tso()
853 while (data_left > 0) { in txq_submit_tso()
857 size = min_t(int, tso.size, data_left); in txq_submit_tso()
859 size == data_left, in txq_submit_tso()
863 data_left -= size; in txq_submit_tso()
Dmvneta.c2720 int hdr_len, total_len, data_left; in mvneta_tx_tso() local
2742 data_left = min_t(int, skb_shinfo(skb)->gso_size, total_len); in mvneta_tx_tso()
2743 total_len -= data_left; in mvneta_tx_tso()
2748 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in mvneta_tx_tso()
2752 while (data_left > 0) { in mvneta_tx_tso()
2756 size = min_t(int, tso.size, data_left); in mvneta_tx_tso()
2760 size == data_left, in mvneta_tx_tso()
2763 data_left -= size; in mvneta_tx_tso()
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c1217 int hdr_len, total_len, data_left, fd_len; in dpaa2_eth_build_gso_fd() local
1245 data_left = min_t(int, skb_shinfo(skb)->gso_size, total_len); in dpaa2_eth_build_gso_fd()
1246 total_len -= data_left; in dpaa2_eth_build_gso_fd()
1247 fd_len = data_left + hdr_len; in dpaa2_eth_build_gso_fd()
1256 tso_build_hdr(skb, tso_hdr, &tso, data_left, total_len == 0); in dpaa2_eth_build_gso_fd()
1267 dpaa2_sg_set_final(sgt, data_left <= 0); in dpaa2_eth_build_gso_fd()
1271 while (data_left > 0) { in dpaa2_eth_build_gso_fd()
1276 size = min_t(int, tso.size, data_left); in dpaa2_eth_build_gso_fd()
1286 dpaa2_sg_set_final(sgt, size == data_left); in dpaa2_eth_build_gso_fd()
1291 data_left -= size; in dpaa2_eth_build_gso_fd()
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/freescale/
Dfec_main.c804 int hdr_len, total_len, data_left; in fec_enet_txq_submit_tso() local
831 data_left = min_t(int, skb_shinfo(skb)->gso_size, total_len); in fec_enet_txq_submit_tso()
832 total_len -= data_left; in fec_enet_txq_submit_tso()
836 tso_build_hdr(skb, hdr, &tso, data_left, total_len == 0); in fec_enet_txq_submit_tso()
841 while (data_left > 0) { in fec_enet_txq_submit_tso()
844 size = min_t(int, tso.size, data_left); in fec_enet_txq_submit_tso()
850 size == data_left, in fec_enet_txq_submit_tso()
855 data_left -= size; in fec_enet_txq_submit_tso()
/linux-6.1.9/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()