/Linux-v6.6/drivers/net/wireless/ath/ath10k/ |
D | swap.c | 26 u32 size_left = data_len; in ath10k_swap_code_seg_fill() local 33 while (size_left >= sizeof(*swap_item)) { in ath10k_swap_code_seg_fill() 36 if ((payload_len > size_left) || in ath10k_swap_code_seg_fill() 38 size_left != sizeof(struct ath10k_swap_code_seg_tail))) { in ath10k_swap_code_seg_fill() 58 size_left -= length; in ath10k_swap_code_seg_fill()
|
/Linux-v6.6/drivers/media/platform/verisilicon/ |
D | hantro_h1_jpeg_enc.c | 47 u32 size_left; in hantro_h1_jpeg_enc_set_buffers() local 49 size_left = vb2_plane_size(dst_buf, 0) - ctx->vpu_dst_fmt->header_size; in hantro_h1_jpeg_enc_set_buffers() 51 size_left = 0; in hantro_h1_jpeg_enc_set_buffers() 58 vepu_write_relaxed(vpu, size_left, H1_REG_STR_BUF_LIMIT); in hantro_h1_jpeg_enc_set_buffers()
|
D | rockchip_vpu2_hw_jpeg_enc.c | 74 u32 size_left; in rockchip_vpu2_jpeg_enc_set_buffers() local 76 size_left = vb2_plane_size(dst_buf, 0) - ctx->vpu_dst_fmt->header_size; in rockchip_vpu2_jpeg_enc_set_buffers() 78 size_left = 0; in rockchip_vpu2_jpeg_enc_set_buffers() 85 vepu_write_relaxed(vpu, size_left, VEPU_REG_STR_BUF_LIMIT); in rockchip_vpu2_jpeg_enc_set_buffers()
|
/Linux-v6.6/drivers/net/thunderbolt/ |
D | main.c | 1136 unsigned int size_left = TBNET_MAX_PAYLOAD_SIZE; in tbnet_start_xmit() local 1143 if (len > size_left) { in tbnet_start_xmit() 1148 memcpy(dest, src, size_left); in tbnet_start_xmit() 1149 len -= size_left; in tbnet_start_xmit() 1150 dest += size_left; in tbnet_start_xmit() 1151 src += size_left; in tbnet_start_xmit() 1156 size_left -= len; in tbnet_start_xmit() 1169 } else if (unlikely(size_left > 0)) { in tbnet_start_xmit() 1172 } while (size_left > 0); in tbnet_start_xmit()
|
/Linux-v6.6/fs/btrfs/ |
D | xattr.c | 286 size_t total_size = 0, size_left = size; in btrfs_listxattr() local 338 if (!buffer || (name_len + 1) > size_left) { in btrfs_listxattr() 346 size_left -= name_len + 1; in btrfs_listxattr()
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_linecards.c | 868 size_t size_left; in mlxsw_linecard_ini_transfer() local 872 size_left = le16_to_cpu(ini_file->size); in mlxsw_linecard_ini_transfer() 874 while (size_left) { in mlxsw_linecard_ini_transfer() 878 if (size_left <= MLXSW_REG_MBCT_DATA_LEN) { in mlxsw_linecard_ini_transfer() 879 data_size = size_left; in mlxsw_linecard_ini_transfer() 901 size_left -= data_size; in mlxsw_linecard_ini_transfer()
|
/Linux-v6.6/drivers/usb/dwc2/ |
D | gadget.c | 524 int size_left; in dwc2_hsotg_write_fifo() local 532 size_left = DXEPTSIZ_XFERSIZE_GET(epsize); in dwc2_hsotg_write_fifo() 544 __func__, size_left, in dwc2_hsotg_write_fifo() 548 size_done = hs_ep->size_loaded - size_left; in dwc2_hsotg_write_fifo() 2392 unsigned int size_left = DXEPTSIZ_XFERSIZE_GET(epsize); in dwc2_hsotg_handle_outdone() local 2408 size_left = dwc2_gadget_get_xfersize_ddma(hs_ep); in dwc2_hsotg_handle_outdone() 2422 size_done = hs_ep->size_loaded - size_left; in dwc2_hsotg_handle_outdone() 2429 if (req->actual < req->length && size_left == 0) { in dwc2_hsotg_handle_outdone() 2686 int size_left, size_done; in dwc2_hsotg_complete_in() local 2729 size_left = dwc2_gadget_get_xfersize_ddma(hs_ep); in dwc2_hsotg_complete_in() [all …]
|
/Linux-v6.6/net/bridge/netfilter/ |
D | ebtables.c | 2030 unsigned int size_left, enum compat_mwt type, in ebt_size_mwt() argument 2036 if (size_left == 0) in ebt_size_mwt() 2043 if (size_left < sizeof(*match32)) in ebt_size_mwt() 2055 size_left -= sizeof(*match32); in ebt_size_mwt() 2062 if (match32->match_size > size_left) in ebt_size_mwt() 2065 size_left -= match32->match_size; in ebt_size_mwt() 2083 } while (size_left); in ebt_size_mwt()
|
/Linux-v6.6/drivers/accel/habanalabs/common/ |
D | memory.c | 1599 u64 size_left, cur_device_address = 0; in alloc_sgt_from_device_pages() local 1601 size_left = page_size; in alloc_sgt_from_device_pages() 1607 if (size_left == page_size) in alloc_sgt_from_device_pages() 1614 chunk_size = min3(size_left, dma_max_seg_size, cur_size_to_export); in alloc_sgt_from_device_pages() 1624 if (size_left > dma_max_seg_size) { in alloc_sgt_from_device_pages() 1625 size_left -= dma_max_seg_size; in alloc_sgt_from_device_pages() 1628 size_left = page_size; in alloc_sgt_from_device_pages()
|
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_ethtool.c | 501 u32 size_left; in hns3_update_strings() local 512 size_left = (ETH_GSTRING_LEN - 1) - n1; in hns3_update_strings() 515 strncat(data, stats[j].stats_string, size_left); in hns3_update_strings()
|
/Linux-v6.6/drivers/accel/habanalabs/gaudi/ |
D | gaudi.c | 5926 u32 dma_core_sts0, err_cause, cfg1, size_left, pos, size_to_dma; in gaudi_debugfs_read_dma() local 5988 size_left = size; in gaudi_debugfs_read_dma() 5991 while (size_left > 0) { in gaudi_debugfs_read_dma() 5993 if (size_left < SZ_2M) in gaudi_debugfs_read_dma() 5994 size_to_dma = size_left; in gaudi_debugfs_read_dma() 6003 if (size_left <= SZ_2M) in gaudi_debugfs_read_dma() 6008 size_left -= SZ_2M; in gaudi_debugfs_read_dma()
|
/Linux-v6.6/kernel/bpf/ |
D | btf.c | 1216 int size_left, size; in btf_show_obj_safe() local 1269 size_left = btf_show_obj_size_left(show, data); in btf_show_obj_safe() 1270 if (size_left > BTF_SHOW_OBJ_SAFE_SIZE) in btf_show_obj_safe() 1271 size_left = BTF_SHOW_OBJ_SAFE_SIZE; in btf_show_obj_safe() 1273 data, size_left); in btf_show_obj_safe()
|
/Linux-v6.6/drivers/accel/habanalabs/gaudi2/ |
D | gaudi2.c | 10302 u32 pos, size_left, size_to_dma; in gaudi2_debugfs_read_dma() local 10354 size_left = size; in gaudi2_debugfs_read_dma() 10357 while (size_left > 0) { in gaudi2_debugfs_read_dma() 10358 if (size_left < SZ_2M) in gaudi2_debugfs_read_dma() 10359 size_to_dma = size_left; in gaudi2_debugfs_read_dma() 10367 if (size_left <= SZ_2M) in gaudi2_debugfs_read_dma() 10372 size_left -= SZ_2M; in gaudi2_debugfs_read_dma()
|