Lines Matching refs:mport_id
1930 * @mport_id: number (ID) of mport device
1936 struct rio_mport *rio_find_mport(int mport_id)
1942 if (port->id == mport_id)
1954 * @mport_id: mport device ID for which fabric scan routine has to be set
1965 int rio_register_scan(int mport_id, struct rio_scan *scan_ops)
1971 pr_debug("RIO: %s for mport_id=%d\n", __func__, mport_id);
1973 if ((mport_id != RIO_MPORT_ANY && mport_id >= RIO_MAX_MPORTS) ||
1985 if (scan->mport_id == mport_id) {
2000 scan->mport_id = mport_id;
2013 if (port->id == mport_id) {
2016 } else if (mport_id == RIO_MPORT_ANY && !port->nscan)
2031 * @mport_id: mport device ID for which fabric scan routine has to be
2040 int rio_unregister_scan(int mport_id, struct rio_scan *scan_ops)
2045 pr_debug("RIO: %s for mport_id=%d\n", __func__, mport_id);
2047 if (mport_id != RIO_MPORT_ANY && mport_id >= RIO_MAX_MPORTS)
2053 if (port->id == mport_id ||
2054 (mport_id == RIO_MPORT_ANY && port->nscan == scan_ops))
2058 if (scan->mport_id == mport_id) {
2073 * @mport_id: number (ID) of mport device
2075 int rio_mport_scan(int mport_id)
2082 if (port->id == mport_id)
2254 if (port->id == scan->mport_id ||
2255 scan->mport_id == RIO_MPORT_ANY) {
2257 if (port->id == scan->mport_id)