Home
last modified time | relevance | path

Searched refs:hmc_fn_id (Results 1 - 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
H A Di40iw_hmc.h81 * @hmc_fn_id: VF's function id
83 #define I40IW_INVALIDATE_VF_HMC_PD(hw, sd_idx, pd_idx, hmc_fn_id) \
84 i40iw_wr32(hw, I40E_GLHMC_VFPDINV(hmc_fn_id - I40IW_FIRST_VF_FPM_ID), \
142 u8 hmc_fn_id; member
158 u8 hmc_fn_id; member
219 enum i40iw_status_code i40iw_hmc_sd_one(struct i40iw_sc_dev *dev, u8 hmc_fn_id,
224 struct i40iw_vfdev *i40iw_vfdev_from_fpm(struct i40iw_sc_dev *dev, u8 hmc_fn_id);
226 u8 hmc_fn_id);
H A Di40iw_hmc.c143 * @hmc_fn_id: hmc's function id
150 u8 hmc_fn_id, in i40iw_hmc_sd_one()
158 sdinfo.hmc_fn_id = hmc_fn_id; in i40iw_hmc_sd_one()
188 sdinfo.hmc_fn_id = hmc_info->hmc_fn_id; in i40iw_hmc_sd_grp()
226 * @hmc_fn_id: hmc's function id
228 struct i40iw_vfdev *i40iw_vfdev_from_fpm(struct i40iw_sc_dev *dev, u8 hmc_fn_id) in i40iw_vfdev_from_fpm() argument
235 ((u8)dev->vf_dev[idx]->pmf_index == hmc_fn_id)) { in i40iw_vfdev_from_fpm()
246 * @hmc_fn_id
149 i40iw_hmc_sd_one(struct i40iw_sc_dev *dev, u8 hmc_fn_id, u64 pa, u32 sd_idx, enum i40iw_sd_entry_type type, bool setsd) i40iw_hmc_sd_one() argument
248 i40iw_vf_hmcinfo_from_fpm(struct i40iw_sc_dev *dev, u8 hmc_fn_id) i40iw_vf_hmcinfo_from_fpm() argument
[all...]
H A Di40iw_ctrl.c231 if (hmc_info->hmc_fn_id >= I40IW_FIRST_VF_FPM_ID) in i40iw_sc_parse_fpm_query_buf()
975 * @hmc_fn_id: hmc function id
983 u8 hmc_fn_id, in i40iw_sc_commit_fpm_values()
997 set_64bit_val(wqe, 16, hmc_fn_id); in i40iw_sc_commit_fpm_values()
1126 * @hmc_fn_id: hmc function id
1134 u8 hmc_fn_id, in i40iw_sc_query_fpm_values()
1148 set_64bit_val(wqe, 16, hmc_fn_id); in i40iw_sc_query_fpm_values()
3556 * @hmc_fn_id: hmc function id
3558 enum i40iw_status_code i40iw_sc_init_iw_hmc(struct i40iw_sc_dev *dev, u8 hmc_fn_id) in i40iw_sc_init_iw_hmc() argument
3570 if (hmc_fn_id > in i40iw_sc_init_iw_hmc()
980 i40iw_sc_commit_fpm_values( struct i40iw_sc_cqp *cqp, u64 scratch, u8 hmc_fn_id, struct i40iw_dma_mem *commit_fpm_mem, bool post_sq, u8 wait_type) i40iw_sc_commit_fpm_values() argument
1131 i40iw_sc_query_fpm_values( struct i40iw_sc_cqp *cqp, u64 scratch, u8 hmc_fn_id, struct i40iw_dma_mem *query_fpm_mem, bool post_sq, u8 wait_type) i40iw_sc_query_fpm_values() argument
3662 i40iw_sc_configure_iw_fpm(struct i40iw_sc_dev *dev, u8 hmc_fn_id) i40iw_sc_configure_iw_fpm() argument
3910 i40iw_sc_static_hmc_pages_allocated( struct i40iw_sc_cqp *cqp, u64 scratch, u8 hmc_fn_id, bool post_sq, bool poll_registers) i40iw_sc_static_hmc_pages_allocated() argument
[all...]
H A Di40iw_p.h66 u8 hmc_fn_id);
103 u64 scratch, u8 hmc_fn_id,
H A Di40iw_osdep.h190 u8 hmc_fn_id);
193 u8 hmc_fn_id);
H A Di40iw_utils.c1053 * @hmc_fn_id: function id for fpm
1057 u8 hmc_fn_id) in i40iw_cqp_query_fpm_values_cmd()
1072 cqp_info->in.u.query_fpm_values.hmc_fn_id = hmc_fn_id; in i40iw_cqp_query_fpm_values_cmd()
1086 * @hmc_fn_id: function id for fpm
1090 u8 hmc_fn_id) in i40iw_cqp_commit_fpm_values_cmd()
1105 cqp_info->in.u.commit_fpm_values.hmc_fn_id = hmc_fn_id; in i40iw_cqp_commit_fpm_values_cmd()
1055 i40iw_cqp_query_fpm_values_cmd(struct i40iw_sc_dev *dev, struct i40iw_dma_mem *values_mem, u8 hmc_fn_id) i40iw_cqp_query_fpm_values_cmd() argument
1088 i40iw_cqp_commit_fpm_values_cmd(struct i40iw_sc_dev *dev, struct i40iw_dma_mem *values_mem, u8 hmc_fn_id) i40iw_cqp_commit_fpm_values_cmd() argument
H A Di40iw_type.h512 u8 hmc_fn_id; member
602 u8 hmc_fn_id; member
1317 u8 hmc_fn_id; member
1325 u8 hmc_fn_id; member
H A Di40iw_pble.c398 ret_code = i40iw_hmc_sd_one(dev, hmc_info->hmc_fn_id, in add_pble_pool()
H A Di40iw_main.c496 dev->hmc_fn_id, in i40iw_create_hmc_objs()
1339 info.hmc_fn_id = ldev->fid; in i40iw_initialize_dev()
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/
H A Dhmc.h98 u8 hmc_fn_id; member
113 u8 hmc_fn_id; member
150 int irdma_hmc_sd_one(struct irdma_sc_dev *dev, u8 hmc_fn_id, u64 pa, u32 sd_idx,
156 u8 hmc_fn_id);
158 u8 hmc_fn_id);
H A Dprotos.h24 int irdma_sc_init_iw_hmc(struct irdma_sc_dev *dev, u8 hmc_fn_id);
78 u8 hmc_fn_id, bool post_sq,
89 struct irdma_dma_mem *val_mem, u8 hmc_fn_id);
91 struct irdma_dma_mem *val_mem, u8 hmc_fn_id);
H A Dosdep.h63 struct irdma_dma_mem *val_mem, u8 hmc_fn_id);
65 struct irdma_dma_mem *val_mem, u8 hmc_fn_id);
H A Dhmc.c117 * @hmc_fn_id: hmc's function id
123 int irdma_hmc_sd_one(struct irdma_sc_dev *dev, u8 hmc_fn_id, u64 pa, u32 sd_idx, in irdma_hmc_sd_one() argument
129 sdinfo.hmc_fn_id = hmc_fn_id; in irdma_hmc_sd_one()
155 sdinfo.hmc_fn_id = hmc_info->hmc_fn_id; in irdma_hmc_sd_grp()
H A Dtype.h491 u8 hmc_fn_id; member
613 u8 hmc_fn_id; member
734 u8 hmc_fn_id; member
1225 u8 hmc_fn_id, bool post_sq,
1375 u8 hmc_fn_id; member
1383 u8 hmc_fn_id; member
H A Dutils.c978 * @hmc_fn_id: function id for fpm
981 struct irdma_dma_mem *val_mem, u8 hmc_fn_id) in irdma_cqp_query_fpm_val_cmd()
997 cqp_info->in.u.query_fpm_val.hmc_fn_id = hmc_fn_id; in irdma_cqp_query_fpm_val_cmd()
1012 * @hmc_fn_id: function id for fpm
1015 struct irdma_dma_mem *val_mem, u8 hmc_fn_id) in irdma_cqp_commit_fpm_val_cmd()
1031 cqp_info->in.u.commit_fpm_val.hmc_fn_id = hmc_fn_id; in irdma_cqp_commit_fpm_val_cmd()
1723 pestat->hw->hmc.hmc_fn_id; in irdma_cqp_gather_stats_gen1()
980 irdma_cqp_query_fpm_val_cmd(struct irdma_sc_dev *dev, struct irdma_dma_mem *val_mem, u8 hmc_fn_id) irdma_cqp_query_fpm_val_cmd() argument
1014 irdma_cqp_commit_fpm_val_cmd(struct irdma_sc_dev *dev, struct irdma_dma_mem *val_mem, u8 hmc_fn_id) irdma_cqp_commit_fpm_val_cmd() argument
H A Dctrl.c2106 FIELD_PREP(IRDMA_CQPSQ_STATS_HMC_FCN_INDEX, info->hmc_fn_id)); in irdma_sc_manage_stats_inst()
3508 * @hmc_fn_id: hmc function id
3514 u8 hmc_fn_id, in irdma_sc_commit_fpm_val()
3527 set_64bit_val(wqe, 16, hmc_fn_id); in irdma_sc_commit_fpm_val()
3569 * @hmc_fn_id: hmc function id
3575 u8 hmc_fn_id, in irdma_sc_query_fpm_val()
3588 set_64bit_val(wqe, 16, hmc_fn_id); in irdma_sc_query_fpm_val()
4306 * @hmc_fn_id: hmc function id
4308 int irdma_sc_init_iw_hmc(struct irdma_sc_dev *dev, u8 hmc_fn_id) in irdma_sc_init_iw_hmc() argument
4320 hmc_info->hmc_fn_id in irdma_sc_init_iw_hmc()
3513 irdma_sc_commit_fpm_val(struct irdma_sc_cqp *cqp, u64 scratch, u8 hmc_fn_id, struct irdma_dma_mem *commit_fpm_mem, bool post_sq, u8 wait_type) irdma_sc_commit_fpm_val() argument
3574 irdma_sc_query_fpm_val(struct irdma_sc_cqp *cqp, u64 scratch, u8 hmc_fn_id, struct irdma_dma_mem *query_fpm_mem, bool post_sq, u8 wait_type) irdma_sc_query_fpm_val() argument
4344 irdma_sc_cfg_iw_fpm(struct irdma_sc_dev *dev, u8 hmc_fn_id) irdma_sc_cfg_iw_fpm() argument
4536 irdma_sc_static_hmc_pages_allocated(struct irdma_sc_cqp *cqp, u64 scratch, u8 hmc_fn_id, bool post_sq, bool poll_registers) irdma_sc_static_hmc_pages_allocated() argument
[all...]
H A Dpble.c284 ret_code = irdma_hmc_sd_one(dev, hmc_info->hmc_fn_id, sd_reg_val, in add_pble_prm()
H A Dhw.c870 return irdma_sc_static_hmc_pages_allocated(dev->cqp, 0, dev->hmc_fn_id, in irdma_create_hmc_objs()
1639 info.hmc_fn_id = rf->pf_id; in irdma_initialize_dev()
1821 stats_info.fcn_id = dev->hmc_fn_id; in irdma_rt_init_hw()
H A Dverbs.c4119 mc_qht_elem->mc_grp_ctx.hmc_fcn_id = iwdev->rf->sc_dev.hmc_fn_id; in irdma_attach_mcast()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
H A Di40e_lan_hmc.c87 hw->hmc.hmc_fn_id = hw->pf_id; in i40e_init_lan_hmc()
443 u8 hmc_fn_id = hw->hmc.hmc_fn_id; in i40e_configure_lan_hmc() local
487 wr32(hw, I40E_GLHMC_LANTXBASE(hmc_fn_id), in i40e_configure_lan_hmc()
489 wr32(hw, I40E_GLHMC_LANTXCNT(hmc_fn_id), obj->cnt); in i40e_configure_lan_hmc()
493 wr32(hw, I40E_GLHMC_LANRXBASE(hmc_fn_id), in i40e_configure_lan_hmc()
495 wr32(hw, I40E_GLHMC_LANRXCNT(hmc_fn_id), obj->cnt); in i40e_configure_lan_hmc()
499 wr32(hw, I40E_GLHMC_FCOEDDPBASE(hmc_fn_id), in i40e_configure_lan_hmc()
501 wr32(hw, I40E_GLHMC_FCOEDDPCNT(hmc_fn_id), obj->cnt); in i40e_configure_lan_hmc()
505 wr32(hw, I40E_GLHMC_FCOEFBASE(hmc_fn_id), in i40e_configure_lan_hmc()
[all...]
H A Di40e_hmc.h74 u8 hmc_fn_id; member
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_lan_hmc.c87 hw->hmc.hmc_fn_id = hw->pf_id; in i40e_init_lan_hmc()
442 u8 hmc_fn_id = hw->hmc.hmc_fn_id; in i40e_configure_lan_hmc() local
487 wr32(hw, I40E_GLHMC_LANTXBASE(hmc_fn_id), in i40e_configure_lan_hmc()
489 wr32(hw, I40E_GLHMC_LANTXCNT(hmc_fn_id), obj->cnt); in i40e_configure_lan_hmc()
493 wr32(hw, I40E_GLHMC_LANRXBASE(hmc_fn_id), in i40e_configure_lan_hmc()
495 wr32(hw, I40E_GLHMC_LANRXCNT(hmc_fn_id), obj->cnt); in i40e_configure_lan_hmc()
499 wr32(hw, I40E_GLHMC_FCOEDDPBASE(hmc_fn_id), in i40e_configure_lan_hmc()
501 wr32(hw, I40E_GLHMC_FCOEDDPCNT(hmc_fn_id), obj->cnt); in i40e_configure_lan_hmc()
505 wr32(hw, I40E_GLHMC_FCOEFBASE(hmc_fn_id), in i40e_configure_lan_hmc()
[all...]
H A Di40e_hmc.h74 u8 hmc_fn_id; member

Completed in 42 milliseconds