Lines Matching refs:csb_cmds
2647 csb->csb_cmds[i] = fdr.fdr_cmd[i]; in fdrawioctl()
2663 csb->csb_cmds[2] = csb->csb_cmds[2] & 0xFE; in fdrawioctl()
2665 csb->csb_cmds[2] = csb->csb_cmds[2] | 0x1; in fdrawioctl()
2673 csb->csb_cmds[1] = csb->csb_cmds[1] | (unit & DRV_MASK); in fdrawioctl()
2681 csb->csb_cmds[1] = csb->csb_cmds[1] | (unit & DRV_MASK); in fdrawioctl()
2691 csb->csb_cmds[1] = csb->csb_cmds[1] | (unit & DRV_MASK); in fdrawioctl()
2760 csb->csb_cmds[1] = csb->csb_cmds[1] | (unit & DRV_MASK); in fdrawioctl()
2762 csb->csb_cmds[1] |= IPS; in fdrawioctl()
2850 (C, "cmd: %x %x %x %x %x %x %x %x %x %x\n", csb->csb_cmds[0], in fdrawioctl()
2851 csb->csb_cmds[1], csb->csb_cmds[2], csb->csb_cmds[3], in fdrawioctl()
2852 csb->csb_cmds[4], csb->csb_cmds[5], csb->csb_cmds[6], in fdrawioctl()
2853 csb->csb_cmds[7], csb->csb_cmds[8], csb->csb_cmds[9])); in fdrawioctl()
2991 csb->csb_cmds[0] = FDRAW_FORMAT; in fdformat()
2993 csb->csb_cmds[0] |= MFM; in fdformat()
2994 csb->csb_cmds[1] = (hd << 2) | (unit & 0x03); in fdformat()
2995 csb->csb_cmds[2] = ch->fdc_medium ? 3 : 2; in fdformat()
2996 csb->csb_cmds[3] = ch->fdc_secptrack; in fdformat()
2997 csb->csb_cmds[4] = GPLF; in fdformat()
2998 csb->csb_cmds[5] = FDATA; in fdformat()
3175 csb->csb_cmds[0] = SK | FDRAW_RDCMD | MFM; in fdstart()
3177 csb->csb_cmds[0] = MT | SK | FDRAW_RDCMD | MFM; in fdstart()
3180 csb->csb_cmds[0] = FDRAW_WRCMD | MFM; in fdstart()
3182 csb->csb_cmds[0] = MT | FDRAW_WRCMD | MFM; in fdstart()
3192 csb->csb_cmds[5] = ch->fdc_medium ? 3 : 2; /* sector size */ in fdstart()
3193 csb->csb_cmds[6] = ch->fdc_secptrack; /* EOT-# of sectors/trk */ in fdstart()
3194 csb->csb_cmds[7] = GPLN; /* GPL - gap 3 size code */ in fdstart()
3195 csb->csb_cmds[8] = SSSDTL; /* DTL - be 0xFF if N != 0 */ in fdstart()
3303 csb->csb_cmds[1] = (head << 2) | unit; in fdstart()
3305 csb->csb_cmds[1] |= IPS; in fdstart()
3307 csb->csb_cmds[2] = cyl; /* C - cylinder address */ in fdstart()
3308 csb->csb_cmds[3] = head; /* H - head number */ in fdstart()
3309 csb->csb_cmds[4] = sect; /* R - sector number */ in fdstart()
3311 csb->csb_cmds[6] = sect + in fdstart()
3622 fdcmds[csb->csb_cmds[0] & 0x1f].cmdname)); in fdexec()
3673 switch (csb->csb_cmds[0] & 0x1f) { in fdexec()
3780 Set_Fifo(fdc, csb->csb_cmds[i]); in fdexec()
3783 (C, "fdexec: sent 0x%x, Msr 0x%x\n", csb->csb_cmds[i], in fdexec()
3906 ((csb->csb_cmds[0] != FDRAW_SENSE_DRV) && in fdexec()
3907 (csb->csb_cmds[0] != DUMPREG))) { in fdexec()
4017 fdcmds[csb->csb_cmds[0] & 0x1f].cmdname)); in fdrecover()
4096 0, fdcmds[csb->csb_cmds[0] & 0x1f].cmdname, in fdrecover()
4139 fdcmds[csb->csb_cmds[0] & 0x1f].cmdname, in fdrecover()
4146 csb->csb_unit, fdcmds[csb->csb_cmds[0] & 0x1f].cmdname, in fdrecover()
4404 fdc->c_csb.csb_cmds[2] = fdc->c_csb.csb_rslt[3]; in fdintr_dma()
4405 fdc->c_csb.csb_cmds[3] = fdc->c_csb.csb_rslt[4]; in fdintr_dma()
4406 fdc->c_csb.csb_cmds[4] = fdc->c_csb.csb_rslt[5]; in fdintr_dma()
4407 fdc->c_csb.csb_cmds[1] = (fdc->c_csb.csb_cmds[1] in fdintr_dma()
4431 Set_Fifo(fdc, fdc->c_csb.csb_cmds[i]); in fdintr_dma()
4436 fdc->c_csb.csb_cmds[i], Msr(fdc))); in fdintr_dma()
4700 fdcmds[csb->csb_cmds[0] & 0x1f].cmdname)); in fdwatch()
4876 csb->csb_cmds[0] = FDRAW_SPECIFY; in fdreset()
4877 csb->csb_cmds[1] = fdspec[0]; /* step rate, head unload time */ in fdreset()
4879 csb->csb_cmds[2] = SPEC_DMA_MODE; in fdreset()
4881 csb->csb_cmds[2] = fdspec[1]; /* head load time, DMA mode */ in fdreset()
4891 csb->csb_cmds[0] = CONFIGURE; in fdreset()
4892 csb->csb_cmds[1] = fdconf[0]; /* motor info, motor delays */ in fdreset()
4893 csb->csb_cmds[2] = fdconf[1]; /* enaimplsk, disapoll, fifothru */ in fdreset()
4894 csb->csb_cmds[3] = fdconf[2]; /* track precomp */ in fdreset()
4940 csb->csb_cmds[1] = unit & 0x03; in fdrecalseek()
4943 csb->csb_cmds[0] = FDRAW_REZERO; in fdrecalseek()
4946 csb->csb_cmds[0] = FDRAW_SEEK; in fdrecalseek()
4947 csb->csb_cmds[2] = (uchar_t)arg; in fdrecalseek()
4998 csb->csb_cmds[0] = FDRAW_SENSE_DRV; in fdsensedrv()
5000 csb->csb_cmds[1] = MOT | (unit & 0x03); in fdsensedrv()
5482 csb->csb_cmds[0] = SK + FDRAW_RDCMD; in fdrw()
5484 csb->csb_cmds[0] = MT + SK + FDRAW_RDCMD; in fdrw()
5490 csb->csb_cmds[0] = FDRAW_WRCMD; in fdrw()
5492 csb->csb_cmds[0] = MT + FDRAW_WRCMD; in fdrw()
5501 csb->csb_cmds[0] |= MFM; in fdrw()
5502 csb->csb_cmds[1] = (uchar_t)(unit | ((head & 0x1) << 2)); in fdrw()
5504 csb->csb_cmds[1] |= IPS; in fdrw()
5505 csb->csb_cmds[2] = (uchar_t)cyl; in fdrw()
5506 csb->csb_cmds[3] = (uchar_t)head; in fdrw()
5507 csb->csb_cmds[4] = (uchar_t)sector; in fdrw()
5508 csb->csb_cmds[5] = ch->fdc_medium ? 3 : 2; /* sector size code */ in fdrw()
5513 csb->csb_cmds[6] = sector + (len / ch->fdc_sec_size) - 1; in fdrw()
5515 csb->csb_cmds[6] = in fdrw()
5518 csb->csb_cmds[7] = GPLN; in fdrw()
5519 csb->csb_cmds[8] = SSSDTL; in fdrw()