Home
last modified time | relevance | path

Searched refs:mport_id (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/rapidio/
Drio.h47 extern int rio_register_scan(int mport_id, struct rio_scan *scan_ops);
48 extern int rio_unregister_scan(int mport_id, struct rio_scan *scan_ops);
50 extern struct rio_mport *rio_find_mport(int mport_id);
51 extern int rio_mport_scan(int mport_id);
Drio.c1940 struct rio_mport *rio_find_mport(int mport_id) in rio_find_mport() argument
1946 if (port->id == mport_id) in rio_find_mport()
1969 int rio_register_scan(int mport_id, struct rio_scan *scan_ops) in rio_register_scan() argument
1975 pr_debug("RIO: %s for mport_id=%d\n", __func__, mport_id); in rio_register_scan()
1977 if ((mport_id != RIO_MPORT_ANY && mport_id >= RIO_MAX_MPORTS) || in rio_register_scan()
1989 if (scan->mport_id == mport_id) { in rio_register_scan()
2004 scan->mport_id = mport_id; in rio_register_scan()
2017 if (port->id == mport_id) { in rio_register_scan()
2020 } else if (mport_id == RIO_MPORT_ANY && !port->nscan) in rio_register_scan()
2044 int rio_unregister_scan(int mport_id, struct rio_scan *scan_ops) in rio_unregister_scan() argument
[all …]
Drio_cm.c1235 static int riocm_ch_bind(u16 ch_id, u8 mport_id, void *context) in riocm_ch_bind() argument
1241 riocm_debug(CHOP, "ch_%d to mport_%d", ch_id, mport_id); in riocm_ch_bind()
1246 if ((cm->mport->id == mport_id) && in riocm_ch_bind()
1539 u32 mport_id; in cm_ep_get_list_size() local
1543 if (get_user(mport_id, p)) in cm_ep_get_list_size()
1545 if (mport_id >= RIO_MAX_MPORTS) in cm_ep_get_list_size()
1551 if (cm->mport->id == mport_id) { in cm_ep_get_list_size()
1727 if (chan.mport_id >= RIO_MAX_MPORTS) in cm_chan_bind()
1730 return riocm_ch_bind(chan.id, chan.mport_id, NULL); in cm_chan_bind()
1794 if (chan.mport_id >= RIO_MAX_MPORTS) in cm_chan_connect()
[all …]
/Linux-v4.19/include/uapi/linux/
Drio_cm_cdev.h48 __u8 mport_id; member
/Linux-v4.19/include/linux/
Drio.h546 int mport_id; member