Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/hmdfs/comm/
Dsocket_adapter.c556 const unsigned int slice_size = PAGE_SIZE; in hmdfs_readfile_response() local
566 sdesc.slice_size = cpu_to_le32(slice_size); in hmdfs_readfile_response()
568 file_size = round_up(file_size, slice_size); in hmdfs_readfile_response()
569 sdesc.num_slices = cpu_to_le32(file_size / slice_size); in hmdfs_readfile_response()
571 slice_buf = kmalloc(slice_size, GFP_KERNEL); in hmdfs_readfile_response()
579 size = kernel_read(filp, slice_buf, (size_t)slice_size, in hmdfs_readfile_response()
891 offset = le32_to_cpu(sdesc->slice_size) * le32_to_cpu(sdesc->slice_sn); in hmdfs_readfile_slice()
Dprotocol.h141 __le32 slice_size; member
/kernel/linux/linux-5.10/include/linux/soc/qcom/
Dllcc-qcom.h37 size_t slice_size; member
/kernel/linux/linux-5.10/drivers/soc/qcom/
Dllcc-qcom.c165 desc->slice_size = cfg->max_cap; in llcc_slice_getd()
317 return desc->slice_size; in llcc_get_slice_size()
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/device_include/
Dsvga3d_surfacedefs.h1248 u32 slice_size, total_size; in svga3dsurface_get_image_buffer_size() local
1263 slice_size = clamped_umul32(image_blocks.height, pitch); in svga3dsurface_get_image_buffer_size()
1264 total_size = clamped_umul32(slice_size, image_blocks.depth); in svga3dsurface_get_image_buffer_size()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/
Djit.c1232 u8 slice_size; in mem_op_stack() local
1234 slice_size = min(size, 4 - gpr_byte); in mem_op_stack()
1235 slice_end = min(off + slice_size, round_up(off + 1, 4)); in mem_op_stack()
1236 slice_size = slice_end - off; in mem_op_stack()
1238 last = slice_size == size; in mem_op_stack()
1243 ret = step(nfp_prog, gpr, gpr_byte, off, slice_size, in mem_op_stack()
1251 gpr_byte += slice_size; in mem_op_stack()
1257 size -= slice_size; in mem_op_stack()
1258 off += slice_size; in mem_op_stack()
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/
Ds5p_mfc_common.h706 } slice_size; member
Ds5p_mfc_opr_v6.c737 writel(ctx->slice_size.mb, mfc_regs->e_mslice_size_mb); in s5p_mfc_set_slice_mode()
740 writel(ctx->slice_size.bits, mfc_regs->e_mslice_size_bits); in s5p_mfc_set_slice_mode()
782 ctx->slice_size.mb = p->slice_mb; in s5p_mfc_set_enc_params()
786 ctx->slice_size.bits = p->slice_bit; in s5p_mfc_set_enc_params()
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
Dhfi_helper.h711 u32 slice_size; member
Dhfi_cmds.c833 multi->slice_size = in->slice_size; in pkt_session_set_property_1x()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Dintel_pm.c4034 u32 slice_size, in icl_get_first_dbuf_slice_offset() argument
4042 offset = (ffs(dbuf_slice_mask) - 1) * slice_size; in icl_get_first_dbuf_slice_offset()
4065 u16 slice_size = ddb_size / num_supported_slices; in skl_ddb_dbuf_slice_mask() local
4072 start_slice = entry->start / slice_size; in skl_ddb_dbuf_slice_mask()
4073 end_slice = (entry->end - 1) / slice_size; in skl_ddb_dbuf_slice_mask()
4113 u32 slice_size; in skl_ddb_get_pipe_allocation_limits() local
4128 slice_size = ddb_size / INTEL_INFO(dev_priv)->num_supported_dbuf_slices; in skl_ddb_get_pipe_allocation_limits()
4160 slice_size, ddb_size); in skl_ddb_get_pipe_allocation_limits()
4168 ddb_range_size = hweight8(dbuf_slice_mask) * slice_size; in skl_ddb_get_pipe_allocation_limits()
/kernel/linux/linux-5.10/drivers/media/platform/sti/hva/
Dhva-h264.c366 u32 slice_size; member