Lines Matching defs:mport_id
1865 * @mport_id: number (ID) of mport device
1871 struct rio_mport *rio_find_mport(int mport_id)
1877 if (port->id == mport_id)
1889 * @mport_id: mport device ID for which fabric scan routine has to be set
1900 int rio_register_scan(int mport_id, struct rio_scan *scan_ops)
1906 pr_debug("RIO: %s for mport_id=%d\n", __func__, mport_id);
1908 if ((mport_id != RIO_MPORT_ANY && mport_id >= RIO_MAX_MPORTS) ||
1920 if (scan->mport_id == mport_id) {
1935 scan->mport_id = mport_id;
1948 if (port->id == mport_id) {
1951 } else if (mport_id == RIO_MPORT_ANY && !port->nscan)
1966 * @mport_id: mport device ID for which fabric scan routine has to be
1975 int rio_unregister_scan(int mport_id, struct rio_scan *scan_ops)
1980 pr_debug("RIO: %s for mport_id=%d\n", __func__, mport_id);
1982 if (mport_id != RIO_MPORT_ANY && mport_id >= RIO_MAX_MPORTS)
1988 if (port->id == mport_id ||
1989 (mport_id == RIO_MPORT_ANY && port->nscan == scan_ops))
1993 if (scan->mport_id == mport_id) {
2008 * @mport_id: number (ID) of mport device
2010 int rio_mport_scan(int mport_id)
2017 if (port->id == mport_id)
2173 if (port->id == scan->mport_id ||
2174 scan->mport_id == RIO_MPORT_ANY) {
2176 if (port->id == scan->mport_id)