Home
last modified time | relevance | path

Searched refs:xbar_chans (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/platform_data/
H A Dedma.h78 const s16 (*xbar_chans)[2]; member
/openbmc/linux/drivers/dma/ti/
H A Dedma.c2092 s16 (*xbar_chans)[2]; in edma_xbar_event_map() local
2097 xbar_chans = devm_kcalloc(dev, nelm + 2, sizeof(s16), GFP_KERNEL); in edma_xbar_event_map()
2098 if (!xbar_chans) in edma_xbar_event_map()
2109 ret = of_property_read_u16_array(dev->of_node, pname, (u16 *)xbar_chans, in edma_xbar_event_map()
2116 xbar_chans[nelm][0] = -1; in edma_xbar_event_map()
2117 xbar_chans[nelm][1] = -1; in edma_xbar_event_map()
2120 shift = (xbar_chans[i][1] & 0x03) << 3; in edma_xbar_event_map()
2121 offset = xbar_chans[i][1] & 0xfffffffc; in edma_xbar_event_map()
2124 mux |= xbar_chans[i][0] << shift; in edma_xbar_event_map()
2128 pdata->xbar_chans = (const s16 (*)[2]) xbar_chans; in edma_xbar_event_map()