Lines Matching defs:shared_res
46 static struct resource shared_res[] = {
67 .num_resources = ARRAY_SIZE(shared_res),
68 .resource = shared_res,
180 shared_res[0].start = bcm63xx_regset_address(RSET_ENETDMA);
181 shared_res[0].end = shared_res[0].start;
183 shared_res[0].end += (RSET_6345_ENETDMA_SIZE) - 1;
185 shared_res[0].end += (RSET_ENETDMA_SIZE) - 1;
194 shared_res[1].start = bcm63xx_regset_address(RSET_ENETDMAC);
195 shared_res[1].end = shared_res[1].start;
196 shared_res[1].end += RSET_ENETDMAC_SIZE(chan_count) - 1;
198 shared_res[2].start = bcm63xx_regset_address(RSET_ENETDMAS);
199 shared_res[2].end = shared_res[2].start;
200 shared_res[2].end += RSET_ENETDMAS_SIZE(chan_count) - 1;