Home
last modified time | relevance | path

Searched refs:data_block (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dhv_vhca.c319 struct mlx5_hv_vhca_data_block *data_block, in mlx5_hv_vhca_data_block_prepare() argument
322 int bytes = min_t(int, (int)sizeof(data_block->data), len); in mlx5_hv_vhca_data_block_prepare()
324 data_block->sequence = agent->seq; in mlx5_hv_vhca_data_block_prepare()
325 data_block->offset = (*offset)++; in mlx5_hv_vhca_data_block_prepare()
326 memcpy(data_block->data, src, bytes); in mlx5_hv_vhca_data_block_prepare()
345 struct mlx5_hv_vhca_data_block data_block = {0}; in mlx5_hv_vhca_agent_write() local
348 bytes = mlx5_hv_vhca_data_block_prepare(agent, &data_block, in mlx5_hv_vhca_agent_write()
354 err = mlx5_hv_write_config(agent->hv_vhca->dev, &data_block, in mlx5_hv_vhca_agent_write()
355 sizeof(data_block), offset); in mlx5_hv_vhca_agent_write()
/linux-6.6.21/drivers/gpu/drm/radeon/
Datom.c241 val = gctx->data_block; in atom_get_src_int()
269 if (gctx->data_block) in atom_get_src_int()
270 DEBUG("ID[0x%04X+%04X]", idx, gctx->data_block); in atom_get_src_int()
274 val = U32(idx + gctx->data_block); in atom_get_src_int()
511 gctx->data_block = val; in atom_put_dst()
836 ctx->ctx->data_block = 0; in atom_op_setdatablock()
838 ctx->ctx->data_block = ctx->start; in atom_op_setdatablock()
840 ctx->ctx->data_block = U16(ctx->ctx->data_table + 4 + 2 * idx); in atom_op_setdatablock()
841 SDEBUG(" base: 0x%04X\n", ctx->ctx->data_block); in atom_op_setdatablock()
1221 ctx->data_block = 0; in atom_execute_table_scratch_unlocked()
Datom.h133 uint16_t data_block; member
/linux-6.6.21/drivers/md/
Ddm-thin.c817 dm_block_t data_block; member
1012 r = dm_thin_insert_block(tc->td, m->virt_begin, m->data_block); in process_prepared_mapping()
1026 inc_remap_and_issue_cell(tc, m->cell, m->data_block); in process_prepared_mapping()
1030 remap_and_issue(tc, m->cell->holder, m->data_block); in process_prepared_mapping()
1031 inc_remap_and_issue_cell(tc, m->cell, m->data_block); in process_prepared_mapping()
1091 dm_block_t b = m->data_block, e, end = m->data_block + m->virt_end - m->virt_begin; in passdown_double_checking_shared_status()
1156 dm_block_t data_end = m->data_block + (m->virt_end - m->virt_begin); in process_prepared_discard_passdown_pt1()
1176 r = dm_pool_inc_data_range(pool->pmd, m->data_block, data_end); in process_prepared_discard_passdown_pt1()
1194 r = issue_discard(&op, m->data_block, data_end); in process_prepared_discard_passdown_pt1()
1209 r = dm_pool_dec_data_range(pool->pmd, m->data_block, in process_prepared_discard_passdown_pt2()
[all …]
Ddm-thin-metadata.h168 dm_block_t data_block);
Ddm-thin-metadata.c1666 dm_block_t data_block) in __insert() argument
1673 value = cpu_to_le64(pack_block_time(data_block, pmd->time)); in __insert()
1689 dm_block_t data_block) in dm_thin_insert_block() argument
1695 r = __insert(td, block, data_block); in dm_thin_insert_block()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Datom.c243 val = gctx->data_block; in atom_get_src_int()
271 if (gctx->data_block) in atom_get_src_int()
272 DEBUG("ID[0x%04X+%04X]", idx, gctx->data_block); in atom_get_src_int()
276 val = U32(idx + gctx->data_block); in atom_get_src_int()
513 gctx->data_block = val; in atom_put_dst()
874 ctx->ctx->data_block = 0; in atom_op_setdatablock()
876 ctx->ctx->data_block = ctx->start; in atom_op_setdatablock()
878 ctx->ctx->data_block = U16(ctx->ctx->data_table + 4 + 2 * idx); in atom_op_setdatablock()
879 SDEBUG(" base: 0x%04X\n", ctx->ctx->data_block); in atom_op_setdatablock()
1274 ctx->data_block = 0; in amdgpu_atom_execute_table()
Datom.h138 uint16_t data_block; member
/linux-6.6.21/fs/squashfs/
Dfile.c229 u64 *index_block, int *index_offset, u64 *data_block) in fill_meta_index() argument
260 cur_data_block = meta_entry->data_block; in fill_meta_index()
296 meta_entry->data_block = cur_data_block; in fill_meta_index()
310 *data_block = cur_data_block; in fill_meta_index()
Dsquashfs_fs.h213 u64 data_block; member
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_bios.c221 const void *data_block; in validate_lfp_data_ptrs() local
224 data_block = find_raw_section(bdb, BDB_LVDS_LFP_DATA); in validate_lfp_data_ptrs()
225 if (!data_block) in validate_lfp_data_ptrs()
228 data_block_size = get_blocksize(data_block); in validate_lfp_data_ptrs()
299 const u16 *t = data_block + ptrs->ptr[i].fp_timing.offset + in validate_lfp_data_ptrs()
/linux-6.6.21/arch/sparc/kernel/
Dmdesc.c624 static void *data_block(struct mdesc_hdr *mdesc) in data_block() function
663 void *data = data_block(&hp->mdesc); in mdesc_get_property()
/linux-6.6.21/sound/firewire/
Damdtp-stream.c1731 unsigned int data_block; in amdtp_stream_start() member
1752 s->ctx_data.rx.data_block_state = entry->data_block; in amdtp_stream_start()