Home
last modified time | relevance | path

Searched refs:xfer_mask (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/ata/
H A Data_generic.c72 unsigned int xfer_mask = ata_id_xfermask(dev->id); in generic_set_mode() local
75 if (xfer_mask & (ATA_MASK_MWDMA | ATA_MASK_UDMA)) in generic_set_mode()
76 name = ata_mode_string(xfer_mask); in generic_set_mode()
80 xfer_mask |= ata_xfer_mode2mask(XFER_MW_DMA_0); in generic_set_mode()
85 dev->xfer_mode = ata_xfer_mask2mode(xfer_mask); in generic_set_mode()
H A Dpata_acpi.c77 unsigned int xfer_mask; in pacpi_discover_modes() local
83 xfer_mask = ata_acpi_gtm_xfermask(adev, &probe); in pacpi_discover_modes()
85 if (xfer_mask & (0xF8 << ATA_SHIFT_UDMA)) in pacpi_discover_modes()
88 return xfer_mask; in pacpi_discover_modes()
H A Dlibata-core.c96 unsigned int xfer_mask; member
437 if (!fe->param.xfer_mask) in ata_force_xfermask()
896 int highbit = fls(xfer_mask) - 1; in ata_xfer_mask2mode()
993 highbit = fls(xfer_mask) - 1; in ata_mode_string()
2818 unsigned int xfer_mask; in ata_dev_configure() local
2899 xfer_mask = ata_id_xfermask(id); in ata_dev_configure()
3401 if (!(xfer_mask & ATA_MASK_PIO) || xfer_mask == orig_mask) in ata_down_xfermask_limit()
3407 ata_mode_string(xfer_mask), in ata_down_xfermask_limit()
4377 unsigned int xfer_mask; in ata_dev_xfermask() local
4416 xfer_mask = ap->ops->mode_filter(dev, xfer_mask); in ata_dev_xfermask()
[all …]
H A Dlibata-acpi.c486 unsigned int xfer_mask = 0; in ata_acpi_gtm_xfermask() local
498 xfer_mask |= ata_xfer_mode2mask(mode); in ata_acpi_gtm_xfermask()
510 xfer_mask |= ata_xfer_mode2mask(mode); in ata_acpi_gtm_xfermask()
512 return xfer_mask; in ata_acpi_gtm_xfermask()
528 unsigned int xfer_mask, udma_mask; in ata_acpi_cbl_80wire() local
530 xfer_mask = ata_acpi_gtm_xfermask(dev, gtm); in ata_acpi_cbl_80wire()
531 ata_unpack_xfermask(xfer_mask, NULL, NULL, &udma_mask); in ata_acpi_cbl_80wire()
H A Dpata_amd.c268 unsigned int xfer_mask) in nv_mode_filter() argument
315 xfer_mask, limit, xfer_mask & limit, bios_limit, in nv_mode_filter()
318 return xfer_mask & limit; in nv_mode_filter()
/openbmc/linux/sound/soc/rockchip/
H A Drockchip_i2s_tdm.c216 unsigned int xfer_mask = 0; in rockchip_snd_xfer_clear() local
227 xfer_mask = I2S_XFER_TXS_START; in rockchip_snd_xfer_clear()
231 xfer_mask |= I2S_XFER_RXS_START; in rockchip_snd_xfer_clear()
235 regmap_update_bits(i2s_tdm->regmap, I2S_XFER, xfer_mask, xfer_val); in rockchip_snd_xfer_clear()
/openbmc/linux/include/linux/
H A Dlibata.h905 unsigned int (*mode_filter)(struct ata_device *dev, unsigned int xfer_mask);
1124 extern void ata_unpack_xfermask(unsigned int xfer_mask,
1128 extern u8 ata_xfer_mask2mode(unsigned int xfer_mask);
1131 extern const char *ata_mode_string(unsigned int xfer_mask);