Searched refs:nr_masters (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/drivers/dma/dw/ |
D | of.c | 35 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()
|
D | internal.h | 66 .nr_masters = 1,
|
D | core.c | 1084 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/ |
D | dma-dw.h | 56 unsigned char nr_masters; member
|
/Linux-v5.4/drivers/dma/dw-axi-dmac/ |
D | dw-axi-dmac.h | 27 u32 nr_masters; member
|
D | dw-axi-dmac-platform.c | 416 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/ |
D | 8250_lpss.c | 165 .nr_masters = 1,
|