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,
1484 * @destid: Destination ID of the device
1491 rio_std_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount,
1495 rio_mport_write_config_32(mport, destid, hopcount,
1498 rio_mport_write_config_32(mport, destid, hopcount,
1512 * @destid: Destination ID of the device
1519 rio_std_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount,
1525 rio_mport_write_config_32(mport, destid, hopcount,
1527 rio_mport_read_config_32(mport, destid, hopcount,
1540 * @destid: Destination ID of the device
1545 rio_std_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount,
1553 rio_mport_read_config_32(mport, destid, hopcount,
1557 rio_mport_read_config_32(mport, destid, hopcount,
1573 rio_mport_write_config_32(mport, destid, hopcount,
1576 rio_mport_write_config_32(mport, destid, hopcount,
1590 * @destid: Destination ID for device/switch
1597 int rio_lock_device(struct rio_mport *port, u16 destid,
1604 rio_mport_write_config_32(port, destid, hopcount,
1606 rio_mport_read_config_32(port, destid, hopcount,
1612 destid, hopcount);
1620 rio_mport_write_config_32(port, destid,
1624 rio_mport_read_config_32(port, destid,
1636 * @destid: Destination ID for device/switch
1641 int rio_unlock_device(struct rio_mport *port, u16 destid, u8 hopcount)
1646 rio_mport_write_config_32(port, destid,
1650 rio_mport_read_config_32(port, destid, hopcount,
1654 destid, hopcount);
1686 rc = rio_lock_device(rdev->net->hport, rdev->destid,
1695 rc = rio_std_route_add_entry(rdev->net->hport, rdev->destid,
1699 rc = ops->add_entry(rdev->net->hport, rdev->destid,
1708 rio_unlock_device(rdev->net->hport, rdev->destid,
1739 rc = rio_lock_device(rdev->net->hport, rdev->destid,
1748 rc = rio_std_route_get_entry(rdev->net->hport, rdev->destid,
1752 rc = ops->get_entry(rdev->net->hport, rdev->destid,
1761 rio_unlock_device(rdev->net->hport, rdev->destid,
1787 rc = rio_lock_device(rdev->net->hport, rdev->destid,
1796 rc = rio_std_route_clr_table(rdev->net->hport, rdev->destid,
1799 rc = ops->clr_table(rdev->net->hport, rdev->destid,
1808 rio_unlock_device(rdev->net->hport, rdev->destid,
1869 * @destid: target RapidIO device destination ID
1882 u16 destid, struct rio_dma_data *data,
1892 rio_ext.destid = destid;
1922 return rio_dma_prep_xfer(dchan, rdev->destid, data, direction, flags);