Searched refs:dev (Results 101 - 125 of 9143) sorted by relevance

1234567891011>>

/netbsd-current/sys/arch/evbppc/include/
H A Dobs200.h39 #include <dev/ic/comreg.h>
H A Dobs600.h31 #include <dev/ic/comreg.h>
/netbsd-current/sbin/devpubd/hooks/
H A D01-makedev13 cd /dev && sh MAKEDEV -u "$@" 2>/dev/null
/netbsd-current/sys/external/bsd/drm2/dist/include/drm/
H A Ddrm_modeset_helper.h36 void drm_helper_mode_fill_fb_struct(struct drm_device *dev,
40 int drm_crtc_init(struct drm_device *dev, struct drm_crtc *crtc,
43 int drm_mode_config_helper_suspend(struct drm_device *dev);
44 int drm_mode_config_helper_resume(struct drm_device *dev);
/netbsd-current/sys/arch/powerpc/include/
H A Dofw_cons.h9 int ofkbd_cngetc(dev_t dev);
/netbsd-current/external/mpl/bind/dist/bin/tests/system/keyfromlabel/
H A Dprereq.sh16 if [ -n "${SOFTHSM2_MODULE}" ] && command -v pkcs11-tool >/dev/null && command -v softhsm2-util >/dev/null; then
/netbsd-current/external/gpl2/lvm2/dist/include/
H A Dfilter.h26 # define MAJOR(dev) ((dev & 0xfff00) >> 8)
27 # define MINOR(dev) ((dev & 0xff) | ((dev >> 12) & 0xfff00))
44 int dev_subsystem_part_major(const struct device *dev);
45 const char *dev_subsystem_name(const struct device *dev);
/netbsd-current/external/gpl2/lvm2/dist/lib/filters/
H A Dfilter.h26 # define MAJOR(dev) ((dev & 0xfff00) >> 8)
27 # define MINOR(dev) ((dev & 0xff) | ((dev >> 12) & 0xfff00))
44 int dev_subsystem_part_major(const struct device *dev);
45 const char *dev_subsystem_name(const struct device *dev);
/netbsd-current/sys/arch/ia64/stand/common/
H A Ddevopen.c40 struct devdesc *dev; local
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 */
/netbsd-current/sys/dev/adb/
H A Dadbvar.h36 #define ADBFLUSH(dev) ((((u_int8_t)(dev) & 0x0f) << 4) | 0x01)
37 #define ADBLISTEN(dev, reg) ((((u_int8_t)(dev) & 0x0f) << 4) | 0x08 | (reg))
38 #define ADBTALK(dev, reg) ((((u_int8_t)(dev) & 0x0f) << 4) | 0x0c | (reg))
59 struct adb_device *dev; member in struct:adb_attach_args
/netbsd-current/sys/arch/alpha/pci/
H A Dpciide_machdep.c37 * sys/dev/pci/ppb.c, revision 1.16).
51 #include <dev/pci/pcireg.h>
52 #include <dev/pci/pcivar.h>
53 #include <dev/pci/pciidereg.h>
54 #include <dev/pci/pciidevar.h>
56 #include <dev/isa/isavar.h>
59 pciide_machdep_compat_intr_establish(device_t dev, argument
67 return pc->pc_pciide_compat_intr_establish(dev, pa, chan, func, arg);
/netbsd-current/external/bsd/libfido2/dist/examples/
H A Dreset.c22 fido_dev_t *dev; local
32 if ((dev = fido_dev_new()) == NULL)
35 if ((r = fido_dev_open(dev, argv[1])) != FIDO_OK)
38 if ((r = fido_dev_reset(dev)) != FIDO_OK) {
39 fido_dev_cancel(dev);
43 if ((r = fido_dev_close(dev)) != FIDO_OK)
46 fido_dev_free(&dev);
/netbsd-current/sys/arch/vax/include/
H A Ddisklabel.h57 #define DISKUNIT(dev) ((minor(dev) / OLDMAXPARTITIONS) % __VAX_MAXDISKS)
58 #define DISKPART(dev) ((minor(dev) % OLDMAXPARTITIONS) + \
59 ((minor(dev) / (__VAX_MAXDISKS * OLDMAXPARTITIONS)) * OLDMAXPARTITIONS))
/netbsd-current/sys/external/bsd/drm2/dist/drm/
H A Ddrm_dumb_buffers.c63 int drm_mode_create_dumb(struct drm_device *dev, argument
69 if (!dev->driver->dumb_create)
99 return dev->driver->dumb_create(file_priv, dev, args);
102 int drm_mode_create_dumb_ioctl(struct drm_device *dev, argument
105 return drm_mode_create_dumb(dev, data, file_priv);
110 * @dev: DRM device
122 int drm_mode_mmap_dumb_ioctl(struct drm_device *dev, argument
127 if (!dev->driver->dumb_create)
130 if (dev
139 drm_mode_destroy_dumb(struct drm_device *dev, u32 handle, struct drm_file *file_priv) argument
151 drm_mode_destroy_dumb_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
[all...]
H A Ddrm_pci.c46 * @dev: DRM device
56 drm_dma_handle_t *drm_pci_alloc(struct drm_device * dev, size_t size, size_t align) argument
74 dmah->vaddr = dma_alloc_coherent(&dev->pdev->dev, size,
100 void __drm_legacy_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) argument
112 dma_free_coherent(&dev->pdev->dev, dmah->size, dmah->vaddr,
119 * @dev: DRM device
125 void drm_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) argument
127 __drm_legacy_pci_free(dev, dma
133 drm_get_pci_domain(struct drm_device *dev) argument
147 drm_pci_set_busid(struct drm_device *dev, struct drm_master *master) argument
161 drm_pci_irq_by_busid(struct drm_device *dev, struct drm_irq_busid *p) argument
187 drm_irq_by_busid(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
205 drm_pci_agp_init(struct drm_device *dev) argument
219 drm_pci_agp_destroy(struct drm_device *dev) argument
247 struct drm_device *dev; local
349 struct drm_device *dev, *tmp; local
[all...]
H A Ddrm_vblank.c93 drm_get_last_vbltimestamp(struct drm_device *dev, unsigned int pipe,
105 static void store_vblank(struct drm_device *dev, unsigned int pipe, argument
109 struct drm_vblank_crtc *vblank = &dev->vblank[pipe];
111 assert_spin_locked(&dev->vblank_time_lock);
121 static u32 drm_max_vblank_count(struct drm_device *dev, unsigned int pipe) argument
123 struct drm_vblank_crtc *vblank = &dev->vblank[pipe];
125 return vblank->max_vblank_count ?: dev->max_vblank_count;
132 static u32 drm_vblank_no_hw_counter(struct drm_device *dev, unsigned int pipe) argument
134 WARN_ON_ONCE(drm_max_vblank_count(dev, pipe) != 0);
138 static u32 __get_vblank_counter(struct drm_device *dev, unsigne argument
165 drm_reset_vblank_timestamp(struct drm_device *dev, unsigned int pipe) argument
214 drm_update_vblank_count(struct drm_device *dev, unsigned int pipe, bool in_vblank_irq) argument
307 drm_vblank_count(struct drm_device *dev, unsigned int pipe) argument
342 struct drm_device *dev = crtc->dev; local
363 __disable_vblank(struct drm_device *dev, unsigned int pipe) argument
386 drm_vblank_disable_and_save(struct drm_device *dev, unsigned int pipe) argument
423 vblank_disable_locked(struct drm_vblank_crtc *vblank, struct drm_device *dev, unsigned int pipe) argument
439 struct drm_device *dev = vblank->dev; local
451 drm_vblank_cleanup(struct drm_device *dev) argument
488 drm_vblank_init(struct drm_device *dev, unsigned int num_crtcs) argument
563 struct drm_device *dev = crtc->dev; local
639 drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev, unsigned int pipe, int *max_error, ktime_t *vblank_time, bool in_vblank_irq) argument
777 drm_get_last_vbltimestamp(struct drm_device *dev, unsigned int pipe, ktime_t *tvblank, bool in_vblank_irq) argument
840 drm_vblank_count_and_time(struct drm_device *dev, unsigned int pipe, ktime_t *vblanktime) argument
888 send_vblank_event(struct drm_device *dev, struct drm_pending_vblank_event *e, u64 seq, ktime_t now) argument
958 struct drm_device *dev = crtc->dev; local
983 struct drm_device *dev = crtc->dev; local
1000 __enable_vblank(struct drm_device *dev, unsigned int pipe) argument
1015 drm_vblank_enable(struct drm_device *dev, unsigned int pipe) argument
1052 drm_vblank_get_locked(struct drm_device *dev, unsigned int pipe) argument
1078 drm_vblank_get(struct drm_device *dev, unsigned int pipe) argument
1111 drm_vblank_put_locked(struct drm_device *dev, unsigned int pipe) argument
1135 drm_vblank_put(struct drm_device *dev, unsigned int pipe) argument
1186 drm_wait_one_vblank(struct drm_device *dev, unsigned int pipe) argument
1240 struct drm_device *dev = crtc->dev; local
1308 struct drm_device *dev = crtc->dev; local
1347 struct drm_device *dev = crtc->dev; local
1370 struct drm_device *dev = crtc->dev; local
1413 drm_vblank_restore(struct drm_device *dev, unsigned int pipe) argument
1465 drm_legacy_vblank_pre_modeset(struct drm_device *dev, unsigned int pipe) argument
1491 drm_legacy_vblank_post_modeset(struct drm_device *dev, unsigned int pipe) argument
1516 drm_legacy_modeset_ctl_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1553 drm_queue_vblank_event(struct drm_device *dev, unsigned int pipe, u64 req_seq, union drm_wait_vblank *vblwait, struct drm_file *file_priv) argument
1658 drm_wait_vblank_reply(struct drm_device *dev, unsigned int pipe, struct drm_wait_vblank_reply *reply) argument
1675 drm_wait_vblank_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1815 drm_handle_vblank_events(struct drm_device *dev, unsigned int pipe) argument
1853 drm_handle_vblank(struct drm_device *dev, unsigned int pipe) argument
1940 drm_crtc_get_sequence_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1994 drm_crtc_queue_sequence_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
[all...]
/netbsd-current/sys/external/bsd/drm2/pci/
H A Ddrm_pci.c39 #include <dev/pci/pcivar.h>
56 drm_pci_attach_args(struct drm_device *dev) argument
58 return &dev->pdev->pd_pa;
62 drm_pci_attach(struct drm_device *dev, struct pci_dev *pdev) argument
64 device_t self = dev->dev;
75 dev->pdev = pdev;
80 dev->bst = pa->pa_memt;
81 dev->bus_dmat = (pci_dma64_available(pa)? pa->pa_dmat64 : pa->pa_dmat);
82 dev
139 drm_pci_detach(struct drm_device *dev) argument
160 drm_pci_request_irq(struct drm_device *dev, int flags) argument
214 drm_pci_free_irq(struct drm_device *dev) argument
[all...]
/netbsd-current/sys/external/bsd/drm/dist/bsd-core/
H A Dmga_drv.c41 #include <dev/pci/pcivar.h>
42 #include <dev/pci/pcidevs.h>
71 * \param dev The device to be tested.
81 static int mga_driver_device_is_agp(struct drm_device * dev) argument
95 bus = device_get_parent(device_get_parent(dev->device));
97 bus = device_get_parent(dev->device);
99 if (pci_get_device(dev->device) == 0x0525 &&
105 if (PCI_PRODUCT(dev->pa.pa_id) == PCI_PRODUCT_MATROX_G400_AGP &&
113 static void mga_configure(struct drm_device *dev) argument
115 dev
156 struct drm_device *dev = device_get_softc(kdev); local
169 struct drm_device *dev = device_get_softc(kdev); local
216 struct drm_device *dev = device_private(self); local
[all...]
H A Dsavage_drv.c40 static void savage_configure(struct drm_device *dev) argument
42 dev->driver->driver_features =
46 dev->driver->buf_priv_size = sizeof(drm_savage_buf_priv_t);
47 dev->driver->load = savage_driver_load;
48 dev->driver->firstopen = savage_driver_firstopen;
49 dev->driver->lastclose = savage_driver_lastclose;
50 dev->driver->unload = savage_driver_unload;
51 dev->driver->reclaim_buffers_locked = savage_reclaim_buffers;
52 dev->driver->dma_ioctl = savage_bci_buffers;
54 dev
76 struct drm_device *dev = device_get_softc(kdev); local
89 struct drm_device *dev = device_get_softc(kdev); local
136 struct drm_device *dev = device_private(self); local
[all...]
/netbsd-current/external/gpl2/lvm2/dist/lib/device/
H A Ddev-io.c1 /* $NetBSD: dev-io.c,v 1.9 2010/12/29 00:14:04 haad Exp $ */
69 int fd = dev_fd(where->dev);
75 dev_name(where->dev));
92 dev_name(where->dev), (uint64_t) where->start,
106 " at %" PRIu64 ": %s", dev_name(where->dev),
132 static int _get_block_size(struct device *dev, unsigned int *size) argument
134 const char *name = dev_name(dev);
141 if ((dev->block_size == -1)) {
143 if (prop_dictionary_recv_ioctl(dev_fd(dev), DIOCGDISKINFO, &disk_dict)) {
144 if (ioctl(dev_fd(dev), DIOCGDINF
246 _dev_get_size_file(const struct device *dev, uint64_t *size) argument
264 _dev_get_size_dev(const struct device *dev, uint64_t *size) argument
315 _dev_read_ahead_dev(struct device *dev, uint32_t *read_ahead) argument
351 dev_get_size(const struct device *dev, uint64_t *size) argument
362 dev_get_read_ahead(struct device *dev, uint32_t *read_ahead) argument
405 dev_flush(struct device *dev) argument
418 dev_open_flags(struct device *dev, int flags, int direct, int quiet) argument
545 dev_open_quiet(struct device *dev) argument
554 dev_open(struct device *dev) argument
563 dev_test_excl(struct device *dev) argument
578 _close(struct device *dev) argument
596 _dev_close(struct device *dev, int immediate) argument
629 dev_close(struct device *dev) argument
634 dev_close_immediate(struct device *dev) argument
642 struct device *dev; local
651 dev_read(struct device *dev, uint64_t offset, size_t len, void *buffer) argument
670 dev_read_circular(struct device *dev, uint64_t offset, size_t len, uint64_t offset2, size_t len2, void *buf) argument
699 dev_append(struct device *dev, size_t len, void *buffer) argument
715 dev_write(struct device *dev, uint64_t offset, size_t len, void *buffer) argument
731 dev_set(struct device *dev, uint64_t offset, size_t len, int value) argument
[all...]
/netbsd-current/sys/arch/mvme68k/mvme68k/
H A Dautoconf.c65 #include <dev/scsipi/scsi_all.h>
66 #include <dev/scsipi/scsipi_all.h>
67 #include <dev/scsipi/scsiconf.h>
72 #include <mvme68k/dev/pccreg.h>
75 #include <dev/mvme/pcctworeg.h>
112 device_register(device_t dev, void *aux) argument
116 device_t parent = device_parent(dev);
135 device_is_a(dev, "wdsc")) {
136 controller = dev;
141 device_is_a(dev, "l
[all...]
/netbsd-current/sys/dev/dec/
H A Dmcclock_pad32.c52 #include <dev/clock_subr.h>
55 #include <dev/dec/clockvar.h>
56 #include <dev/dec/mcclockvar.h>
57 #include <dev/ic/mc146818reg.h>
59 #include <dev/dec/mcclock_pad32.h>
70 mcclock_pad32_write(struct mcclock_softc *dev, u_int reg, u_int datum) argument
72 struct mcclock_pad32_softc *sc = (struct mcclock_pad32_softc *)dev;
78 mcclock_pad32_read(struct mcclock_softc *dev, u_int reg) argument
80 struct mcclock_pad32_softc *sc = (struct mcclock_pad32_softc *)dev;
/netbsd-current/etc/rc.d/
H A Draidframe33 dev=${cfg##*/}
34 dev=${dev%.conf}
38 case "${dev}" in
40 *) : "$dev not raidNN"; continue;;
44 *" ${dev} "*) : "$dev configured already"; continue;;
47 raidctl -c "$cfg" "$dev" &&
48 devices="${devices} ${dev}"
/netbsd-current/crypto/external/bsd/netpgp/dist/doc/
H A DMakefile8 doxy-dev: doxygen-dev.cfg
9 [ -d doxy-dev ] || mkdir doxy-dev
10 doxygen doxygen-dev.cfg
13 rm -rf doxy-user doxy-dev
15 .PHONY: doxy-user doxy-dev
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/
H A Dnouveau_dispnv04_hw.c43 NVWriteVgaSeq(struct drm_device *dev, int head, uint8_t index, uint8_t value) argument
45 NVWritePRMVIO(dev, head, NV_PRMVIO_SRX, index);
46 NVWritePRMVIO(dev, head, NV_PRMVIO_SR, value);
50 NVReadVgaSeq(struct drm_device *dev, int head, uint8_t index) argument
52 NVWritePRMVIO(dev, head, NV_PRMVIO_SRX, index);
53 return NVReadPRMVIO(dev, head, NV_PRMVIO_SR);
57 NVWriteVgaGr(struct drm_device *dev, int head, uint8_t index, uint8_t value) argument
59 NVWritePRMVIO(dev, head, NV_PRMVIO_GRX, index);
60 NVWritePRMVIO(dev, head, NV_PRMVIO_GX, value);
64 NVReadVgaGr(struct drm_device *dev, in argument
89 NVSetOwner(struct drm_device *dev, int owner) argument
114 NVBlankScreen(struct drm_device *dev, int head, bool blank) argument
136 nouveau_hw_decode_pll(struct drm_device *dev, uint32_t reg1, uint32_t pll1, uint32_t pll2, struct nvkm_pll_vals *pllvals) argument
168 nouveau_hw_get_pllvals(struct drm_device *dev, enum nvbios_pll_type plltype, struct nvkm_pll_vals *pllvals) argument
219 nouveau_hw_get_clock(struct drm_device *dev, enum nvbios_pll_type plltype) argument
255 nouveau_hw_fix_bad_vpll(struct drm_device *dev, int head) argument
293 nouveau_vga_font_io(struct drm_device *dev, bus_space_tag_t iovramt, bus_space_handle_t iovramh, bool save, unsigned plane) argument
328 nouveau_hw_save_vga_fonts(struct drm_device *dev, bool save) argument
422 rd_cio_state(struct drm_device *dev, int head, struct nv04_crtc_reg *crtcstate, int index) argument
429 wr_cio_state(struct drm_device *dev, int head, struct nv04_crtc_reg *crtcstate, int index) argument
436 nv_save_state_ramdac(struct drm_device *dev, int head, struct nv04_mode_state *state) argument
511 nv_load_state_ramdac(struct drm_device *dev, int head, struct nv04_mode_state *state) argument
583 nv_save_state_vga(struct drm_device *dev, int head, struct nv04_mode_state *state) argument
607 nv_load_state_vga(struct drm_device *dev, int head, struct nv04_mode_state *state) argument
633 nv_save_state_ext(struct drm_device *dev, int head, struct nv04_mode_state *state) argument
708 nv_load_state_ext(struct drm_device *dev, int head, struct nv04_mode_state *state) argument
819 nv_save_state_palette(struct drm_device *dev, int head, struct nv04_mode_state *state) argument
838 nouveau_hw_load_state_palette(struct drm_device *dev, int head, struct nv04_mode_state *state) argument
856 nouveau_hw_save_state(struct drm_device *dev, int head, struct nv04_mode_state *state) argument
870 nouveau_hw_load_state(struct drm_device *dev, int head, struct nv04_mode_state *state) argument
[all...]

Completed in 198 milliseconds

1234567891011>>