Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/rapidio/
Drio-scan.c342 size += struct_size(rswitch, nextdev, RIO_GET_TOTAL_PORTS(swpinfo)); in rio_setup_device()
612 RIO_GET_TOTAL_PORTS(rdev->swpinfo)); in rio_enum_peer()
615 port_num < RIO_GET_TOTAL_PORTS(rdev->swpinfo); in rio_enum_peer()
748 RIO_GET_TOTAL_PORTS(rdev->swpinfo)); in rio_disc_peer()
750 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()
/kernel/linux/linux-5.10/include/linux/
Drio_regs.h54 #define RIO_GET_TOTAL_PORTS(x) ((x & RIO_SWP_INFO_PORT_TOTAL_MASK) >> 8) macro
/kernel/linux/linux-5.10/drivers/rapidio/devices/
Drio_mport_cdev.c1717 size += struct_size(rswitch, nextdev, RIO_GET_TOTAL_PORTS(swpinfo)); in rio_mport_add_riodev()