Searched refs:mport_id (Results 1 – 8 of 8) sorted by relevance
| /linux-6.15/drivers/rapidio/ |
| H A D | rio.h | 43 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);
|
| H A D | rio.c | 1877 if (port->id == mport_id) in rio_find_mport() 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() 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() 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() [all …]
|
| H A D | rio_cm.c | 1230 static int riocm_ch_bind(u16 ch_id, u8 mport_id, void *context) in riocm_ch_bind() argument 1236 riocm_debug(CHOP, "ch_%d to mport_%d", ch_id, mport_id); in riocm_ch_bind() 1241 if ((cm->mport->id == mport_id) && in riocm_ch_bind() 1534 u32 mport_id; in cm_ep_get_list_size() local 1538 if (get_user(mport_id, p)) in cm_ep_get_list_size() 1540 if (mport_id >= RIO_MAX_MPORTS) in cm_ep_get_list_size() 1546 if (cm->mport->id == mport_id) { in cm_ep_get_list_size() 1722 if (chan.mport_id >= RIO_MAX_MPORTS) in cm_chan_bind() 1725 return riocm_ch_bind(chan.id, chan.mport_id, NULL); in cm_chan_bind() 1789 if (chan.mport_id >= RIO_MAX_MPORTS) in cm_chan_connect() [all …]
|
| /linux-6.15/drivers/net/ethernet/sfc/ |
| H A D | mae.h | 26 void efx_mae_mport_mport(struct efx_nic *efx, u32 mport_id, u32 *out); 31 u32 mport_id; member 50 struct mae_mport_desc *efx_mae_get_mport(struct efx_nic *efx, u32 mport_id);
|
| H A D | efx_devlink.c | 46 mport_desc->mport_id); in efx_devlink_port_addr_get() 65 mport_desc->mport_id); in efx_devlink_port_addr_get() 73 mport_desc->mport_id); in efx_devlink_port_addr_get() 95 mport_desc->mport_id); in efx_devlink_port_addr_set() 108 mport_desc->mport_id); in efx_devlink_port_addr_set() 123 mport_desc->mport_id); in efx_devlink_port_addr_set() 163 mport->dl_port.index = mport->mport_id; in efx_devlink_add_port() 166 mport->mport_id, in efx_devlink_add_port()
|
| H A D | mae.c | 80 void efx_mae_mport_mport(struct efx_nic *efx __always_unused, u32 mport_id, u32 *out) in efx_mae_mport_mport() argument 86 MAE_MPORT_SELECTOR_MPORT_ID, mport_id); in efx_mae_mport_mport() 1039 *id = m->mport_id; in efx_mae_lookup_mport() 1057 .key_offset = offsetof(struct mae_mport_desc, mport_id), 1061 struct mae_mport_desc *efx_mae_get_mport(struct efx_nic *efx, u32 mport_id) in efx_mae_get_mport() argument 1063 return rhashtable_lookup_fast(&efx->mae->mports_ht, &mport_id, in efx_mae_get_mport() 1077 desc->mport_id, rc); in efx_mae_add_mport() 1099 mport = efx_mae_get_mport(efx, desc->mport_id); in efx_mae_process_mport() 1102 "mport with id %u does exist!!!\n", desc->mport_id); in efx_mae_process_mport() 1107 desc->mport_id == nic_data->own_mport) { in efx_mae_process_mport() [all …]
|
| /linux-6.15/include/uapi/linux/ |
| H A D | rio_cm_cdev.h | 48 __u8 mport_id; member
|
| /linux-6.15/include/linux/ |
| H A D | rio.h | 542 int mport_id; member
|