Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/sfc/
H A Defx_devlink.c46 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 Dmae.h26 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 Dmae.c80 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()
1037 *id = m->mport_id; in efx_mae_lookup_mport()
1055 .key_offset = offsetof(struct mae_mport_desc, mport_id),
1059 struct mae_mport_desc *efx_mae_get_mport(struct efx_nic *efx, u32 mport_id) in efx_mae_get_mport() argument
1061 return rhashtable_lookup_fast(&efx->mae->mports_ht, &mport_id, in efx_mae_get_mport()
1075 desc->mport_id, rc); in efx_mae_add_mport()
1100 mport = efx_mae_get_mport(efx, desc->mport_id); in efx_mae_process_mport()
1103 "mport with id %u does exist!!!\n", desc->mport_id); in efx_mae_process_mport()
1109 desc->mport_id == nic_data->own_mport) { in efx_mae_process_mport()
[all …]
/linux/drivers/rapidio/
H A Drio.c1839 int rio_register_scan(int mport_id, struct rio_scan *scan_ops) in rio_register_scan() argument
1845 pr_debug("RIO: %s for mport_id=%d\n", __func__, mport_id); in rio_register_scan()
1847 if ((mport_id != RIO_MPORT_ANY && mport_id >= RIO_MAX_MPORTS) || in rio_register_scan()
1859 if (scan->mport_id == mport_id) { in rio_register_scan()
1874 scan->mport_id = mport_id; in rio_register_scan()
1887 if (port->id == mport_id) { in rio_register_scan()
1890 } else if (mport_id == RIO_MPORT_ANY && !port->nscan) in rio_register_scan()
1907 int rio_mport_scan(int mport_id) in rio_mport_scan() argument
1914 if (port->id == mport_id) in rio_mport_scan()
2070 if (port->id == scan->mport_id || in rio_register_mport()
[all …]
H A Drio.h43 extern int rio_register_scan(int mport_id, struct rio_scan *scan_ops);
45 extern int rio_mport_scan(int mport_id);
H A Drio_cm.c1227 static int riocm_ch_bind(u16 ch_id, u8 mport_id, void *context) in riocm_ch_bind() argument
1233 riocm_debug(CHOP, "ch_%d to mport_%d", ch_id, mport_id); in riocm_ch_bind()
1238 if ((cm->mport->id == mport_id) && in riocm_ch_bind()
1531 u32 mport_id; in cm_ep_get_list_size() local
1535 if (get_user(mport_id, p)) in cm_ep_get_list_size()
1537 if (mport_id >= RIO_MAX_MPORTS) in cm_ep_get_list_size()
1543 if (cm->mport->id == mport_id) { in cm_ep_get_list_size()
1719 if (chan.mport_id >= RIO_MAX_MPORTS) in cm_chan_bind()
1722 return riocm_ch_bind(chan.id, chan.mport_id, NULL); in cm_chan_bind()
1786 if (chan.mport_id >= RIO_MAX_MPORTS) in cm_chan_connect()
[all …]
/linux/include/uapi/linux/
H A Drio_cm_cdev.h48 __u8 mport_id; member
/linux/include/linux/
H A Drio.h542 int mport_id; member