Lines Matching refs:mport_id
1871 struct rio_mport *rio_find_mport(int mport_id) in rio_find_mport() argument
1877 if (port->id == mport_id) in rio_find_mport()
1900 int rio_register_scan(int mport_id, struct rio_scan *scan_ops) in rio_register_scan() argument
1906 pr_debug("RIO: %s for mport_id=%d\n", __func__, mport_id); in rio_register_scan()
1908 if ((mport_id != RIO_MPORT_ANY && mport_id >= RIO_MAX_MPORTS) || in rio_register_scan()
1920 if (scan->mport_id == mport_id) { in rio_register_scan()
1935 scan->mport_id = mport_id; in rio_register_scan()
1948 if (port->id == mport_id) { in rio_register_scan()
1951 } else if (mport_id == RIO_MPORT_ANY && !port->nscan) in rio_register_scan()
1975 int rio_unregister_scan(int mport_id, struct rio_scan *scan_ops) in rio_unregister_scan() argument
1980 pr_debug("RIO: %s for mport_id=%d\n", __func__, mport_id); in rio_unregister_scan()
1982 if (mport_id != RIO_MPORT_ANY && mport_id >= RIO_MAX_MPORTS) in rio_unregister_scan()
1988 if (port->id == mport_id || in rio_unregister_scan()
1989 (mport_id == RIO_MPORT_ANY && port->nscan == scan_ops)) in rio_unregister_scan()
1993 if (scan->mport_id == mport_id) { in rio_unregister_scan()
2010 int rio_mport_scan(int mport_id) in rio_mport_scan() argument
2017 if (port->id == mport_id) in rio_mport_scan()
2173 if (port->id == scan->mport_id || in rio_register_mport()
2174 scan->mport_id == RIO_MPORT_ANY) { in rio_register_mport()
2176 if (port->id == scan->mport_id) in rio_register_mport()