Home
last modified time | relevance | path

Searched refs:fragment_size (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.12.1/drivers/hid/intel-ish-hid/ishtp/
Dloader.c145 void **dma_bufs, u32 fragment_size) in release_dma_bufs() argument
153 dma_free_coherent(dev->devc, fragment_size, dma_bufs[i], dma_addr); in release_dma_bufs()
173 void **dma_bufs, u32 fragment_size, u32 fragment_count) in prepare_dma_bufs() argument
181 dma_bufs[i] = dma_alloc_coherent(dev->devc, fragment_size, &dma_addr, GFP_KERNEL); in prepare_dma_bufs()
186 length = clamp(ish_fw->size - offset, 0, fragment_size); in prepare_dma_bufs()
190 clflush_cache_range(dma_bufs[i], fragment_size); in prepare_dma_bufs()
341 u32 fragment_size; in ishtp_loader_work() local
357 fragment_size = PFN_ALIGN(DIV_ROUND_UP(ish_fw->size, FRAGMENT_MAX_NUM)); in ishtp_loader_work()
359 fragment_count = DIV_ROUND_UP(ish_fw->size, fragment_size); in ishtp_loader_work()
362 rv = prepare_dma_bufs(dev, ish_fw, fragment, dma_bufs, fragment_size, fragment_count); in ishtp_loader_work()
[all …]
/linux-6.12.1/drivers/hid/intel-ish-hid/
Dishtp-fw-loader.c558 u32 fragment_offset, fragment_size, payload_max_size; in ish_fw_xfer_ishtp() local
578 fragment_size = payload_max_size; in ish_fw_xfer_ishtp()
581 fragment_size = fw->size - fragment_offset; in ish_fw_xfer_ishtp()
586 ldr_xfer_ipc_frag->fragment.size = fragment_size; in ish_fw_xfer_ishtp()
589 fragment_size); in ish_fw_xfer_ishtp()
599 IPC_FRAGMENT_DATA_PREAMBLE + fragment_size, in ish_fw_xfer_ishtp()
607 fragment_offset += fragment_size; in ish_fw_xfer_ishtp()
641 u32 fragment_offset, fragment_size, payload_max_size; in ish_fw_xfer_direct_dma() local
678 fragment_size = payload_max_size; in ish_fw_xfer_direct_dma()
681 fragment_size = fw->size - fragment_offset; in ish_fw_xfer_direct_dma()
[all …]
/linux-6.12.1/net/caif/
Dcfrfml.c27 int fragment_size; member
63 this->fragment_size = tmp; in cfrfml_create()
198 caif_assert(cfpkt_getlen(pkt) < rfml->fragment_size + RFM_HEAD_SIZE); in cfrfml_transmit_segment()
233 if (cfpkt_getlen(pkt) > rfml->fragment_size + RFM_HEAD_SIZE) in cfrfml_transmit()
239 while (cfpkt_getlen(frontpkt) > rfml->fragment_size + RFM_HEAD_SIZE) { in cfrfml_transmit()
253 rearpkt = cfpkt_split(frontpkt, rfml->fragment_size); in cfrfml_transmit()
/linux-6.12.1/sound/soc/uniphier/
Daio-compress.c185 int bytes = runtime->fragment_size; in uniphier_aio_compr_prepare()
225 int bytes = runtime->fragment_size, ret = 0; in uniphier_aio_compr_trigger()
258 int bytes = runtime->fragment_size; in uniphier_aio_compr_pointer()
334 int bytes = runtime->fragment_size; in uniphier_aio_compr_copy()
Daio-dma.c51 int bytes = runtime->fragment_size; in aiodma_compr_irq()
/linux-6.12.1/fs/squashfs/
Dsquashfs_fs_i.h22 int fragment_size; member
Dfile.c425 squashfs_i(inode)->fragment_size); in squashfs_readpage_fragment()
431 squashfs_i(inode)->fragment_size); in squashfs_readpage_fragment()
502 squashfs_i(inode)->fragment_size); in squashfs_readahead_fragment()
Dinode.c163 squashfs_i(inode)->fragment_size = frag_size; in squashfs_read_inode()
210 squashfs_i(inode)->fragment_size = frag_size; in squashfs_read_inode()
/linux-6.12.1/net/batman-adv/
Dfragmentation.c399 unsigned int fragment_size) in batadv_frag_create() argument
405 unsigned int mtu = fragment_size + header_size; in batadv_frag_create()
415 skb_split(skb, skb_fragment, skb->len - fragment_size); in batadv_frag_create()
/linux-6.12.1/sound/core/
Dcompress_offload.c422 if (avail >= stream->runtime->fragment_size) in snd_compr_poll()
524 buffer_size = params->buffer.fragment_size * params->buffer.fragments; in snd_compr_allocate_buffer()
546 stream->runtime->fragment_size = params->buffer.fragment_size; in snd_compr_allocate_buffer()
556 if (params->buffer.fragment_size == 0 || in snd_compress_check_input()
557 params->buffer.fragments > U32_MAX / params->buffer.fragment_size || in snd_compress_check_input()
/linux-6.12.1/sound/soc/sprd/
Dsprd-pcm-compress.c173 period_cnt = params->buffer.fragment_size / period; in sprd_platform_compr_dma_config()
184 period = params->buffer.fragment_size; in sprd_platform_compr_dma_config()
544 if (stream->received_stage0 < runtime->fragment_size) { in sprd_platform_compr_copy()
545 avail_bytes = runtime->fragment_size - stream->received_stage0; in sprd_platform_compr_copy()
/linux-6.12.1/drivers/md/dm-vdo/
Dpacker.h99 u16 *fragment_offset, u16 *fragment_size);
Dpacker.c48 u16 *fragment_offset, u16 *fragment_size) in vdo_get_compressed_block_fragment() argument
78 *fragment_size = compressed_size; in vdo_get_compressed_block_fragment()
Ddata-vio.c1448 u16 fragment_offset, fragment_size; in uncompress_data_vio() local
1451 &fragment_offset, &fragment_size); in uncompress_data_vio()
1459 fragment_size, VDO_BLOCK_SIZE); in uncompress_data_vio()
/linux-6.12.1/include/uapi/sound/
Dcompress_offload.h24 __u32 fragment_size; member
/linux-6.12.1/include/sound/
Dcompress_driver.h46 u32 fragment_size; member
/linux-6.12.1/sound/soc/sof/intel/
Dhda-probes.c91 hstream->period_bytes = cstream->runtime->fragment_size; in hda_probes_compr_set_params()
/linux-6.12.1/sound/soc/codecs/
Dwm_adsp.c1312 if (params->buffer.fragment_size < WM_ADSP_MIN_FRAGMENT_SIZE || in wm_adsp_compr_check_params()
1313 params->buffer.fragment_size > WM_ADSP_MAX_FRAGMENT_SIZE || in wm_adsp_compr_check_params()
1316 params->buffer.fragment_size % CS_DSP_DATA_WORD_SIZE) { in wm_adsp_compr_check_params()
1318 params->buffer.fragment_size, in wm_adsp_compr_check_params()
1355 return compr->size.fragment_size / CS_DSP_DATA_WORD_SIZE; in wm_adsp_compr_frag_words()
1373 compr->size.fragment_size, compr->size.fragments); in wm_adsp_compr_set_params()
/linux-6.12.1/sound/soc/intel/atom/
Dsst-mfld-platform-compress.c152 str_params.aparams.frag_size = cstream->runtime->fragment_size; in sst_platform_compr_set_params()
/linux-6.12.1/sound/soc/qcom/qdsp6/
Dq6apm-dai.c651 prtd->pcm_count = runtime->fragment_size; in q6apm_dai_compr_set_params()
652 prtd->pcm_size = runtime->fragments * runtime->fragment_size; in q6apm_dai_compr_set_params()
Dq6asm-dai.c884 prtd->pcm_count = runtime->fragment_size; in q6asm_dai_compr_set_params()
885 prtd->pcm_size = runtime->fragments * runtime->fragment_size; in q6asm_dai_compr_set_params()
/linux-6.12.1/Documentation/sound/designs/
Doss-emulation.rst138 app_name fragments fragment_size [options]
144 ``fragment_size`` is the size of fragment in bytes or zero if not given.
/linux-6.12.1/sound/soc/sof/
Dcompress.c227 pcm->params.host_period_bytes = params->buffer.fragment_size; in sof_compr_set_params()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vm.h436 uint32_t fragment_size; member
/linux-6.12.1/drivers/net/wireless/intel/ipw2x00/
Dipw2100.h286 u16 fragment_size; member

12