Home
last modified time | relevance | path

Searched refs:num_obj (Results 1 – 14 of 14) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A Dicm.c260 u32 i = (obj & (table->num_obj - 1)) / in mlx4_table_get()
299 i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_put()
328 idx = (u64) (obj & (table->num_obj - 1)) * table->obj_size; in mlx4_table_find()
435 table->num_obj = nobj; in mlx4_init_icm_table()
H A Dmlx4.h263 u32 num_obj; member
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser_v2/j2s/
H A Dj2s_utils.cpp223 …if (ctx->magic != J2S_MAGIC || ctx->num_obj != J2S_NUM_OBJ || ctx->num_struct != J2S_NUM_STRUCT ||… in j2s_load_ctx_cache()
229 ptr += ctx->num_obj * sizeof(*ctx->objs); in j2s_load_ctx_cache()
275 bytes_written = write(fd, ctx->objs, ctx->num_obj * sizeof(*ctx->objs)); in j2s_save_ctx_cache()
301 data_size = sizeof(j2s_obj) * ctx->num_obj; in j2s_init()
H A Dj2s.cpp529 for (int i = 0; i < ctx->num_obj; i++) { in _j2s_obj_to_json()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.c219 table_idx = (*obj & (table->num_obj - 1)) / in hns_roce_calc_hem_mhop()
346 unsigned long i = (obj & (table->num_obj - 1)) / in hns_roce_set_hem()
649 i = (obj & (table->num_obj - 1)) / (table->table_chunk_size / in hns_roce_table_get()
768 i = (obj & (table->num_obj - 1)) / in hns_roce_table_put()
808 hem = table->hem[(obj & (table->num_obj - 1)) / obj_per_chunk]; in hns_roce_table_find()
809 idx_offset = (obj & (table->num_obj - 1)) % obj_per_chunk; in hns_roce_table_find()
826 dma_offset = offset = (obj & (table->num_obj - 1)) * seg_size % in hns_roce_table_find()
937 table->num_obj = nobj; in hns_roce_init_hem_table()
H A Dhns_roce_device.h307 unsigned long num_obj; member
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tools/iq_check/src/
H A Dj2s_generated_optim.c43 fprintf(fp, "#define J2S_NUM_OBJ %d\n", ctx->num_obj); in main()
H A Dparser.c123 int num_obj; member
677 obj->id = ctx->num_obj++; in j2s_parse()
756 printf("#define J2S_NUM_OBJ %d\n", ctx->num_obj); in j2s_dump()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mthca/
H A Dmthca_memfree.c224 int i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE; in mthca_table_get()
264 i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE; in mthca_table_put()
290 idx = (obj & (table->num_obj - 1)) * table->obj_size; in mthca_table_find()
376 table->num_obj = nobj; in mthca_alloc_icm_table()
H A Dmthca_memfree.h66 int num_obj; member
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/iq_parser_v2/j2s/
H A Dj2s.h59 int num_obj; member
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tools/j2s4b/src/j2s4b/
H A Dj2s.h76 int num_obj; member
H A Dj2s.cpp613 for (int i = 0; i < ctx->num_obj; i++) { in _j2s_obj_to_json()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/selftests/
H A Di915_vma.c154 unsigned long num_obj, num_ctx; in igt_vma_create() local
166 for_each_prime_number(num_obj, ULONG_MAX - 1) { in igt_vma_create()
167 for (; no < num_obj; no++) { in igt_vma_create()