Home
last modified time | relevance | path

Searched refs:mem_width (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dnv10.c37 static const int mem_width[] = { 0x10, 0x00, 0x20 }; in nv10_devinit_meminit() local
59 nvkm_mask(device, NV04_PFB_CFG0, 0x30, mem_width[i]); in nv10_devinit_meminit()
/linux-6.6.21/drivers/dma/dw-axi-dmac/
Ddw-axi-dmac-platform.c608 unsigned int mem_width; in dw_axi_dma_set_hw_desc() local
617 mem_width = __ffs(data_width | mem_addr | len); in dw_axi_dma_set_hw_desc()
618 if (mem_width > DWAXIDMAC_TRANS_WIDTH_32) in dw_axi_dma_set_hw_desc()
619 mem_width = DWAXIDMAC_TRANS_WIDTH_32; in dw_axi_dma_set_hw_desc()
631 mem_width << CH_CTL_L_SRC_WIDTH_POS | in dw_axi_dma_set_hw_desc()
634 block_ts = len >> mem_width; in dw_axi_dma_set_hw_desc()
640 mem_width << CH_CTL_L_DST_WIDTH_POS | in dw_axi_dma_set_hw_desc()
691 u32 data_width, reg_width, mem_width; in calculate_block_len() local
699 mem_width = __ffs(data_width | dma_addr | buf_len); in calculate_block_len()
700 if (mem_width > DWAXIDMAC_TRANS_WIDTH_32) in calculate_block_len()
[all …]
/linux-6.6.21/drivers/dma/dw/
Dcore.c628 unsigned int mem_width; in dwc_prep_slave_sg() local
663 mem_width = __ffs(data_width | mem | len); in dwc_prep_slave_sg()
670 ctlhi = dw->bytes2block(dwc, len, mem_width, &dlen); in dwc_prep_slave_sg()
675 lli_write(desc, ctllo, ctllo | DWC_CTLL_SRC_WIDTH(mem_width)); in dwc_prep_slave_sg()
723 mem_width = __ffs(data_width | mem); in dwc_prep_slave_sg()
724 lli_write(desc, ctllo, ctllo | DWC_CTLL_DST_WIDTH(mem_width)); in dwc_prep_slave_sg()
/linux-6.6.21/drivers/dma/
Dat_hdmac.c1252 unsigned int mem_width; in atc_prep_slave_sg() local
1307 mem_width = 2; in atc_prep_slave_sg()
1309 mem_width = 0; in atc_prep_slave_sg()
1314 FIELD_PREP(ATC_SRC_WIDTH, mem_width) | in atc_prep_slave_sg()
1315 len >> mem_width; in atc_prep_slave_sg()
1356 mem_width = 2; in atc_prep_slave_sg()
1358 mem_width = 0; in atc_prep_slave_sg()
1363 FIELD_PREP(ATC_DST_WIDTH, mem_width) | in atc_prep_slave_sg()
Dstm32-dma.c222 u32 mem_width; member
968 chan->mem_width = src_addr_width; in stm32_dma_set_xfer_param()
1024 chan->mem_width = dst_addr_width; in stm32_dma_set_xfer_param()
1418 burst_size = chan->mem_burst * chan->mem_width; in stm32_dma_desc_residue()
Dstm32-mdma.c246 u32 mem_width; member
574 chan->mem_width = src_addr_width; in stm32_mdma_set_xfer_param()
633 chan->mem_width = dst_addr_width; in stm32_mdma_set_xfer_param()
1353 burst_size = chan->mem_burst * chan->mem_width; in stm32_mdma_desc_residue()
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c973 u16 mem_width, mem_clock; in find_system_memory() local
979 mem_width = (u16)(*(const u16 *)(dmi_data + 0x6)); in find_system_memory()
982 if (mem_width != 0xFFFF && mem_width != 0) in find_system_memory()
983 mem->width = mem_width; in find_system_memory()