Home
last modified time | relevance | path

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

/arch/sparc/include/asm/
Dfloppy_32.h53 static struct sun_flpy_controller *sun_fdc = NULL; variable
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()
[all …]
Dfloppy_64.h45 static struct sun_flpy_controller *sun_fdc = (struct sun_flpy_controller *)-1; variable
92 #define FDC1 ((unsigned long)sun_fdc)
108 return sbus_readb(&sun_fdc->status_82077) & ~STATUS_DMA; in sun_82077_fd_inb()
110 return sbus_readb(&sun_fdc->data_82077); in sun_82077_fd_inb()
113 return sbus_readb(&sun_fdc->dir_82077); in sun_82077_fd_inb()
127 sbus_writeb(value, &sun_fdc->dor_82077); in sun_82077_fd_outb()
130 sbus_writeb(value, &sun_fdc->data_82077); in sun_82077_fd_outb()
133 sbus_writeb(value, &sun_fdc->dcr_82077); in sun_82077_fd_outb()
136 sbus_writeb(value, &sun_fdc->status_82077); in sun_82077_fd_outb()
323 if (port == ((unsigned long)sun_fdc) + 2) { in sun_pci_fd_broken_outb()
[all …]