Home
last modified time | relevance | path

Searched refs:mem_base (Results 1 – 11 of 11) sorted by relevance

/linux-4.19.296/drivers/nvmem/
Dlpc18xx_eeprom.c50 void __iomem *mem_base; member
116 writel(*(u32 *)val, eeprom->mem_base + offset); in lpc18xx_eeprom_gather_write()
144 *(u32 *)val = readl(eeprom->mem_base + offset); in lpc18xx_eeprom_read()
184 eeprom->mem_base = devm_ioremap_resource(dev, res); in lpc18xx_eeprom_probe()
185 if (IS_ERR(eeprom->mem_base)) in lpc18xx_eeprom_probe()
186 return PTR_ERR(eeprom->mem_base); in lpc18xx_eeprom_probe()
/linux-4.19.296/drivers/char/tpm/
Dtpm_infineon.c42 void __iomem *mem_base; /* MMIO ioremap'd addr */ member
61 writeb(data, tpm_dev.mem_base + tpm_dev.data_regs + offset); in tpm_data_out()
69 return readb(tpm_dev.mem_base + tpm_dev.data_regs + offset); in tpm_data_in()
77 writeb(data, tpm_dev.mem_base + tpm_dev.index_off + offset); in tpm_config_out()
85 return readb(tpm_dev.mem_base + tpm_dev.index_off + offset); in tpm_config_in()
453 tpm_dev.mem_base = ioremap(tpm_dev.map_base, tpm_dev.map_size); in tpm_inf_pnp_probe()
454 if (tpm_dev.mem_base == NULL) { in tpm_inf_pnp_probe()
570 iounmap(tpm_dev.mem_base); in tpm_inf_pnp_probe()
589 iounmap(tpm_dev.mem_base); in tpm_inf_pnp_remove()
/linux-4.19.296/drivers/ptp/
Dptp_pch.c127 u32 mem_base; member
573 if (chip->mem_base != 0) { in pch_remove()
574 release_mem_region(chip->mem_base, chip->mem_size); in pch_remove()
575 chip->mem_base = 0; in pch_remove()
600 chip->mem_base = pci_resource_start(pdev, IO_MEM_BAR); in pch_probe()
601 if (!chip->mem_base) { in pch_probe()
611 if (!request_mem_region(chip->mem_base, chip->mem_size, "1588_regs")) { in pch_probe()
619 chip->regs = ioremap(chip->mem_base, chip->mem_size); in pch_probe()
676 release_mem_region(chip->mem_base, chip->mem_size); in pch_probe()
679 chip->mem_base = 0; in pch_probe()
/linux-4.19.296/include/linux/mfd/
Dcore.h122 struct resource *mem_base,
136 struct resource *mem_base,
/linux-4.19.296/drivers/misc/
Daspeed-lpc-ctrl.c35 phys_addr_t mem_base; member
60 (lpc_ctrl->mem_base >> PAGE_SHIFT) + vma->vm_pgoff, in aspeed_lpc_ctrl_mmap()
132 addr = lpc_ctrl->mem_base; in aspeed_lpc_ctrl_ioctl()
231 lpc_ctrl->mem_base = resm.start; in aspeed_lpc_ctrl_probe()
/linux-4.19.296/include/linux/mtd/
Dspear_smi.h44 unsigned long mem_base; member
/linux-4.19.296/drivers/pci/controller/
Dpci-ftpci100.c130 static int faraday_res_to_memcfg(resource_size_t mem_base, in faraday_res_to_memcfg() argument
178 if (mem_base & ~(FARADAY_PCI_MEMBASE_MASK)) in faraday_res_to_memcfg()
181 outval |= (mem_base & FARADAY_PCI_MEMBASE_MASK); in faraday_res_to_memcfg()
183 &mem_base, &mem_size, outval); in faraday_res_to_memcfg()
/linux-4.19.296/drivers/pci/hotplug/
Dcpqphp_pci.c1250 u16 mem_base = readw(one_slot + MEM_BASE); in cpqhp_find_available_resources() local
1256 dev_func, io_base, io_length, mem_base, mem_length, pre_mem_base, pre_mem_length, in cpqhp_find_available_resources()
1323 temp_dword = mem_base + mem_length; in cpqhp_find_available_resources()
1324 if ((mem_base) && (temp_dword < 0x10000)) { in cpqhp_find_available_resources()
1329 mem_node->base = mem_base << 16; in cpqhp_find_available_resources()
Dcpqphp.h203 u16 mem_base; member
219 MEM_BASE = offsetof(struct slot_rt, mem_base),
/linux-4.19.296/drivers/pci/controller/dwc/
Dpcie-designware-host.c421 pp->mem_base = pp->mem->start; in dw_pcie_host_init()
719 PCIE_ATU_TYPE_MEM, pp->mem_base, in dw_pcie_setup_rc()
Dpcie-designware.h154 u64 mem_base; member