Searched refs:mfp (Results 1 – 14 of 14) sorted by relevance
42 while (!(mfp.trn_stat & 0x80)) /* wait for tx buf empty */ in ata_mfp_out()44 mfp.usart_dta = c; in ata_mfp_out()99 while( (mfp.par_dt_reg & 1) && --i ) /* wait for BUSY == L */ in ata_par_out()137 while( !(mfp.rcv_stat & 0x80) ) /* wait for rx buf filled */ in atari_mfp_console_wait_key()139 return( mfp.usart_dta ); in atari_mfp_console_wait_key()181 mfp.trn_stat &= ~0x01; /* disable TX */ in atari_init_mfp_port()182 mfp.usart_ctr = parity | csize | 0x88; /* 1:16 clk mode, 1 stop bit */ in atari_init_mfp_port()183 mfp.tim_ct_cd &= 0x70; /* stop timer D */ in atari_init_mfp_port()184 mfp.tim_dt_d = baud_table[baud]; in atari_init_mfp_port()185 mfp.tim_ct_cd |= 0x01; /* start timer D, 1:4 */ in atari_init_mfp_port()[all …]
195 "i" (n & 8 ? (n & 16 ? &tt_mfp.int_mk_a : &mfp.int_mk_a) \196 : (n & 16 ? &tt_mfp.int_mk_b : &mfp.int_mk_b)), \346 mfp.vec_adr = 0x48; /* Software EOI-Mode */ in atari_init_IRQ()348 mfp.vec_adr = 0x40; /* Automatic EOI-Mode */ in atari_init_IRQ()350 mfp.int_en_a = 0x00; /* turn off MFP-Ints */ in atari_init_IRQ()351 mfp.int_en_b = 0x00; in atari_init_IRQ()352 mfp.int_mk_a = 0xff; /* no Masking */ in atari_init_IRQ()353 mfp.int_mk_b = 0xff; in atari_init_IRQ()
25 mfp.tim_dt_c = INT_TICKS; in atari_sched_init()27 mfp.tim_ct_cd = (mfp.tim_ct_cd & 15) | 0x60; in atari_sched_init()43 ticks = mfp.tim_dt_c; in atari_gettimeoffset()47 if (mfp.int_pn_b & (1 << 5)) in atari_gettimeoffset()
818 while ((mfp.par_dt_reg & 0x10) == 0); in atari_keyb_init()821 mfp.active_edge &= ~0x10; in atari_keyb_init()
339 if (hwreg_present( &mfp.par_dt_reg )) { in config_atari()
127 reg = (unsigned char *)&mfp.int_en_a + type*4 + in get_mfp_bit()137 reg = (unsigned char *)&mfp.int_en_a + type*4 + in set_mfp_bit()148 reg = (unsigned char *)&mfp.int_en_a + type*4 + in clear_mfp_bit()
117 __asm__ __volatile__ ( "tstb %0" : : "m" (mfp.par_dt_reg) : "cc" );569 # define mfp ((*(volatile struct MFP*)MFP_BAS)) macro
90 return ((mfp.par_dt_reg & 1 ? 0 : PARPORT_STATUS_BUSY) | in parport_atari_read_status()222 mfp.data_dir &= ~1; in parport_atari_init()224 mfp.active_edge &= ~1; in parport_atari_init()
703 #define DBG_DUMP_FW_REQUEST_FRAME(mfp) \ argument705 u32 *m = (u32 *)(mfp); \713 #define DBG_DUMP_FW_REQUEST_FRAME(mfp) argument848 #define DBG_DUMP_REPLY_FRAME(mfp) \ argument849 { u32 *m = (u32 *)(mfp); \856 #define DBG_DUMP_REQUEST_FRAME_HDR(mfp) \ argument858 u32 *m = (u32 *)(mfp); \865 #define DBG_DUMP_REPLY_FRAME(mfp) argument866 #define DBG_DUMP_REQUEST_FRAME_HDR(mfp) argument
843 mfp.tim_ct_a = 0; /* ++roman: Stop timer before programming! */ in AtaIrqInit()844 mfp.tim_dt_a = 1; /* Cause interrupt after first event. */ in AtaIrqInit()845 mfp.tim_ct_a = 8; /* Turn on event counting. */ in AtaIrqInit()849 mfp.int_en_a |= 0x20; /* Turn interrupt on. */ in AtaIrqInit()850 mfp.int_mk_a |= 0x20; in AtaIrqInit()857 mfp.tim_ct_a = 0; /* stop timer */ in AtaIrqCleanUp()858 mfp.int_en_a &= ~0x20; /* turn interrupt off */ in AtaIrqCleanUp()1592 if ((mfp.int_en_a & mfp.int_mk_a & 0x20) == 0) in dmasound_atari_init()
746 mono_moni = (mfp.par_dt_reg & 0x80) == 0; in tt_detect()2016 mono_moni = (mfp.par_dt_reg & 0x80) == 0; in stste_detect()2068 mfp.tim_ct_b = 0x10; in st_ovsc_switch()2069 mfp.active_edge |= 8; in st_ovsc_switch()2070 mfp.tim_ct_b = 0; in st_ovsc_switch()2071 mfp.tim_dt_b = 0xf0; in st_ovsc_switch()2072 mfp.tim_ct_b = 8; in st_ovsc_switch()2073 while (mfp.tim_dt_b > 1) /* TOS does it this way, don't ask why */ in st_ovsc_switch()2075 new = mfp.tim_dt_b; in st_ovsc_switch()2079 new = mfp.tim_dt_b; in st_ovsc_switch()[all …]
421 if (!(mfp.par_dt_reg & 0x20)) return( 1 ); in acsi_wait_for_IRQ()426 if (!(mfp.par_dt_reg & 0x20)) return( 1 ); in acsi_wait_for_IRQ()438 if (mfp.par_dt_reg & 0x20) return( 1 ); in acsi_wait_for_noIRQ()443 if (mfp.par_dt_reg & 0x20) return( 1 ); in acsi_wait_for_noIRQ()
1815 if (!(mfp.par_dt_reg & 0x20)) in fd_test_drive_present()1832 while( mfp.par_dt_reg & 0x20 ) in fd_test_drive_present()
245 #define MFP_GPIP mfp.par_dt_reg