Searched refs:PATCHES_PER_PAGE (Results 1 – 4 of 4) sorted by relevance
112 #define PATCHES_PER_PAGE (PAGE_SIZE / sizeof(struct dsp_patch)) macro114 … PATCH(mgr, i) ((struct dsp_patch *) (mgr)->patch[(i) / PATCHES_PER_PAGE] + (i) % PATCHES_PER_PAGE)
52 for (i = 0; i < mgr->current_pages * PATCHES_PER_PAGE; i++) { in emu10k1_find_control_gpr()
337 if ((ctl->val[0] - 1) / PATCHES_PER_PAGE >= card->mgr.current_pages) { in emu10k1_private_mixer()374 page = (ctl->val[0] - 1) / PATCHES_PER_PAGE; in emu10k1_private_mixer()
486 mgr->current_pages = (11 + PATCHES_PER_PAGE - 1) / PATCHES_PER_PAGE; in fx_init()