Lines Matching defs:xfer_shift
963 * ata_xfer_mode2shift - Find matching xfer_shift for XFER_*
966 * Return matching xfer_shift for @xfer_mode.
972 * Matching xfer_shift, -1 if no match found.
3347 * @xfer_shift: ATA_SHIFT_* value for transfer type to examine.
3351 * the transfer type specified by @xfer_shift. If @cycle is too
3352 * slow for @xfer_shift, 0xff is returned. If @cycle is faster
3361 u8 ata_timing_cycle2mode(unsigned int xfer_shift, int cycle)
3368 if (ent->shift == xfer_shift)
3372 t && ata_xfer_mode2shift(t->mode) == xfer_shift; t++) {
3375 switch (xfer_shift) {
3497 if (dev->xfer_shift == ATA_SHIFT_PIO)
3520 if (dev->xfer_shift == ATA_SHIFT_PIO) {
3537 if (dev->xfer_shift == ATA_SHIFT_MWDMA &&
3553 ata_dev_dbg(dev, "xfer_shift=%u, xfer_mode=0x%x\n",
3554 dev->xfer_shift, (int)dev->xfer_mode);
3633 dev->xfer_shift = ATA_SHIFT_PIO;
3644 dev->xfer_shift = ata_xfer_mode2shift(dev->dma_mode);