Home
last modified time | relevance | path

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

/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
/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()
/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()
/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()
/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()
/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()
/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c1218 int hdr_len, total_len, data_left, fd_len; in dpaa2_eth_build_gso_fd() local
1246 data_left = min_t(int, skb_shinfo(skb)->gso_size, total_len); in dpaa2_eth_build_gso_fd()
1247 total_len -= data_left; in dpaa2_eth_build_gso_fd()
1248 fd_len = data_left + hdr_len; in dpaa2_eth_build_gso_fd()
1257 tso_build_hdr(skb, tso_hdr, &tso, data_left, total_len == 0); in dpaa2_eth_build_gso_fd()
1268 dpaa2_sg_set_final(sgt, data_left <= 0); in dpaa2_eth_build_gso_fd()
1272 while (data_left > 0) { in dpaa2_eth_build_gso_fd()
1277 size = min_t(int, tso.size, data_left); in dpaa2_eth_build_gso_fd()
1287 dpaa2_sg_set_final(sgt, size == data_left); in dpaa2_eth_build_gso_fd()
1292 data_left -= size; in dpaa2_eth_build_gso_fd()
/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()
/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()
/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()