Searched refs:st_mfp (Results 1 – 11 of 11) sorted by relevance
37 while (!(st_mfp.trn_stat & 0x80)) /* wait for tx buf empty */ in ata_mfp_out()39 st_mfp.usart_dta = c; in ata_mfp_out()94 while ((st_mfp.par_dt_reg & 1) && --i) /* wait for BUSY == L */ in ata_par_out()134 while (!(st_mfp.rcv_stat & 0x80)) /* wait for rx buf filled */136 return st_mfp.usart_dta;178 st_mfp.trn_stat &= ~0x01; /* disable TX */ in atari_init_mfp_port()179 st_mfp.usart_ctr = parity | csize | 0x88; /* 1:16 clk mode, 1 stop bit */ in atari_init_mfp_port()180 st_mfp.tim_ct_cd &= 0x70; /* stop timer D */ in atari_init_mfp_port()181 st_mfp.tim_dt_d = baud_table[baud]; in atari_init_mfp_port()182 st_mfp.tim_ct_cd |= 0x01; /* start timer D, 1:4 */ in atari_init_mfp_port()[all …]
190 "i" (n & 8 ? (n & 16 ? &tt_mfp.int_mk_a : &st_mfp.int_mk_a) \191 : (n & 16 ? &tt_mfp.int_mk_b : &st_mfp.int_mk_b)), \369 st_mfp.vec_adr = 0x48; /* Software EOI-Mode */ in atari_init_IRQ()371 st_mfp.vec_adr = 0x40; /* Automatic EOI-Mode */ in atari_init_IRQ()373 st_mfp.int_en_a = 0x00; /* turn off MFP-Ints */ in atari_init_IRQ()374 st_mfp.int_en_b = 0x00; in atari_init_IRQ()375 st_mfp.int_mk_a = 0xff; /* no Masking */ in atari_init_IRQ()376 st_mfp.int_mk_b = 0xff; in atari_init_IRQ()
30 st_mfp.tim_dt_c = INT_TICKS; in atari_sched_init()32 st_mfp.tim_ct_cd = (st_mfp.tim_ct_cd & 15) | 0x60; in atari_sched_init()49 ticks = st_mfp.tim_dt_c; in atari_gettimeoffset()53 if (st_mfp.int_pn_b & (1 << 5)) in atari_gettimeoffset()
612 } while ((st_mfp.par_dt_reg & 0x10) == 0); in atari_keyb_init()615 st_mfp.active_edge &= ~0x10; in atari_keyb_init()
261 if (hwreg_present(&st_mfp.par_dt_reg)) { in config_atari()
116 reg = (unsigned char *)&st_mfp.int_en_a + type*4 + in get_mfp_bit()126 reg = (unsigned char *)&st_mfp.int_en_a + type*4 + in set_mfp_bit()137 reg = (unsigned char *)&st_mfp.int_en_a + type*4 + in clear_mfp_bit()
116 __asm__ __volatile__ ( "tstb %0" : : "m" (st_mfp.par_dt_reg) : "cc" );568 # define st_mfp ((*(volatile struct MFP*)MFP_BAS)) macro
87 return ((st_mfp.par_dt_reg & 1 ? 0 : PARPORT_STATUS_BUSY) | in parport_atari_read_status()196 st_mfp.data_dir &= ~1; in parport_atari_init()198 st_mfp.active_edge &= ~1; in parport_atari_init()
850 st_mfp.tim_ct_a = 0; /* ++roman: Stop timer before programming! */ in AtaIrqInit()851 st_mfp.tim_dt_a = 1; /* Cause interrupt after first event. */ in AtaIrqInit()852 st_mfp.tim_ct_a = 8; /* Turn on event counting. */ in AtaIrqInit()857 st_mfp.int_en_a |= 0x20; /* Turn interrupt on. */ in AtaIrqInit()858 st_mfp.int_mk_a |= 0x20; in AtaIrqInit()865 st_mfp.tim_ct_a = 0; /* stop timer */ in AtaIrqCleanUp()866 st_mfp.int_en_a &= ~0x20; /* turn interrupt off */ in AtaIrqCleanUp()1603 if ((st_mfp.int_en_a & st_mfp.int_mk_a & 0x20) == 0) in dmasound_atari_init()
837 mono_moni = (st_mfp.par_dt_reg & 0x80) == 0; in tt_detect()2029 mono_moni = (st_mfp.par_dt_reg & 0x80) == 0; in stste_detect()2080 st_mfp.tim_ct_b = 0x10; in st_ovsc_switch()2081 st_mfp.active_edge |= 8; in st_ovsc_switch()2082 st_mfp.tim_ct_b = 0; in st_ovsc_switch()2083 st_mfp.tim_dt_b = 0xf0; in st_ovsc_switch()2084 st_mfp.tim_ct_b = 8; in st_ovsc_switch()2085 while (st_mfp.tim_dt_b > 1) /* TOS does it this way, don't ask why */ in st_ovsc_switch()2087 new = st_mfp.tim_dt_b; in st_ovsc_switch()2091 new = st_mfp.tim_dt_b; in st_ovsc_switch()[all …]
1767 if (!(st_mfp.par_dt_reg & 0x20)) in fd_test_drive_present()1784 while( st_mfp.par_dt_reg & 0x20 ) in fd_test_drive_present()