Home
last modified time | relevance | path

Searched refs:impl (Results 1 – 10 of 10) sorted by relevance

/drivers/iommu/
Darm-smmu.h264 const struct arm_smmu_impl *impl; member
362 if (smmu->impl && unlikely(smmu->impl->read_reg)) in arm_smmu_readl()
363 return smmu->impl->read_reg(smmu, page, offset); in arm_smmu_readl()
370 if (smmu->impl && unlikely(smmu->impl->write_reg)) in arm_smmu_writel()
371 smmu->impl->write_reg(smmu, page, offset, val); in arm_smmu_writel()
378 if (smmu->impl && unlikely(smmu->impl->read_reg64)) in arm_smmu_readq()
379 return smmu->impl->read_reg64(smmu, page, offset); in arm_smmu_readq()
386 if (smmu->impl && unlikely(smmu->impl->write_reg64)) in arm_smmu_writeq()
387 smmu->impl->write_reg64(smmu, page, offset, val); in arm_smmu_writeq()
Darm-smmu-impl.c98 cs->smmu.impl = &cavium_impl; in cavium_smmu_impl_init()
161 smmu->impl = &arm_mmu500_impl; in arm_smmu_impl_init()
171 smmu->impl = &calxeda_impl; in arm_smmu_impl_init()
Darm-smmu.c777 if (smmu->impl && smmu->impl->init_context) { in arm_smmu_init_domain_context()
778 ret = smmu->impl->init_context(smmu_domain); in arm_smmu_init_domain_context()
1670 if (smmu->impl && smmu->impl->reset) in arm_smmu_device_reset()
1671 smmu->impl->reset(smmu); in arm_smmu_device_reset()
1891 if (smmu->impl && smmu->impl->cfg_probe) in arm_smmu_device_cfg_probe()
1892 return smmu->impl->cfg_probe(smmu); in arm_smmu_device_cfg_probe()
Darm-smmu-qcom.c82 qsmmu->smmu.impl = &qcom_smmu_impl; in qcom_smmu_impl_init()
DMakefile17 arm-smmu-mod-objs += arm-smmu.o arm-smmu-impl.o arm-smmu-qcom.o
/drivers/gpu/drm/nouveau/dispnv04/
Ddisp.h129 const int impl = dev->pdev->device & 0x0ff0; in nv_two_heads() local
131 if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS && impl != 0x0100 && in nv_two_heads()
132 impl != 0x0150 && impl != 0x01a0 && impl != 0x0200) in nv_two_heads()
148 const int impl = dev->pdev->device & 0x0ff0; in nv_two_reg_pll() local
150 if (impl == 0x0310 || impl == 0x0340 || drm->client.device.info.family >= NV_DEVICE_INFO_V0_CURIE) in nv_two_reg_pll()
/drivers/cpufreq/
Dsparc-us3-cpufreq.c155 unsigned long manuf, impl, ver; in us3_freq_init() local
163 impl = ((ver >> 32) & 0xffff); in us3_freq_init()
166 (impl == CHEETAH_IMPL || in us3_freq_init()
167 impl == CHEETAH_PLUS_IMPL || in us3_freq_init()
168 impl == JAGUAR_IMPL || in us3_freq_init()
169 impl == PANTHER_IMPL)) { in us3_freq_init()
Dsparc-us2e-cpufreq.c311 unsigned long manuf, impl, ver; in us2e_freq_init() local
319 impl = ((ver >> 32) & 0xffff); in us2e_freq_init()
321 if (manuf == 0x17 && impl == 0x13) { in us2e_freq_init()
/drivers/ata/
Dahci_brcm.c218 u32 impl; in brcm_ahci_get_portmask() local
220 impl = readl(hpriv->mmio + HOST_PORTS_IMPL); in brcm_ahci_get_portmask()
222 if (fls(impl) > SATA_TOP_MAX_PHYS) in brcm_ahci_get_portmask()
224 impl); in brcm_ahci_get_portmask()
225 else if (!impl) in brcm_ahci_get_portmask()
228 return impl; in brcm_ahci_get_portmask()
Dlibahci.c2438 u32 vers, cap, cap2, impl, speed; in ahci_print_info() local
2444 impl = hpriv->port_map; in ahci_print_info()
2469 impl, in ahci_print_info()