Home
last modified time | relevance | path

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

/openbmc/linux/drivers/ata/
H A 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()
H A Dpata_rz1000.c45 dev->xfer_shift = ATA_SHIFT_PIO; in rz1000_set_mode()
H A Dpata_gayle.c89 dev->xfer_shift = ATA_SHIFT_PIO; in pata_gayle_set_mode()
H A Dpata_platform.c41 dev->xfer_shift = ATA_SHIFT_PIO; in pata_platform_set_mode()
H A Dpata_buddha.c111 dev->xfer_shift = ATA_SHIFT_PIO; in pata_buddha_set_mode()
H A Dpata_falcon.c110 dev->xfer_shift = ATA_SHIFT_PIO; in pata_falcon_set_mode()
H A Dpata_it821x.c478 dev->xfer_shift = ATA_SHIFT_MWDMA; in it821x_smart_set_mode()
483 dev->xfer_shift = ATA_SHIFT_PIO; in it821x_smart_set_mode()
H A Dlibata-core.c3297 u8 ata_timing_cycle2mode(unsigned int xfer_shift, int cycle) in ata_timing_cycle2mode() argument
3304 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()
H A Dpata_pdc2027x.c400 if (dev->xfer_shift == ATA_SHIFT_PIO) { in pdc2027x_set_mode()
H A Dpata_legacy.c245 dev->xfer_shift = ATA_SHIFT_PIO; in legacy_set_mode()
H A Dlibata-eh.c1861 if (dev->xfer_shift != ATA_SHIFT_PIO) in ata_eh_speed_down()
1880 (dev->xfer_shift != ATA_SHIFT_PIO)) { in ata_eh_speed_down()
/openbmc/linux/drivers/dma/sh/
H A 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()
/openbmc/linux/include/linux/
H A Dlibata.h687 unsigned int xfer_shift; /* ATA_SHIFT_xxx */ member
1265 extern u8 ata_timing_cycle2mode(unsigned int xfer_shift, int cycle);