Searched refs:phys (Results 1 - 25 of 58) sorted by relevance

123

/netbsd-6-1-5-RELEASE/sys/arch/emips/emips/
H A Dmachdep.h39 vaddr_t mips_map_physmem(paddr_t phys, vsize_t size);
H A Dmachdep.c372 mips_map_physmem(paddr_t phys, vsize_t size) argument
378 size += phys & PAGE_MASK;
393 ioaccess(addr, phys, size);
396 size, phys, addr);
398 return addr | (phys & PAGE_MASK);
/netbsd-6-1-5-RELEASE/sys/external/bsd/drm/dist/bsd-core/
H A Ddrm_vm.c43 vm_paddr_t phys; local
46 paddr_t phys; local
142 phys = bus_space_mmap(dev->pa.pa_memt, map->offset,
144 if (phys == -1) {
148 return phys;
150 phys = offset;
154 phys = vtophys((vaddr_t)((char *)map->handle + (offset - map->offset)));
158 phys = vtophys(offset);
166 *paddr = phys;
169 return atop(phys);
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/include/gdb/
H A Dsim-cr16.h39 unsigned long *phys,
46 unsigned long *phys,
53 unsigned long *phys,
H A Dsim-d10v.h59 unsigned long *phys,
66 unsigned long *phys,
73 unsigned long *phys,
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/include/gdb/
H A Dsim-cr16.h39 unsigned long *phys,
46 unsigned long *phys,
53 unsigned long *phys,
H A Dsim-d10v.h60 unsigned long *phys,
67 unsigned long *phys,
74 unsigned long *phys,
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/ppc/
H A Ddevice_table.c92 device_unit *phys)
94 memset(phys, 0, sizeof(device_unit));
111 phys->cells[nr_cells] = val;
125 phys->cells[max_nr_cells - i] = phys->cells[nr_cells - i];
127 phys->cells[i] = 0;
129 phys->nr_cells = max_nr_cells;
136 const device_unit *phys,
144 for (i = 0; i < phys->nr_cells; i++) {
145 if (phys
90 generic_device_unit_decode(device *bus, const char *unit, device_unit *phys) argument
135 generic_device_unit_encode(device *bus, const device_unit *phys, char *buf, int sizeof_buf) argument
270 ignore_device_unit_decode(device *me, const char *unit, device_unit *phys) argument
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/bootp/bootptest/
H A Dgetether.c50 struct ifdevea phys; local
52 bzero(&phys, sizeof(phys));
53 strncpy(phys.ifr_name, ifname, sizeof(phys.ifr_name));
58 if (ioctl(fd, SIOCRPHYSADDR, &phys) < 0) {
61 bcopy(&phys.current_pa[0], eap, EALEN);
350 struct ifreq phys;
352 bzero(&phys, sizeof(phys));
346 struct ifreq phys; local
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/pci/n8/
H A Dn8_memory_bsd.c180 * @param phys RO: Physical address to convert.
183 * Virtual address of phys
190 N8_PhysToVirt(unsigned long phys) argument
199 if ((phys >= MemBaseAddress_g[ctr]) &&
200 (phys < MemTopAddress_g[ctr]))
207 printf("N8_PhysToVirt(0x%lx) ran out of banks\n", phys);
210 offset = phys - MemBaseAddress_g[bankIndex];
283 0, /* lower acceptible phys addr */
284 0xffffffff, /* upper acceptible phys addr */
392 * @param phys R
402 n8_bounds_check(unsigned long phys) argument
[all...]
H A Dhelper.h177 int n8_bounds_check(unsigned long phys);
/netbsd-6-1-5-RELEASE/sys/arch/emips/ebus/
H A Dif_le_ebus.c73 paddr_t phys; member in struct:bufmap
239 paddr_t phys = kvtophys((vaddr_t)&buffer[0]), phys2; local
250 sc->sc_regs->BufferAddressLo32 = phys; /* go! */
261 if (phys2 != phys) {
263 (long long)phys, (long long)phys2);
276 sc->sc_regs->BufferAddressLo32 = phys; /* go! */
287 if (phys2 != phys) {
289 (long long)phys, (long long)phys2);
363 sc->sc_xmit[i].phys = ~0;
375 paddr_t phys; local
711 enic_rint(struct enic_softc *sc, uint32_t saf, paddr_t phys) argument
776 enic_tint(struct enic_softc *sc, uint32_t saf, paddr_t phys) argument
839 paddr_t phys; local
[all...]
H A Dicap_ebus.c259 paddr_t phys, phys2; local
314 phys = kvtophys(virt);
322 if (phys2 != (phys + count)) {
338 DEBUG_PRINT(("icapship %" PRIxPADDR " %d\n",phys,count), DEBUG_XFERS);
341 sc->sc_dp->BufferAddressLo32 = phys; /* this pushes the fifo */
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/common/
H A Dhw-base.c53 hw_unit *phys)
55 memset (phys, 0, sizeof (*phys));
74 phys->cells[nr_cells] = val;
90 phys->cells[max_nr_cells - i] = phys->cells[nr_cells - i];
92 phys->cells[i] = 0;
94 phys->nr_cells = max_nr_cells;
101 const hw_unit *phys,
109 for (i = 0; i < phys
51 generic_hw_unit_decode(struct hw *bus, const char *unit, hw_unit *phys) argument
100 generic_hw_unit_encode(struct hw *bus, const hw_unit *phys, char *buf, int sizeof_buf) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/arc/isa/
H A Disadma.c31 struct isadma_seg phys[1]; member in struct:dma_info
166 if (isadma_map(addr, nbytes, di->phys, mflags) != 1)
171 isadma_copytobuf(addr, nbytes, 1, di->phys);
187 outb(dmapageport[0][chan], di->phys[0].addr>>16);
188 outb(waport, di->phys[0].addr);
189 outb(waport, di->phys[0].addr>>8);
210 outb(dmapageport[1][chan], di->phys[0].addr >> 16);
211 outb(waport, di->phys[0].addr >> 1);
212 outb(waport, di->phys[0].addr >> 9);
251 isadma_unmap(di->addr, di->nbytes, 1, di->phys);
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/emips/stand/common/
H A Denic.c101 paddr_t phys = kvtophys(buf); local
103 tpostone(regs,phys,bytes);
106 //printf("\tenic: sent %d at %x\n",bytes,phys);
114 paddr_t phys; local
117 phys = kvtophys(buf);
118 rpostone(regs,phys,bytes);
120 //printf("\tenic: recv %d at %x\n",bytes,phys);
150 if (phys == lo)
176 paddr_t phys = kvtophys(&buffer[0]); local
189 regs->BufferAddressLo32 = phys; /* g
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/d10v/
H A Dinterp.c443 unsigned long *phys,
470 *phys = (SIM_D10V_MEMORY_DATA + (iosp * 0x10000) + 0xc000 + offset);
479 *phys = SIM_D10V_MEMORY_UNIFIED + (segno * DMAP_BLOCK_SIZE) + offset;
483 *phys = SIM_D10V_MEMORY_INSN + (segno * DMAP_BLOCK_SIZE) + offset;
487 *phys = SIM_D10V_MEMORY_DATA + (segno << 16) + (regno * DMAP_BLOCK_SIZE) + offset;
503 unsigned long *phys,
531 *phys = SIM_D10V_MEMORY_UNIFIED + (segno << 17) + offset;
535 *phys = SIM_D10V_MEMORY_INSN + (IMAP_BLOCK_SIZE * regno) + offset;
543 *phys = SIM_D10V_MEMORY_INSN + offset;
563 unsigned long phys; local
441 sim_d10v_translate_dmap_addr(unsigned long offset, int nr_bytes, unsigned long *phys, void *regcache, unsigned long (*dmap_register) (void *regcache, int reg_nr)) argument
501 sim_d10v_translate_imap_addr(unsigned long offset, int nr_bytes, unsigned long *phys, void *regcache, unsigned long (*imap_register) (void *regcache, int reg_nr)) argument
725 unsigned long phys; local
883 unsigned long phys; local
916 unsigned long phys; local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/cr16/
H A Dinterp.c564 unsigned long *phys,
593 *phys = (SIM_CR16_MEMORY_DATA + (iosp * 0x10000) + 0xc000 + offset);
602 *phys = SIM_CR16_MEMORY_UNIFIED + (segno * DMAP_BLOCK_SIZE) + offset;
606 *phys = SIM_CR16_MEMORY_INSN + (segno * DMAP_BLOCK_SIZE) + offset;
610 *phys = SIM_CR16_MEMORY_DATA + (segno << 16) + (regno * DMAP_BLOCK_SIZE) + offset;
627 unsigned long *phys,
655 *phys = SIM_CR16_MEMORY_UNIFIED + (segno << 17) + offset;
659 *phys = SIM_CR16_MEMORY_INSN + (IMAP_BLOCK_SIZE * regno) + offset;
667 *phys = SIM_CR16_MEMORY_INSN + offset;
685 unsigned long phys; local
562 sim_cr16_translate_dmap_addr(unsigned long offset, int nr_bytes, unsigned long *phys, void *regcache, unsigned long (*dmap_register) (void *regcache, int reg_nr)) argument
625 sim_cr16_translate_imap_addr(unsigned long offset, int nr_bytes, unsigned long *phys, void *regcache, unsigned long (*imap_register) (void *regcache, int reg_nr)) argument
847 unsigned long phys; local
1080 unsigned long phys; local
1113 unsigned long phys; local
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/rs6000/mca/
H A Dmca_machdep.c270 bus_addr_t phys; local
292 phys = map->dm_segs[0].ds_addr;
328 bus_space_write_1(dmaiot, dmaexech, 0, (phys >> 0) & 0xff);
330 bus_space_write_1(dmaiot, dmaexech, 0, (phys >> 8) & 0xff);
332 bus_space_write_1(dmaiot, dmaexech, 0, (phys >> 16) & 0xff);
/netbsd-6-1-5-RELEASE/sys/arch/mac68k/mac68k/
H A Dmachdep.c182 /* negative, all phys addrs are the same. */
2248 * in *phys and return 1, or returns 0 on failure. This is intended
2253 get_physical(u_int addr, u_long * phys) argument
2303 *phys = ph + (addr & mask);
2313 u_long addr, phys; local
2315 if (!get_physical(mac68k_video.mv_kvaddr, &phys)) {
2320 mac68k_video.mv_phys = phys;
2323 while (get_physical(addr, &phys)) {
2324 if ((phys - mac68k_video.mv_phys)
2342 printf(" %s internal video at addr 0x%p (phys
2359 u_long addr, lastpage, phys, len, limit; local
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/vax/include/
H A Dpmap.h268 #define pmap_phys_address(phys) ((u_int)(phys) << PGSHIFT)
284 #define pmap_zero_page(phys) \
287 :: "r"(phys) \
/netbsd-6-1-5-RELEASE/sys/arch/i386/mca/
H A Dmca_machdep.c358 bus_addr_t phys; local
380 phys = map->dm_segs[0].ds_addr;
416 bus_space_write_1(dmaiot, dmaexech, 0, (phys >> 0) & 0xff);
418 bus_space_write_1(dmaiot, dmaexech, 0, (phys >> 8) & 0xff);
420 bus_space_write_1(dmaiot, dmaexech, 0, (phys >> 16) & 0xff);
/netbsd-6-1-5-RELEASE/sys/arch/sparc/stand/ofwboot/
H A DLocore.c651 OF_claim_phys(paddr_t phys, int len) argument
682 args.phys_hi = HDQ2CELL_HI(phys);
683 args.phys_lo = HDQ2CELL_LO(phys);
695 OF_free_phys(paddr_t phys, int len) argument
720 args.phys_hi = HDQ2CELL_HI(phys);
721 args.phys_lo = HDQ2CELL_LO(phys);
/netbsd-6-1-5-RELEASE/sys/arch/sparc64/sparc64/
H A Dofw_machdep.c388 prom_claim_phys(paddr_t phys, int len) argument
416 args.phys_hi = HDQ2CELL_HI(phys);
417 args.phys_lo = HDQ2CELL_LO(phys);
429 prom_free_phys(paddr_t phys, int len) argument
452 args.phys_hi = HDQ2CELL_HI(phys);
453 args.phys_lo = HDQ2CELL_LO(phys);
/netbsd-6-1-5-RELEASE/sys/arch/mips/mips/
H A Dvm_machdep.c344 paddr_t phys; local
359 phys = mips_tlbpfn_to_paddr(pte->pt_entry) | (kva & PGOFSET);
360 return phys;

Completed in 189 milliseconds

123