Searched refs:xfer_shift (Results 1 – 13 of 13) sorted by relevance
86 dev->xfer_shift = ata_xfer_mode2shift(dev->xfer_mode); in generic_set_mode()91 dev->xfer_shift = ATA_SHIFT_PIO; in generic_set_mode()
45 dev->xfer_shift = ATA_SHIFT_PIO; in rz1000_set_mode()
89 dev->xfer_shift = ATA_SHIFT_PIO; in pata_gayle_set_mode()
41 dev->xfer_shift = ATA_SHIFT_PIO; in pata_platform_set_mode()
111 dev->xfer_shift = ATA_SHIFT_PIO; in pata_buddha_set_mode()
110 dev->xfer_shift = ATA_SHIFT_PIO; in pata_falcon_set_mode()
478 dev->xfer_shift = ATA_SHIFT_MWDMA; in it821x_smart_set_mode()483 dev->xfer_shift = ATA_SHIFT_PIO; in it821x_smart_set_mode()
3297 u8 ata_timing_cycle2mode(unsigned int xfer_shift, int cycle) in ata_timing_cycle2mode() argument3304 if (ent->shift == xfer_shift) in ata_timing_cycle2mode()3308 t && ata_xfer_mode2shift(t->mode) == xfer_shift; t++) { in ata_timing_cycle2mode()3311 switch (xfer_shift) { in ata_timing_cycle2mode()3433 if (dev->xfer_shift == ATA_SHIFT_PIO) in ata_dev_set_mode()3456 if (dev->xfer_shift == ATA_SHIFT_PIO) { in ata_dev_set_mode()3473 if (dev->xfer_shift == ATA_SHIFT_MWDMA && in ata_dev_set_mode()3490 dev->xfer_shift, (int)dev->xfer_mode); in ata_dev_set_mode()3569 dev->xfer_shift = ATA_SHIFT_PIO; in ata_do_set_mode()3580 dev->xfer_shift = ata_xfer_mode2shift(dev->dma_mode); in ata_do_set_mode()
400 if (dev->xfer_shift == ATA_SHIFT_PIO) { in pdc2027x_set_mode()
245 dev->xfer_shift = ATA_SHIFT_PIO; in legacy_set_mode()
1861 if (dev->xfer_shift != ATA_SHIFT_PIO) in ata_eh_speed_down()1880 (dev->xfer_shift != ATA_SHIFT_PIO)) { in ata_eh_speed_down()
75 unsigned int xfer_shift; member467 chunk->size >> desc->xfer_shift); in rcar_dmac_chan_start_xfer()774 hwdesc->tcr = chunk->size >> desc->xfer_shift; in rcar_dmac_fill_hwdesc()913 desc->xfer_shift = ilog2(xfer_size); in rcar_dmac_chan_configure_desc()914 desc->chcr = chcr | chcr_ts[desc->xfer_shift]; in rcar_dmac_chan_configure_desc()958 max_chunk_size = RCAR_DMATCR_MASK << desc->xfer_shift; in rcar_dmac_chan_prep_sg()1417 residue += tcrb << desc->xfer_shift; in rcar_dmac_chan_get_residue()
687 unsigned int xfer_shift; /* ATA_SHIFT_xxx */ member1265 extern u8 ata_timing_cycle2mode(unsigned int xfer_shift, int cycle);