Lines Matching defs:tmp
53 u32 tmp, arr[DW_DMA_MAX_NR_MASTERS], mb[DW_DMA_MAX_NR_CHANNELS];
79 if (!of_property_read_u32(np, "chan_allocation_order", &tmp))
80 pdata->chan_allocation_order = (unsigned char)tmp;
82 if (!of_property_read_u32(np, "chan_priority", &tmp))
83 pdata->chan_priority = tmp;
85 if (!of_property_read_u32(np, "block_size", &tmp))
86 pdata->block_size = tmp;
89 for (tmp = 0; tmp < nr_masters; tmp++)
90 pdata->data_width[tmp] = arr[tmp];
92 for (tmp = 0; tmp < nr_masters; tmp++)
93 pdata->data_width[tmp] = BIT(arr[tmp] & 0x07);
97 for (tmp = 0; tmp < nr_channels; tmp++)
98 pdata->multi_block[tmp] = mb[tmp];
100 for (tmp = 0; tmp < nr_channels; tmp++)
101 pdata->multi_block[tmp] = 1;
109 if (!of_property_read_u32(np, "snps,dma-protection-control", &tmp)) {
110 if (tmp > CHAN_PROTCTL_MASK)
112 pdata->protctl = tmp;