/linux-6.6.21/drivers/infiniband/hw/mlx5/ |
D | devx.c | 210 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 …]
|
D | devx.h | 14 u64 obj_id; member
|
D | dm.h | 39 u32 obj_id; member
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | geneve.c | 12 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() 126 mlx5_geneve_tlv_option_destroy(geneve->mdev, geneve->obj_id); in mlx5_geneve_tlv_option_del() 130 geneve->obj_id = 0; in mlx5_geneve_tlv_option_del() 155 mlx5_geneve_tlv_option_destroy(geneve->mdev, geneve->obj_id); in mlx5_geneve_destroy()
|
D | crypto.c | 82 u32 obj_id; member 87 return dek->obj_id; in mlx5_crypto_dek_get_id() 159 u32 *obj_id) in mlx5_crypto_create_dek_bulk() argument 181 *obj_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5_crypto_create_dek_bulk() 183 1 << log_obj_range, *obj_id); in mlx5_crypto_create_dek_bulk() 190 u32 obj_id, u32 obj_offset) in mlx5_crypto_modify_dek_key() argument 201 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, obj_id); in mlx5_crypto_modify_dek_key() 253 *p_key_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5_crypto_create_dek_key() 270 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, key_id); in mlx5_crypto_destroy_dek_key() 434 obj_offset = dek->obj_id - bulk->base_obj_id; in mlx5_crypto_dek_free_locked() [all …]
|
D | dm.c | 121 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()
|
D | aso.h | 85 u32 obj_id, u32 opc_mode);
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
D | sample.c | 56 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 MAPPED_OBJ_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 …]
|
D | meter.c | 161 mlx5_aso_build_wqe(aso, ds_cnt, aso_wqe, meter->obj_id, in mlx5e_tc_meter_modify() 202 mlx5e_flow_meter_create_aso_obj(struct mlx5e_flow_meters *flow_meters, int *obj_id) in mlx5e_flow_meter_create_aso_obj() argument 222 *obj_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5e_flow_meter_create_aso_obj() 223 mlx5_core_dbg(mdev, "flow meter aso obj(0x%x) created\n", *obj_id); in mlx5e_flow_meter_create_aso_obj() 230 mlx5e_flow_meter_destroy_aso_obj(struct mlx5_core_dev *mdev, u32 obj_id) in mlx5e_flow_meter_destroy_aso_obj() argument 238 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, obj_id); in mlx5e_flow_meter_destroy_aso_obj() 241 mlx5_core_dbg(mdev, "flow meter aso obj(0x%x) destroyed\n", obj_id); in mlx5e_flow_meter_destroy_aso_obj() 308 meter->obj_id = meters_obj->base_id + pos / 2; in __mlx5e_flow_meter_alloc() 314 meter->obj_id, meter->idx); in __mlx5e_flow_meter_alloc() 344 pos = (meter->obj_id - meters_obj->base_id) * 2 + meter->idx; in __mlx5e_flow_meter_free() [all …]
|
D | meter.h | 29 u32 obj_id; member
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_arg.c | 37 u32 obj_id = 0; in dr_arg_pool_alloc_objs() local 63 &obj_id); in dr_arg_pool_alloc_objs() 81 arg_obj->obj_id = obj_id; in dr_arg_pool_alloc_objs() 89 mlx5dr_cmd_destroy_modify_header_arg(pool->dmn->mdev, obj_id); in dr_arg_pool_alloc_objs() 163 mlx5dr_cmd_destroy_modify_header_arg(pool->dmn->mdev, arg_obj->obj_id); in dr_arg_pool_destroy() 187 return (arg_obj->obj_id + arg_obj->obj_offset); in mlx5dr_arg_get_obj_id()
|
D | dr_cmd.c | 275 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, sampler_id); in mlx5dr_cmd_query_flow_sampler() 648 *definer_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5dr_cmd_create_definer() 661 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, definer_id); in mlx5dr_cmd_destroy_definer() 703 u32 *obj_id) in mlx5dr_cmd_create_modify_header_arg() argument 725 *obj_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5dr_cmd_create_modify_header_arg() 730 u32 obj_id) in mlx5dr_cmd_destroy_modify_header_arg() argument 739 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, obj_id); in mlx5dr_cmd_destroy_modify_header_arg()
|
D | dr_icm_pool.c | 39 u32 obj_id; member 151 &icm_mr->dm.obj_id); in dr_icm_pool_mr_create() 182 icm_mr->dm.addr, icm_mr->dm.obj_id); in dr_icm_pool_mr_create() 195 dm->addr, dm->obj_id); in dr_icm_pool_mr_destroy()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | macsec.c | 27 u32 obj_id; member 42 u32 obj_id; member 55 u32 obj_id; member 296 *macsec_obj_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5e_macsec_create_object() 308 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, macsec_obj_id); in mlx5e_macsec_destroy_object() 1299 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, macsec_id); in mlx5e_macsec_modify_obj() 1360 mlx5_aso_build_wqe(maso, MLX5_MACSEC_ASO_DS_CNT, aso_wqe, in->obj_id, in macsec_aso_set_arm_event() 1385 mlx5_aso_build_wqe(maso, MLX5_MACSEC_ASO_DS_CNT, aso_wqe, in->obj_id, in macsec_aso_query() 1411 const u32 obj_id) in get_macsec_tx_sa_from_obj_id() argument 1425 if (macsec_sa->macsec_obj_id == obj_id) in get_macsec_tx_sa_from_obj_id() [all …]
|
D | ipsec_offload.c | 180 MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5_create_ipsec_obj() 195 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, sa_entry->ipsec_obj_id); in mlx5_destroy_ipsec_obj() 255 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, sa_entry->ipsec_obj_id); in mlx5_modify_ipsec_obj() 495 sa_entry = xa_load(&ipsec->sadb, be32_to_cpu(object->obj_id)); in mlx5e_ipsec_event()
|
/linux-6.6.21/drivers/bus/fsl-mc/ |
D | obj-api.c | 46 int obj_id, in fsl_mc_obj_open() argument 61 cmd_params->obj_id = cpu_to_le32(obj_id); in fsl_mc_obj_open()
|
D | dprc.c | 477 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()
|
D | fsl-mc-private.h | 202 __le32 obj_id; member 238 __le32 obj_id; member 368 int obj_id, 404 int obj_id, 556 __le32 obj_id; member
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/bios/ |
D | bios_parser2.c | 207 struct graphics_object_id obj_id = { 0 }; in bios_parser_get_src_obj() local 226 obj_id = object_id_from_bios_object_id( in bios_parser_get_src_obj() 228 if (object_id.type == obj_id.type && in bios_parser_get_src_obj() 229 object_id.id == obj_id.id && in bios_parser_get_src_obj() 230 object_id.enum_id == obj_id.enum_id) { in bios_parser_get_src_obj() 242 obj_id = object_id_from_bios_object_id( in bios_parser_get_src_obj() 244 if (object_id.type == obj_id.type && in bios_parser_get_src_obj() 245 object_id.id == obj_id.id && in bios_parser_get_src_obj() 246 object_id.enum_id == obj_id.enum_id) { in bios_parser_get_src_obj() 262 obj_id = object_id_from_bios_object_id( in bios_parser_get_src_obj() [all …]
|
/linux-6.6.21/include/linux/ |
D | bpf_verifier.h | 729 static inline void bpf_trampoline_unpack_key(u64 key, u32 *obj_id, u32 *btf_id) in bpf_trampoline_unpack_key() argument 731 if (obj_id) in bpf_trampoline_unpack_key() 732 *obj_id = key >> 32; in bpf_trampoline_unpack_key()
|
/linux-6.6.21/arch/x86/platform/uv/ |
D | bios_uv.c | 210 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.6.21/block/partitions/ |
D | ldm.h | 167 u64 obj_id; member
|
/linux-6.6.21/drivers/gpu/drm/ |
D | drm_atomic_uapi.c | 1394 uint32_t obj_id, count_props; in drm_mode_atomic_ioctl() local 1397 if (get_user(obj_id, objs_ptr + copied_objs)) { in drm_mode_atomic_ioctl() 1402 obj = drm_mode_object_find(dev, file_priv, obj_id, DRM_MODE_OBJECT_ANY); in drm_mode_atomic_ioctl() 1404 drm_dbg_atomic(dev, "cannot find object ID %d", obj_id); in drm_mode_atomic_ioctl() 1410 drm_dbg_atomic(dev, "[OBJECT:%d] has no properties", obj_id); in drm_mode_atomic_ioctl() 1439 obj_id, prop_id); in drm_mode_atomic_ioctl()
|
/linux-6.6.21/include/uapi/drm/ |
D | drm_mode.h | 638 __u32 obj_id; member 645 __u32 obj_id; member
|
/linux-6.6.21/arch/x86/include/asm/uv/ |
D | bios.h | 192 extern s64 uv_bios_enum_ports(u64 nasid, u64 obj_id, u64 sz, u64 *portbuf);
|