Lines Matching +full:mmu +full:- +full:500

1 /* SPDX-License-Identifier: GPL-2.0 */
76 #if 0 /* P3: added by Alain, these cause a MMU corruption. 19960524 XXX */
106 sun_fdc->dor_82077 = value; in sun_set_dor()
111 return sun_fdc->dir_82077; in sun_read_dir()
122 return sun_fdc->status_82072 & ~STATUS_DMA; in sun_82072_fd_inb()
124 return sun_fdc->data_82072; in sun_82072_fd_inb()
142 sun_fdc->data_82072 = value; in sun_82072_fd_outb()
145 sun_fdc->dcr_82072 = value; in sun_82072_fd_outb()
148 sun_fdc->status_82072 = value; in sun_82072_fd_outb()
162 return sun_fdc->status1_82077; in sun_82077_fd_inb()
164 return sun_fdc->status2_82077; in sun_82077_fd_inb()
166 return sun_fdc->dor_82077; in sun_82077_fd_inb()
168 return sun_fdc->tapectl_82077; in sun_82077_fd_inb()
170 return sun_fdc->status_82077 & ~STATUS_DMA; in sun_82077_fd_inb()
172 return sun_fdc->data_82077; in sun_82077_fd_inb()
190 sun_fdc->data_82077 = value; in sun_82077_fd_outb()
193 sun_fdc->dcr_82077 = value; in sun_82077_fd_outb()
196 sun_fdc->status_82077 = value; in sun_82077_fd_outb()
199 sun_fdc->tapectl_82077 = value; in sun_82077_fd_outb()
205 /* For pseudo-dma (Sun floppy drives have no real DMA available to
207 * three state variables. doing_pdma tells our inline low-level
210 * floppy interrupt c-code. I tried very hard but I could not get the
211 * pseudo-dma to work in c-code without getting many overruns and
212 * underruns. If non-zero, doing_pdma encodes the direction of
308 if (prom_getproperty(fd_node, "status", state, sizeof(state)) != -1) { in sun_floppy_init()
340 FLOPPY_IRQ = op->archdata.irqs[0]; in sun_floppy_init()
343 if (sun_fdc->status_82072 == 0xff) { in sun_floppy_init()
350 fdc_status = &sun_fdc->status_82077; in sun_floppy_init()
352 if (sun_fdc->dor_82077 == 0x80) { in sun_floppy_init()
353 sun_fdc->dor_82077 = 0x02; in sun_floppy_init()
354 if (sun_fdc->dor_82077 == 0x80) { in sun_floppy_init()
357 fdc_status = &sun_fdc->status_82072; in sun_floppy_init()
366 return -1; in sun_floppy_init()
372 udelay(500); in sparc_eject()
374 udelay(500); in sparc_eject()