Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/drivers/dma/dw-axi-dmac/
Ddw-axi-dmac-platform.c604 unsigned int mem_width; in dw_axi_dma_set_hw_desc() local
613 mem_width = __ffs(data_width | mem_addr | len); in dw_axi_dma_set_hw_desc()
614 if (mem_width > DWAXIDMAC_TRANS_WIDTH_32) in dw_axi_dma_set_hw_desc()
615 mem_width = DWAXIDMAC_TRANS_WIDTH_32; in dw_axi_dma_set_hw_desc()
627 mem_width << CH_CTL_L_SRC_WIDTH_POS | in dw_axi_dma_set_hw_desc()
630 block_ts = len >> mem_width; in dw_axi_dma_set_hw_desc()
636 mem_width << CH_CTL_L_DST_WIDTH_POS | in dw_axi_dma_set_hw_desc()
687 u32 data_width, reg_width, mem_width; in calculate_block_len() local
695 mem_width = __ffs(data_width | dma_addr | buf_len); in calculate_block_len()
696 if (mem_width > DWAXIDMAC_TRANS_WIDTH_32) in calculate_block_len()
[all …]
/linux-6.1.9/drivers/dma/
Dat_hdmac.c1065 unsigned int mem_width; in atc_prep_slave_sg() local
1109 mem_width = 2; in atc_prep_slave_sg()
1111 mem_width = 0; in atc_prep_slave_sg()
1116 | ATC_SRC_WIDTH(mem_width) in atc_prep_slave_sg()
1117 | len >> mem_width; in atc_prep_slave_sg()
1150 mem_width = 2; in atc_prep_slave_sg()
1152 mem_width = 0; in atc_prep_slave_sg()
1157 | 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()
1411 burst_size = chan->mem_burst * chan->mem_width; in stm32_dma_desc_residue()
Dstm32-mdma.c247 u32 mem_width; member
575 chan->mem_width = src_addr_width; in stm32_mdma_set_xfer_param()
634 chan->mem_width = dst_addr_width; in stm32_mdma_set_xfer_param()
1338 burst_size = chan->mem_burst * chan->mem_width; in stm32_mdma_desc_residue()
/linux-6.1.9/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.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c987 u16 mem_width, mem_clock; in find_system_memory() local
993 mem_width = (u16)(*(const u16 *)(dmi_data + 0x6)); in find_system_memory()
996 if (mem_width != 0xFFFF && mem_width != 0) in find_system_memory()
997 mem->width = mem_width; in find_system_memory()