Searched refs:swpinfo (Results 1 – 7 of 7) sorted by relevance
331 u32 swpinfo = 0; in rio_setup_device() local340 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()[all …]
74 for (i = 0; i < RIO_GET_TOTAL_PORTS(rdev->swpinfo); i++) { in lnext_show()
1137 RIO_GET_PORT_NUM(nextdev->swpinfo)), in rio_clr_err_stopped()1150 RIO_GET_PORT_NUM(nextdev->swpinfo), NULL); in rio_clr_err_stopped()
176 tmp = RIO_GET_TOTAL_PORTS(rdev->swpinfo); in idtg3_em_init()200 tmp = RIO_GET_PORT_NUM(rdev->swpinfo); in idtg3_em_init()323 i = RIO_GET_PORT_NUM(rdev->swpinfo); in idtg3_shutdown()
256 tmp = RIO_GET_TOTAL_PORTS(rdev->swpinfo); in idtg2_em_init()
188 u32 swpinfo; member
1687 u32 swpinfo = 0; in rio_mport_add_riodev() local1717 RIO_SWP_INFO_CAR, &swpinfo); in rio_mport_add_riodev()1718 size += struct_size(rswitch, nextdev, RIO_GET_TOTAL_PORTS(swpinfo)); in rio_mport_add_riodev()1750 rdev->swpinfo = swpinfo; in rio_mport_add_riodev()