Home
last modified time | relevance | path

Searched refs:spec_reg (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/mmc/host/
H A Dsdhci-of-esdhc.c116 int spec_reg, u32 value) in esdhc_readl_fixup() argument
130 if ((spec_reg == SDHCI_CAPABILITIES) && (value & SDHCI_CAN_DO_ADMA1)) { in esdhc_readl_fixup()
144 if (spec_reg == SDHCI_PRESENT_STATE) { in esdhc_readl_fixup()
166 if (spec_reg == SDHCI_CAPABILITIES_1) { in esdhc_readl_fixup()
177 int spec_reg, u32 value) in esdhc_readw_fixup() argument
182 int shift = (spec_reg & 0x2) * 8; in esdhc_readw_fixup()
184 if (spec_reg == SDHCI_TRANSFER_MODE) in esdhc_readw_fixup()
187 if (spec_reg == SDHCI_HOST_VERSION) in esdhc_readw_fixup()
194 if ((spec_reg == SDHCI_HOST_VERSION) && in esdhc_readw_fixup()
201 int spec_reg, u32 value) in esdhc_readb_fixup() argument
[all …]
/openbmc/qemu/hw/intc/
H A Dpnv_xive2.c439 int i, spec_reg, data_reg; in pnv_xive2_end_update() local
444 spec_reg = (VC_ENDC_WATCH0_SPEC + watch_engine * 0x40) >> 3; in pnv_xive2_end_update()
446 blk = GETFIELD(VC_ENDC_WATCH_BLOCK_ID, xive->vc_regs[spec_reg]); in pnv_xive2_end_update()
447 idx = GETFIELD(VC_ENDC_WATCH_INDEX, xive->vc_regs[spec_reg]); in pnv_xive2_end_update()
462 int i, spec_reg, data_reg; in pnv_xive2_end_cache_load() local
466 spec_reg = (VC_ENDC_WATCH0_SPEC + watch_engine * 0x40) >> 3; in pnv_xive2_end_cache_load()
468 blk = GETFIELD(VC_ENDC_WATCH_BLOCK_ID, xive->vc_regs[spec_reg]); in pnv_xive2_end_cache_load()
469 idx = GETFIELD(VC_ENDC_WATCH_INDEX, xive->vc_regs[spec_reg]); in pnv_xive2_end_cache_load()
534 int i, spec_reg, data_reg; in pnv_xive2_nxc_update() local
539 spec_reg = (PC_NXC_WATCH0_SPEC + watch_engine * 0x40) >> 3; in pnv_xive2_nxc_update()
[all …]