Home
last modified time | relevance | path

Searched refs:FM_OPL (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/audio/
H A Dfmopl.h90 } FM_OPL; typedef
93 FM_OPL *OPLCreate(int clock, int rate);
94 void OPLDestroy(FM_OPL *OPL);
95 void OPLSetTimerHandler(FM_OPL *OPL, OPL_TIMERHANDLER TimerHandler,
98 int OPLWrite(FM_OPL *OPL,int a,int v);
99 unsigned char OPLRead(FM_OPL *OPL,int a);
100 int OPLTimerOver(FM_OPL *OPL,int c);
102 void YM3812UpdateOne(FM_OPL *OPL, int16_t *buffer, int length);
H A Dfmopl.c45 static FM_OPL *opl_dbg_opl[16];
249 static inline void OPL_STATUS_SET(FM_OPL *OPL,int flag) in OPL_STATUS_SET()
263 static inline void OPL_STATUS_RESET(FM_OPL *OPL,int flag) in OPL_STATUS_RESET()
277 static inline void OPL_STATUSMASK_SET(FM_OPL *OPL,int flag) in OPL_STATUSMASK_SET()
379 static inline void set_mul(FM_OPL *OPL,int slot,int v) in set_mul()
393 static inline void set_ksl_tl(FM_OPL *OPL,int slot,int v) in set_ksl_tl()
409 static inline void set_ar_dr(FM_OPL *OPL,int slot,int v) in set_ar_dr()
426 static inline void set_sl_rr(FM_OPL *OPL,int slot,int v) in set_sl_rr()
572 static void init_timetables( FM_OPL *OPL , int ARRATE , int DRRATE ) in init_timetables()
723 static void OPL_initialize(FM_OPL *OPL) in OPL_initialize()
[all …]
H A Dadlib.c75 FM_OPL *opl;