Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/dma/dw/
Dof.c35 slave.m_master >= dw->pdata->nr_masters || in dw_dma_of_xlate()
36 slave.p_master >= dw->pdata->nr_masters)) in dw_dma_of_xlate()
51 u32 nr_masters; in dw_dma_parse_dt() local
59 if (of_property_read_u32(np, "dma-masters", &nr_masters)) in dw_dma_parse_dt()
61 if (nr_masters < 1 || nr_masters > DW_DMA_MAX_NR_MASTERS) in dw_dma_parse_dt()
73 pdata->nr_masters = nr_masters; in dw_dma_parse_dt()
85 if (!of_property_read_u32_array(np, "data-width", arr, nr_masters)) { in dw_dma_parse_dt()
86 for (tmp = 0; tmp < nr_masters; tmp++) in dw_dma_parse_dt()
88 } else if (!of_property_read_u32_array(np, "data_width", arr, nr_masters)) { in dw_dma_parse_dt()
89 for (tmp = 0; tmp < nr_masters; tmp++) in dw_dma_parse_dt()
Dinternal.h66 .nr_masters = 1,
Dcore.c1084 pdata->nr_masters = (dw_params >> DW_PARAMS_NR_MASTER & 3) + 1; in do_dma_probe()
1085 for (i = 0; i < pdata->nr_masters; i++) { in do_dma_probe()
/Linux-v5.4/include/linux/platform_data/
Ddma-dw.h56 unsigned char nr_masters; member
/Linux-v5.4/drivers/dma/dw-axi-dmac/
Ddw-axi-dmac.h27 u32 nr_masters; member
Ddw-axi-dmac-platform.c416 if (desc->chan->chip->dw->hdata->nr_masters > 1) in set_desc_dest_master()
773 chip->dw->hdata->nr_masters = tmp; in parse_device_properties()
/Linux-v5.4/drivers/tty/serial/8250/
D8250_lpss.c165 .nr_masters = 1,