Home
last modified time | relevance | path

Searched refs:xfer_mode (Results 1 – 21 of 21) 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.c941 unsigned long ata_xfer_mode2mask(u8 xfer_mode) in ata_xfer_mode2mask() argument
946 if (xfer_mode >= ent->base && xfer_mode < ent->base + ent->bits) in ata_xfer_mode2mask()
947 return ((2 << (ent->shift + xfer_mode - ent->base)) - 1) in ata_xfer_mode2mask()
964 int ata_xfer_mode2shift(unsigned long xfer_mode) in ata_xfer_mode2shift() argument
969 if (xfer_mode >= ent->base && xfer_mode < ent->base + ent->bits) in ata_xfer_mode2shift()
2953 const struct ata_timing *ata_timing_find_mode(u8 xfer_mode) in ata_timing_find_mode() argument
2957 while (xfer_mode > t->mode) in ata_timing_find_mode()
2960 if (xfer_mode == t->mode) in ata_timing_find_mode()
2964 __func__, xfer_mode); in ata_timing_find_mode()
3241 if (dev->xfer_mode == ata_xfer_mask2mode(ata_id_xfermask(dev->id))) 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_imx.c52 dev->pio_mode = dev->xfer_mode = XFER_PIO_0; in pata_imx_set_mode()
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_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()
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_ep93xx.c739 ((adev->xfer_mode - XFER_UDMA_0) << IDECFG_MODE_SHIFT), in ep93xx_pata_dma_start()
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()
3240 if (dev->xfer_mode != saved_xfer_mode || in ata_set_mode()
/drivers/mmc/host/
Dmvsdio.c45 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()
517 host->xfer_mode &= MVSD_XFER_MODE_INT_CHK_EN; in mvsd_timeout_timer()
518 mvsd_write(MVSD_XFER_MODE, host->xfer_mode); in mvsd_timeout_timer()
546 host->xfer_mode |= MVSD_XFER_MODE_INT_CHK_EN; in mvsd_enable_sdio_irq()
549 host->xfer_mode &= ~MVSD_XFER_MODE_INT_CHK_EN; in mvsd_enable_sdio_irq()
552 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 drive->name, 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/usb/cpia2/
Dcpia2_usb.c434 cam->xfer_mode = XFER_BULK; in configure_transfer_mode()
438 cam->xfer_mode = XFER_ISOC; in configure_transfer_mode()
Dcpia2.h386 int xfer_mode; /* XFER_BULK or XFER_ISOC */ member