Lines Matching refs:nr_masters
37 slave.m_master >= dw->pdata->nr_masters ||
38 slave.p_master >= dw->pdata->nr_masters ||
54 u32 nr_masters;
62 if (of_property_read_u32(np, "dma-masters", &nr_masters))
64 if (nr_masters < 1 || nr_masters > DW_DMA_MAX_NR_MASTERS)
76 pdata->nr_masters = nr_masters;
88 if (!of_property_read_u32_array(np, "data-width", arr, nr_masters)) {
89 for (tmp = 0; tmp < nr_masters; tmp++)
91 } else if (!of_property_read_u32_array(np, "data_width", arr, nr_masters)) {
92 for (tmp = 0; tmp < nr_masters; tmp++)