| /freebsd-9-stable/bin/sh/ |
| D | cd.c | 88 int ch, phys, print = 0, getcwderr = 0; in cdcmd() local 93 phys = Pflag; in cdcmd() 100 phys = 0; in cdcmd() 103 phys = 1; in cdcmd() 148 rc = docd(p, print, phys); in cdcmd() 166 docd(char *dest, int print, int phys) in docd() argument 170 TRACE(("docd(\"%s\", %d, %d) called\n", dest, print, phys)); in docd() 173 if ((phys || (rc = cdlogical(dest)) < 0) && (rc = cdphysical(dest)) < 0) in docd() 336 int ch, phys; in pwdcmd() local 339 phys = Pflag; in pwdcmd() [all …]
|
| /freebsd-9-stable/libexec/bootpd/ |
| D | getether.c | 47 struct ifdevea phys; local 48 bzero(&phys, sizeof(phys)); 49 strcpy(phys.ifr_name, ifname); 54 if (ioctl(fd, SIOCRPHYSADDR, &phys) < 0) { 57 bcopy(&phys.current_pa[0], eap, EALEN); 346 struct ifreq phys; local 348 memset(&phys, 0, sizeof(phys)); 349 strcpy(phys.ifr_name, ifname); 354 if (ioctl(fd, SIOCGIFHWADDR, &phys) < 0) { 357 memcpy(eap, &phys.ifr_hwaddr.sa_data, EALEN);
|
| /freebsd-9-stable/sys/x86/isa/ |
| D | isa_dma.c | 235 vm_paddr_t phys; in isa_dmastart() local 283 phys = pmap_extract(kernel_pmap, (vm_offset_t)addr); in isa_dmastart() 314 outb(waport, phys); in isa_dmastart() 315 outb(waport, phys>>8); in isa_dmastart() 316 outb(dmapageport[chan], phys>>16); in isa_dmastart() 347 outb(waport, phys>>1); in isa_dmastart() 348 outb(waport, phys>>9); in isa_dmastart() 349 outb(dmapageport[chan], phys>>16); in isa_dmastart() 402 vm_paddr_t phys, priorpage = 0; in isa_dmarangecheck() local 408 phys = trunc_page(pmap_extract(kernel_pmap, (vm_offset_t)va)); in isa_dmarangecheck() [all …]
|
| /freebsd-9-stable/sys/dev/sym/ |
| D | sym_fw2.h | 317 offsetof (struct sym_ccb, phys.head.savep), 322 offsetof (struct sym_ccb, phys.head.status), 631 offsetof (struct sym_ccb, phys.head.lastp), 656 offsetof (struct sym_ccb, phys.head.status), 666 offsetof (struct sym_ccb, phys.head.status), 742 offsetof (struct sym_ccb, phys.head.savep), 751 offsetof (struct sym_ccb, phys.head.savep), 779 offsetof (struct sym_ccb, phys.head.status), 796 offsetof (struct sym_ccb, phys.head.savep), 990 offsetof(struct sym_ccb, phys.head.go.restart), [all …]
|
| D | sym_hipd.c | 1288 #define actualquirks phys.head.status[0] 1289 #define host_status phys.head.status[1] 1290 #define ssss_status phys.head.status[2] 1291 #define host_flags phys.head.status[3] 1383 struct sym_dsb phys; member 3113 u32 phys; in sym_init() local 3130 phys = np->squeue_ba; in sym_init() 3133 np->squeue[i+1] = cpu_to_scr(phys + (i+2)*4); in sym_init() 3135 np->squeue[MAX_QUEUE*2-1] = cpu_to_scr(phys); in sym_init() 3145 phys = np->dqueue_ba; in sym_init() [all …]
|
| /freebsd-9-stable/sys/sparc64/sparc64/ |
| D | ofw_machdep.c | 128 uint64_t cend, cstart, end, phys, pphys, sz, start; in OF_decode_addr() local 182 phys = 0; in OF_decode_addr() 184 phys = ((uint64_t)phys << 32) | banks[bank++]; in OF_decode_addr() 188 start = phys; in OF_decode_addr() 189 end = phys + sz - 1; in OF_decode_addr() 230 phys = 0; in OF_decode_addr() 232 phys = ((uint64_t)phys << 32) | banks[bank++]; in OF_decode_addr() 243 cstart = phys; in OF_decode_addr() 244 cend = phys + sz - 1; in OF_decode_addr()
|
| /freebsd-9-stable/sys/pc98/cbus/ |
| D | cbus_dma.c | 194 vm_paddr_t phys; in isa_dmastart() local 200 phys = pmap_extract(kernel_pmap, (vm_offset_t)addr); in isa_dmastart() 270 outb(waport, phys); in isa_dmastart() 271 outb(waport, phys>>8); in isa_dmastart() 272 outb(dmapageport[chan], phys>>16); in isa_dmastart() 331 vm_paddr_t phys, priorpage = 0; in isa_dmarangecheck() local 337 phys = trunc_page(pmap_extract(kernel_pmap, (vm_offset_t)va)); in isa_dmarangecheck() 343 if (phys == 0) in isa_dmarangecheck() 345 if (phys >= ISARAM_END) in isa_dmarangecheck() 348 if (priorpage + PAGE_SIZE != phys) in isa_dmarangecheck() [all …]
|
| /freebsd-9-stable/sys/dev/drm/ |
| D | drm_vm.c | 41 vm_paddr_t phys; in drm_mmap() local 65 unsigned long phys = dma->pagelist[page]; in drm_mmap() local 68 *paddr = phys; in drm_mmap() 116 phys = map->offset + offset; in drm_mmap() 123 phys = vtophys((char *)map->virtual + offset); in drm_mmap() 130 *paddr = phys; in drm_mmap()
|
| /freebsd-9-stable/sys/dev/drm2/ |
| D | drm_vm.c | 42 vm_paddr_t phys; in drm_mmap() local 66 unsigned long phys = dma->pagelist[page]; in drm_mmap() local 69 *paddr = phys; in drm_mmap() 117 phys = map->offset + offset; in drm_mmap() 124 phys = vtophys((char *)map->virtual + offset); in drm_mmap() 131 *paddr = phys; in drm_mmap()
|
| /freebsd-9-stable/contrib/bsnmp/snmp_mibII/ |
| D | mibII_nettomedia.c | 63 mib_arp_create(const struct mibif *ifp, struct in_addr in, const u_char *phys, in mib_arp_create() argument 79 if ((at->physlen = physlen) > sizeof(at->phys)) in mib_arp_create() 80 at->physlen = sizeof(at->phys); in mib_arp_create() 81 memcpy(at->phys, phys, at->physlen); in mib_arp_create() 136 return (string_get(value, at->phys, at->physlen)); in op_nettomedia()
|
| /freebsd-9-stable/sys/ia64/isa/ |
| D | isa_dma.c | 217 bus_addr_t phys = segs->ds_addr; in isa_dmastart_cb() local 260 outb(waport, phys); in isa_dmastart_cb() 261 outb(waport, phys>>8); in isa_dmastart_cb() 262 outb(dmapageport[chan], phys>>16); in isa_dmastart_cb() 293 outb(waport, phys>>1); in isa_dmastart_cb() 294 outb(waport, phys>>9); in isa_dmastart_cb() 295 outb(dmapageport[chan], phys>>16); in isa_dmastart_cb()
|
| /freebsd-9-stable/sys/dev/isci/scil/ |
| D | scu_bios_definitions.h | 341 } phys[SCI_MAX_PHYS]; // 4 PHYs per SCU controller unit member 538 } phys[SCI_MAX_PHYS]; // 4 PHYs per SCU controller unit member 748 } phys[SCI_MAX_PHYS]; // 4 PHYs per SCU controller unit member 969 } phys[SCI_MAX_PHYS]; // 4 PHYs per SCU controller unit member
|
| D | scic_sds_controller.c | 1370 this_controller->oem_parameters.sds1.phys[phy_id].afe_tx_amp_control0 in scic_sds_controller_afe_initialization() 1376 this_controller->oem_parameters.sds1.phys[phy_id].afe_tx_amp_control1 in scic_sds_controller_afe_initialization() 1382 this_controller->oem_parameters.sds1.phys[phy_id].afe_tx_amp_control2 in scic_sds_controller_afe_initialization() 1388 this_controller->oem_parameters.sds1.phys[phy_id].afe_tx_amp_control3 in scic_sds_controller_afe_initialization() 3724 this_controller->user_parameters.sds1.phys[index].max_speed_generation = 2; in scic_sds_controller_set_default_config_parameters() 3727 this_controller->user_parameters.sds1.phys[index].align_insertion_frequency = 0x7f; in scic_sds_controller_set_default_config_parameters() 3728 … this_controller->user_parameters.sds1.phys[index].in_connection_align_insertion_frequency = 0xff; in scic_sds_controller_set_default_config_parameters() 3729 …this_controller->user_parameters.sds1.phys[index].notify_enable_spin_up_insertion_frequency = 0x33; in scic_sds_controller_set_default_config_parameters() 3735 this_controller->oem_parameters.sds1.phys[index].sas_address.sci_format.high in scic_sds_controller_set_default_config_parameters() 3739 this_controller->oem_parameters.sds1.phys[index].sas_address.sci_format.low in scic_sds_controller_set_default_config_parameters() [all …]
|
| /freebsd-9-stable/contrib/gdb/include/gdb/ |
| D | sim-d10v.h | 60 unsigned long *phys, 67 unsigned long *phys, 74 unsigned long *phys,
|
| /freebsd-9-stable/sys/dev/sound/pci/ |
| D | maestro.c | 113 bus_addr_t phys; /* channel buffer physical address */ member 133 bus_addr_t phys; /* channel buffer physical address */ member 170 bus_addr_t phys; /* status buffer physical address */ member 705 wc_wrreg(ess, data, ess->phys >> WAVCACHE_BASEADDR_SHIFT); in agg_init() 853 wpwa = (ch->phys - ch->base) >> 1; in aggch_start_dac() 855 wcreg = (ch->phys - 16) & WAVCACHE_CHCTL_ADDRTAG_MASK; in aggch_start_dac() 973 wpwa = (ch->phys - ch->base) >> 1; in aggch_start_adc() 975 wcreg = (ch->phys - 16) & WAVCACHE_CHCTL_ADDRTAG_MASK; in aggch_start_adc() 1128 cur -= 0xffff & ((ch->phys - ch->base) >> 1); in aggch_feed_adc_mono() 1303 ch->phys = physaddr; in aggpch_init() [all …]
|
| /freebsd-9-stable/sys/dev/ct/ |
| D | bshw_machdep.c | 424 vaddr_t va, endva, phys, nphys; in bshw_dma_xfer_start() local 432 phys = vtophys((vaddr_t) sp->scp_data); in bshw_dma_xfer_start() 433 if (phys >= bs->sc_minphys) in bshw_dma_xfer_start() 449 bs->sc_segaddr = (u_int8_t *) phys; in bshw_dma_xfer_start() 452 for (va = (vaddr_t) sp->scp_data; ; phys = nphys) in bshw_dma_xfer_start() 461 if (phys + BSHW_PAGE_SIZE != nphys || nphys >= bs->sc_minphys) in bshw_dma_xfer_start() 558 u_int8_t regv, *phys = bs->sc_segaddr; in bshw_dmastart() local 580 bshw_dma_write_1(chp, waport, (u_int) phys); in bshw_dmastart() 581 bshw_dma_write_1(chp, waport, ((u_int) phys) >> 8); in bshw_dmastart() 582 bshw_dma_write_1(chp, dmapageport[chan], ((u_int) phys) >> 16); in bshw_dmastart()
|
| /freebsd-9-stable/sys/pci/ |
| D | ncr.c | 766 #define actualquirks phys.header.status[0] 767 #define host_status phys.header.status[1] 768 #define s_status phys.header.status[2] 769 #define parity_status phys.header.status[3] 782 #define xerr_status phys.xerr_st 783 #define sync_status phys.sync_st 784 #define nego_status phys.nego_st 785 #define wide_status phys.wide_st 882 struct dsb phys; member 1275 static int ncr_scatter(struct dsb* phys, vm_offset_t vaddr, [all …]
|
| /freebsd-9-stable/sys/dev/adlink/ |
| D | adlink.c | 97 vm_paddr_t phys; member 157 bus_write_4(sc->res[0], 0x24, pg->phys); in adlink_intr() 186 *paddr = pg->phys + (offset - o); in adlink_mmap() 261 pg->phys = vtophys(pg->virt); in adlink_ioctl() 308 bus_write_4(sc->res[0], 0x24, pg->phys); in adlink_ioctl()
|
| /freebsd-9-stable/sys/dev/vt/hw/ofwfb/ |
| D | ofwfb.c | 232 bus_addr_t phys; in ofwfb_init() local 302 OF_decode_addr(node, 0, &space, &phys); in ofwfb_init() 340 OF_decode_addr(node, fb_phys, &space, &phys); in ofwfb_init() 342 sc->sc_addr = sparc64_fake_bustag(space, phys, sc->sc_memt); in ofwfb_init()
|
| /freebsd-9-stable/sys/powerpc/ps3/ |
| D | platform_ps3.c | 61 static void ps3_mem_regions(platform_t, struct mem_region **phys, int *physsz, 150 ps3_mem_regions(platform_t plat, struct mem_region **phys, int *physsz, in ps3_mem_regions() argument 154 *phys = *avail = avail_regions; in ps3_mem_regions()
|
| /freebsd-9-stable/sys/powerpc/ofw/ |
| D | rtas.c | 145 cell_t phys; in rtas_real_map() local 166 phys = rtas_bounce_phys + rtas_bounce_offset; in rtas_real_map() 169 return (phys); in rtas_real_map()
|
| /freebsd-9-stable/sys/powerpc/powermac/ |
| D | platform_powermac.c | 59 void powermac_mem_regions(platform_t, struct mem_region **phys, int *physsz, 101 powermac_mem_regions(platform_t plat, struct mem_region **phys, int *physsz, in powermac_mem_regions() argument 104 ofw_mem_regions(phys,physsz,avail,availsz); in powermac_mem_regions()
|
| /freebsd-9-stable/sys/sparc64/central/ |
| D | central.c | 226 bus_addr_t phys; in central_alloc_resource() local 260 phys = sc->sc_ranges[i].poffset | in central_alloc_resource() 263 type, rid, phys + start, phys + end, in central_alloc_resource()
|
| /freebsd-9-stable/sys/powerpc/booke/ |
| D | platform_bare.c | 67 static void bare_mem_regions(platform_t, struct mem_region **phys, int *physsz, 148 bare_mem_regions(platform_t plat, struct mem_region **phys, int *physsz, in bare_mem_regions() argument 171 *phys = *avail; in bare_mem_regions()
|
| /freebsd-9-stable/sys/dev/hatm/ |
| D | if_hatm_intr.c | 215 hatm_extbuf_helper, &pg->hdr.phys, BUS_DMA_NOWAIT); in hatm_mbuf_page_alloc() 348 &rbp->rbp[rbp->tail].phys, BUS_DMA_NOWAIT)) != 0) in he_intr_rbp() 370 rbp->rbp[rbp->tail].phys = pg->hdr.phys + in he_intr_rbp() 388 rbp->rbp[rbp->tail].phys = pg->hdr.phys + in he_intr_rbp() 402 rbp->rbp[rbp->tail].handle, m, rbp->rbp[rbp->tail].phys)); in he_intr_rbp()
|