Home
last modified time | relevance | path

Searched refs:swpinfo (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/rapidio/
Drio-scan.c331 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()
[all …]
Drio-sysfs.c74 for (i = 0; i < RIO_GET_TOTAL_PORTS(rdev->swpinfo); i++) { in lnext_show()
Drio.c1137 RIO_GET_PORT_NUM(nextdev->swpinfo)), in rio_clr_err_stopped()
1150 RIO_GET_PORT_NUM(nextdev->swpinfo), NULL); in rio_clr_err_stopped()
/linux-6.6.21/drivers/rapidio/switches/
Didt_gen3.c176 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()
Didt_gen2.c256 tmp = RIO_GET_TOTAL_PORTS(rdev->swpinfo); in idtg2_em_init()
/linux-6.6.21/include/linux/
Drio.h188 u32 swpinfo; member
/linux-6.6.21/drivers/rapidio/devices/
Drio_mport_cdev.c1687 u32 swpinfo = 0; in rio_mport_add_riodev() local
1717 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()