Lines Matching refs:instr_no
83 static int store_instr(int instr_no, struct sbi_instrument *instr);
306 static int store_instr(int instr_no, struct sbi_instrument *instr) in store_instr() argument
310 memcpy((char *) &(devc->i_map[instr_no]), (char *) instr, sizeof(*instr)); in store_instr()
314 static int opl3_set_instr (int dev, int voice, int instr_no) in opl3_set_instr() argument
318 if (instr_no < 0 || instr_no >= SBFM_MAXINSTR) in opl3_set_instr()
319 instr_no = 0; /* Acoustic piano (usually) */ in opl3_set_instr()
321 devc->act_i[voice] = &devc->i_map[instr_no]; in opl3_set_instr()
1005 int instr_no; in opl3_alloc_voice() local
1008 instr_no = 0; in opl3_alloc_voice()
1010 instr_no = devc->chn_info[chn].pgm_num; in opl3_alloc_voice()
1012 instr = &devc->i_map[instr_no]; in opl3_alloc_voice()