Home
last modified time | relevance | path

Searched refs:mmio_addr (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/watchdog/
Dsp5100_tco.c223 u32 mmio_addr = 0, val; in sp5100_tco_setupdevice() local
240 mmio_addr = sp5100_tco_read_pm_reg32(SP5100_PM_WATCHDOG_BASE) & in sp5100_tco_setupdevice()
245 mmio_addr = sp5100_tco_read_pm_reg32(SB800_PM_WATCHDOG_BASE) & in sp5100_tco_setupdevice()
264 mmio_addr = EFCH_PM_WDT_ADDR; in sp5100_tco_setupdevice()
271 if (!mmio_addr || in sp5100_tco_setupdevice()
272 !devm_request_mem_region(dev, mmio_addr, SP5100_WDT_MEM_MAP_SIZE, in sp5100_tco_setupdevice()
274 if (mmio_addr) in sp5100_tco_setupdevice()
276 mmio_addr); in sp5100_tco_setupdevice()
286 &mmio_addr); in sp5100_tco_setupdevice()
287 if ((mmio_addr & (SB800_ACPI_MMIO_DECODE_EN | in sp5100_tco_setupdevice()
[all …]
/kernel/linux/linux-5.10/arch/s390/pci/
Dpci_mmio.c142 SYSCALL_DEFINE3(s390_pci_mmio_write, unsigned long, mmio_addr, in SYSCALL_DEFINE3() argument
154 if (length <= 0 || PAGE_SIZE - (mmio_addr & ~PAGE_MASK) < length) in SYSCALL_DEFINE3()
166 ret = __memcpy_toio_inuser((void __iomem *) mmio_addr, in SYSCALL_DEFINE3()
179 ret = get_pfn(mmio_addr, VM_WRITE, &pfn); in SYSCALL_DEFINE3()
183 (mmio_addr & ~PAGE_MASK)); in SYSCALL_DEFINE3()
271 SYSCALL_DEFINE3(s390_pci_mmio_read, unsigned long, mmio_addr, in SYSCALL_DEFINE3() argument
283 if (length <= 0 || PAGE_SIZE - (mmio_addr & ~PAGE_MASK) < length) in SYSCALL_DEFINE3()
296 user_buffer, (const void __iomem *)mmio_addr, in SYSCALL_DEFINE3()
309 ret = get_pfn(mmio_addr, VM_READ, &pfn); in SYSCALL_DEFINE3()
312 io_addr = (void __iomem *)((pfn << PAGE_SHIFT) | (mmio_addr & ~PAGE_MASK)); in SYSCALL_DEFINE3()
/kernel/linux/linux-5.10/drivers/xen/
Dplatform-pci.c97 long mmio_addr, mmio_len; in platform_pci_probe() local
110 mmio_addr = pci_resource_start(pdev, 1); in platform_pci_probe()
113 if (mmio_addr == 0 || ioaddr == 0) { in platform_pci_probe()
127 platform_mmio = mmio_addr; in platform_pci_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/realtek/
D8139too.c580 void __iomem *mmio_addr; member
727 if (tp->mmio_addr) in __rtl8139_cleanup_dev()
728 pci_iounmap (pdev, tp->mmio_addr); in __rtl8139_cleanup_dev()
832 tp->mmio_addr = ioaddr; in rtl8139_init_board()
905 void __iomem *ioaddr = tp->mmio_addr; in rtl8139_set_features()
992 ioaddr = tp->mmio_addr; in rtl8139_init_one()
1025 tp->mmio_addr = ioaddr; in rtl8139_init_one()
1238 void __iomem *ioaddr = tp->mmio_addr; in mdio_read()
1244 void __iomem *ioaddr = tp->mmio_addr; in mdio_read()
1280 void __iomem *ioaddr = tp->mmio_addr; in mdio_write()
[all …]
Dr8169_main.c80 #define RTL_W8(tp, reg, val8) writeb((val8), tp->mmio_addr + (reg))
81 #define RTL_W16(tp, reg, val16) writew((val16), tp->mmio_addr + (reg))
82 #define RTL_W32(tp, reg, val32) writel((val32), tp->mmio_addr + (reg))
83 #define RTL_R8(tp, reg) readb(tp->mmio_addr + (reg))
84 #define RTL_R16(tp, reg) readw(tp->mmio_addr + (reg))
85 #define RTL_R32(tp, reg) readl(tp->mmio_addr + (reg))
595 void __iomem *mmio_addr; /* memory map physical address */ member
1542 u32 __iomem *data = tp->mmio_addr; in rtl8169_get_regs()
5382 tp->mmio_addr = pcim_iomap_table(pdev)[region]; in rtl_init_one()
/kernel/linux/linux-5.10/drivers/net/ethernet/sis/
Dsis190.c266 void __iomem *mmio_addr; member
402 mdio_write(tp->mmio_addr, phy_id, reg, val); in __mdio_write()
409 return mdio_read(tp->mmio_addr, phy_id, reg); in __mdio_read()
739 void __iomem *ioaddr = tp->mmio_addr; in sis190_irq()
838 void __iomem *ioaddr = tp->mmio_addr; in sis190_set_rx_mode()
886 void __iomem *ioaddr = tp->mmio_addr; in sis190_hw_start()
921 void __iomem *ioaddr = tp->mmio_addr; in sis190_phy_task()
1133 void __iomem *ioaddr = tp->mmio_addr; in sis190_down()
1184 void __iomem *ioaddr = tp->mmio_addr; in sis190_start_xmit()
1275 void __iomem *ioaddr = tp->mmio_addr; in sis190_default_phy()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dsm712.h101 #define mmio_addr 0x00800000 macro
108 #define mmio_addr 0x00c00000 macro
Dsm712fb.c1564 sfb->lfb = ioremap(mmio_base, mmio_addr); in smtcfb_pci_probe()
/kernel/linux/linux-5.10/drivers/misc/cxl/
Dtrace.h558 unsigned long mmio_addr, unsigned long mmio_size, long rc),
561 mmio_addr, mmio_size, rc),
567 __field(unsigned long, mmio_addr)
576 __entry->mmio_addr = mmio_addr;
586 __entry->mmio_addr,
Dhcalls.c133 u64 *process_token, u64 *mmio_addr, u64 *mmio_size) in cxl_h_attach_process() argument
150 if (mmio_addr) in cxl_h_attach_process()
151 *mmio_addr = retbuf[1]; in cxl_h_attach_process()
Dhcalls.h56 u64 *process_token, u64 *mmio_addr, u64 *mmio_size);
Dguest.c522 u64 mmio_addr, mmio_size; in attach_afu_directed() local
586 &ctx->process_token, &mmio_addr, &mmio_size); in attach_afu_directed()
592 ctx->psn_phys = mmio_addr; in attach_afu_directed()
/kernel/linux/linux-5.10/include/linux/
Dstm.h87 phys_addr_t (*mmio_addr)(struct stm_data *, unsigned int, member
/kernel/linux/linux-5.10/drivers/hwtracing/intel_th/
Dsth.c220 sth->stm.mmio_addr = sth_stm_mmio_addr; in intel_th_sth_probe()
/kernel/linux/linux-5.10/drivers/hwtracing/stm/
Dcore.c697 if (!stm->data->mmio_addr) in stm_char_mmap()
708 phys = stm->data->mmio_addr(stm->data, stmf->output.master, in stm_char_mmap()
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-stm.c848 drvdata->stm.mmio_addr = stm_mmio_addr; in stm_init_generic_data()