Searched refs:RIO_GET_TOTAL_PORTS (Results 1 – 5 of 5) sorted by relevance
69 if (table >= RIO_GET_TOTAL_PORTS(rval)) in idtg3_route_add_entry()100 else if (table >= RIO_GET_TOTAL_PORTS(rval)) in idtg3_route_get_entry()142 if (table >= RIO_GET_TOTAL_PORTS(rval)) in idtg3_route_clr_table()176 tmp = RIO_GET_TOTAL_PORTS(rdev->swpinfo); in idtg3_em_init()
256 tmp = RIO_GET_TOTAL_PORTS(rdev->swpinfo); in idtg2_em_init()
54 #define RIO_GET_TOTAL_PORTS(x) ((x & RIO_SWP_INFO_PORT_TOTAL_MASK) >> 8) macro
74 for (i = 0; i < RIO_GET_TOTAL_PORTS(rdev->swpinfo); i++) { in lnext_show()
1699 size += struct_size(rswitch, nextdev, RIO_GET_TOTAL_PORTS(swpinfo)); in rio_mport_add_riodev()