Searched defs:dev (Results 326 - 350 of 775) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/uts/sun4u/opl/io/
H A Doplkmdrv.c83 int okm_close(dev_t dev, int flag, int otyp, struct cred *cred);
84 int okm_ioctl(dev_t dev, int cmd, intptr_t data, int flag,
400 okm_close(dev_t dev, int flag, int otyp, struct cred *cred) argument
421 okm_ioctl(dev_t dev, int cmd, intptr_t data, int flag, cred_t *cred, int *rvalp) argument
/illumos-gate/usr/src/uts/intel/io/drm/
H A Dradeon_cp.c45 static int radeon_do_cleanup_cp(drm_device_t *dev);
825 static int RADEON_READ_PLL(drm_device_t *dev, int addr) argument
827 drm_radeon_private_t *dev_priv = dev->dev_private;
1069 static int radeon_do_engine_reset(drm_device_t *dev) argument
1071 drm_radeon_private_t *dev_priv = dev->dev_private;
1078 mclk_cntl = RADEON_READ_PLL(dev, RADEON_MCLK_CNTL);
1120 radeon_freelist_reset(dev);
1126 radeon_cp_init_ring_buffer(drm_device_t *dev, drm_radeon_private_t *dev_priv) argument
1145 RADEON_WRITE(RADEON_AGP_BASE, (unsigned int)dev->agp->base);
1152 dev
1361 radeon_do_init_cp(drm_device_t *dev, drm_radeon_init_t *init) argument
1711 radeon_do_cleanup_cp(drm_device_t *dev) argument
1768 radeon_do_resume_cp(drm_device_t *dev) argument
1932 radeon_do_release(drm_device_t *dev) argument
2076 radeon_freelist_get(drm_device_t *dev) argument
2152 radeon_freelist_reset(drm_device_t *dev) argument
2204 radeon_cp_get_buffers(drm_file_t *filp, drm_device_t *dev, drm_dma_t *d) argument
2305 radeon_driver_load(struct drm_device *dev, unsigned long flags) argument
2348 radeon_driver_firstopen(struct drm_device *dev) argument
2378 radeon_driver_unload(struct drm_device *dev) argument
[all...]
H A Di915_dma.c50 int i915_wait_ring(drm_device_t * dev, int n, const char *caller) argument
52 drm_i915_private_t *dev_priv = dev->dev_private;
55 u32 acthd_reg = IS_I965G(dev) ? ACTHD_I965 : ACTHD;
83 int i915_init_hardware_status(drm_device_t *dev) argument
85 drm_i915_private_t *dev_priv = dev->dev_private;
89 dmah = drm_pci_alloc(dev, PAGE_SIZE, PAGE_SIZE, 0xffffffff,1);
109 void i915_free_hardware_status(drm_device_t *dev) argument
111 drm_i915_private_t *dev_priv = dev->dev_private;
112 if (!I915_NEED_GFX_HWS(dev)) {
115 drm_pci_free(dev, dev_pri
131 i915_kernel_lost_context(drm_device_t * dev) argument
144 i915_dma_cleanup(drm_device_t * dev) argument
174 i915_initialize(drm_device_t * dev, drm_i915_init_t * init) argument
232 i915_dma_resume(drm_device_t * dev) argument
370 i915_emit_cmds(drm_device_t * dev, int __user * buffer, int dwords) argument
414 i915_emit_box(drm_device_t * dev, drm_clip_rect_t __user * boxes, int i, int DR1, int DR4) argument
458 i915_emit_breadcrumb(drm_device_t *dev) argument
479 i915_dispatch_cmdbuffer(drm_device_t * dev, drm_i915_cmdbuffer_t * cmd) argument
511 i915_dispatch_batchbuffer(drm_device_t * dev, drm_i915_batchbuffer_t * batch) argument
562 i915_dispatch_flip(struct drm_device * dev, int planes) argument
611 i915_quiescent(drm_device_t * dev) argument
907 i915_driver_load(drm_device_t *dev, unsigned long flags) argument
986 i915_driver_unload(struct drm_device *dev) argument
1004 i915_driver_open(drm_device_t * dev, struct drm_file *file_priv) argument
1023 i915_driver_lastclose(drm_device_t * dev) argument
1041 i915_driver_preclose(drm_device_t * dev, drm_file_t *fpriv) argument
1048 i915_driver_postclose(drm_device_t * dev, struct drm_file *file_priv) argument
1142 i915_driver_device_is_agp(drm_device_t * dev) argument
[all...]
H A Di915_irq.c174 * @dev: DRM device
182 i915_pipe_enabled(struct drm_device *dev, int pipe) argument
184 drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private;
193 u32 i915_get_vblank_counter(struct drm_device *dev, int pipe) argument
195 drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private;
203 if (!i915_pipe_enabled(dev, pipe)) {
229 * @dev: drm device
236 static void i915_capture_error_state(struct drm_device *dev) argument
238 struct drm_i915_private *dev_priv = dev->dev_private;
257 if (!IS_I965G(dev)) {
304 i915_handle_error(struct drm_device *dev) argument
416 gm45_get_vblank_counter(struct drm_device *dev, int pipe) argument
429 igdng_irq_handler(struct drm_device *dev) argument
487 drm_device_t *dev = (drm_device_t *) (void *) arg; local
559 i915_emit_irq(drm_device_t * dev) argument
615 i915_user_irq_on(struct drm_device *dev) argument
629 i915_user_irq_off(struct drm_device *dev) argument
643 i915_wait_irq(drm_device_t * dev, int irq_nr) argument
755 igdng_enable_vblank(struct drm_device *dev, int pipe) argument
773 igdng_disable_vblank(struct drm_device *dev, int pipe) argument
791 i915_enable_vblank(struct drm_device *dev, int pipe) argument
815 i915_disable_vblank(struct drm_device *dev, int pipe) argument
891 igdng_irq_preinstall(struct drm_device *dev) argument
909 igdng_irq_postinstall(struct drm_device *dev) argument
939 igdng_irq_uninstall(struct drm_device *dev) argument
953 i915_driver_irq_preinstall(drm_device_t * dev) argument
975 i915_driver_irq_postinstall(drm_device_t * dev) argument
1027 i915_driver_irq_uninstall(drm_device_t * dev) argument
[all...]
H A Di915_drv.c245 i915_pipe_enabled(struct drm_device *dev, enum pipe pipe) argument
247 struct s3_i915_private *s3_priv = dev->s3_private;
256 i915_save_palette(struct drm_device *dev, enum pipe pipe) argument
258 struct s3_i915_private *s3_priv = dev->s3_private;
263 if (!i915_pipe_enabled(dev, pipe))
277 i915_restore_palette(struct drm_device *dev, enum pipe pipe) argument
279 struct s3_i915_private *s3_priv = dev->s3_private;
284 if (!i915_pipe_enabled(dev, pipe))
297 i915_save_vga(struct drm_device *dev) argument
299 struct s3_i915_private *s3_priv = dev
364 i915_restore_vga(struct drm_device *dev) argument
445 i915_save_display(struct drm_device *dev) argument
550 i915_restore_display(struct drm_device *dev) argument
675 i915_resume(struct drm_device *dev) argument
730 i915_suspend(struct drm_device *dev) argument
[all...]
/illumos-gate/usr/src/uts/intel/io/heci/
H A Dheci_init.c96 static void heci_check_asf_mode(struct iamt_heci_device *dev);
97 static int host_start_message(struct iamt_heci_device *dev);
98 static int host_enum_clients_message(struct iamt_heci_device *dev);
99 static int allocate_me_clients_storage(struct iamt_heci_device *dev);
100 static void host_init_wd(struct iamt_heci_device *dev);
101 static void host_init_iamthif(struct iamt_heci_device *dev);
111 * @dev: Device object for our driver
115 struct iamt_heci_device *dev)
120 list->device_extension = dev;
126 * @dev
114 heci_initialize_list(struct io_heci_list *list, struct iamt_heci_device *dev) argument
131 heci_flush_queues(struct iamt_heci_device *dev, struct heci_file_private *file_ext) argument
187 heci_reset_iamthif_params(struct iamt_heci_device *dev) argument
280 heci_hw_init(struct iamt_heci_device *dev) argument
350 heci_hw_reset(struct iamt_heci_device *dev, int interrupts) argument
368 heci_reset(struct iamt_heci_device *dev, int interrupts) argument
478 heci_initialize_clients(struct iamt_heci_device *dev) argument
550 struct iamt_heci_device *dev = (struct iamt_heci_device *)data; local
565 host_start_message(struct iamt_heci_device *dev) argument
647 host_enum_clients_message(struct iamt_heci_device *dev) argument
714 host_client_properties(struct iamt_heci_device *dev, struct heci_me_client *client) argument
766 allocate_me_clients_storage(struct iamt_heci_device *dev) argument
856 heci_find_me_client(struct iamt_heci_device *dev, struct heci_file_private *priv, const struct guid *cguid, uint8_t client_id) argument
887 heci_check_asf_mode(struct iamt_heci_device *dev) argument
918 heci_connect_me_client(struct iamt_heci_device *dev, struct heci_file_private *priv, long timeout) argument
962 host_init_wd(struct iamt_heci_device *dev) argument
1015 host_init_iamthif(struct iamt_heci_device *dev) argument
1087 heci_disconnect_host_client(struct iamt_heci_device *dev, struct heci_file_private *file_ext) argument
1173 heci_remove_client_from_file_list(struct iamt_heci_device *dev, uint8_t host_client_id) argument
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout.c501 * the proper DID or /dev/dsk alias.
515 devconfig_t *dev = (devconfig_t *)iter->obj; local
523 if ((error = devconfig_get_type(dev, &type)) == 0) {
532 devconfig_get_components(dev));
538 ((error = devconfig_get_name(dev, &devname)) != 0) ||
539 (error = devconfig_get_slice_index(dev, &index)) ||
547 error = devconfig_set_name(dev, slicename);
658 devconfig_t *dev = (devconfig_t *)devs->obj; local
661 if ((error = devconfig_get_type(dev, &type)) == 0) {
670 devconfig_get_components(dev));
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_main.c73 static void oce_unconfigure(struct oce_dev *dev);
74 static void oce_init_locks(struct oce_dev *dev);
75 static void oce_destroy_locks(struct oce_dev *dev);
76 static void oce_get_params(struct oce_dev *dev);
77 static int oce_get_prop(struct oce_dev *dev, char *propname, int minval,
193 struct oce_dev *dev = NULL; local
207 /* allocate dev */
208 dev = kmem_zalloc(sizeof (struct oce_dev), KM_SLEEP);
210 /* populate the dev structure */
211 dev
383 struct oce_dev *dev; local
439 struct oce_dev *dev = ddi_get_driver_private(dip); local
458 struct oce_dev *dev = ddi_get_driver_private(dip); local
476 struct oce_dev *dev; local
505 oce_init_locks(struct oce_dev *dev) argument
515 oce_destroy_locks(struct oce_dev *dev) argument
522 oce_unconfigure(struct oce_dev *dev) argument
564 oce_get_params(struct oce_dev *dev) argument
654 oce_get_prop(struct oce_dev *dev, char *propname, int minval, int maxval, int defval, uint32_t *values) argument
[all...]
H A Doce_queue.c36 oce_mq_create(struct oce_dev *dev, struct oce_eq *eq, uint32_t q_len);
40 oce_eq_create(struct oce_dev *dev, uint32_t q_len, uint32_t item_size,
45 oce_cq_create(struct oce_dev *dev, struct oce_eq *eq, uint32_t q_len,
51 static struct oce_wq *oce_wq_init(struct oce_dev *dev, uint32_t q_len,
53 static void oce_wq_fini(struct oce_dev *dev, struct oce_wq *wq);
55 static void oce_wq_del(struct oce_dev *dev, struct oce_wq *wq);
57 static struct oce_rq *oce_rq_init(struct oce_dev *dev, uint32_t q_len,
60 static void oce_rq_fini(struct oce_dev *dev, struct oce_rq *rq);
62 static void oce_rq_del(struct oce_dev *dev, struct oce_rq *rq);
67 * dev
73 oce_eq_create(struct oce_dev *dev, uint32_t q_len, uint32_t item_size, uint32_t eq_delay) argument
163 oce_eq_del(struct oce_dev *dev, struct oce_eq *eq) argument
195 oce_cq_create(struct oce_dev *dev, struct oce_eq *eq, uint32_t q_len, uint32_t item_size, boolean_t sol_event, boolean_t is_eventable, boolean_t nodelay, uint32_t ncoalesce) argument
291 oce_cq_del(struct oce_dev *dev, struct oce_cq *cq) argument
328 oce_mq_create(struct oce_dev *dev, struct oce_eq *eq, uint32_t q_len) argument
427 oce_mq_del(struct oce_dev *dev, struct oce_mq *mq) argument
456 oce_wq_init(struct oce_dev *dev, uint32_t q_len, int wq_type) argument
559 oce_wq_fini(struct oce_dev *dev, struct oce_wq *wq) argument
584 struct oce_dev *dev = wq->parent; local
663 oce_wq_del(struct oce_dev *dev, struct oce_wq *wq) argument
694 oce_rq_init(struct oce_dev *dev, uint32_t q_len, uint32_t frag_size, uint32_t mtu, boolean_t rss) argument
800 oce_rq_fini(struct oce_dev *dev, struct oce_rq *rq) argument
827 struct oce_dev *dev = rq->parent; local
898 oce_rq_del(struct oce_dev *dev, struct oce_rq *rq) argument
937 oce_arm_eq(struct oce_dev *dev, int16_t qid, int npopped, boolean_t rearm, boolean_t clearint) argument
961 oce_arm_cq(struct oce_dev *dev, int16_t qid, int npopped, boolean_t rearm) argument
985 oce_destroy_q(struct oce_dev *dev, struct oce_mbx *mbx, size_t req_size, enum qtype qtype) argument
1054 oce_set_eq_delay(struct oce_dev *dev, uint32_t *eq_arr, uint32_t eq_cnt, uint32_t eq_delay) argument
1108 struct oce_dev *dev; local
1133 oce_init_txrx(struct oce_dev *dev) argument
1171 oce_fini_txrx(struct oce_dev *dev) argument
1196 oce_create_queues(struct oce_dev *dev) argument
1232 oce_delete_queues(struct oce_dev *dev) argument
1255 oce_dev_rss_ready(struct oce_dev *dev) argument
[all...]
H A Doce_tx.c114 struct oce_dev *dev; local
117 dev = wq->parent;
119 ret = ddi_dma_alloc_handle(dev->dip, &tx_map_dma_attr,
135 struct oce_dev *dev = wq->parent; local
147 OCE_LIST_CREATE(&wq->wq_mdesc_list, DDI_INTR_PRI(dev->intr_pri));
197 struct oce_dev *dev = wq->parent; local
209 OCE_LIST_CREATE(&wq->wq_buf_list, DDI_INTR_PRI(dev->intr_pri));
259 struct oce_dev *dev; local
260 dev = wq->parent;
262 wqbd->wqb = oce_alloc_dma_buffer(dev, siz
399 oce_get_wq(struct oce_dev *dev, mblk_t *mp) argument
456 struct oce_dev *dev = wq->parent; local
514 struct oce_dev *dev = wq->parent; local
563 struct oce_dev *dev; local
613 struct oce_dev *dev; local
679 struct oce_dev *dev; local
[all...]
/illumos-gate/usr/src/uts/common/sys/lvm/
H A Dmd_rename.h143 md_dev64_t dev; member in struct:md_rendelta
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockparams.c499 const char *dev, int kmflag, int *errorp)
501 return (sockparams_hold_ephemeral(family, type, protocol, dev, B_TRUE,
498 sockparams_hold_ephemeral_bydev(int family, int type, int protocol, const char *dev, int kmflag, int *errorp) argument
/illumos-gate/usr/src/uts/common/io/
H A Dtimerfd.c141 timerfd_read(dev_t dev, uio_t *uio, cred_t *cr) argument
144 minor_t minor = getminor(dev);
181 timerfd_poll(dev_t dev, short events, int anyyet, short *reventsp, argument
185 minor_t minor = getminor(dev);
250 timerfd_ioctl(dev_t dev, int cmd, intptr_t arg, int md, cred_t *cr, int *rv) argument
254 minor_t minor = getminor(dev);
394 timerfd_close(dev_t dev, int flag, int otyp, cred_t *cred_p) argument
398 minor_t minor = getminor(dev);
452 cmn_err(CE_NOTE, "/dev/timerfd failed to create soft state");
459 cmn_err(CE_NOTE, "/dev/timerf
[all...]
H A Dtty_pty.c63 static dev_info_t *ptc_dip; /* for dev-to-dip conversions */
215 minor_t dev; local
217 for (dev = 0; dev < npty; dev++) {
218 cv_init(&pty_softc[dev].pt_cv_flags, NULL, CV_DEFAULT, NULL);
219 cv_init(&pty_softc[dev].pt_cv_readq, NULL, CV_DEFAULT, NULL);
220 cv_init(&pty_softc[dev].pt_cv_writeq, NULL, CV_DEFAULT, NULL);
221 mutex_init(&pty_softc[dev].ptc_lock, NULL, MUTEX_DEFAULT, NULL);
228 minor_t dev; local
248 dev_t dev = *devp; local
285 ptcclose(dev_t dev, int flag, int otyp, struct cred *cred) argument
322 ptcread(dev_t dev, struct uio *uio, struct cred *cred) argument
523 ptcwrite(dev_t dev, struct uio *uio, struct cred *cred) argument
695 ptcioctl(dev_t dev, int cmd, intptr_t data, int flag, struct cred *cred, int *rvalp) argument
978 ptcpoll(dev_t dev, short events, int anyyet, short *reventsp, struct pollhead **phpp) argument
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dswapgeneric.c713 dev_t dev; local
743 dev = ddi_pathname_to_dev_t(name);
745 if (dev == (dev_t)-1) {
754 if (strncmp(ddi_major_to_name(getmajor(dev)), "fd", 2) == 0) {
1098 i_path_find_node(dev_info_t *dev, void *arg) argument
1103 if (ddi_get_nodeid(dev) == (int)f->nodeid) {
1104 f->dip = dev;
/illumos-gate/usr/src/uts/common/syscall/
H A Dutssys.c148 utssys_ustat32(dev_t dev, struct ustat32 *cbuf) argument
156 if ((error = _statvfs64_by_dev(dev, &stvfs)) != 0)
223 uts_ustat64(dev_t dev, struct ustat *cbuf) argument
231 if ((error = _statvfs64_by_dev(dev, &stvfs)) != 0)
264 _statvfs64_by_dev(dev_t dev, struct statvfs64 *svp) argument
269 if ((vfsp = vfs_dev2vfsp(dev)) == NULL) {
274 if (vfsp->vfs_dev == dev) {
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/
H A Dintel_nbdrv.c351 inb_mc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument
476 inb_mc_close(dev_t dev, int flag, int otyp, cred_t *credp) argument
/illumos-gate/usr/src/boot/sys/boot/common/
H A Disapnp.h276 struct isa_device *dev);
289 struct isa_device dev; member in struct:pnp_dlist_node
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dbioscd.c93 #define BC(dev) (bcinfo[(dev)->d_unit])
197 * Attempt to open the disk described by (dev) for use by (f).
203 struct i386_devdesc *dev; local
206 dev = va_arg(ap, struct i386_devdesc *);
208 if (dev->d_unit >= nbcinfo) {
213 BC(dev).bc_open++;
214 if (BC(dev).bc_bcache == NULL)
215 BC(dev).bc_bcache = bcache_allocate();
222 struct i386_devdesc *dev; local
238 struct i386_devdesc *dev; local
252 struct i386_devdesc *dev; local
420 bc_getdev(struct i386_devdesc *dev) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_disk.c269 dev_t dev; local
403 (dev = ddi_pathname_to_dev_t(vd->vdev_physpath)) != NODEV)
404 error = ldi_open_by_dev(&dev, OTYP_BLK, spa_mode(spa),
445 if (ldi_get_dev(dvd->vd_lh, &dev) == 0 &&
451 if (ddi_dev_pathname(dev, otyp, physpath) == 0 &&
/illumos-gate/usr/src/boot/sys/boot/efi/boot1/
H A Dboot1.c335 dev_info_t *dev; local
342 for (dev = mod->devices(); dev != NULL; dev = dev->next) {
343 if (dev->preferred != preferred)
346 if (mod->load(PATH_LOADER_EFI, dev, bufp, bufsize) ==
348 *devinfop = dev;
368 dev_info_t *dev; local
374 status = load_loader(&mod, &dev,
693 dev_info_t *dev; local
[all...]
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mn_subr.c609 setsyncmsg.setsync_mnum = meta_getminor(mirnp->dev);
721 minor_t mnum = meta_getminor(mirnp->dev);
897 * INPUT: dev - dev_t of device
906 md_dev64_t dev,
914 minor_t mnum = meta_getminor(dev);
916 tstatemsg.gettstate_dev = dev;
905 meta_mn_send_get_tstate( md_dev64_t dev, uint_t *tstatep, md_error_t *ep ) argument
/illumos-gate/usr/src/lib/efcode/engine/
H A Dproperties.c222 device_t *dev; local
238 dev = ih->device;
239 prop = find_property(dev, pname);
247 if (dev->vectors.get_inherited_prop) {
249 dev->vectors.get_inherited_prop(env);
/illumos-gate/usr/src/lib/fm/libfmd_log/common/
H A Dfmd_log.c201 dev_t dev; local
233 if (uuid == NULL && (dev = makedev(maj, min)) == NODEV)
246 xlp->log_stat.st_dev == dev)
255 fmd_log_dprintf(lp, "broken xref dev=%lx ino=%llx\n",
256 (ulong_t)dev, (u_longlong_t)ino);
277 * fmd_log_load_xref() function can find them by comparing dev/ino to log_stat.
492 fmd_log_dprintf(lp, "open log %s dev=%lx ino=%llx\n", lp->log_path,
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid.c54 slotnm_create(topo_mod_t *mp, int dev, char *str) argument
62 p->snm_dev = dev;
456 did_BDF(did_t *dp, int *bus, int *dev, int *fn) argument
461 if (dev != NULL)
462 *dev = dp->dp_dev;
509 did_physlot_name(did_t *dp, int dev) argument
525 if (slot->snm_dev == dev)
553 pci_BDF_get(topo_mod_t *mp, di_node_t dn, int *bus, int *dev, int *fn) argument
560 *dev = dp->dp_dev;

Completed in 149 milliseconds

<<11121314151617181920>>