Lines Matching refs:sun_fdc
52 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()
189 sun_fdc->data_82077 = value; in sun_82077_fd_outb()
192 sun_fdc->dcr_82077 = value; in sun_82077_fd_outb()
195 sun_fdc->status_82077 = value; in sun_82077_fd_outb()
322 sun_fdc = (struct sun_flpy_controller *) in sun_floppy_init()
326 if(sun_fdc->status_82072 == 0xff) { in sun_floppy_init()
327 sun_fdc = NULL; in sun_floppy_init()
334 fdc_status = &sun_fdc->status_82072; in sun_floppy_init()
339 fdc_status = &sun_fdc->status_82077; in sun_floppy_init()
345 return (int) sun_fdc; in sun_floppy_init()