Home
last modified time | relevance | path

Searched refs:xfer_shift (Results 1 – 12 of 12) sorted by relevance

/drivers/ata/
Data_generic.c86 dev->xfer_shift = ata_xfer_mode2shift(dev->xfer_mode); in generic_set_mode()
91 dev->xfer_shift = ATA_SHIFT_PIO; in generic_set_mode()
Dpata_rz1000.c45 dev->xfer_shift = ATA_SHIFT_PIO; in rz1000_set_mode()
Dpata_gayle.c90 dev->xfer_shift = ATA_SHIFT_PIO; in pata_gayle_set_mode()
Dpata_platform.c41 dev->xfer_shift = ATA_SHIFT_PIO; in pata_platform_set_mode()
Dpata_buddha.c112 dev->xfer_shift = ATA_SHIFT_PIO; in pata_buddha_set_mode()
Dpata_falcon.c106 dev->xfer_shift = ATA_SHIFT_PIO; in pata_falcon_set_mode()
Dpata_it821x.c477 dev->xfer_shift = ATA_SHIFT_MWDMA; in it821x_smart_set_mode()
482 dev->xfer_shift = ATA_SHIFT_PIO; in it821x_smart_set_mode()
Dlibata-core.c3120 u8 ata_timing_cycle2mode(unsigned int xfer_shift, int cycle) in ata_timing_cycle2mode() argument
3127 if (ent->shift == xfer_shift) in ata_timing_cycle2mode()
3131 t && ata_xfer_mode2shift(t->mode) == xfer_shift; t++) { in ata_timing_cycle2mode()
3134 switch (xfer_shift) { in ata_timing_cycle2mode()
3256 if (dev->xfer_shift == ATA_SHIFT_PIO) in ata_dev_set_mode()
3279 if (dev->xfer_shift == ATA_SHIFT_PIO) { in ata_dev_set_mode()
3296 if (dev->xfer_shift == ATA_SHIFT_MWDMA && in ata_dev_set_mode()
3313 dev->xfer_shift, (int)dev->xfer_mode); in ata_dev_set_mode()
3392 dev->xfer_shift = ATA_SHIFT_PIO; in ata_do_set_mode()
3403 dev->xfer_shift = ata_xfer_mode2shift(dev->dma_mode); in ata_do_set_mode()
Dpata_pdc2027x.c412 if (dev->xfer_shift == ATA_SHIFT_PIO) { in pdc2027x_set_mode()
Dpata_legacy.c247 dev->xfer_shift = ATA_SHIFT_PIO; in legacy_set_mode()
Dlibata-eh.c1840 if (dev->xfer_shift != ATA_SHIFT_PIO) in ata_eh_speed_down()
1859 (dev->xfer_shift != ATA_SHIFT_PIO)) { in ata_eh_speed_down()
/drivers/dma/sh/
Drcar-dmac.c75 unsigned int xfer_shift; member
467 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()