Lines Matching refs:code
499 u_int32_t *code; in snd_emu10k1_write_op() local
502 code = (u_int32_t __force *)icode->code + (*ptr) * 2; in snd_emu10k1_write_op()
504 code[0] = ((x & 0x3ff) << 10) | (y & 0x3ff); in snd_emu10k1_write_op()
505 code[1] = ((op & 0x0f) << 20) | ((r & 0x3ff) << 10) | (a & 0x3ff); in snd_emu10k1_write_op()
516 u_int32_t *code; in snd_emu10k1_audigy_write_op() local
519 code = (u_int32_t __force *)icode->code + (*ptr) * 2; in snd_emu10k1_audigy_write_op()
521 code[0] = ((x & 0x7ff) << 12) | (y & 0x7ff); in snd_emu10k1_audigy_write_op()
522 code[1] = ((op & 0x0f) << 24) | ((r & 0x7ff) << 12) | (a & 0x7ff); in snd_emu10k1_audigy_write_op()
626 if (get_user(lo, &icode->code[pc + 0]) || in snd_emu10k1_code_poke()
627 get_user(hi, &icode->code[pc + 1])) in snd_emu10k1_code_poke()
643 if (put_user(snd_emu10k1_efx_read(emu, pc + 0), &icode->code[pc + 0])) in snd_emu10k1_code_peek()
645 if (put_user(snd_emu10k1_efx_read(emu, pc + 1), &icode->code[pc + 1])) in snd_emu10k1_code_peek()
1207 icode->code = icode->tram_addr_map + 256; in _snd_emu10k1_audigy_init_efx()
1851 icode->code = icode->tram_addr_map + 160; in _snd_emu10k1_init_efx()