Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/rapidio/
Drio.h43 extern int rio_register_scan(int mport_id, struct rio_scan *scan_ops);
44 extern int rio_unregister_scan(int mport_id, struct rio_scan *scan_ops);
46 extern struct rio_mport *rio_find_mport(int mport_id);
47 extern int rio_mport_scan(int mport_id);
Drio.c1871 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
[all …]
Drio_cm.c1228 static int riocm_ch_bind(u16 ch_id, u8 mport_id, void *context) in riocm_ch_bind() argument
1234 riocm_debug(CHOP, "ch_%d to mport_%d", ch_id, mport_id); in riocm_ch_bind()
1239 if ((cm->mport->id == mport_id) && in riocm_ch_bind()
1532 u32 mport_id; in cm_ep_get_list_size() local
1536 if (get_user(mport_id, p)) in cm_ep_get_list_size()
1538 if (mport_id >= RIO_MAX_MPORTS) in cm_ep_get_list_size()
1544 if (cm->mport->id == mport_id) { in cm_ep_get_list_size()
1720 if (chan.mport_id >= RIO_MAX_MPORTS) in cm_chan_bind()
1723 return riocm_ch_bind(chan.id, chan.mport_id, NULL); in cm_chan_bind()
1787 if (chan.mport_id >= RIO_MAX_MPORTS) in cm_chan_connect()
[all …]
/linux-6.1.9/include/uapi/linux/
Drio_cm_cdev.h48 __u8 mport_id; member
/linux-6.1.9/drivers/net/ethernet/sfc/
Dmae.h26 void efx_mae_mport_mport(struct efx_nic *efx, u32 mport_id, u32 *out);
Dmae.c86 void efx_mae_mport_mport(struct efx_nic *efx __always_unused, u32 mport_id, u32 *out) in efx_mae_mport_mport() argument
92 MAE_MPORT_SELECTOR_MPORT_ID, mport_id); in efx_mae_mport_mport()
/linux-6.1.9/include/linux/
Drio.h542 int mport_id; member