Lines Matching refs:mgr

141 …sblive_writeptr(card, GPR_BASE + card->mgr.ctrl_gpr[SOUND_MIXER_BASS][0] + i, 0, bass_table[l][i]);  in set_bass()
152 …sblive_writeptr(card, GPR_BASE + card->mgr.ctrl_gpr[SOUND_MIXER_TREBLE][0] + i , 0, treble_table[l… in set_treble()
334 if (copy_to_user((void *) arg, &card->mgr.rpatch, sizeof(struct dsp_rpatch))) in emu10k1_private_mixer()
337 if ((ctl->val[0] - 1) / PATCHES_PER_PAGE >= card->mgr.current_pages) { in emu10k1_private_mixer()
342 if (copy_to_user((void *) arg, PATCH(&card->mgr, ctl->val[0] - 1), sizeof(struct dsp_patch))) in emu10k1_private_mixer()
356 if (copy_to_user((void *) arg, &card->mgr.gpr[id], sizeof(struct dsp_gpr))) in emu10k1_private_mixer()
362 …addr = emu10k1_find_control_gpr(&card->mgr, (char *) ctl->val, &((char *) ctl->val)[PATCH_NAME_SIZ… in emu10k1_private_mixer()
372 memcpy(&card->mgr.rpatch, &ctl->val[1], sizeof(struct dsp_rpatch)); in emu10k1_private_mixer()
380 if (page >= card->mgr.current_pages) { in emu10k1_private_mixer()
381 for (i = card->mgr.current_pages; i < page + 1; i++) { in emu10k1_private_mixer()
382 card->mgr.patch[i] = (void *)__get_free_page(GFP_KERNEL); in emu10k1_private_mixer()
383 if(card->mgr.patch[i] == NULL) { in emu10k1_private_mixer()
384 card->mgr.current_pages = i; in emu10k1_private_mixer()
388 memset(card->mgr.patch[i], 0, PAGE_SIZE); in emu10k1_private_mixer()
390 card->mgr.current_pages = page + 1; in emu10k1_private_mixer()
393 patch = PATCH(&card->mgr, ctl->val[0] - 1); in emu10k1_private_mixer()
398 for(i = page + 1; i < card->mgr.current_pages; i++) in emu10k1_private_mixer()
399 free_page((unsigned long) card->mgr.patch[i]); in emu10k1_private_mixer()
401 card->mgr.current_pages = page + 1; in emu10k1_private_mixer()
412 memcpy(&card->mgr.gpr[ctl->val[0]], &ctl->val[1], sizeof(struct dsp_gpr)); in emu10k1_private_mixer()
416 …addr = emu10k1_find_control_gpr(&card->mgr, (char *) ctl->val, (char *) ctl->val + PATCH_NAME_SIZE… in emu10k1_private_mixer()
438 ctl->val[2] = card->mgr.ctrl_gpr[id][ch]; in emu10k1_private_mixer()
456 card->mgr.ctrl_gpr[id][ch] = addr; in emu10k1_private_mixer()
608 emu10k1_set_volume_gpr(card, card->mgr.ctrl_gpr[oss_mixer][0], left, scale); in emu10k1_dsp_mixer()
609 emu10k1_set_volume_gpr(card, card->mgr.ctrl_gpr[oss_mixer][1], right, scale); in emu10k1_dsp_mixer()