HomeSort by: relevance | last modified time | path
    Searched defs:dev (Results 1 - 25 of 785) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/games/trek/
check_out.c 58 int dev; local in function:check_out
60 dev = device;
63 if (!damaged(dev))
67 out(dev);
72 printf(" Using starbase %s\n", Device[dev].name);
damage.c 66 int dev; local in function:damage
71 dev = dev1;
73 printf("\t%s damaged\n", Device[dev].name);
79 f = damaged(dev);
82 schedule(E_FIXDV, dam, 0, 0, dev);
89 if (e->evcode != E_FIXDV || e->systemname != dev)
95 errx(1, "Cannot find old damages %d", dev);
  /src/libexec/identd/
ipf.c 39 int dev; local in function:ipf_natlookup
71 if ((dev = open(IPNAT_NAME, O_RDONLY)) == -1) {
75 if (ioctl(dev, SIOCGNATL, &obj) == -1) {
77 (void)close(dev);
80 (void)close(dev);
pf.c 34 int dev; local in function:pf_natlookup
68 /* Open the /dev/pf device and do the lookup. */
69 if ((dev = open("/dev/pf", O_RDWR)) == -1) {
70 maybe_syslog(LOG_ERR, "Cannot open /dev/pf: %m");
73 if (ioctl(dev, DIOCNATLOOK, &nl) == -1) {
75 (void)close(dev);
78 (void)close(dev);
npf.c 58 int dev, af; local in function:npf_natlookup
82 /* Open the /dev/pf device and do the lookup. */
83 if ((dev = open("/dev/npf", O_RDWR)) == -1) {
84 maybe_syslog(LOG_ERR, "Cannot open /dev/npf: %m");
87 if (npf_nat_lookup(dev, af, addr, port, IPPROTO_TCP, PFIL_OUT) == -1) {
89 (void)close(dev);
92 (void)close(dev);
  /src/sys/arch/ia64/stand/common/
devopen.c 40 struct devdesc *dev; local in function:devopen
43 if ((result = archsw.arch_getdev((void *)&dev, fname, (const char **) file)) == 0) { /* get the device */
45 f->f_devdata = dev;
46 if ((result = dev->d_dev->dv_open(f, dev)) == 0) { /* try to open it */
48 f->f_dev = dev->d_dev;
50 free(dev); /* release the device descriptor */
  /src/sys/external/bsd/drm2/dist/drm/nouveau/
nouveau_hwmon.h 31 struct drm_device *dev; member in struct:nouveau_hwmon
36 nouveau_hwmon(struct drm_device *dev)
38 return nouveau_drm(dev)->hwmon;
42 int nouveau_hwmon_init(struct drm_device *dev);
43 void nouveau_hwmon_fini(struct drm_device *dev);
nouveau_dp.c 45 nouveau_dp_probe_oui(struct drm_device *dev, struct nvkm_i2c_aux *aux, u8 *dpcd)
47 struct nouveau_drm *drm = nouveau_drm(dev);
66 struct drm_device *dev = nv_encoder->base.base.dev; local in function:nouveau_dp_detect
67 struct nouveau_drm *drm = nouveau_drm(dev);
97 nouveau_dp_probe_oui(dev, aux, dpcd);
nouveau_led.h 35 struct drm_device *dev; member in struct:nouveau_led
43 nouveau_led(struct drm_device *dev)
45 return nouveau_drm(dev)->led;
50 int nouveau_led_init(struct drm_device *dev);
51 void nouveau_led_suspend(struct drm_device *dev);
52 void nouveau_led_resume(struct drm_device *dev);
53 void nouveau_led_fini(struct drm_device *dev);
55 static inline int nouveau_led_init(struct drm_device *dev) { return 0; };
56 static inline void nouveau_led_suspend(struct drm_device *dev) { };
57 static inline void nouveau_led_resume(struct drm_device *dev) { };
    [all...]
  /src/sys/arch/playstation2/dev/
emac3var.h 33 device_t dev; member in struct:emac3_softc
  /src/sys/external/bsd/drm2/dist/drm/ast/
ast_ttm.c 45 struct drm_device *dev = ast->dev; local in function:ast_mm_init
48 dev, pci_resource_start(dev->pdev, 0),
56 arch_io_reserve_memtype_wc(pci_resource_start(dev->pdev, 0),
57 pci_resource_len(dev->pdev, 0));
58 ast->fb_mtrr = arch_phys_wc_add(pci_resource_start(dev->pdev, 0),
59 pci_resource_len(dev->pdev, 0));
66 struct drm_device *dev = ast->dev; local in function:ast_mm_fini
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/vboxvideo/
vbox_ttm.c 22 struct drm_device *dev = &vbox->ddev; local in function:vbox_mm_init
24 vmm = drm_vram_helper_alloc_mm(dev, pci_resource_start(dev->pdev, 0),
33 vbox->fb_mtrr = drm_mtrr_add(pci_resource_start(dev->pdev, 0),
34 pci_resource_len(dev->pdev, 0),
37 vbox->fb_mtrr = arch_phys_wc_add(pci_resource_start(dev->pdev, 0),
38 pci_resource_len(dev->pdev, 0));
  /src/sys/external/bsd/drm2/dist/drm/qxl/
qxl_irq.c 39 struct drm_device *dev = (struct drm_device *) arg; local in function:qxl_irq_handler
40 struct qxl_device *qdev = (struct qxl_device *)dev->dev_private;
  /src/usr.sbin/sesd/srcs/
chpmon.c 54 int fd, delay, dev; local in function:main
71 for (dev = 2; dev < a; dev++) {
72 fd = open(v[dev], O_RDWR);
74 perror(v[dev]);
84 v[dev], strerror(errno));
93 v[dev], strerror(errno));
99 if (carray[dev]) {
101 "condition\n", v[dev]);
    [all...]
  /src/sys/arch/i386/stand/efiboot/
efidisk.h 34 int dev; member in struct:efidiskinfo
  /src/sys/arch/amiga/dev/
empsc.c 75 #include <dev/scsipi/scsi_all.h>
76 #include <dev/scsipi/scsipi_all.h>
77 #include <dev/scsipi/scsiconf.h>
81 #include <amiga/dev/scireg.h>
82 #include <amiga/dev/scivar.h>
83 #include <amiga/dev/zbusvar.h>
184 struct sci_softc *dev = arg; local in function:empsc_intr
187 if ((*dev->sci_csr & SCI_CSR_INT) == 0)
189 stat = *dev->sci_iack;
  /src/sys/arch/evbppc/walnut/
machdep.c 94 #include <dev/pci/pciconf.h>
95 #include <dev/pci/pcivar.h>
171 int dev = pa->pa_device; local in function:ibm4xx_pci_intr_map
186 switch(dev) {
191 *ihp = 27 + dev;
195 dev);
206 ibm4xx_pci_conf_interrupt(void *v, int bus, int dev, int pin, int swiz,
211 switch(dev) {
216 *iline = 31 - dev;
219 *iline = 20 + ((swiz + dev + 1) & 3)
    [all...]
  /src/sys/arch/x86/pci/
aapic.c 11 #include <dev/pci/pcireg.h>
12 #include <dev/pci/pcivar.h>
13 #include <dev/pci/pcidevs.h>
45 int bus, dev, func, rev; local in function:aapic_attach
65 pci_decompose_tag(pa->pa_pc, pa->pa_tag, &bus, &dev, &func);
67 tag = pci_make_tag(pa->pa_pc, bus, dev, func);
  /src/sys/dev/acpi/
acpi_ged.c 42 #include <dev/acpi/acpireg.h>
43 #include <dev/acpi/acpivar.h>
44 #include <dev/acpi/acpi_event.h>
45 #include <dev/acpi/acpi_intr.h>
81 device_t dev = priv; local in function:acpi_ged_register_event
84 ih = acpi_intr_establish_irq(dev, irq, IPL_VM, true,
85 acpi_ged_intr, ev, device_xname(dev));
87 aprint_error_dev(dev, "couldn't establish interrupt (irq %d)\n", irq->ar_irq);
  /src/sys/dev/drm/
vbox_drv.c 40 vboxdrm_driver_load(struct drm_device *dev, unsigned long flags)
42 return drm_vblank_init(dev, 1);
46 vboxdrm_configure(struct drm_device *dev)
48 dev->driver->buf_priv_size = 1;
49 dev->driver->load = vboxdrm_driver_load;
50 dev->driver->name = "vbox";
51 dev->driver->desc = "VirtualBox Video";
52 dev->driver->date = "20110130";
53 dev->driver->major = 1;
54 dev->driver->minor = 0
70 struct drm_device *dev = device_private(self); local in function:vboxdrm_attach
83 struct drm_device *dev = device_private(self); local in function:vboxdrm_detach
    [all...]
  /src/sys/external/bsd/drm/dist/shared-core/
r128_irq.c 38 u32 r128_get_vblank_counter(struct drm_device *dev, unsigned int crtc)
40 const drm_r128_private_t *dev_priv = dev->dev_private;
50 struct drm_device *dev = (struct drm_device *) arg; local in function:r128_driver_irq_handler
51 drm_r128_private_t *dev_priv = (drm_r128_private_t *) dev->dev_private;
60 drm_handle_vblank(dev, 0);
66 int r128_enable_vblank(struct drm_device *dev, unsigned int crtc)
68 drm_r128_private_t *dev_priv = dev->dev_private;
79 void r128_disable_vblank(struct drm_device *dev, unsigned int crtc)
93 void r128_driver_irq_preinstall(struct drm_device * dev)
95 drm_r128_private_t *dev_priv = (drm_r128_private_t *) dev->dev_private
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/
kfd_pasid.c 65 struct kfd_dev *dev = NULL; local in function:kfd_pasid_alloc
68 while ((kfd_topology_enum_kfd_devices(i, &dev)) == 0) {
69 if (dev && dev->kfd2kgd) {
70 kfd2kgd = dev->kfd2kgd;
  /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/
nouveau_dispnv04_cursor.c 16 nv_show_cursor(nv_crtc->base.dev, nv_crtc->index, true);
22 nv_show_cursor(nv_crtc->base.dev, nv_crtc->index, false);
29 NVWriteRAMDAC(nv_crtc->base.dev, nv_crtc->index,
38 NVWriteVgaCrtc(crtc->dev, nouveau_crtc(crtc)->index, index,
45 struct drm_device *dev = nv_crtc->base.dev; local in function:nv04_cursor_set_offset
46 struct nouveau_drm *drm = nouveau_drm(dev);
47 struct nv04_crtc_reg *regp = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index];
64 nv_fix_nv40_hw_cursor(dev, nv_crtc->index);
  /src/sys/external/bsd/drm2/dist/drm/r128/
r128_irq.c 45 u32 r128_get_vblank_counter(struct drm_device *dev, unsigned int pipe)
47 const drm_r128_private_t *dev_priv = dev->dev_private;
57 struct drm_device *dev = (struct drm_device *) arg; local in function:r128_driver_irq_handler
58 drm_r128_private_t *dev_priv = (drm_r128_private_t *) dev->dev_private;
67 drm_handle_vblank(dev, 0);
73 int r128_enable_vblank(struct drm_device *dev, unsigned int pipe)
75 drm_r128_private_t *dev_priv = dev->dev_private;
86 void r128_disable_vblank(struct drm_device *dev, unsigned int pipe)
100 void r128_driver_irq_preinstall(struct drm_device *dev)
102 drm_r128_private_t *dev_priv = (drm_r128_private_t *) dev->dev_private
    [all...]
  /src/sys/external/bsd/drm2/pci/
drmfb_pci.c 48 #include <dev/pci/pciio.h>
49 #include <dev/pci/pcireg.h>
50 #include <dev/pci/pcivar.h>
51 #include <dev/pci/wsdisplay_pci.h>
59 #include <dev/ic/mc6845reg.h>
60 #include <dev/ic/pcdisplayvar.h>
61 #include <dev/ic/vgareg.h>
62 #include <dev/ic/vgavar.h>
81 struct drm_device *const dev = sc->sc_da.da_fb_helper->dev; local in function:drmfb_pci_mmap
132 struct drm_device *const dev = sc->sc_da.da_fb_helper->dev; local in function:drmfb_pci_ioctl
    [all...]

Completed in 56 milliseconds

1 2 3 4 5 6 7 8 91011>>