Home
last modified time | relevance | path

Searched refs:sun_fdc (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/include/asm-sparc/
Dfloppy.h52 static struct sun_flpy_controller *sun_fdc = NULL; variable
114 return sun_fdc->status_82072 & ~STATUS_DMA; in sun_82072_fd_inb()
116 return sun_fdc->data_82072; in sun_82072_fd_inb()
147 sun_fdc->data_82072 = value; in sun_82072_fd_outb()
150 sun_fdc->dcr_82072 = value; in sun_82072_fd_outb()
153 sun_fdc->status_82072 = value; in sun_82072_fd_outb()
167 return sun_fdc->status_82077 & ~STATUS_DMA; in sun_82077_fd_inb()
169 return sun_fdc->data_82077; in sun_82077_fd_inb()
172 return sun_fdc->dir_82077; in sun_82077_fd_inb()
186 sun_fdc->dor_82077 = value; in sun_82077_fd_outb()
[all …]
/linux-2.4.37.9/include/asm-sparc64/
Dfloppy.h52 static struct sun_flpy_controller *sun_fdc = (struct sun_flpy_controller *)-1; variable
106 #define FDC1 ((unsigned long)sun_fdc)
122 return sbus_readb(&sun_fdc->status_82077) & ~STATUS_DMA; in sun_82077_fd_inb()
124 return sbus_readb(&sun_fdc->data_82077); in sun_82077_fd_inb()
127 return sbus_readb(&sun_fdc->dir_82077); in sun_82077_fd_inb()
141 sbus_writeb(value, &sun_fdc->dor_82077); in sun_82077_fd_outb()
144 sbus_writeb(value, &sun_fdc->data_82077); in sun_82077_fd_outb()
147 sbus_writeb(value, &sun_fdc->dcr_82077); in sun_82077_fd_outb()
150 sbus_writeb(value, &sun_fdc->status_82077); in sun_82077_fd_outb()
304 if (port == ((unsigned long)sun_fdc) + 2) { in sun_pci_fd_broken_outb()
[all …]