Home
last modified time | relevance | path

Searched refs:op_offset (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/sound/drivers/opl3/
H A Dopl3_drums.c70 unsigned char op_offset = snd_opl3_regmap[data->voice][data->op]; in snd_opl3_drum_voice_set() local
75 opl3_reg = OPL3_LEFT | (OPL3_REG_AM_VIB + op_offset); in snd_opl3_drum_voice_set()
79 opl3_reg = OPL3_LEFT | (OPL3_REG_KSL_LEVEL + op_offset); in snd_opl3_drum_voice_set()
83 opl3_reg = OPL3_LEFT | (OPL3_REG_ATTACK_DECAY + op_offset); in snd_opl3_drum_voice_set()
87 opl3_reg = OPL3_LEFT | (OPL3_REG_SUSTAIN_RELEASE + op_offset); in snd_opl3_drum_voice_set()
95 opl3_reg = OPL3_LEFT | (OPL3_REG_WAVE_SELECT + op_offset); in snd_opl3_drum_voice_set()
124 unsigned char op_offset = snd_opl3_regmap[data->voice][data->op]; in snd_opl3_drum_vol_set() local
132 opl3_reg = OPL3_LEFT | (OPL3_REG_KSL_LEVEL + op_offset); in snd_opl3_drum_vol_set()
H A Dopl3_synth.c440 unsigned char op_offset; in snd_opl3_set_voice() local
468 op_offset = snd_opl3_regmap[voice_offset][voice_op]; in snd_opl3_set_voice()
487 opl3_reg = reg_side | (OPL3_REG_AM_VIB + op_offset); in snd_opl3_set_voice()
496 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + op_offset); in snd_opl3_set_voice()
505 opl3_reg = reg_side | (OPL3_REG_ATTACK_DECAY + op_offset); in snd_opl3_set_voice()
514 opl3_reg = reg_side | (OPL3_REG_SUSTAIN_RELEASE + op_offset); in snd_opl3_set_voice()
535 opl3_reg = reg_side | (OPL3_REG_WAVE_SELECT + op_offset); in snd_opl3_set_voice()
H A Dopl3_midi.c290 unsigned char op_offset; in snd_opl3_note_on() local
464 op_offset = snd_opl3_regmap[voice_offset][i]; in snd_opl3_note_on()
468 opl3_reg = reg_side | (OPL3_REG_AM_VIB + op_offset); in snd_opl3_note_on()
473 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + op_offset); in snd_opl3_note_on()
478 opl3_reg = reg_side | (OPL3_REG_ATTACK_DECAY + op_offset); in snd_opl3_note_on()
483 opl3_reg = reg_side | (OPL3_REG_SUSTAIN_RELEASE + op_offset); in snd_opl3_note_on()
488 opl3_reg = reg_side | (OPL3_REG_WAVE_SELECT + op_offset); in snd_opl3_note_on()
/kernel/linux/linux-6.6/sound/drivers/opl3/
H A Dopl3_drums.c70 unsigned char op_offset = snd_opl3_regmap[data->voice][data->op]; in snd_opl3_drum_voice_set() local
75 opl3_reg = OPL3_LEFT | (OPL3_REG_AM_VIB + op_offset); in snd_opl3_drum_voice_set()
79 opl3_reg = OPL3_LEFT | (OPL3_REG_KSL_LEVEL + op_offset); in snd_opl3_drum_voice_set()
83 opl3_reg = OPL3_LEFT | (OPL3_REG_ATTACK_DECAY + op_offset); in snd_opl3_drum_voice_set()
87 opl3_reg = OPL3_LEFT | (OPL3_REG_SUSTAIN_RELEASE + op_offset); in snd_opl3_drum_voice_set()
95 opl3_reg = OPL3_LEFT | (OPL3_REG_WAVE_SELECT + op_offset); in snd_opl3_drum_voice_set()
124 unsigned char op_offset = snd_opl3_regmap[data->voice][data->op]; in snd_opl3_drum_vol_set() local
132 opl3_reg = OPL3_LEFT | (OPL3_REG_KSL_LEVEL + op_offset); in snd_opl3_drum_vol_set()
H A Dopl3_synth.c440 unsigned char op_offset; in snd_opl3_set_voice() local
468 op_offset = snd_opl3_regmap[voice_offset][voice_op]; in snd_opl3_set_voice()
487 opl3_reg = reg_side | (OPL3_REG_AM_VIB + op_offset); in snd_opl3_set_voice()
496 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + op_offset); in snd_opl3_set_voice()
505 opl3_reg = reg_side | (OPL3_REG_ATTACK_DECAY + op_offset); in snd_opl3_set_voice()
514 opl3_reg = reg_side | (OPL3_REG_SUSTAIN_RELEASE + op_offset); in snd_opl3_set_voice()
535 opl3_reg = reg_side | (OPL3_REG_WAVE_SELECT + op_offset); in snd_opl3_set_voice()
H A Dopl3_midi.c289 unsigned char op_offset; in snd_opl3_note_on() local
463 op_offset = snd_opl3_regmap[voice_offset][i]; in snd_opl3_note_on()
467 opl3_reg = reg_side | (OPL3_REG_AM_VIB + op_offset); in snd_opl3_note_on()
472 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + op_offset); in snd_opl3_note_on()
477 opl3_reg = reg_side | (OPL3_REG_ATTACK_DECAY + op_offset); in snd_opl3_note_on()
482 opl3_reg = reg_side | (OPL3_REG_SUSTAIN_RELEASE + op_offset); in snd_opl3_note_on()
487 opl3_reg = reg_side | (OPL3_REG_WAVE_SELECT + op_offset); in snd_opl3_note_on()
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dftrace.c321 unsigned long op_offset; in create_trampoline() local
339 op_offset = (unsigned long)ftrace_regs_caller_op_ptr; in create_trampoline()
345 op_offset = (unsigned long)ftrace_caller_op_ptr; in create_trampoline()
399 op_offset -= start_offset; in create_trampoline()
400 memcpy(&op_ptr, trampoline + op_offset, OP_REF_SIZE); in create_trampoline()
408 offset -= (unsigned long)trampoline + op_offset + OP_REF_SIZE; in create_trampoline()
413 memcpy(trampoline + op_offset, &op_ptr, OP_REF_SIZE); in create_trampoline()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dftrace.c317 unsigned long op_offset; in create_trampoline() local
335 op_offset = (unsigned long)ftrace_regs_caller_op_ptr; in create_trampoline()
341 op_offset = (unsigned long)ftrace_caller_op_ptr; in create_trampoline()
393 op_offset -= start_offset; in create_trampoline()
394 memcpy(&op_ptr, trampoline + op_offset, OP_REF_SIZE); in create_trampoline()
402 offset -= (unsigned long)trampoline + op_offset + OP_REF_SIZE; in create_trampoline()
407 memcpy(trampoline + op_offset, &op_ptr, OP_REF_SIZE); in create_trampoline()
/kernel/linux/linux-5.10/drivers/crypto/marvell/cesa/
H A Dtdma.c22 sgiter->op_offset += len; in mv_cesa_req_dma_iter_next_transfer()
31 if (sgiter->op_offset == iter->op_len) in mv_cesa_req_dma_iter_next_transfer()
337 dst = CESA_SA_DATA_SRAM_OFFSET + sgiter->op_offset; in mv_cesa_dma_add_op_transfers()
341 src = CESA_SA_DATA_SRAM_OFFSET + sgiter->op_offset; in mv_cesa_dma_add_op_transfers()
H A Dcesa.h326 * @op_offset: current position in the crypto operation
335 unsigned int op_offset; member
795 iter->op_offset = 0; in mv_cesa_sg_dma_iter_init()
805 return min(iter->op_len - sgiter->op_offset, in mv_cesa_req_dma_iter_transfer_len()
H A Dcipher.c52 iter->src.op_offset = 0; in mv_cesa_skcipher_req_iter_next_op()
53 iter->dst.op_offset = 0; in mv_cesa_skcipher_req_iter_next_op()
H A Dhash.c37 iter->src.op_offset = creq->cache_ptr; in mv_cesa_ahash_req_iter_init()
43 iter->src.op_offset = 0; in mv_cesa_ahash_req_iter_next_op()
/kernel/linux/linux-6.6/drivers/crypto/marvell/cesa/
H A Dtdma.c22 sgiter->op_offset += len; in mv_cesa_req_dma_iter_next_transfer()
31 if (sgiter->op_offset == iter->op_len) in mv_cesa_req_dma_iter_next_transfer()
337 dst = CESA_SA_DATA_SRAM_OFFSET + sgiter->op_offset; in mv_cesa_dma_add_op_transfers()
341 src = CESA_SA_DATA_SRAM_OFFSET + sgiter->op_offset; in mv_cesa_dma_add_op_transfers()
H A Dcesa.h326 * @op_offset: current position in the crypto operation
335 unsigned int op_offset; member
799 iter->op_offset = 0; in mv_cesa_sg_dma_iter_init()
809 return min(iter->op_len - sgiter->op_offset, in mv_cesa_req_dma_iter_transfer_len()
H A Dcipher.c52 iter->src.op_offset = 0; in mv_cesa_skcipher_req_iter_next_op()
53 iter->dst.op_offset = 0; in mv_cesa_skcipher_req_iter_next_op()
H A Dhash.c38 iter->src.op_offset = creq->cache_ptr; in mv_cesa_ahash_req_iter_init()
44 iter->src.op_offset = 0; in mv_cesa_ahash_req_iter_next_op()

Completed in 18 milliseconds