Searched refs:dma_np (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/sound/soc/fsl/ |
H A D | fsl_utils.c | 36 struct device_node *dma_channel_np, *dma_np; in fsl_asoc_get_dma_channel() local 72 dma_np = of_get_parent(dma_channel_np); in fsl_asoc_get_dma_channel() 73 iprop = of_get_property(dma_np, "cell-index", NULL); in fsl_asoc_get_dma_channel() 75 of_node_put(dma_np); in fsl_asoc_get_dma_channel() 81 of_node_put(dma_np); in fsl_asoc_get_dma_channel()
|
/openbmc/linux/drivers/dma/ |
H A D | lpc18xx-dmamux.c | 114 struct device_node *dma_np, *np = pdev->dev.of_node; in lpc18xx_dmamux_probe() local 135 dma_np = of_parse_phandle(np, "dma-masters", 0); in lpc18xx_dmamux_probe() 136 if (!dma_np) { in lpc18xx_dmamux_probe() 141 ret = of_property_read_u32(dma_np, "dma-requests", in lpc18xx_dmamux_probe() 143 of_node_put(dma_np); in lpc18xx_dmamux_probe()
|
/openbmc/linux/drivers/net/ethernet/xilinx/ |
H A D | ll_temac_main.c | 1386 struct device_node *temac_np = dev_of_node(&pdev->dev), *dma_np; in temac_probe() local 1501 dma_np = of_parse_phandle(temac_np, "llink-connected", 0); in temac_probe() 1502 if (!dma_np) { in temac_probe() 1510 if (temac_dcr_setup(lp, pdev, dma_np)) { in temac_probe() 1512 lp->sdma_regs = devm_of_iomap(&pdev->dev, dma_np, 0, in temac_probe() 1517 of_node_put(dma_np); in temac_probe() 1520 if (of_property_read_bool(dma_np, "little-endian")) { in temac_probe() 1531 lp->rx_irq = irq_of_parse_and_map(dma_np, 0); in temac_probe() 1532 lp->tx_irq = irq_of_parse_and_map(dma_np, 1); in temac_probe() 1535 of_node_put(dma_np); in temac_probe()
|