Lines Matching refs:b_idx
509 int b_idx; in snd_us16x08_eqswitch_put() local
519 for (b_idx = 0; b_idx < SND_US16X08_ID_EQ_BAND_COUNT; b_idx++) { in snd_us16x08_eqswitch_put()
522 buf[17] = store->val[b_idx][2][index]; in snd_us16x08_eqswitch_put()
523 buf[14] = store->val[b_idx][1][index]; in snd_us16x08_eqswitch_put()
524 buf[11] = store->val[b_idx][0][index]; in snd_us16x08_eqswitch_put()
525 buf[8] = b_idx + 1; in snd_us16x08_eqswitch_put()
529 store->val[b_idx][3][index] = val; in snd_us16x08_eqswitch_put()
550 int b_idx = EQ_STORE_BAND_IDX(elem->head.id) - 1; in snd_us16x08_eq_get() local
553 val = store->val[b_idx][p_idx][index]; in snd_us16x08_eq_get()
569 int b_idx = EQ_STORE_BAND_IDX(elem->head.id) - 1; in snd_us16x08_eq_put() local
582 store->val[b_idx][p_idx][index] = val; in snd_us16x08_eq_put()
583 buf[20] = store->val[b_idx][3][index]; in snd_us16x08_eq_put()
584 buf[17] = store->val[b_idx][2][index]; in snd_us16x08_eq_put()
585 buf[14] = store->val[b_idx][1][index]; in snd_us16x08_eq_put()
586 buf[11] = store->val[b_idx][0][index]; in snd_us16x08_eq_put()
592 buf[8] = b_idx + 1; in snd_us16x08_eq_put()
984 int i, b_idx; in snd_us16x08_create_eq_store() local
992 for (b_idx = 0; b_idx < SND_US16X08_ID_EQ_BAND_COUNT; b_idx++) { in snd_us16x08_create_eq_store()
993 tmp->val[b_idx][0][i] = 0x0c; in snd_us16x08_create_eq_store()
994 tmp->val[b_idx][3][i] = 0x00; in snd_us16x08_create_eq_store()
995 switch (b_idx) { in snd_us16x08_create_eq_store()
997 tmp->val[b_idx][1][i] = 0x05; in snd_us16x08_create_eq_store()
998 tmp->val[b_idx][2][i] = 0xff; in snd_us16x08_create_eq_store()
1001 tmp->val[b_idx][1][i] = 0x0e; in snd_us16x08_create_eq_store()
1002 tmp->val[b_idx][2][i] = 0x02; in snd_us16x08_create_eq_store()
1005 tmp->val[b_idx][1][i] = 0x1b; in snd_us16x08_create_eq_store()
1006 tmp->val[b_idx][2][i] = 0x02; in snd_us16x08_create_eq_store()
1009 tmp->val[b_idx][1][i] = 0x2f in snd_us16x08_create_eq_store()
1011 tmp->val[b_idx][2][i] = 0xff; in snd_us16x08_create_eq_store()