Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/watchdog/
Dsp5100_tco.c243 u32 mmio_addr, in sp5100_tco_request_region() argument
246 if (!devm_request_mem_region(dev, mmio_addr, SP5100_WDT_MEM_MAP_SIZE, in sp5100_tco_request_region()
248 dev_dbg(dev, "MMIO address 0x%08x already in use\n", mmio_addr); in sp5100_tco_request_region()
252 return mmio_addr; in sp5100_tco_request_region()
256 u32 mmio_addr, in sp5100_tco_prepare_base() argument
262 dev_dbg(dev, "Got 0x%08x from SBResource_MMIO register\n", mmio_addr); in sp5100_tco_prepare_base()
264 if (!mmio_addr && !alt_mmio_addr) in sp5100_tco_prepare_base()
268 if (mmio_addr) in sp5100_tco_prepare_base()
269 mmio_addr = sp5100_tco_request_region(dev, mmio_addr, dev_name); in sp5100_tco_prepare_base()
271 if (!mmio_addr && alt_mmio_addr) in sp5100_tco_prepare_base()
[all …]
/Linux-v6.6/arch/s390/pci/
Dpci_mmio.c118 SYSCALL_DEFINE3(s390_pci_mmio_write, unsigned long, mmio_addr, in SYSCALL_DEFINE3() argument
132 if (length <= 0 || PAGE_SIZE - (mmio_addr & ~PAGE_MASK) < length) in SYSCALL_DEFINE3()
144 ret = __memcpy_toio_inuser((void __iomem *) mmio_addr, in SYSCALL_DEFINE3()
163 vma = vma_lookup(current->mm, mmio_addr); in SYSCALL_DEFINE3()
172 ret = follow_pte(vma->vm_mm, mmio_addr, &ptep, &ptl); in SYSCALL_DEFINE3()
177 (mmio_addr & ~PAGE_MASK)); in SYSCALL_DEFINE3()
260 SYSCALL_DEFINE3(s390_pci_mmio_read, unsigned long, mmio_addr, in SYSCALL_DEFINE3() argument
274 if (length <= 0 || PAGE_SIZE - (mmio_addr & ~PAGE_MASK) < length) in SYSCALL_DEFINE3()
287 user_buffer, (const void __iomem *)mmio_addr, in SYSCALL_DEFINE3()
302 vma = vma_lookup(current->mm, mmio_addr); in SYSCALL_DEFINE3()
[all …]
/Linux-v6.6/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()
/Linux-v6.6/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()
993 ioaddr = tp->mmio_addr; in rtl8139_init_one()
1026 tp->mmio_addr = ioaddr; in rtl8139_init_one()
1239 void __iomem *ioaddr = tp->mmio_addr; in mdio_read()
1245 void __iomem *ioaddr = tp->mmio_addr; in mdio_read()
1281 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))
593 void __iomem *mmio_addr; /* memory map physical address */ member
1572 u32 __iomem *data = tp->mmio_addr; in rtl8169_get_regs()
5224 tp->mmio_addr = pcim_iomap_table(pdev)[region]; in rtl_init_one()
/Linux-v6.6/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 …]
/Linux-v6.6/drivers/video/fbdev/
Dsm712.h101 #define mmio_addr 0x00800000 macro
108 #define mmio_addr 0x00c00000 macro
Dsm712fb.c1554 sfb->lfb = ioremap(mmio_base, mmio_addr); in smtcfb_pci_probe()
/Linux-v6.6/drivers/thermal/intel/int340x_thermal/
Dprocessor_thermal_device_pci.c43 u64 mmio_addr; member
69 proc_thermal_mmio_info[type].mmio_addr)); in proc_thermal_mmio_read()
82 proc_thermal_mmio_info[type].mmio_addr)); in proc_thermal_mmio_write()
91 proc_thermal_mmio_info[type].mmio_addr)); in proc_thermal_mmio_write()
/Linux-v6.6/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.c528 u64 mmio_addr, mmio_size; in attach_afu_directed() local
592 &ctx->process_token, &mmio_addr, &mmio_size); in attach_afu_directed()
598 ctx->psn_phys = mmio_addr; in attach_afu_directed()
/Linux-v6.6/include/linux/
Dstm.h87 phys_addr_t (*mmio_addr)(struct stm_data *, unsigned int, member
/Linux-v6.6/drivers/net/wwan/iosm/
Diosm_ipc_mmio.h100 struct iosm_mmio *ipc_mmio_init(void __iomem *mmio_addr, struct device *dev);
/Linux-v6.6/drivers/hwtracing/intel_th/
Dsth.c220 sth->stm.mmio_addr = sth_stm_mmio_addr; in intel_th_sth_probe()
/Linux-v6.6/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()
/Linux-v6.6/drivers/hwtracing/coresight/
Dcoresight-stm.c801 drvdata->stm.mmio_addr = stm_mmio_addr; in stm_init_generic_data()