Home
last modified time | relevance | path

Searched refs:data_width (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/dma/
H A 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 …]
H A Dste_dma40.h72 enum dma_slave_buswidth data_width; member
H A 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,
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()
2153 dst_info->data_width, in d40_prep_sg_log()
[all …]
/linux/drivers/gpu/ipu-v3/
H A 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/sound/soc/xilinx/
H A 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/sound/soc/codecs/
H A 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()
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/drivers/dma/dw/
H A Dinternal.h67 .data_width = {4},
83 .data_width = {4},
H A Dof.c82 pdata->data_width[tmp] = BIT(arr[tmp] & 0x07); in dw_dma_parse_dt()
86 of_property_read_u32_array(np, "data-width", pdata->data_width, nr_masters); in dw_dma_parse_dt()
H A Dcore.c551 unsigned int data_width = dw->pdata->data_width[m_master]; in dwc_prep_dma_memcpy() local
566 src_width = dst_width = __ffs(data_width | src | dest | len); in dwc_prep_dma_memcpy()
812 max_width = dw->pdata->data_width[dwc->dws.p_master]; in dwc_verify_p_buswidth()
837 mem_width = dw->pdata->data_width[dwc->dws.m_master]; in dwc_verify_m_buswidth()
1185 pdata->data_width[i] = in do_dma_probe()
/linux/sound/soc/intel/keembay/
H A 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()
H A Dkmb_platform.h122 u32 data_width; member
/linux/drivers/media/usb/dvb-usb-v2/
H A 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()
H A Dmxl111sf-phy.h26 u8 msb_start_pos, u8 data_width);
/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-dai-pcm.c228 unsigned int data_width = in mtk_dai_pcm_hw_params() local
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/drivers/acpi/acpica/
H A Dexconvrt.c263 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/drivers/devfreq/
H A 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/drivers/media/pci/cobalt/
H A Dm00473_freewheel_memmap_package.h19 uint32_t data_width; /* Reg 0x0010 */ member
/linux/include/linux/platform_data/
H A Ddma-dw.h67 u32 data_width[DW_DMA_MAX_NR_MASTERS]; member
/linux/include/sound/
H A Ddesignware_i2s.h20 u32 data_width; member
/linux/drivers/edac/
H A 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/arch/x86/kernel/cpu/resctrl/
H A 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/sound/soc/starfive/
H A 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/sound/soc/dwc/
H A 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/include/linux/
H A Dresctrl.h218 int data_width; member
/linux/drivers/tty/serial/8250/
H A D8250_lpss.c198 .data_width = {4},

12