Home
last modified time | relevance | path

Searched refs:st_mfp (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/arch/m68k/atari/
Dataints.c138 .mfp = &st_mfp,
276 st_mfp.vec_adr = 0x48; /* Software EOI-Mode */ in atari_init_IRQ()
278 st_mfp.vec_adr = 0x40; /* Automatic EOI-Mode */ in atari_init_IRQ()
280 st_mfp.int_en_a = 0x00; /* turn off MFP-Ints */ in atari_init_IRQ()
281 st_mfp.int_en_b = 0x00; in atari_init_IRQ()
282 st_mfp.int_mk_a = 0xff; /* no Masking */ in atari_init_IRQ()
283 st_mfp.int_mk_b = 0xff; in atari_init_IRQ()
342 st_mfp.tim_dt_d = 254; /* < 100 Hz */ in atari_init_IRQ()
344 st_mfp.tim_ct_cd = (st_mfp.tim_ct_cd & 0xf0) | 0x6; in atari_init_IRQ()
Ddebug.c37 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 …]
Dtime.c48 last_timer_count = st_mfp.tim_dt_c; in mfp_timer_c_handler()
61 st_mfp.tim_dt_c = INT_TICKS; in atari_sched_init()
63 st_mfp.tim_ct_cd = (st_mfp.tim_ct_cd & 15) | 0x60; in atari_sched_init()
84 count = min(st_mfp.tim_dt_c, last_timer_count); in atari_read_clk()
Datakeyb.c541 } while ((st_mfp.par_dt_reg & 0x10) == 0); in atari_keyb_init()
544 st_mfp.active_edge &= ~0x10; in atari_keyb_init()
Dconfig.c259 if (hwreg_present(&st_mfp.par_dt_reg)) { in config_atari()
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Datariints.h120 reg = (unsigned char *)&st_mfp.int_en_a + type*4 + in get_mfp_bit()
130 reg = (unsigned char *)&st_mfp.int_en_a + type*4 + in set_mfp_bit()
141 reg = (unsigned char *)&st_mfp.int_en_a + type*4 + in clear_mfp_bit()
Datarihw.h124 __asm__ __volatile__ ( "tstb %0" : : "m" (st_mfp.par_dt_reg) : "cc" );
568 # define st_mfp ((*(volatile struct MFP*)MFP_BAS)) macro
/kernel/linux/linux-5.10/drivers/parport/
Dparport_atari.c88 return ((st_mfp.par_dt_reg & 1 ? 0 : PARPORT_STATUS_BUSY) | in parport_atari_read_status()
188 st_mfp.data_dir &= ~1; in parport_atari_init()
190 st_mfp.active_edge &= ~1; in parport_atari_init()
/kernel/linux/linux-5.10/sound/oss/dmasound/
Ddmasound_atari.c851 st_mfp.tim_ct_a = 0; /* ++roman: Stop timer before programming! */ in AtaIrqInit()
852 st_mfp.tim_dt_a = 1; /* Cause interrupt after first event. */ in AtaIrqInit()
853 st_mfp.tim_ct_a = 8; /* Turn on event counting. */ in AtaIrqInit()
858 st_mfp.int_en_a |= 0x20; /* Turn interrupt on. */ in AtaIrqInit()
859 st_mfp.int_mk_a |= 0x20; in AtaIrqInit()
866 st_mfp.tim_ct_a = 0; /* stop timer */ in AtaIrqCleanUp()
867 st_mfp.int_en_a &= ~0x20; /* turn interrupt off */ in AtaIrqCleanUp()
1604 if ((st_mfp.int_en_a & st_mfp.int_mk_a & 0x20) == 0) in dmasound_atari_init()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Datafb.c813 mono_moni = (st_mfp.par_dt_reg & 0x80) == 0; in tt_detect()
2005 mono_moni = (st_mfp.par_dt_reg & 0x80) == 0; in stste_detect()
2056 st_mfp.tim_ct_b = 0x10; in st_ovsc_switch()
2057 st_mfp.active_edge |= 8; in st_ovsc_switch()
2058 st_mfp.tim_ct_b = 0; in st_ovsc_switch()
2059 st_mfp.tim_dt_b = 0xf0; in st_ovsc_switch()
2060 st_mfp.tim_ct_b = 8; in st_ovsc_switch()
2061 while (st_mfp.tim_dt_b > 1) /* TOS does it this way, don't ask why */ in st_ovsc_switch()
2063 new = st_mfp.tim_dt_b; in st_ovsc_switch()
2067 new = st_mfp.tim_dt_b; in st_ovsc_switch()
[all …]
/kernel/linux/linux-5.10/drivers/block/
Dataflop.c1816 if (!(st_mfp.par_dt_reg & 0x20)) in fd_test_drive_present()
1833 while( st_mfp.par_dt_reg & 0x20 ) in fd_test_drive_present()