Lines Matching refs:destid

723  * @destid: destination id window points to
733 int rio_map_outb_region(struct rio_mport *mport, u16 destid, u64 rbase,
743 rc = mport->ops->map_outb(mport, destid, rbase, size,
754 * @destid: destination id mapping points to
757 void rio_unmap_outb_region(struct rio_mport *mport, u16 destid, u64 rstart)
765 mport->ops->unmap_outb(mport, destid, rstart);
775 * @destid: Destination ID of 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,
820 ext_ftr_ptr = rio_mport_get_efb(port, local, destid,
891 * @destid: Destination ID of the device to check host bit
899 int local, u16 destid,
910 pr_debug("rio_enable_rx_tx_port(local = %d, destid = %d, hopcount = "
911 "%d, port_num = %d)\n", local, destid, hopcount, port_num);
913 ext_ftr_ptr = rio_mport_get_physefb(port, local, destid,
921 if (rio_mport_read_config_32(port, destid, hopcount,
933 if (rio_mport_write_config_32(port, destid, hopcount,
972 p_port = prev->rswitch->route_table[rdev->destid];
989 * @destid: Device destination ID in 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);
1339 * @destid: Destination ID of the device
1345 rio_mport_get_efb(struct rio_mport *port, int local, u16 destid,
1355 rio_mport_read_config_32(port, destid, hopcount,
1362 rio_mport_read_config_32(port, destid, hopcount,
1373 * @destid: Destination ID of the device
1383 rio_mport_get_feature(struct rio_mport * port, int local, u16 destid,
1391 rio_mport_read_config_32(port, destid, hopcount,
1401 rio_mport_read_config_32(port, destid, hopcount,
1419 * @destid: Destination ID of 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,
1447 * @destid: Destination ID of 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,
1475 * @destid: Destination ID of 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,
1525 * @destid: Destination ID for device/switch
1532 int rio_lock_device(struct rio_mport *port, u16 destid,
1539 rio_mport_write_config_32(port, destid, hopcount,
1541 rio_mport_read_config_32(port, destid, hopcount,
1547 destid, hopcount);
1555 rio_mport_write_config_32(port, destid,
1559 rio_mport_read_config_32(port, destid,
1571 * @destid: Destination ID for device/switch
1576 int rio_unlock_device(struct rio_mport *port, u16 destid, u8 hopcount)
1581 rio_mport_write_config_32(port, destid,
1585 rio_mport_read_config_32(port, destid, hopcount,
1589 destid, hopcount);
1621 rc = rio_lock_device(rdev->net->hport, rdev->destid,
1630 rc = rio_std_route_add_entry(rdev->net->hport, rdev->destid,
1634 rc = ops->add_entry(rdev->net->hport, rdev->destid,
1643 rio_unlock_device(rdev->net->hport, rdev->destid,
1674 rc = rio_lock_device(rdev->net->hport, rdev->destid,
1683 rc = rio_std_route_get_entry(rdev->net->hport, rdev->destid,
1687 rc = ops->get_entry(rdev->net->hport, rdev->destid,
1696 rio_unlock_device(rdev->net->hport, rdev->destid,
1722 rc = rio_lock_device(rdev->net->hport, rdev->destid,
1731 rc = rio_std_route_clr_table(rdev->net->hport, rdev->destid,
1734 rc = ops->clr_table(rdev->net->hport, rdev->destid,
1743 rio_unlock_device(rdev->net->hport, rdev->destid,
1804 * @destid: target RapidIO device destination ID
1817 u16 destid, struct rio_dma_data *data,
1827 rio_ext.destid = destid;
1857 return rio_dma_prep_xfer(dchan, rdev->destid, data, direction, flags);