Home
last modified time | relevance | path

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

/drivers/hid/intel-ish-hid/
Dishtp-fw-loader.c138 u32 xfer_mode; member
156 u32 xfer_mode; member
518 fw_info->ldr_capability.xfer_mode, in ish_query_loader_prop()
532 if ((fw_info->ldr_capability.xfer_mode & LOADER_XFER_MODE_DIRECT_DMA) && in ish_query_loader_prop()
572 ldr_xfer_ipc_frag->fragment.xfer_mode = LOADER_XFER_MODE_ISHTP; in ish_fw_xfer_ishtp()
671 ldr_xfer_dma_frag.fragment.xfer_mode = LOADER_XFER_MODE_DIRECT_DMA; in ish_fw_xfer_direct_dma()
751 u32 xfer_mode; in load_fw_from_host() local
783 xfer_mode = fw_info.ldr_capability.xfer_mode; in load_fw_from_host()
784 if (xfer_mode & LOADER_XFER_MODE_DIRECT_DMA) { in load_fw_from_host()
786 } else if (xfer_mode & LOADER_XFER_MODE_ISHTP) { in load_fw_from_host()
/drivers/ata/
Dlibata-pata-timings.c98 const struct ata_timing *ata_timing_find_mode(u8 xfer_mode) in ata_timing_find_mode() argument
102 while (xfer_mode > t->mode) in ata_timing_find_mode()
105 if (xfer_mode == t->mode) in ata_timing_find_mode()
109 __func__, xfer_mode); in ata_timing_find_mode()
Data_generic.c85 dev->xfer_mode = ata_xfer_mask2mode(xfer_mask); in generic_set_mode()
86 dev->xfer_shift = ata_xfer_mode2shift(dev->xfer_mode); in generic_set_mode()
90 dev->xfer_mode = XFER_PIO_0; in generic_set_mode()
Dpata_hpt366.c29 u8 xfer_mode; member
124 while (clocks->xfer_mode) { in hpt36x_find_mode()
125 if (clocks->xfer_mode == speed) in hpt36x_find_mode()
Dpata_rz1000.c44 dev->xfer_mode = XFER_PIO_0; in rz1000_set_mode()
Dpata_radisys.c141 if (adev->xfer_mode == XFER_UDMA_2) in radisys_set_dmamode()
Dpata_gayle.c88 dev->pio_mode = dev->xfer_mode = XFER_PIO_0; in pata_gayle_set_mode()
Dpata_platform.c40 dev->pio_mode = dev->xfer_mode = XFER_PIO_0; in pata_platform_set_mode()
Dlibata-core.c918 unsigned int ata_xfer_mode2mask(u8 xfer_mode) in ata_xfer_mode2mask() argument
923 if (xfer_mode >= ent->base && xfer_mode < ent->base + ent->bits) in ata_xfer_mode2mask()
924 return ((2 << (ent->shift + xfer_mode - ent->base)) - 1) in ata_xfer_mode2mask()
942 int ata_xfer_mode2shift(u8 xfer_mode) in ata_xfer_mode2shift() argument
947 if (xfer_mode >= ent->base && xfer_mode < ent->base + ent->bits) in ata_xfer_mode2shift()
3479 if (dev->xfer_mode == ata_xfer_mask2mode(ata_id_xfermask(dev->id))) in ata_dev_set_mode()
3490 dev->xfer_shift, (int)dev->xfer_mode); in ata_dev_set_mode()
3495 ata_mode_string(ata_xfer_mode2mask(dev->xfer_mode)), in ata_dev_set_mode()
3568 dev->xfer_mode = dev->pio_mode; in ata_do_set_mode()
3579 dev->xfer_mode = dev->dma_mode; in ata_do_set_mode()
[all …]
Dsata_sil.c228 unsigned long xfer_mode;/* data transfer mode register */ member
349 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()
Dpata_buddha.c110 dev->pio_mode = dev->xfer_mode = XFER_PIO_0; in pata_buddha_set_mode()
Dpata_falcon.c109 dev->pio_mode = dev->xfer_mode = XFER_PIO_0; in pata_falcon_set_mode()
Dlibata-transport.c514 ata_dev_attr(xfer, xfer_mode);
803 SETUP_DEV_ATTRIBUTE(xfer_mode); in ata_attach_transport()
Dpata_ep93xx.c740 ((adev->xfer_mode - XFER_UDMA_0) << IDECFG_MODE_SHIFT), in ep93xx_pata_dma_start()
Dpata_legacy.c244 dev->xfer_mode = XFER_PIO_0; in legacy_set_mode()
Dlibata-eh.c698 ehc->saved_xfer_mode[devno] = dev->xfer_mode; in ata_scsi_port_error_handler()
3224 if (dev->xfer_mode != saved_xfer_mode || in ata_set_mode()
/drivers/spi/
Dspi-bcm-qspi.c242 struct bcm_xfer_mode xfer_mode; member
516 qspi->xfer_mode.flex_mode = true; in bcm_qspi_bspi_set_mode()
524 qspi->xfer_mode.flex_mode = false; in bcm_qspi_bspi_set_mode()
530 if (qspi->xfer_mode.flex_mode) in bcm_qspi_bspi_set_mode()
537 } else if (qspi->xfer_mode.width != width || in bcm_qspi_bspi_set_mode()
538 qspi->xfer_mode.addrlen != addrlen || in bcm_qspi_bspi_set_mode()
539 qspi->xfer_mode.hp != hp) { in bcm_qspi_bspi_set_mode()
540 qspi->xfer_mode.width = width; in bcm_qspi_bspi_set_mode()
541 qspi->xfer_mode.addrlen = addrlen; in bcm_qspi_bspi_set_mode()
542 qspi->xfer_mode.hp = hp; in bcm_qspi_bspi_set_mode()
[all …]
Dspi-bcm63xx-hsspi.c124 if (bs->xfer_mode == HSSPI_XFER_MODE_AUTO) \
126 else if (bs->xfer_mode == HSSPI_XFER_MODE_PREPEND) \
143 u32 xfer_mode; member
190 return sprintf(buf, "%d\n", bs->xfer_mode); in xfer_mode_show()
209 bs->xfer_mode = val; in xfer_mode_store()
215 static DEVICE_ATTR_RW(xfer_mode);
613 if (bs->xfer_mode == HSSPI_XFER_MODE_AUTO) { in bcm63xx_hsspi_do_dummy_cs_txrx()
667 if (bs->xfer_mode != HSSPI_XFER_MODE_DUMMYCS) in bcm63xx_hsspi_transfer_one()
674 if (bs->xfer_mode == HSSPI_XFER_MODE_PREPEND) { in bcm63xx_hsspi_transfer_one()
/drivers/mmc/host/
Dmvsdio.c38 unsigned int xfer_mode; member
222 host->xfer_mode &= MVSD_XFER_MODE_INT_CHK_EN; in mvsd_request()
223 host->xfer_mode |= xfer; in mvsd_request()
224 mvsd_write(MVSD_XFER_MODE, host->xfer_mode); in mvsd_request()
530 host->xfer_mode &= MVSD_XFER_MODE_INT_CHK_EN; in mvsd_timeout_timer()
531 mvsd_write(MVSD_XFER_MODE, host->xfer_mode); in mvsd_timeout_timer()
559 host->xfer_mode |= MVSD_XFER_MODE_INT_CHK_EN; in mvsd_enable_sdio_irq()
562 host->xfer_mode &= ~MVSD_XFER_MODE_INT_CHK_EN; in mvsd_enable_sdio_irq()
565 mvsd_write(MVSD_XFER_MODE, host->xfer_mode); in mvsd_enable_sdio_irq()
/drivers/net/ethernet/sun/
Dsunvnet_common.c87 pkt.xfer_mode = VIO_DRING_MODE; in sunvnet_send_attr_common()
89 pkt.xfer_mode = VIO_NEW_DRING_MODE; in sunvnet_send_attr_common()
123 pkt.xfer_mode, pkt.addr_type, in sunvnet_send_attr_common()
137 u8 xfer_mode; in handle_attr_info() local
142 pkt->xfer_mode, pkt->addr_type, in handle_attr_info()
150 xfer_mode = pkt->xfer_mode; in handle_attr_info()
152 if (vio_version_before(vio, 1, 2) && xfer_mode == VIO_DRING_MODE) in handle_attr_info()
153 xfer_mode = VIO_NEW_DRING_MODE; in handle_attr_info()
195 pkt->xfer_mode = VIO_NEW_DRING_MODE; in handle_attr_info()
199 if (!(xfer_mode | VIO_NEW_DRING_MODE) || in handle_attr_info()
[all …]
/drivers/block/
Dsunvdc.c236 pkt.xfer_mode = VIO_DRING_MODE; in vdc_send_attr()
241 pkt.xfer_mode, pkt.vdisk_block_size, pkt.max_xfer_size); in vdc_send_attr()
255 pkt->xfer_mode, pkt->vdisk_block_size, in vdc_handle_attr()