Searched refs:RIO_GET_TOTAL_PORTS (Results 1 – 8 of 8) 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()
120 portnum < RIO_GET_TOTAL_PORTS(rdev->swpinfo); portnum++) { in tsi568_em_init()
256 tmp = RIO_GET_TOTAL_PORTS(rdev->swpinfo); in idtg2_em_init()
164 portnum < RIO_GET_TOTAL_PORTS(rdev->swpinfo); portnum++) { in tsi57x_em_init()
342 size += (RIO_GET_TOTAL_PORTS(swpinfo) * in rio_setup_device()614 RIO_GET_TOTAL_PORTS(rdev->swpinfo)); in rio_enum_peer()617 port_num < RIO_GET_TOTAL_PORTS(rdev->swpinfo); in rio_enum_peer()750 RIO_GET_TOTAL_PORTS(rdev->swpinfo)); in rio_disc_peer()752 port_num < RIO_GET_TOTAL_PORTS(rdev->swpinfo); in rio_disc_peer()
74 for (i = 0; i < RIO_GET_TOTAL_PORTS(rdev->swpinfo); i++) { in lnext_show()
54 #define RIO_GET_TOTAL_PORTS(x) ((x & RIO_SWP_INFO_PORT_TOTAL_MASK) >> 8) macro
1711 size += (RIO_GET_TOTAL_PORTS(swpinfo) * in rio_mport_add_riodev()