fdctlr
fd_attach_check_drive(struct fdctlr *fdc)
#define SEC_SIZE_CODE (fdctlr.c_csb->csb_unit]->un_chars->medium ? 3 : 2)
fd_cleanup(dev_info_t *dip, struct fdctlr *fdc, int hard, int locks)
struct fdctlr *fdc = fd_getctlr(instance << FDINSTSHIFT);
register struct fdctlr *fdc;
struct fdctlr *fdc;
struct fdctlr *fdc;
static void quiesce_fd_interrupt(struct fdctlr *);
register struct fdctlr *fdc;
struct fdctlr *fdc;
static int fd_attach_check_drive(struct fdctlr *fdc);
struct fdctlr *fdc = arg;
static int fd_attach_det_ctlr(dev_info_t *dip, struct fdctlr *fdc);
static int fd_attach_map_regs(dev_info_t *dip, struct fdctlr *fdc);
static int fd_attach_register_interrupts(dev_info_t *dip, struct fdctlr *fdc,
struct fdctlr *fdc;
static int fdcheckdisk(struct fdctlr *fdc, int unit);
static void fd_cleanup(dev_info_t *dip, struct fdctlr *fdc, int hard,
static void fdeject(struct fdctlr *, int unit);
static int fdexec(struct fdctlr *fdc, int flags);
static void fdexec_turn_on_motor(struct fdctlr *fdc, int flags, uint_t unit);
static int fdformat(struct fdctlr *fdc, int unit, int cyl, int hd);
static struct fdctlr *fd_getctlr(dev_t);
static void fdgetcsb(struct fdctlr *);
static int fdgetlabel(struct fdctlr *fdc, int unit);
enum dkio_state fd_get_media_state(struct fdctlr *, int);
static int fdrawioctl(struct fdctlr *, int, intptr_t, int);
static int fdrecalseek(struct fdctlr *fdc, int unit, int arg, int execflg);
static int fdrecover(struct fdctlr *);
static void fdretcsb(struct fdctlr *);
static int fdreset(struct fdctlr *);
static int fdrw(struct fdctlr *fdc, int, int, int, int, int, caddr_t, uint_t);
static void fdselect(struct fdctlr *fdc, int unit, int onoff);
static int fdsensedrv(struct fdctlr *fdc, int unit);
static int fdsense_chng(struct fdctlr *, int unit);
static void fdstart(struct fdctlr *);
static int fdstart_dma(register struct fdctlr *fdc, caddr_t addr, uint_t len);
static int fd_unbind_handle(struct fdctlr *);
static void set_rotational_speed(struct fdctlr *, int);
static int fd_pm_lower_power(struct fdctlr *fdc);
static int fd_pm_raise_power(struct fdctlr *fdc);
static void set_data_count_register(struct fdctlr *fdc, uint32_t count);
static uint32_t get_data_count_register(struct fdctlr *fdc);
static void reset_dma_controller(struct fdctlr *fdc);
static void set_data_address_register(struct fdctlr *fdc, uint32_t address);
static uint32_t get_dma_control_register(struct fdctlr *fdc);
static void set_dma_mode(struct fdctlr *fdc, int val);
static void set_dma_control_register(struct fdctlr *fdc, uint32_t val);
static void release_sb_dma(struct fdctlr *fdc);
fdrawioctl(struct fdctlr *fdc, int unit, intptr_t arg, int mode)
struct fdctlr *fdctlrs; /* linked list of controllers */
fdformat(struct fdctlr *fdc, int unit, int cyl, int hd)
fdstart(struct fdctlr *fdc)
fdstart_dma(struct fdctlr *fdc, caddr_t addr, uint_t len)
fd_unbind_handle(struct fdctlr *fdc)
fdexec(struct fdctlr *fdc, int flags)
fdexec_turn_on_motor(struct fdctlr *fdc, int flags, uint_t unit)
fdrecover(struct fdctlr *fdc)
struct fdctlr *fdc;
struct fdctlr *fdc = (struct fdctlr *)arg;
struct fdctlr *fdc = arg;
fdgetcsb(struct fdctlr *fdc)
fdretcsb(struct fdctlr *fdc)
fdreset(struct fdctlr *fdc)
fdrecalseek(struct fdctlr *fdc, int unit, int arg, int execflg)
fdsensedrv(struct fdctlr *fdc, int unit)
fdcheckdisk(struct fdctlr *fdc, int unit)
fdselect(struct fdctlr *fdc, int unit, int on)
fdeject(struct fdctlr *fdc, int unit)
fdsense_chng(struct fdctlr *fdc, int unit)
fdgetlabel(struct fdctlr *fdc, int unit)
fdrw(struct fdctlr *fdc, int unit, int rw, int cyl, int head,
static struct fdctlr *
struct fdctlr *fdc = fdctlrs;
set_rotational_speed(struct fdctlr *fdc, int unit)
struct fdctlr *fdc;
struct fdctlr *fdc;
fd_get_media_state(struct fdctlr *fdc, int unit)
struct fdctlr *fdc;
struct fdctlr *fdc;
fd_pm_lower_power(struct fdctlr *fdc)
fd_pm_raise_power(struct fdctlr *fdc)
set_data_count_register(struct fdctlr *fdc, uint32_t count)
get_data_count_register(struct fdctlr *fdc)
reset_dma_controller(struct fdctlr *fdc)
get_dma_control_register(struct fdctlr *fdc)
set_data_address_register(struct fdctlr *fdc, uint32_t address)
set_dma_mode(struct fdctlr *fdc, int val)
set_dma_control_register(struct fdctlr *fdc, uint32_t val)
release_sb_dma(struct fdctlr *fdc)
quiesce_fd_interrupt(struct fdctlr *fdc)
fd_attach_map_regs(dev_info_t *dip, struct fdctlr *fdc)
fd_attach_det_ctlr(dev_info_t *dip, struct fdctlr *fdc)
fd_attach_register_interrupts(dev_info_t *dip, struct fdctlr *fdc, int *hard)
struct fdctlr *c_next; /* next in a linked list */