/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
H A D | soc.c | 34 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 D | mmio.c | 166 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 D | mt7615.h | 370 int mt7615_mmio_probe(struct device *pdev, void __iomem *mem_base,
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7603/ |
H A D | soc.c | 13 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 D | mthca_profile.c | 77 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 D | mmio.c | 199 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 D | mt7996.h | 326 void __iomem *mem_base, u32 device_id);
|
/freebsd/usr.sbin/bhyve/riscv/ |
H A D | fdt.c | 174 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 D | s3_pci.c | 92 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 D | x86emu.h | 140 char *mem_base; member
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | soc.c | 1230 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 D | mmio.c | 812 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 D | mt7915.h | 408 void __iomem *mem_base, u32 device_id);
|
/freebsd/sys/contrib/vchiq/interface/vchiq_arm/ |
H A D | vchiq_core.h | 531 vchiq_init_slots(void *mem_base, int mem_size);
|
H A D | vchiq_core.c | 2283 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 D | arcmsr.c | 4741 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()
|