Searched refs:sound_ym (Results 1 – 10 of 10) sorted by relevance
65 sound_ym.rd_data_reg_sel = 7; in atari_mksound()66 tmp = sound_ym.rd_data_reg_sel; in atari_mksound()68 sound_ym.wd_data = tmp; in atari_mksound()79 sound_ym.rd_data_reg_sel = 0; in atari_mksound()80 sound_ym.wd_data = period & 0xff; in atari_mksound()81 sound_ym.rd_data_reg_sel = 1; in atari_mksound()82 sound_ym.wd_data = (period >> 8) & 0xf; in atari_mksound()88 sound_ym.rd_data_reg_sel = 11; in atari_mksound()89 sound_ym.wd_data = length & 0xff; in atari_mksound()90 sound_ym.rd_data_reg_sel = 12; in atari_mksound()[all …]
99 sound_ym.rd_data_reg_sel = 15; /* select port B */ in ata_par_out()100 sound_ym.wd_data = c; /* put char onto port */ in ata_par_out()101 sound_ym.rd_data_reg_sel = 14; /* select port A */ in ata_par_out()102 tmp = sound_ym.rd_data_reg_sel; in ata_par_out()103 sound_ym.wd_data = tmp & ~0x20; /* set strobe L */ in ata_par_out()105 sound_ym.wd_data = tmp | 0x20; /* set strobe H */ in ata_par_out()315 sound_ym.rd_data_reg_sel = 7; /* select mixer control */ in atari_debug_setup()316 sound_ym.wd_data = 0xff; /* sound off, ports are output */ in atari_debug_setup()317 sound_ym.rd_data_reg_sel = 15; /* select port B */ in atari_debug_setup()318 sound_ym.wd_data = 0; /* no char */ in atari_debug_setup()[all …]
222 sound_ym.rd_data_reg_sel = 14; in config_atari()223 sound_ym.wd_data = sound_ym.rd_data_reg_sel | in config_atari()288 if (hwreg_present(&sound_ym.rd_data_reg_sel)) { in config_atari()454 sound_ym.rd_data_reg_sel = 14; /* Select PSG Port A */ in atari_heartbeat()455 tmp = sound_ym.rd_data_reg_sel; in atari_heartbeat()456 sound_ym.wd_data = on ? (tmp & ~0x02) : (tmp | 0x02); in atari_heartbeat()
331 sound_ym.rd_data_reg_sel = 7; in atari_init_IRQ()332 sound_ym.wd_data = 0xff; in atari_init_IRQ()
31 sound_ym.rd_data_reg_sel = 15; in parport_atari_read_data()32 data = sound_ym.rd_data_reg_sel; in parport_atari_read_data()43 sound_ym.rd_data_reg_sel = 15; in parport_atari_write_data()44 sound_ym.wd_data = data; in parport_atari_write_data()55 sound_ym.rd_data_reg_sel = 14; in parport_atari_read_control()56 if (!(sound_ym.rd_data_reg_sel & (1 << 5))) in parport_atari_read_control()68 sound_ym.rd_data_reg_sel = 14; in parport_atari_write_control()70 sound_ym.wd_data = sound_ym.rd_data_reg_sel & ~(1 << 5); in parport_atari_write_control()72 sound_ym.wd_data = sound_ym.rd_data_reg_sel | (1 << 5); in parport_atari_write_control()126 sound_ym.rd_data_reg_sel = 7; in parport_atari_data_forward()[all …]
111 sound_ym.rd_data_reg_sel = 14; in dsp56k_reset()112 status = sound_ym.rd_data_reg_sel & 0xef; in dsp56k_reset()113 sound_ym.wd_data = status; in dsp56k_reset()114 sound_ym.wd_data = status | 0x10; in dsp56k_reset()119 sound_ym.rd_data_reg_sel = 14; in dsp56k_reset()120 sound_ym.wd_data = sound_ym.rd_data_reg_sel & 0xef; in dsp56k_reset()
496 sound_ym.rd_data_reg_sel = 14; /* Select PSG Port A */ in fd_select_side()497 sound_ym.wd_data = (side == 0) ? sound_ym.rd_data_reg_sel | 0x01 : in fd_select_side()498 sound_ym.rd_data_reg_sel & 0xfe; in fd_select_side()518 sound_ym.rd_data_reg_sel = 14; /* Select PSG Port A */ in fd_select_drive()519 tmp = sound_ym.rd_data_reg_sel; in fd_select_drive()520 sound_ym.wd_data = (tmp | DSKDRVNONE) & ~(drive == 0 ? DSKDRV0 : DSKDRV1); in fd_select_drive()546 sound_ym.rd_data_reg_sel=14; /* Select PSG Port A */ in fd_deselect()547 sound_ym.wd_data = (sound_ym.rd_data_reg_sel | in fd_deselect()612 sound_ym.rd_data_reg_sel = 14; in check_change()613 old_porta = sound_ym.rd_data_reg_sel; in check_change()[all …]
1370 sound_ym.rd_data_reg_sel = 14; in AtaMixerIoctl()1371 porta = sound_ym.rd_data_reg_sel; in AtaMixerIoctl()1384 sound_ym.rd_data_reg_sel = 14; in AtaMixerIoctl()1385 porta = (sound_ym.rd_data_reg_sel & ~0x40) | in AtaMixerIoctl()1387 sound_ym.wd_data = porta; in AtaMixerIoctl()
315 #define sound_ym ((*(volatile struct SOUND_YM *)YM_BAS)) macro
2077 sound_ym.rd_data_reg_sel = 14; in st_ovsc_switch()2078 sound_ym.wd_data = sound_ym.rd_data_reg_sel | in st_ovsc_switch()