Home
last modified time | relevance | path

Searched full:data_width (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.12.1/drivers/dma/
Dste_dma40_ll.c55 l3 |= d40_width_to_bits(cfg->dst_info.data_width) in d40_log_cfg()
60 l1 |= d40_width_to_bits(cfg->src_info.data_width) in d40_log_cfg()
113 src |= d40_width_to_bits(cfg->src_info.data_width) in d40_phy_cfg()
115 dst |= d40_width_to_bits(cfg->dst_info.data_width) in d40_phy_cfg()
143 unsigned int data_width = info->data_width; in d40_phy_fill_lli() local
153 if (!IS_ALIGNED(data, data_width)) in d40_phy_fill_lli()
157 if (data_size < num_elems * data_width) in d40_phy_fill_lli()
161 lli->reg_elt = (data_size / data_width) << D40_SREG_ELEM_PHY_ECNT_POS; in d40_phy_fill_lli()
168 lli->reg_elt |= data_width << D40_SREG_ELEM_PHY_EIDX_POS; in d40_phy_fill_lli()
236 size_seg = d40_seg_size(size_rest, info->data_width, in d40_phy_buf_to_lli()
[all …]
Dste_dma40.h66 * @data_width: Data width of the src/dst hardware
72 enum dma_slave_buswidth data_width; member
Dste_dma40.c113 .src_info.data_width = DMA_SLAVE_BUSWIDTH_1_BYTE,
117 .dst_info.data_width = DMA_SLAVE_BUSWIDTH_1_BYTE,
127 .src_info.data_width = DMA_SLAVE_BUSWIDTH_1_BYTE,
131 .dst_info.data_width = DMA_SLAVE_BUSWIDTH_1_BYTE,
1016 * STEDMA40_MAX_SEG_SIZE * data_width, where data_width is stored in Bytes.
1420 return num_elt * d40c->dma_cfg.dst_info.data_width; in d40_residue()
1752 conf->src_info.data_width != in d40_validate_conf()
1754 conf->dst_info.data_width) { in d40_validate_conf()
2146 src_info->data_width, in d40_prep_sg_log()
2147 dst_info->data_width); in d40_prep_sg_log()
[all …]
/linux-6.12.1/drivers/gpu/ipu-v3/
Dipu-csi.c136 unsigned data_width:4; member
231 cfg->data_width = IPU_CSI_DATA_WIDTH_8; in mbus_code_to_bus_cfg()
237 cfg->data_width = IPU_CSI_DATA_WIDTH_8; in mbus_code_to_bus_cfg()
243 cfg->data_width = IPU_CSI_DATA_WIDTH_8; in mbus_code_to_bus_cfg()
249 cfg->data_width = IPU_CSI_DATA_WIDTH_8; in mbus_code_to_bus_cfg()
254 cfg->data_width = IPU_CSI_DATA_WIDTH_8; in mbus_code_to_bus_cfg()
259 cfg->data_width = IPU_CSI_DATA_WIDTH_8; in mbus_code_to_bus_cfg()
264 cfg->data_width = IPU_CSI_DATA_WIDTH_8; in mbus_code_to_bus_cfg()
267 cfg->data_width = IPU_CSI_DATA_WIDTH_16; in mbus_code_to_bus_cfg()
274 cfg->data_width = IPU_CSI_DATA_WIDTH_8; in mbus_code_to_bus_cfg()
[all …]
/linux-6.12.1/drivers/dma/dw/
Dof.c80 if (!of_property_read_u32_array(np, "data_width", arr, nr_masters)) { in dw_dma_parse_dt()
82 pdata->data_width[tmp] = BIT(arr[tmp] & 0x07); in dw_dma_parse_dt()
85 /* If "data_width" and "data-width" both provided use the latter one */ in dw_dma_parse_dt()
86 of_property_read_u32_array(np, "data-width", pdata->data_width, nr_masters); in dw_dma_parse_dt()
Dinternal.h67 .data_width = {4},
83 .data_width = {4},
/linux-6.12.1/sound/soc/xilinx/
Dxlnx_i2s.c31 u32 data_width; member
65 bits_per_sample = drv_data->data_width; in xlnx_i2s_set_sysclk()
103 bits_per_sample = drv_data->data_width; in xlnx_i2s_hw_params()
194 ret = of_property_read_u32(node, "xlnx,dwidth", &drv_data->data_width); in xlnx_i2s_probe()
199 switch (drv_data->data_width) { in xlnx_i2s_probe()
/linux-6.12.1/sound/soc/codecs/
Dadau7118.c272 u32 data_width = params_width(params), slots_width; in adau7118_hw_params() local
290 if (data_width > slots_width) { in adau7118_hw_params()
291 dev_err(st->dev, "Invalid data_width:%d, slots_width:%d", in adau7118_hw_params()
292 data_width, slots_width); in adau7118_hw_params()
297 switch (slots_width - data_width) { in adau7118_hw_params()
313 slots_width, data_width); in adau7118_hw_params()
/linux-6.12.1/include/sound/
Ddesignware_i2s.h15 * @data_width: number of bits per sample (8/16/24/32 bit)
20 u32 data_width; member
/linux-6.12.1/sound/soc/intel/keembay/
Dkmb_platform.h89 /* Number of entries in WORDSIZE and DATA_WIDTH parameter registers */
117 * @data_width: number of bits per sample (8/16/24/32 bit)
122 u32 data_width; member
Dkmb_platform.c112 if (kmb_i2s->config.data_width == 16) { in kmb_pcm_tx_fn()
144 if (kmb_i2s->config.data_width == 16) { in kmb_pcm_rx_fn()
590 config->data_width = 16; in kmb_dai_hw_params()
597 config->data_width = 32; in kmb_dai_hw_params()
607 config->data_width = 32; in kmb_dai_hw_params()
631 (config->data_width << DATA_WIDTH_CONFIG_BIT) | in kmb_dai_hw_params()
645 (config->data_width << DATA_WIDTH_CONFIG_BIT) | in kmb_dai_hw_params()
663 u32 bitclk = config->sample_rate * config->data_width * 2; in kmb_dai_hw_params()
/linux-6.12.1/include/linux/platform_data/
Ddma-dw.h49 * @data_width: Maximum data width supported by hardware per AHB master
67 u32 data_width[DW_DMA_MAX_NR_MASTERS]; member
/linux-6.12.1/sound/soc/mediatek/mt8186/
Dmt8186-dai-pcm.c228 unsigned int data_width = in mtk_dai_pcm_hw_params() local
236 dev_dbg(afe->dev, "%s(), rate %d, rate_reg %d, data_width %d, wlen_width %d\n", in mtk_dai_pcm_hw_params()
237 __func__, rate, rate_reg, data_width, wlen_width); in mtk_dai_pcm_hw_params()
260 if (data_width > 16) in mtk_dai_pcm_hw_params()
/linux-6.12.1/drivers/media/usb/dvb-usb-v2/
Dmxl111sf-phy.c232 u8 msb_start_pos, u8 data_width) in mxl111sf_config_i2s() argument
237 mxl_debug("(0x%02x, 0x%02x)", msb_start_pos, data_width); in mxl111sf_config_i2s()
254 tmp |= data_width; in mxl111sf_config_i2s()
Dmxl111sf-phy.h26 u8 msb_start_pos, u8 data_width);
/linux-6.12.1/drivers/spi/
Dspi-altera-dfl.c32 #define DATA_WIDTH GENMASK_ULL(7, 2) macro
121 SPI_BPW_RANGE_MASK(1, FIELD_GET(DATA_WIDTH, v)); in config_spi_host()
/linux-6.12.1/drivers/devfreq/
Dsun8i-a33-mbus.c88 u32 data_width; member
133 priv->nominal_bw = ddr_freq_mhz * pmu_period * priv->data_width / 1024; in sun8i_a33_mbus_update_nominal_bw()
294 priv->data_width = i; in sun8i_a33_mbus_hw_init()
297 priv->data_width * 8, in sun8i_a33_mbus_hw_init()
/linux-6.12.1/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_intf.c116 u32 data_width; in dpu_hw_intf_setup_timing_engine() local
170 data_width = p->width; in dpu_hw_intf_setup_timing_engine()
179 data_width = p->width >> 1; in dpu_hw_intf_setup_timing_engine()
187 hsync_data_end_x = hsync_start_x + data_width - 1; in dpu_hw_intf_setup_timing_engine()
/linux-6.12.1/drivers/acpi/acpica/
Dexconvrt.c252 * data_width - Size of data item to be converted, in bytes
263 u16 base, u8 *string, u8 data_width, u8 leading_zeros) in acpi_ex_convert_to_ascii() argument
282 switch (data_width) { in acpi_ex_convert_to_ascii()
329 hex_length = (data_width * 2); in acpi_ex_convert_to_ascii()
/linux-6.12.1/drivers/edac/
Dghes_edac.c69 u16 data_width; member
180 if (entry->total_width == entry->data_width) in assign_dmi_dimm_info()
197 entry->total_width, entry->data_width); in assign_dmi_dimm_info()
/linux-6.12.1/sound/soc/dwc/
Ddwc-i2s.c284 config->data_width = 16; in dw_i2s_hw_params()
290 config->data_width = 24; in dw_i2s_hw_params()
296 config->data_width = 32; in dw_i2s_hw_params()
307 config->data_width = 32; in dw_i2s_hw_params()
337 config->data_width * 2; in dw_i2s_hw_params()
/linux-6.12.1/arch/x86/kernel/cpu/resctrl/
Dcore.c231 r->data_width = 3; in __get_mem_config_intel()
271 r->data_width = 4; in __rdt_get_mem_config_amd()
291 r->data_width = (r->cache.cbm_len + 3) / 4; in rdt_get_cache_alloc_cfg()
796 if (r->data_width > max_data_width) in rdt_init_padding()
797 max_data_width = r->data_width; in rdt_init_padding()
/linux-6.12.1/sound/soc/starfive/
Djh7110_tdm.c342 unsigned int data_width; in jh7110_tdm_hw_params() local
347 data_width = params_width(params); in jh7110_tdm_hw_params()
350 tdm->pcmclk = params_channels(params) * tdm->samplerate * data_width; in jh7110_tdm_hw_params()
/linux-6.12.1/drivers/media/pci/cobalt/
Dm00473_freewheel_memmap_package.h19 uint32_t data_width; /* Reg 0x0010 */ member
/linux-6.12.1/include/linux/
Dresctrl.h198 * @data_width: Character width of data when displaying
218 int data_width; member

12