Home
last modified time | relevance | path

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

/linux/drivers/rapidio/
H A 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 …]
H A Drio-sysfs.c74 for (i = 0; i < RIO_GET_TOTAL_PORTS(rdev->swpinfo); i++) { in lnext_show()
H A 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/drivers/rapidio/switches/
H A 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()
H A Didt_gen2.c256 tmp = RIO_GET_TOTAL_PORTS(rdev->swpinfo); in idtg2_em_init()
/linux/drivers/rapidio/devices/
H A Drio_mport_cdev.c1689 u32 swpinfo = 0; in rio_mport_add_riodev() local
1719 RIO_SWP_INFO_CAR, &swpinfo); in rio_mport_add_riodev()
1720 size += struct_size(rswitch, nextdev, RIO_GET_TOTAL_PORTS(swpinfo)); in rio_mport_add_riodev()
1752 rdev->swpinfo = swpinfo; in rio_mport_add_riodev()
/linux/include/linux/
H A Drio.h188 u32 swpinfo; member