Home
last modified time | relevance | path

Searched refs:cfghi (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/dma/dw/
H A Didma32.c50 u32 cfghi = 0, cfglo = 0; in idma32_initialize_chan_xbar() local
130 cfghi |= IDMA32C_CFGH_DST_PER(dst_id & 0xf); in idma32_initialize_chan_xbar()
131 cfghi |= IDMA32C_CFGH_SRC_PER(src_id & 0xf); in idma32_initialize_chan_xbar()
134 cfghi |= IDMA32C_CFGH_DST_PER_EXT(dst_id >> 4 & 0x3); in idma32_initialize_chan_xbar()
135 cfghi |= IDMA32C_CFGH_SRC_PER_EXT(src_id >> 4 & 0x3); in idma32_initialize_chan_xbar()
138 channel_writel(dwc, CFG_HI, cfghi); in idma32_initialize_chan_xbar()
143 u32 cfghi = 0; in idma32_initialize_chan_generic() local
150 cfghi |= IDMA32C_CFGH_DST_PER(dwc->dws.dst_id & 0xf); in idma32_initialize_chan_generic()
151 cfghi |= IDMA32C_CFGH_SRC_PER(dwc->dws.src_id & 0xf); in idma32_initialize_chan_generic()
154 cfghi |= IDMA32C_CFGH_DST_PER_EXT(dwc->dws.dst_id >> 4 & 0x3); in idma32_initialize_chan_generic()
[all …]
H A Ddw.c17 u32 cfghi = is_slave_direction(dwc->direction) ? 0 : DWC_CFGH_FIFO_MODE; in dw_dma_initialize_chan() local
21 cfghi |= DWC_CFGH_DST_PER(dwc->dws.dst_id); in dw_dma_initialize_chan()
22 cfghi |= DWC_CFGH_SRC_PER(dwc->dws.src_id); in dw_dma_initialize_chan()
23 cfghi |= DWC_CFGH_PROTCTL(dw->pdata->protctl); in dw_dma_initialize_chan()
29 channel_writel(dwc, CFG_HI, cfghi); in dw_dma_initialize_chan()
/openbmc/linux/drivers/dma/
H A Didma64.c61 u32 cfghi = IDMA64C_CFGH_SRC_PER(1) | IDMA64C_CFGH_DST_PER(0); in idma64_chan_init() local
68 channel_writel(idma64c, CFG_HI, cfghi); in idma64_chan_init()