Lines Matching refs:hopcount
776 * @hopcount: Number of switch hops to the device
781 u16 destid, u8 hopcount, u32 *rmap)
786 ext_ftr_ptr = rio_mport_get_efb(port, local, destid, hopcount, 0);
793 rio_mport_read_config_32(port, destid, hopcount,
821 hopcount, ext_ftr_ptr);
892 * @hopcount: Number of hops to reach the target
900 u8 hopcount, u8 port_num)
910 pr_debug("rio_enable_rx_tx_port(local = %d, destid = %d, hopcount = "
911 "%d, port_num = %d)\n", local, destid, hopcount, port_num);
914 hopcount, &rmap);
921 if (rio_mport_read_config_32(port, destid, hopcount,
933 if (rio_mport_write_config_32(port, destid, hopcount,
990 * @hopcount: Number of hops into the network
993 rio_mport_chk_dev_access(struct rio_mport *mport, u16 destid, u8 hopcount)
998 while (rio_mport_read_config_32(mport, destid, hopcount,
1017 rdev->destid, rdev->hopcount);
1340 * @hopcount: Number of switch hops to the device
1346 u8 hopcount, u32 from)
1355 rio_mport_read_config_32(port, destid, hopcount,
1362 rio_mport_read_config_32(port, destid, hopcount,
1374 * @hopcount: Number of switch hops to the device
1384 u8 hopcount, int ftr)
1391 rio_mport_read_config_32(port, destid, hopcount,
1401 rio_mport_read_config_32(port, destid, hopcount,
1420 * @hopcount: Number of switch hops to the device
1426 rio_std_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount,
1430 rio_mport_write_config_32(mport, destid, hopcount,
1433 rio_mport_write_config_32(mport, destid, hopcount,
1448 * @hopcount: Number of switch hops to the device
1454 rio_std_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount,
1460 rio_mport_write_config_32(mport, destid, hopcount,
1462 rio_mport_read_config_32(mport, destid, hopcount,
1476 * @hopcount: Number of switch hops to the device
1480 rio_std_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount,
1488 rio_mport_read_config_32(mport, destid, hopcount,
1492 rio_mport_read_config_32(mport, destid, hopcount,
1508 rio_mport_write_config_32(mport, destid, hopcount,
1511 rio_mport_write_config_32(mport, destid, hopcount,
1526 * @hopcount: Hopcount to reach switch
1533 u8 hopcount, int wait_ms)
1539 rio_mport_write_config_32(port, destid, hopcount,
1541 rio_mport_read_config_32(port, destid, hopcount,
1547 destid, hopcount);
1556 hopcount,
1560 hopcount,
1572 * @hopcount: Hopcount to reach switch
1576 int rio_unlock_device(struct rio_mport *port, u16 destid, u8 hopcount)
1582 hopcount,
1585 rio_mport_read_config_32(port, destid, hopcount,
1589 destid, hopcount);
1622 rdev->hopcount, 1000);
1631 rdev->hopcount, table,
1635 rdev->hopcount, table, route_destid,
1644 rdev->hopcount);
1675 rdev->hopcount, 1000);
1684 rdev->hopcount, table,
1688 rdev->hopcount, table, route_destid,
1697 rdev->hopcount);
1723 rdev->hopcount, 1000);
1732 rdev->hopcount, table);
1735 rdev->hopcount, table);
1744 rdev->hopcount);