Lines Matching refs:csb_cmds

2644 		csb->csb_cmds[i] = fdr.fdr_cmd[i];  in fdrawioctl()
2660 csb->csb_cmds[2] = csb->csb_cmds[2] & 0xFE; in fdrawioctl()
2662 csb->csb_cmds[2] = csb->csb_cmds[2] | 0x1; in fdrawioctl()
2670 csb->csb_cmds[1] = csb->csb_cmds[1] | (unit & DRV_MASK); in fdrawioctl()
2678 csb->csb_cmds[1] = csb->csb_cmds[1] | (unit & DRV_MASK); in fdrawioctl()
2688 csb->csb_cmds[1] = csb->csb_cmds[1] | (unit & DRV_MASK); in fdrawioctl()
2757 csb->csb_cmds[1] = csb->csb_cmds[1] | (unit & DRV_MASK); in fdrawioctl()
2759 csb->csb_cmds[1] |= IPS; in fdrawioctl()
2847 (C, "cmd: %x %x %x %x %x %x %x %x %x %x\n", csb->csb_cmds[0], in fdrawioctl()
2848 csb->csb_cmds[1], csb->csb_cmds[2], csb->csb_cmds[3], in fdrawioctl()
2849 csb->csb_cmds[4], csb->csb_cmds[5], csb->csb_cmds[6], in fdrawioctl()
2850 csb->csb_cmds[7], csb->csb_cmds[8], csb->csb_cmds[9])); in fdrawioctl()
2988 csb->csb_cmds[0] = FDRAW_FORMAT; in fdformat()
2990 csb->csb_cmds[0] |= MFM; in fdformat()
2991 csb->csb_cmds[1] = (hd << 2) | (unit & 0x03); in fdformat()
2992 csb->csb_cmds[2] = ch->fdc_medium ? 3 : 2; in fdformat()
2993 csb->csb_cmds[3] = ch->fdc_secptrack; in fdformat()
2994 csb->csb_cmds[4] = GPLF; in fdformat()
2995 csb->csb_cmds[5] = FDATA; in fdformat()
3172 csb->csb_cmds[0] = SK | FDRAW_RDCMD | MFM; in fdstart()
3174 csb->csb_cmds[0] = MT | SK | FDRAW_RDCMD | MFM; in fdstart()
3177 csb->csb_cmds[0] = FDRAW_WRCMD | MFM; in fdstart()
3179 csb->csb_cmds[0] = MT | FDRAW_WRCMD | MFM; in fdstart()
3189 csb->csb_cmds[5] = ch->fdc_medium ? 3 : 2; /* sector size */ in fdstart()
3190 csb->csb_cmds[6] = ch->fdc_secptrack; /* EOT-# of sectors/trk */ in fdstart()
3191 csb->csb_cmds[7] = GPLN; /* GPL - gap 3 size code */ in fdstart()
3192 csb->csb_cmds[8] = SSSDTL; /* DTL - be 0xFF if N != 0 */ in fdstart()
3300 csb->csb_cmds[1] = (head << 2) | unit; in fdstart()
3302 csb->csb_cmds[1] |= IPS; in fdstart()
3304 csb->csb_cmds[2] = cyl; /* C - cylinder address */ in fdstart()
3305 csb->csb_cmds[3] = head; /* H - head number */ in fdstart()
3306 csb->csb_cmds[4] = sect; /* R - sector number */ in fdstart()
3308 csb->csb_cmds[6] = sect + in fdstart()
3619 fdcmds[csb->csb_cmds[0] & 0x1f].cmdname)); in fdexec()
3670 switch (csb->csb_cmds[0] & 0x1f) { in fdexec()
3777 Set_Fifo(fdc, csb->csb_cmds[i]); in fdexec()
3780 (C, "fdexec: sent 0x%x, Msr 0x%x\n", csb->csb_cmds[i], in fdexec()
3903 ((csb->csb_cmds[0] != FDRAW_SENSE_DRV) && in fdexec()
3904 (csb->csb_cmds[0] != DUMPREG))) { in fdexec()
4014 fdcmds[csb->csb_cmds[0] & 0x1f].cmdname)); in fdrecover()
4093 0, fdcmds[csb->csb_cmds[0] & 0x1f].cmdname, in fdrecover()
4136 fdcmds[csb->csb_cmds[0] & 0x1f].cmdname, in fdrecover()
4143 csb->csb_unit, fdcmds[csb->csb_cmds[0] & 0x1f].cmdname, in fdrecover()
4401 fdc->c_csb.csb_cmds[2] = fdc->c_csb.csb_rslt[3]; in fdintr_dma()
4402 fdc->c_csb.csb_cmds[3] = fdc->c_csb.csb_rslt[4]; in fdintr_dma()
4403 fdc->c_csb.csb_cmds[4] = fdc->c_csb.csb_rslt[5]; in fdintr_dma()
4404 fdc->c_csb.csb_cmds[1] = (fdc->c_csb.csb_cmds[1] in fdintr_dma()
4428 Set_Fifo(fdc, fdc->c_csb.csb_cmds[i]); in fdintr_dma()
4433 fdc->c_csb.csb_cmds[i], Msr(fdc))); in fdintr_dma()
4697 fdcmds[csb->csb_cmds[0] & 0x1f].cmdname)); in fdwatch()
4873 csb->csb_cmds[0] = FDRAW_SPECIFY; in fdreset()
4874 csb->csb_cmds[1] = fdspec[0]; /* step rate, head unload time */ in fdreset()
4876 csb->csb_cmds[2] = SPEC_DMA_MODE; in fdreset()
4878 csb->csb_cmds[2] = fdspec[1]; /* head load time, DMA mode */ in fdreset()
4888 csb->csb_cmds[0] = CONFIGURE; in fdreset()
4889 csb->csb_cmds[1] = fdconf[0]; /* motor info, motor delays */ in fdreset()
4890 csb->csb_cmds[2] = fdconf[1]; /* enaimplsk, disapoll, fifothru */ in fdreset()
4891 csb->csb_cmds[3] = fdconf[2]; /* track precomp */ in fdreset()
4937 csb->csb_cmds[1] = unit & 0x03; in fdrecalseek()
4940 csb->csb_cmds[0] = FDRAW_REZERO; in fdrecalseek()
4943 csb->csb_cmds[0] = FDRAW_SEEK; in fdrecalseek()
4944 csb->csb_cmds[2] = (uchar_t)arg; in fdrecalseek()
4995 csb->csb_cmds[0] = FDRAW_SENSE_DRV; in fdsensedrv()
4997 csb->csb_cmds[1] = MOT | (unit & 0x03); in fdsensedrv()
5479 csb->csb_cmds[0] = SK + FDRAW_RDCMD; in fdrw()
5481 csb->csb_cmds[0] = MT + SK + FDRAW_RDCMD; in fdrw()
5487 csb->csb_cmds[0] = FDRAW_WRCMD; in fdrw()
5489 csb->csb_cmds[0] = MT + FDRAW_WRCMD; in fdrw()
5498 csb->csb_cmds[0] |= MFM; in fdrw()
5499 csb->csb_cmds[1] = (uchar_t)(unit | ((head & 0x1) << 2)); in fdrw()
5501 csb->csb_cmds[1] |= IPS; in fdrw()
5502 csb->csb_cmds[2] = (uchar_t)cyl; in fdrw()
5503 csb->csb_cmds[3] = (uchar_t)head; in fdrw()
5504 csb->csb_cmds[4] = (uchar_t)sector; in fdrw()
5505 csb->csb_cmds[5] = ch->fdc_medium ? 3 : 2; /* sector size code */ in fdrw()
5510 csb->csb_cmds[6] = sector + (len / ch->fdc_sec_size) - 1; in fdrw()
5512 csb->csb_cmds[6] = in fdrw()
5515 csb->csb_cmds[7] = GPLN; in fdrw()
5516 csb->csb_cmds[8] = SSSDTL; in fdrw()