Home
last modified time | relevance | path

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

/linux/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.c438 unsigned char op_offset; in snd_opl3_set_voice() local
466 op_offset = snd_opl3_regmap[voice_offset][voice_op]; in snd_opl3_set_voice()
485 opl3_reg = reg_side | (OPL3_REG_AM_VIB + op_offset); in snd_opl3_set_voice()
494 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + op_offset); in snd_opl3_set_voice()
503 opl3_reg = reg_side | (OPL3_REG_ATTACK_DECAY + op_offset); in snd_opl3_set_voice()
512 opl3_reg = reg_side | (OPL3_REG_SUSTAIN_RELEASE + op_offset); in snd_opl3_set_voice()
533 opl3_reg = reg_side | (OPL3_REG_WAVE_SELECT + op_offset); in snd_opl3_set_voice()
/linux/arch/x86/kernel/
H A Dftrace.c313 unsigned long op_offset; in create_trampoline() local
331 op_offset = (unsigned long)ftrace_regs_caller_op_ptr; in create_trampoline()
337 op_offset = (unsigned long)ftrace_caller_op_ptr; in create_trampoline()
396 op_offset -= start_offset; in create_trampoline()
397 memcpy(&op_ptr, trampoline + op_offset, OP_REF_SIZE); in create_trampoline()
405 offset -= (unsigned long)trampoline + op_offset + OP_REF_SIZE; in create_trampoline()
410 memcpy(trampoline + op_offset, &op_ptr, OP_REF_SIZE); in create_trampoline()