/openbmc/u-boot/fs/yaffs2/ |
H A D | yaffs_verify.c | 182 tags->obj_id, oh->type); in yaffs_verify_oh() 184 if (tags->obj_id != obj->obj_id) in yaffs_verify_oh() 187 tags->obj_id, obj->obj_id); in yaffs_verify_oh() 195 if (parent_check && tags->obj_id > 1 && !obj->parent) in yaffs_verify_oh() 198 tags->obj_id, oh->parent_obj_id); in yaffs_verify_oh() 201 oh->parent_obj_id != obj->parent->obj_id && in yaffs_verify_oh() 203 obj->parent->obj_id != YAFFS_OBJECTID_DELETED)) in yaffs_verify_oh() 206 tags->obj_id, oh->parent_obj_id, in yaffs_verify_oh() 207 obj->parent->obj_id); in yaffs_verify_oh() 209 if (tags->obj_id > 1 && oh->name[0] == 0) /* Null name */ in yaffs_verify_oh() [all …]
|
H A D | yaffs_packedtags2.c | 45 ptt->obj_id, ptt->chunk_id, ptt->n_bytes, ptt->seq_number); in yaffs_dump_packed_tags2_tags_only() 57 t->ecc_result, t->block_bad, t->chunk_used, t->obj_id, in yaffs_dump_tags2() 81 ptt->obj_id = t->obj_id; in yaffs_pack_tags2_tags_only() 96 ptt->obj_id &= ~EXTRA_OBJECT_TYPE_MASK; in yaffs_pack_tags2_tags_only() 97 ptt->obj_id |= (t->extra_obj_type << EXTRA_OBJECT_TYPE_SHIFT); in yaffs_pack_tags2_tags_only() 132 t->obj_id = ptt->obj_id; in yaffs_unpack_tags2_tags_only() 148 t->extra_obj_type = ptt->obj_id >> EXTRA_OBJECT_TYPE_SHIFT; in yaffs_unpack_tags2_tags_only() 149 t->obj_id &= ~EXTRA_OBJECT_TYPE_MASK; in yaffs_unpack_tags2_tags_only()
|
H A D | yaffs_packedtags1.c | 31 pt->obj_id = t->obj_id; in yaffs_pack_tags1() 47 t->obj_id = pt->obj_id; in yaffs_unpack_tags1()
|
H A D | yaffs_yaffs1.c | 141 tags.obj_id, in yaffs1_scan() 187 in = yaffs_find_by_number(dev, tags.obj_id); in yaffs1_scan() 201 tags.obj_id, in yaffs1_scan() 217 fixer->obj_id = tags.obj_id; in yaffs1_scan() 222 fixer->obj_id, in yaffs1_scan() 255 (tags.obj_id == YAFFS_OBJECTID_ROOT || in yaffs1_scan() 256 tags.obj_id == in yaffs1_scan() 402 obj = yaffs_find_by_number(dev, fixer->obj_id); in yaffs1_scan()
|
H A D | yaffs_yaffs2.c | 371 cp->obj_id = obj->obj_id; in yaffs2_obj_checkpt_obj() 372 cp->parent_id = (obj->parent) ? obj->parent->obj_id : 0; in yaffs2_obj_checkpt_obj() 398 cp->obj_id, cp->variant_type, cp->hdr_chunk, in yaffs2_checkpt_obj_to_obj() 403 obj->obj_id = cp->obj_id; in yaffs2_checkpt_obj_to_obj() 416 cp->obj_id, cp->parent_id, in yaffs2_checkpt_obj_to_obj() 562 cp.obj_id, cp.parent_id, in yaffs2_wr_checkpt_objs() 606 cp.obj_id, cp.parent_id, cp.variant_type, in yaffs2_rd_checkpt_objs() 609 if (ok && cp.obj_id == ~0) { in yaffs2_rd_checkpt_objs() 613 yaffs_find_or_create_by_number(dev, cp.obj_id, in yaffs2_rd_checkpt_objs() 906 obj->parent->obj_id != YAFFS_OBJECTID_UNLINKED && in yaffs2_handle_hole() [all …]
|
H A D | yaffs_summary.c | 41 unsigned obj_id; member 136 tags.obj_id = YAFFS_OBJECTID_SUMMARY; in yaffs_summary_write() 209 tags.obj_id != YAFFS_OBJECTID_SUMMARY || in yaffs_summary_read() 263 sum_tags->obj_id = tags_only.obj_id; in yaffs_summary_add() 285 tags_only.obj_id = sum_tags->obj_id; in yaffs_summary_fetch()
|
H A D | yaffs_guts.c | 347 temp_tags.obj_id != tags->obj_id || in yaffs_verify_chunk_written() 949 static int yaffs_tags_match(const struct yaffs_ext_tags *tags, int obj_id, in yaffs_tags_match() argument 953 tags->obj_id == obj_id && in yaffs_tags_match() 959 struct yaffs_ext_tags *tags, int obj_id, in yaffs_find_chunk_in_group() argument 975 obj_id, inode_chunk)) { in yaffs_find_chunk_in_group() 1008 ret_val = yaffs_find_chunk_in_group(dev, the_chunk, tags, in->obj_id, in yaffs_find_chunk_in_file() 1035 ret_val = yaffs_find_chunk_in_group(dev, the_chunk, tags, in->obj_id, in yaffs_find_del_file_chunk() 1604 bucket = yaffs_hash_fn(obj->obj_id); in yaffs_unhash_obj() 1681 obj->obj_id); in yaffs_soft_del_file() 1876 hash_link)->obj_id == n) { in yaffs_new_obj_id() [all …]
|
H A D | yaffs_tagscompat.c | 292 tags.obj_id = ext_tags->obj_id; in yaffs_tags_compat_wr() 347 ext_tags->obj_id = tags.obj_id; in yaffs_tags_compat_rd()
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A 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 …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A 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()
|
H A 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 …]
|
H A 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()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A 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 …]
|
H A 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 …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A 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()
|
/openbmc/u-boot/drivers/net/fsl-mc/ |
H A D | dpbp.c | 55 uint32_t *obj_id) in dpbp_create() argument 73 MC_CMD_READ_OBJ_ID(cmd, *obj_id); in dpbp_create() 81 uint32_t obj_id) in dpbp_destroy() argument 91 CMD_DESTROY_SET_OBJ_ID_PARAM0(cmd, obj_id); in dpbp_destroy()
|
H A D | dpmac.c | 57 uint32_t *obj_id) in dpmac_create() argument 74 MC_CMD_READ_OBJ_ID(cmd, *obj_id); in dpmac_create() 82 uint32_t obj_id) in dpmac_destroy() argument 92 CMD_DESTROY_SET_OBJ_ID_PARAM0(cmd, obj_id); in dpmac_destroy()
|
/openbmc/u-boot/drivers/net/fsl-mc/dpio/ |
H A D | dpio.c | 55 uint32_t *obj_id) in dpio_create() argument 72 MC_CMD_READ_OBJ_ID(cmd, *obj_id); in dpio_create() 80 uint32_t obj_id) in dpio_destroy() argument 90 CMD_DESTROY_SET_OBJ_ID_PARAM0(cmd, obj_id); in dpio_destroy()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A 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() 1323 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, macsec_id); in mlx5e_macsec_modify_obj() 1384 mlx5_aso_build_wqe(maso, MLX5_MACSEC_ASO_DS_CNT, aso_wqe, in->obj_id, in macsec_aso_set_arm_event() 1409 mlx5_aso_build_wqe(maso, MLX5_MACSEC_ASO_DS_CNT, aso_wqe, in->obj_id, in macsec_aso_query() 1435 const u32 obj_id) in get_macsec_tx_sa_from_obj_id() argument 1449 if (macsec_sa->macsec_obj_id == obj_id) in get_macsec_tx_sa_from_obj_id() [all …]
|
/openbmc/linux/drivers/bus/fsl-mc/ |
H A 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()
|
H A 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()
|
H A 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
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/bios/ |
H A 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 …]
|
/openbmc/u-boot/include/fsl-mc/ |
H A D | fsl_dpbp.h | 119 uint32_t *obj_id); 132 uint32_t obj_id);
|
H A D | fsl_dpio.h | 140 uint32_t *obj_id); 154 uint32_t obj_id);
|