Home
last modified time | relevance | path

Searched refs:RIO_GET_TOTAL_PORTS (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/rapidio/switches/
Didt_gen3.c69 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()
Dtsi568.c120 portnum < RIO_GET_TOTAL_PORTS(rdev->swpinfo); portnum++) { in tsi568_em_init()
Didt_gen2.c256 tmp = RIO_GET_TOTAL_PORTS(rdev->swpinfo); in idtg2_em_init()
Dtsi57x.c164 portnum < RIO_GET_TOTAL_PORTS(rdev->swpinfo); portnum++) { in tsi57x_em_init()
/Linux-v5.4/drivers/rapidio/
Drio-scan.c342 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()
Drio-sysfs.c74 for (i = 0; i < RIO_GET_TOTAL_PORTS(rdev->swpinfo); i++) { in lnext_show()
/Linux-v5.4/include/linux/
Drio_regs.h54 #define RIO_GET_TOTAL_PORTS(x) ((x & RIO_SWP_INFO_PORT_TOTAL_MASK) >> 8) macro
/Linux-v5.4/drivers/rapidio/devices/
Drio_mport_cdev.c1711 size += (RIO_GET_TOTAL_PORTS(swpinfo) * in rio_mport_add_riodev()