Home
last modified time | relevance | path

Searched refs:src_ofs (Results 1 – 3 of 3) sorted by relevance

/linux/sound/core/oss/
H A Dlinear.c34 unsigned int src_ofs; /* byte offset in source format */ member
48 memcpy(p + data->copy_ofs, src + data->src_ofs, data->copy_bytes); in do_convert()
131 data->src_ofs = src_bytes - data->copy_bytes; in init_data()
133 data->src_ofs = snd_pcm_format_physical_width(src_format) / 8 - in init_data()
/linux/drivers/gpu/drm/xe/
H A Dxe_migrate.c664 u64 src_ofs, bool src_is_indirect, in emit_copy_ccs() argument
694 *cs++ = lower_32_bits(src_ofs); in emit_copy_ccs()
695 *cs++ = upper_32_bits(src_ofs) | mocs; in emit_copy_ccs()
703 static void emit_xy_fast_copy(struct xe_gt *gt, struct xe_bb *bb, u64 src_ofs, in emit_xy_fast_copy() argument
730 bb->cs[bb->len++] = lower_32_bits(src_ofs); in emit_xy_fast_copy()
731 bb->cs[bb->len++] = upper_32_bits(src_ofs); in emit_xy_fast_copy()
735 static void emit_mem_copy(struct xe_gt *gt, struct xe_bb *bb, u64 src_ofs, in emit_mem_copy() argument
746 IS_ALIGNED(lower_32_bits(src_ofs), PAGE_COPY_MODE_PS) && in emit_mem_copy()
769 bb->cs[bb->len++] = lower_32_bits(src_ofs); in emit_mem_copy()
770 bb->cs[bb->len++] = upper_32_bits(src_ofs); in emit_mem_copy()
778 emit_copy(struct xe_gt * gt,struct xe_bb * bb,u64 src_ofs,u64 dst_ofs,unsigned int size,unsigned int pitch) emit_copy() argument
796 xe_migrate_ccs_copy(struct xe_migrate * m,struct xe_bb * bb,u64 src_ofs,bool src_is_indirect,u64 dst_ofs,bool dst_is_indirect,u32 dst_size,u64 ccs_ofs,bool copy_ccs) xe_migrate_ccs_copy() argument
1336 emit_clear_link_copy(struct xe_gt * gt,struct xe_bb * bb,u64 src_ofs,u32 size,u32 pitch) emit_clear_link_copy() argument
1360 emit_clear_main_copy(struct xe_gt * gt,struct xe_bb * bb,u64 src_ofs,u32 size,u32 pitch,bool is_vram) emit_clear_main_copy() argument
1422 emit_clear(struct xe_gt * gt,struct xe_bb * bb,u64 src_ofs,u32 size,u32 pitch,bool is_vram) emit_clear() argument
[all...]
/linux/drivers/mtd/maps/
H A Dvmu-flash.c56 static struct vmu_block *ofs_to_block(unsigned long src_ofs, in ofs_to_block() argument
69 if (src_ofs >= card->parts[partition].numblocks * card->blocklen) in ofs_to_block()
72 num = src_ofs / card->blocklen; in ofs_to_block()
81 vblock->ofs = src_ofs % card->blocklen; in ofs_to_block()