Home
last modified time | relevance | path

Searched refs:AR_TABLE (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/audio/
H A Dfmopl.h75 int32_t AR_TABLE[76]; /* attack rate tables */ member
H A Dfmopl.c416 SLOT->AR = ar ? &OPL->AR_TABLE[ar<<2] : RATE_0; in set_ar_dr()
578 for (i = 0;i < 4;i++) OPL->AR_TABLE[i] = OPL->DR_TABLE[i] = 0; in init_timetables()
584 OPL->AR_TABLE[i] = rate / ARRATE; in init_timetables()
587 for (i = 60; i < ARRAY_SIZE(OPL->AR_TABLE); i++) in init_timetables()
589 OPL->AR_TABLE[i] = EG_AED-1; in init_timetables()
595 ((double)(EG_ENT<<ENV_BITS) / OPL->AR_TABLE[i]) * (1000.0 / OPL->rate), in init_timetables()