Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
H A 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()
/openbmc/linux/drivers/dma/dw/
H A Dcore.c628 unsigned int mem_width; in dwc_prep_slave_sg() local
662 mem_width = __ffs(sconfig->src_addr_width | mem | len); in dwc_prep_slave_sg()
669 ctlhi = dw->bytes2block(dwc, len, mem_width, &dlen); in dwc_prep_slave_sg()
674 lli_write(desc, ctllo, ctllo | DWC_CTLL_SRC_WIDTH(mem_width)); in dwc_prep_slave_sg()
722 mem_width = __ffs(sconfig->dst_addr_width | mem); in dwc_prep_slave_sg()
723 lli_write(desc, ctllo, ctllo | DWC_CTLL_DST_WIDTH(mem_width)); in dwc_prep_slave_sg()
818 u32 reg_width, reg_burst, mem_width; in dwc_verify_m_buswidth() local
820 mem_width = dw->pdata->data_width[dwc->dws.m_master]; in dwc_verify_m_buswidth()
835 if (mem_width < reg_width) in dwc_verify_m_buswidth()
838 dwc->dma_sconfig.src_addr_width = mem_width; in dwc_verify_m_buswidth()
[all …]
/openbmc/linux/drivers/dma/dw-axi-dmac/
H A Ddw-axi-dmac-platform.c609 unsigned int mem_width; in dw_axi_dma_set_hw_desc() local
618 mem_width = __ffs(data_width | mem_addr | len); in dw_axi_dma_set_hw_desc()
619 if (mem_width > DWAXIDMAC_TRANS_WIDTH_32) in dw_axi_dma_set_hw_desc()
620 mem_width = DWAXIDMAC_TRANS_WIDTH_32; in dw_axi_dma_set_hw_desc()
632 mem_width << CH_CTL_L_SRC_WIDTH_POS | in dw_axi_dma_set_hw_desc()
635 block_ts = len >> mem_width; in dw_axi_dma_set_hw_desc()
641 mem_width << CH_CTL_L_DST_WIDTH_POS | in dw_axi_dma_set_hw_desc()
692 u32 data_width, reg_width, mem_width; in calculate_block_len() local
700 mem_width = __ffs(data_width | dma_addr | buf_len); in calculate_block_len()
701 if (mem_width > DWAXIDMAC_TRANS_WIDTH_32) in calculate_block_len()
[all …]
/openbmc/linux/drivers/dma/
H A 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()
H A 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()
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_topology.c972 u16 mem_width, mem_clock; in find_system_memory() local
978 mem_width = (u16)(*(const u16 *)(dmi_data + 0x6)); in find_system_memory()
981 if (mem_width != 0xFFFF && mem_width != 0) in find_system_memory()
982 mem->width = mem_width; in find_system_memory()
/openbmc/qemu/target/hexagon/idef-parser/
H A Dparser-helpers.c1772 unsigned mem_width = width->imm.value; in gen_store() local
1776 OUT(c, locp, "gen_store", &mem_width, "(tcg_env, ", ea, ", ", &src_m); in gen_store()