Home
last modified time | relevance | path

Searched refs:xfer_mode (Results 1 – 20 of 20) sorted by relevance

/drivers/ata/
Data_generic.c86 dev->xfer_mode = ata_xfer_mask2mode(xfer_mask); in generic_set_mode()
87 dev->xfer_shift = ata_xfer_mode2shift(dev->xfer_mode); in generic_set_mode()
91 dev->xfer_mode = XFER_PIO_0; in generic_set_mode()
Dpata_hpt366.c32 u8 xfer_mode; member
127 while (clocks->xfer_mode) { in hpt36x_find_mode()
128 if (clocks->xfer_mode == speed) in hpt36x_find_mode()
Dpata_rz1000.c44 dev->xfer_mode = XFER_PIO_0; in rz1000_set_mode()
Dlibata-core.c938 unsigned long ata_xfer_mode2mask(u8 xfer_mode) in ata_xfer_mode2mask() argument
943 if (xfer_mode >= ent->base && xfer_mode < ent->base + ent->bits) in ata_xfer_mode2mask()
944 return ((2 << (ent->shift + xfer_mode - ent->base)) - 1) in ata_xfer_mode2mask()
961 int ata_xfer_mode2shift(unsigned long xfer_mode) in ata_xfer_mode2shift() argument
966 if (xfer_mode >= ent->base && xfer_mode < ent->base + ent->bits) in ata_xfer_mode2shift()
2922 const struct ata_timing *ata_timing_find_mode(u8 xfer_mode) in ata_timing_find_mode() argument
2926 while (xfer_mode > t->mode) in ata_timing_find_mode()
2929 if (xfer_mode == t->mode) in ata_timing_find_mode()
3206 if (dev->xfer_mode == ata_xfer_mask2mode(ata_id_xfermask(dev->id))) in ata_dev_set_mode()
3217 dev->xfer_shift, (int)dev->xfer_mode); in ata_dev_set_mode()
[all …]
Dpata_radisys.c141 if (adev->xfer_mode == XFER_UDMA_2) in radisys_set_dmamode()
Dpata_ixp4xx_cf.c36 dev->xfer_mode = XFER_PIO_0; in ixp4xx_set_mode()
Dpata_platform.c39 dev->pio_mode = dev->xfer_mode = XFER_PIO_0; in pata_platform_set_mode()
Dpata_it821x.c477 dev->xfer_mode = XFER_MW_DMA_0; in it821x_smart_set_mode()
482 dev->xfer_mode = XFER_PIO_0; in it821x_smart_set_mode()
Dlibata-transport.c467 ata_dev_attr(xfer, xfer_mode);
726 SETUP_DEV_ATTRIBUTE(xfer_mode); in ata_attach_transport()
Dsata_sil.c244 unsigned long xfer_mode;/* data transfer mode register */ member
364 void __iomem *addr = mmio_base + sil_port[ap->port_no].xfer_mode; in sil_set_mode()
Dpata_imx.c52 dev->pio_mode = dev->xfer_mode = XFER_PIO_0; in pata_imx_set_mode()
Dpata_scc.c768 qc->dev->xfer_mode > XFER_UDMA_4)) { in scc_bmdma_status()
774 ap->udma_mask &= ~(1 << qc->dev->xfer_mode); in scc_bmdma_status()
Dpata_legacy.c223 dev->xfer_mode = XFER_PIO_0; in legacy_set_mode()
Dlibata-eh.c749 ehc->saved_xfer_mode[devno] = dev->xfer_mode; in ata_scsi_port_error_handler()
3183 if (dev->xfer_mode != saved_xfer_mode || in ata_set_mode()
/drivers/mmc/host/
Dmvsdio.c40 unsigned int xfer_mode; member
223 host->xfer_mode &= MVSD_XFER_MODE_INT_CHK_EN; in mvsd_request()
224 host->xfer_mode |= xfer; in mvsd_request()
225 mvsd_write(MVSD_XFER_MODE, host->xfer_mode); in mvsd_request()
520 host->xfer_mode &= MVSD_XFER_MODE_INT_CHK_EN; in mvsd_timeout_timer()
521 mvsd_write(MVSD_XFER_MODE, host->xfer_mode); in mvsd_timeout_timer()
556 host->xfer_mode |= MVSD_XFER_MODE_INT_CHK_EN; in mvsd_enable_sdio_irq()
559 host->xfer_mode &= ~MVSD_XFER_MODE_INT_CHK_EN; in mvsd_enable_sdio_irq()
562 mvsd_write(MVSD_XFER_MODE, host->xfer_mode); in mvsd_enable_sdio_irq()
/drivers/ide/
Dicside.c241 const u8 xfer_mode = drive->dma_mode; in icside_set_dma_mode() local
243 switch (xfer_mode) { in icside_set_dma_mode()
275 ide_xfer_verbose(xfer_mode), in icside_set_dma_mode()
/drivers/block/
Dsunvdc.c152 pkt.xfer_mode = VIO_DRING_MODE; in vdc_send_attr()
157 pkt.xfer_mode, pkt.vdisk_block_size, pkt.max_xfer_size); in vdc_send_attr()
171 pkt->xfer_mode, pkt->vdisk_block_size, in vdc_handle_attr()
/drivers/net/ethernet/sun/
Dsunvnet.c70 pkt.xfer_mode = VIO_DRING_MODE; in vnet_send_attr()
79 pkt.xfer_mode, pkt.addr_type, in vnet_send_attr()
92 pkt->xfer_mode, pkt->addr_type, in handle_attr_info()
99 if (pkt->xfer_mode != VIO_DRING_MODE || in handle_attr_info()
/drivers/media/video/cpia2/
Dcpia2_usb.c430 cam->xfer_mode = XFER_BULK; in configure_transfer_mode()
434 cam->xfer_mode = XFER_ISOC; in configure_transfer_mode()
Dcpia2.h388 int xfer_mode; /* XFER_BULK or XFER_ISOC */ member