Home
last modified time | relevance | path

Searched refs:xfer_shift (Results 1 – 13 of 13) 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_ixp4xx_cf.c33 dev->xfer_shift = ATA_SHIFT_PIO; in ixp4xx_set_mode()
Dpata_gayle.c90 dev->xfer_shift = ATA_SHIFT_PIO; in pata_gayle_set_mode()
Dpata_falcon.c108 dev->xfer_shift = ATA_SHIFT_PIO; in pata_falcon_set_mode()
Dpata_platform.c39 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_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.c3095 u8 ata_timing_cycle2mode(unsigned int xfer_shift, int cycle) in ata_timing_cycle2mode() argument
3102 if (ent->shift == xfer_shift) in ata_timing_cycle2mode()
3106 t && ata_xfer_mode2shift(t->mode) == xfer_shift; t++) { in ata_timing_cycle2mode()
3109 switch (xfer_shift) { in ata_timing_cycle2mode()
3231 if (dev->xfer_shift == ATA_SHIFT_PIO) in ata_dev_set_mode()
3254 if (dev->xfer_shift == ATA_SHIFT_PIO) { in ata_dev_set_mode()
3271 if (dev->xfer_shift == ATA_SHIFT_MWDMA && in ata_dev_set_mode()
3288 dev->xfer_shift, (int)dev->xfer_mode); in ata_dev_set_mode()
3367 dev->xfer_shift = ATA_SHIFT_PIO; in ata_do_set_mode()
3378 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.c210 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
436 chunk->size >> desc->xfer_shift); in rcar_dmac_chan_start_xfer()
743 hwdesc->tcr = chunk->size >> desc->xfer_shift; in rcar_dmac_fill_hwdesc()
886 desc->xfer_shift = ilog2(xfer_size); in rcar_dmac_chan_configure_desc()
887 desc->chcr = chcr | chcr_ts[desc->xfer_shift]; in rcar_dmac_chan_configure_desc()
931 max_chunk_size = RCAR_DMATCR_MASK << desc->xfer_shift; in rcar_dmac_chan_prep_sg()
1390 residue += tcrb << desc->xfer_shift; in rcar_dmac_chan_get_residue()