Home
last modified time | relevance | path

Searched refs:obj_id (Results 1 – 25 of 48) sorted by relevance

12

/linux-6.1.9/drivers/infiniband/hw/mlx5/
Ddevx.c210 opcode = (obj->obj_id >> 32) & 0xffff; in get_dec_obj_type()
217 return (obj->obj_id >> 48); in get_dec_obj_type()
276 static u32 get_dec_obj_id(u64 obj_id) in get_dec_obj_id() argument
278 return (obj_id & 0xffffffff); in get_dec_obj_id()
286 static u64 get_enc_obj_id(u32 opcode, u32 obj_id) in get_enc_obj_id() argument
288 return ((u64)opcode << 32) | obj_id; in get_enc_obj_id()
295 return MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in devx_get_created_obj_id()
368 u64 obj_id; in devx_get_obj_id() local
373 obj_id = get_enc_obj_id(MLX5_CMD_OP_CREATE_GENERAL_OBJECT | in devx_get_obj_id()
377 obj_id)); in devx_get_obj_id()
[all …]
Ddevx.h14 u64 obj_id; member
Ddm.h39 u32 obj_id; member
Ddm.c400 &dm->base.dev_addr, &dm->obj_id); in handle_alloc_dm_sw_icm()
409 dm->base.dev_addr, dm->obj_id); in handle_alloc_dm_sw_icm()
474 dm->base.dev_addr, dm->obj_id); in mlx5_dm_icm_dealloc()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dgeneve.c12 u32 obj_id; member
26 u16 obj_id; in mlx5_geneve_tlv_option_create() local
47 obj_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5_geneve_tlv_option_create()
48 return obj_id; in mlx5_geneve_tlv_option_create()
51 static void mlx5_geneve_tlv_option_destroy(struct mlx5_core_dev *mdev, u16 obj_id) in mlx5_geneve_tlv_option_destroy() argument
58 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, obj_id); in mlx5_geneve_tlv_option_destroy()
106 geneve->obj_id = res; in mlx5_geneve_tlv_option_add()
125 mlx5_geneve_tlv_option_destroy(geneve->mdev, geneve->obj_id); in mlx5_geneve_tlv_option_del()
129 geneve->obj_id = 0; in mlx5_geneve_tlv_option_del()
154 mlx5_geneve_tlv_option_destroy(geneve->mdev, geneve->obj_id); in mlx5_geneve_destroy()
Ddm.c121 phys_addr_t *addr, u32 *obj_id) in mlx5_dm_sw_icm_alloc() argument
210 *obj_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5_dm_sw_icm_alloc()
217 u64 length, u16 uid, phys_addr_t addr, u32 obj_id) in mlx5_dm_sw_icm_dealloc() argument
252 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, obj_id); in mlx5_dm_sw_icm_dealloc()
Dcrypto.c53 *p_key_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5_create_encryption_key()
70 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, key_id); in mlx5_destroy_encryption_key()
Daso.h83 u32 obj_id, u32 opc_mode);
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dsample.c56 u32 obj_id; member
142 sampler->sampler_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in sampler_obj_create()
155 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, sampler_id); in sampler_obj_destroy()
233 sample_modify_hdr_get(struct mlx5_core_dev *mdev, u32 obj_id, in sample_modify_hdr_get() argument
240 CHAIN_TO_REG, obj_id); in sample_modify_hdr_get()
262 sample_restore_get(struct mlx5e_tc_psample *tc_psample, u32 obj_id, in sample_restore_get() argument
272 hash_for_each_possible(tc_psample->restore_hashtbl, restore, hlist, obj_id) in sample_restore_get()
273 if (restore->obj_id == obj_id) in sample_restore_get()
281 restore->obj_id = obj_id; in sample_restore_get()
283 modify_hdr = sample_modify_hdr_get(mdev, obj_id, mod_acts); in sample_restore_get()
[all …]
Dmeter.c161 mlx5_aso_build_wqe(aso, ds_cnt, aso_wqe, meter->obj_id, in mlx5e_tc_meter_modify()
203 mlx5e_flow_meter_create_aso_obj(struct mlx5e_flow_meters *flow_meters, int *obj_id) in mlx5e_flow_meter_create_aso_obj() argument
221 *obj_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5e_flow_meter_create_aso_obj()
222 mlx5_core_dbg(mdev, "flow meter aso obj(0x%x) created\n", *obj_id); in mlx5e_flow_meter_create_aso_obj()
229 mlx5e_flow_meter_destroy_aso_obj(struct mlx5_core_dev *mdev, u32 obj_id) in mlx5e_flow_meter_destroy_aso_obj() argument
237 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, obj_id); in mlx5e_flow_meter_destroy_aso_obj()
240 mlx5_core_dbg(mdev, "flow meter aso obj(0x%x) destroyed\n", obj_id); in mlx5e_flow_meter_destroy_aso_obj()
305 meter->obj_id = meters_obj->base_id + pos / 2; in __mlx5e_flow_meter_alloc()
309 meter->obj_id, meter->idx); in __mlx5e_flow_meter_alloc()
336 pos = (meter->obj_id - meters_obj->base_id) * 2 + meter->idx; in __mlx5e_flow_meter_free()
[all …]
Dmeter.h28 u32 obj_id; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dmacsec.c27 u32 obj_id; member
42 u32 obj_id; member
55 u32 obj_id; member
313 *macsec_obj_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5e_macsec_create_object()
325 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, macsec_obj_id); in mlx5e_macsec_destroy_object()
1338 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, macsec_id); in mlx5e_macsec_modify_obj()
1399 mlx5_aso_build_wqe(maso, MLX5_MACSEC_ASO_DS_CNT, aso_wqe, in->obj_id, in macsec_aso_set_arm_event()
1423 mlx5_aso_build_wqe(maso, MLX5_MACSEC_ASO_DS_CNT, aso_wqe, in->obj_id, in macsec_aso_query()
1443 const u32 obj_id) in get_macsec_tx_sa_from_obj_id() argument
1457 if (macsec_sa->macsec_obj_id == obj_id) in get_macsec_tx_sa_from_obj_id()
[all …]
Dipsec_offload.c87 MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5_create_ipsec_obj()
102 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, sa_entry->ipsec_obj_id); in mlx5_destroy_ipsec_obj()
165 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, sa_entry->ipsec_obj_id); in mlx5_modify_ipsec_obj()
/linux-6.1.9/drivers/bus/fsl-mc/
Dobj-api.c46 int obj_id, in fsl_mc_obj_open() argument
61 cmd_params->obj_id = cpu_to_le32(obj_id); in fsl_mc_obj_open()
Ddprc.c477 int obj_id, in dprc_set_obj_irq() argument
493 cmd_params->obj_id = cpu_to_le32(obj_id); in dprc_set_obj_irq()
518 int obj_id, in dprc_get_obj_region() argument
565 cmd_params->obj_id = cpu_to_le32(obj_id); in dprc_get_obj_region()
Dfsl-mc-private.h202 __le32 obj_id; member
238 __le32 obj_id; member
368 int obj_id,
404 int obj_id,
556 __le32 obj_id; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/bios/
Dbios_parser2.c208 struct graphics_object_id obj_id = { 0 }; in bios_parser_get_src_obj() local
227 obj_id = object_id_from_bios_object_id( in bios_parser_get_src_obj()
229 if (object_id.type == obj_id.type && in bios_parser_get_src_obj()
230 object_id.id == obj_id.id && in bios_parser_get_src_obj()
231 object_id.enum_id == obj_id.enum_id) { in bios_parser_get_src_obj()
243 obj_id = object_id_from_bios_object_id( in bios_parser_get_src_obj()
245 if (object_id.type == obj_id.type && in bios_parser_get_src_obj()
246 object_id.id == obj_id.id && in bios_parser_get_src_obj()
247 object_id.enum_id == obj_id.enum_id) { in bios_parser_get_src_obj()
263 obj_id = object_id_from_bios_object_id( in bios_parser_get_src_obj()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_icm_pool.c19 u32 obj_id; member
120 &icm_mr->dm.obj_id); in dr_icm_pool_mr_create()
151 icm_mr->dm.addr, icm_mr->dm.obj_id); in dr_icm_pool_mr_create()
164 dm->addr, dm->obj_id); in dr_icm_pool_mr_destroy()
Dmlx5dr.h137 u32 obj_id,
/linux-6.1.9/include/linux/
Dbpf_verifier.h613 static inline void bpf_trampoline_unpack_key(u64 key, u32 *obj_id, u32 *btf_id) in bpf_trampoline_unpack_key() argument
615 if (obj_id) in bpf_trampoline_unpack_key()
616 *obj_id = key >> 32; in bpf_trampoline_unpack_key()
/linux-6.1.9/drivers/net/can/
Dpch_can.c581 static void pch_fifo_thresh(struct pch_can_priv *priv, int obj_id) in pch_fifo_thresh() argument
583 if (obj_id < PCH_FIFO_THRESH) { in pch_fifo_thresh()
593 pch_can_rw_msg_obj(&priv->regs->ifregs[0].creq, obj_id); in pch_fifo_thresh()
594 } else if (obj_id > PCH_FIFO_THRESH) { in pch_fifo_thresh()
595 pch_can_int_clr(priv, obj_id); in pch_fifo_thresh()
596 } else if (obj_id == PCH_FIFO_THRESH) { in pch_fifo_thresh()
603 static void pch_can_rx_msg_lost(struct net_device *ndev, int obj_id) in pch_can_rx_msg_lost() argument
615 pch_can_rw_msg_obj(&priv->regs->ifregs[0].creq, obj_id); in pch_can_rx_msg_lost()
/linux-6.1.9/arch/x86/platform/uv/
Dbios_uv.c210 extern s64 uv_bios_enum_ports(u64 nasid, u64 obj_id, u64 size, u64 *portbuf) in uv_bios_enum_ports() argument
213 obj_id, size, (u64)portbuf); in uv_bios_enum_ports()
/linux-6.1.9/block/partitions/
Dldm.h167 u64 obj_id; member
/linux-6.1.9/include/uapi/drm/
Ddrm_mode.h635 __u32 obj_id; member
642 __u32 obj_id; member
/linux-6.1.9/arch/x86/include/asm/uv/
Dbios.h190 extern s64 uv_bios_enum_ports(u64 nasid, u64 obj_id, u64 sz, u64 *portbuf);

12