Home
last modified time | relevance | path

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

/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dsoc.c34 void __iomem *mem_base; in mt7622_wmac_probe() local
41 mem_base = devm_platform_get_and_ioremap_resource(pdev, 0, NULL); in mt7622_wmac_probe()
42 if (IS_ERR(mem_base)) in mt7622_wmac_probe()
43 return PTR_ERR(mem_base); in mt7622_wmac_probe()
45 return mt7615_mmio_probe(&pdev->dev, mem_base, irq, mt7615e_reg_map); in mt7622_wmac_probe()
H A Dmmio.c166 int mt7615_mmio_probe(struct device *pdev, void __iomem *mem_base, in mt7615_mmio_probe() argument
201 mt76_mmio_init(&dev->mt76, mem_base); in mt7615_mmio_probe()
H A Dmt7615.h370 int mt7615_mmio_probe(struct device *pdev, void __iomem *mem_base,
/freebsd/sys/contrib/dev/mediatek/mt76/mt7603/
H A Dsoc.c13 void __iomem *mem_base; in mt76_wmac_probe() local
22 mem_base = devm_platform_ioremap_resource(pdev, 0); in mt76_wmac_probe()
23 if (IS_ERR(mem_base)) in mt76_wmac_probe()
24 return PTR_ERR(mem_base); in mt76_wmac_probe()
32 mt76_mmio_init(mdev, mem_base); in mt76_wmac_probe()
/freebsd/sys/dev/mthca/
H A Dmthca_profile.c77 u64 mem_base, mem_avail; in mthca_make_profile() local
123 mem_base = 0; in mthca_make_profile()
126 mem_base = dev->ddr_start; in mthca_make_profile()
144 profile[i].start = mem_base + total_size; in mthca_make_profile()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dmmio.c199 void __iomem *mem_base, in mt7996_mmio_init() argument
206 mt76_mmio_init(&dev->mt76, mem_base); in mt7996_mmio_init()
328 void __iomem *mem_base, u32 device_id) in mt7996_mmio_probe() argument
359 ret = mt7996_mmio_init(mdev, mem_base, device_id); in mt7996_mmio_probe()
H A Dmt7996.h326 void __iomem *mem_base, u32 device_id);
/freebsd/usr.sbin/bhyve/riscv/
H A Dfdt.c174 fdt_add_aplic(uint64_t mem_base, uint64_t mem_size) in fdt_add_aplic() argument
182 (unsigned long)mem_base); in fdt_add_aplic()
195 SET_PROP_U64(prop, 0, mem_base); in fdt_add_aplic()
/freebsd/sys/dev/fb/
H A Ds3_pci.c92 u_long mem_base; member
186 info->vi_buffer = sc->mem_base; in s3lfb_get_info()
295 adp->va_info.vi_buffer = sc->mem_base; in s3lfb_set_mode()
510 sc->mem_base = bus_get_resource_start(dev, SYS_RES_MEMORY, rid); in s3pci_attach()
/freebsd/sys/contrib/x86emu/
H A Dx86emu.h140 char *mem_base; member
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dsoc.c1230 void __iomem *mem_base; in mt798x_wmac_probe() local
1238 mem_base = devm_platform_ioremap_resource(pdev, 0); in mt798x_wmac_probe()
1239 if (IS_ERR(mem_base)) { in mt798x_wmac_probe()
1241 return PTR_ERR(mem_base); in mt798x_wmac_probe()
1244 dev = mt7915_mmio_probe(&pdev->dev, mem_base, chip_id); in mt798x_wmac_probe()
H A Dmmio.c812 void __iomem *mem_base, in mt7915_mmio_init() argument
819 mt76_mmio_init(&dev->mt76, mem_base); in mt7915_mmio_init()
988 void __iomem *mem_base, u32 device_id) in mt7915_mmio_probe() argument
1018 ret = mt7915_mmio_init(mdev, mem_base, device_id); in mt7915_mmio_probe()
H A Dmt7915.h408 void __iomem *mem_base, u32 device_id);
/freebsd/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_core.h531 vchiq_init_slots(void *mem_base, int mem_size);
H A Dvchiq_core.c2283 vchiq_init_slots(void *mem_base, int mem_size) in vchiq_init_slots() argument
2285 int mem_align = (VCHIQ_SLOT_SIZE - (int)mem_base) & VCHIQ_SLOT_MASK; in vchiq_init_slots()
2287 (VCHIQ_SLOT_ZERO_T *)((char *)mem_base + mem_align); in vchiq_init_slots()
/freebsd/sys/dev/arcmsr/
H A Darcmsr.c4741 vm_offset_t mem_base[]={0,0}; in arcmsr_map_pcireg() local
4756 mem_base[i] = (vm_offset_t) rman_get_virtual(acb->sys_res_arcmsr[i]); in arcmsr_map_pcireg()
4757 if(mem_base[i] == 0) { in arcmsr_map_pcireg()
4765 acb->mem_base0 = mem_base[0]; in arcmsr_map_pcireg()
4766 acb->mem_base1 = mem_base[1]; in arcmsr_map_pcireg()