Lines Matching refs:swpinfo
331 u32 swpinfo = 0; in rio_setup_device() local
340 RIO_SWP_INFO_CAR, &swpinfo); in rio_setup_device()
342 size += struct_size(rswitch, nextdev, RIO_GET_TOTAL_PORTS(swpinfo)); in rio_setup_device()
351 rdev->swpinfo = swpinfo; in rio_setup_device()
599 sw_inport = RIO_GET_PORT_NUM(rdev->swpinfo); in rio_enum_peer()
616 RIO_GET_TOTAL_PORTS(rdev->swpinfo)); in rio_enum_peer()
619 port_num < RIO_GET_TOTAL_PORTS(rdev->swpinfo); in rio_enum_peer()
752 RIO_GET_TOTAL_PORTS(rdev->swpinfo)); in rio_disc_peer()
754 port_num < RIO_GET_TOTAL_PORTS(rdev->swpinfo); in rio_disc_peer()
756 if (RIO_GET_PORT_NUM(rdev->swpinfo) == port_num) in rio_disc_peer()
911 sport = RIO_GET_PORT_NUM(swrdev->swpinfo); in rio_update_route_tables()