Searched refs:shared_res (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/arch/mips/bcm63xx/
H A Ddev-enet.c46 static struct resource shared_res[] = { variable in typeref:struct:resource
67 .num_resources = ARRAY_SIZE(shared_res),
68 .resource = shared_res,
172 shared_res[0].start = bcm63xx_regset_address(RSET_ENETDMA); register_shared()
173 shared_res[0].end = shared_res[0].start; register_shared()
175 shared_res[0].end += (RSET_6345_ENETDMA_SIZE) - 1; register_shared()
177 shared_res[0].end += (RSET_ENETDMA_SIZE) - 1; register_shared()
186 shared_res[1].start = bcm63xx_regset_address(RSET_ENETDMAC); register_shared()
187 shared_res[1].end = shared_res[1].start; register_shared()
188 shared_res[1].end += RSET_ENETDMAC_SIZE(chan_count) - 1; register_shared()
190 shared_res[2].start = bcm63xx_regset_address(RSET_ENETDMAS); register_shared()
191 shared_res[2].end = shared_res[2].start; register_shared()
192 shared_res[2].end += RSET_ENETDMAS_SIZE(chan_count) - 1; register_shared()

Completed in 26 milliseconds