Searched refs:dev (Results 1 - 25 of 1656) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pid/
H A Dtst.coverage.exe29 while true; do env > /dev/null; done
H A Dtst.emptystack.exe36 exec find / -type f -exec sleep 1 \; >/dev/null 2>&1
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dconfig.c14 static int pci_probe(struct dev *dev, const char *type_name) argument
26 struct pci_probe_state *state = &dev->state.pci;
28 if (dev->how_probe == PROBE_FIRST) {
30 state->dev.driver = 0;
31 state->dev.bus = 0;
32 state->dev.devfn = 0;
33 dev->index = -1;
36 if ((dev->how_probe != PROBE_AWAKE) && state->advance) {
37 find_pci(dev
71 isa_probe(struct dev *dev, const char *type_name) argument
122 probe(struct dev *dev) argument
159 disable(struct dev *dev) argument
[all...]
/illumos-gate/usr/src/cmd/login/
H A Dlogindevperm.sh45 # If the "console" is "/dev/vt/console_user" which is a symlink to the current
46 # active virtual console (/dev/console, or /dev/vt/#), then the first
51 # ending in "/*", such as "/dev/fbs/*", specifies all entries (except "."
61 /dev/vt/console_user 0600 /dev/mouse:/dev/kbd
62 /dev/vt/console_user 0600 /dev/sound/* # audio devices
63 /dev/v
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_hw.c40 extern int oce_destroy_q(struct oce_dev *dev, struct oce_mbx *mbx,
44 oce_map_regs(struct oce_dev *dev) argument
49 ASSERT(NULL != dev);
50 ASSERT(NULL != dev->dip);
53 ret = ddi_dev_nregs(dev->dip, &dev->num_bars);
55 oce_log(dev, CE_WARN, MOD_CONFIG,
62 ret = ddi_dev_regsize(dev->dip, OCE_DEV_CFG_BAR, &bar_size);
64 oce_log(dev, CE_WARN, MOD_CONFIG,
70 ret = ddi_regs_map_setup(dev
123 oce_unmap_regs(struct oce_dev *dev) argument
146 oce_pci_init(struct oce_dev *dev) argument
175 oce_pci_fini(struct oce_dev *dev) argument
187 oce_get_bdf(struct oce_dev *dev) argument
218 oce_identify_hw(struct oce_dev *dev) argument
255 oce_is_reset_pci(struct oce_dev *dev) argument
278 oce_pci_soft_reset(struct oce_dev *dev) argument
323 oce_POST(struct oce_dev *dev) argument
393 oce_create_nw_interface(struct oce_dev *dev) argument
444 oce_delete_nw_interface(struct oce_dev *dev) argument
454 oce_create_itbl(struct oce_dev *dev, char *itbl) argument
466 oce_setup_adapter(struct oce_dev *dev) argument
509 oce_unsetup_adapter(struct oce_dev *dev) argument
530 oce_hw_init(struct oce_dev *dev) argument
598 oce_hw_fini(struct oce_dev *dev) argument
[all...]
H A Doce_fm.c37 * dev - software handle to the device
43 oce_fm_init(struct oce_dev *dev) argument
47 if (dev->fm_caps == DDI_FM_NOT_CAPABLE) {
51 oce_set_dma_fma_flags(dev->fm_caps);
52 oce_set_reg_fma_flags(dev->fm_caps);
54 (void) ddi_fm_init(dev->dip, &dev->fm_caps, &ibc);
55 if (DDI_FM_EREPORT_CAP(dev->fm_caps) ||
56 DDI_FM_ERRCB_CAP(dev->fm_caps)) {
57 pci_ereport_setup(dev
73 oce_fm_fini(struct oce_dev *dev) argument
97 oce_fm_check_acc_handle(struct oce_dev *dev, ddi_acc_handle_t acc_handle) argument
120 oce_fm_check_dma_handle(struct oce_dev *dev, ddi_dma_handle_t dma_handle) argument
139 oce_fm_ereport(struct oce_dev *dev, char *detail) argument
[all...]
H A Doce_intr.c37 * dev - software handle to the device
42 oce_setup_intr(struct oce_dev *dev) argument
53 ret = ddi_intr_get_supported_types(dev->dip, &intr_types);
55 oce_log(dev, CE_WARN, MOD_CONFIG, "%s",
62 dev->intr_type = DDI_INTR_TYPE_MSIX;
64 nreqd = dev->rx_rings + 1;
67 dev->intr_type = DDI_INTR_TYPE_FIXED;
72 ret = ddi_intr_get_nintrs(dev->dip, dev->intr_type, &nsupported);
74 oce_log(dev, CE_WAR
159 oce_teardown_intr(struct oce_dev *dev) argument
183 oce_setup_handlers(struct oce_dev *dev) argument
210 oce_remove_handler(struct oce_dev *dev) argument
219 oce_chip_ei(struct oce_dev *dev) argument
236 oce_ei(struct oce_dev *dev) argument
258 oce_chip_di(struct oce_dev *dev) argument
275 oce_di(struct oce_dev *dev) argument
311 struct oce_dev *dev; local
[all...]
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_gld.c44 static int oce_set_priv_prop(struct oce_dev *dev, const char *name,
47 static int oce_get_priv_prop(struct oce_dev *dev, const char *name,
54 struct oce_dev *dev = arg; local
57 mutex_enter(&dev->dev_lock);
59 if (dev->state & STATE_MAC_STARTED) {
60 mutex_exit(&dev->dev_lock);
64 if (dev->suspended) {
65 mutex_exit(&dev->dev_lock);
68 ret = oce_start(dev);
70 mutex_exit(&dev
82 oce_start(struct oce_dev *dev) argument
119 struct oce_dev *dev = arg; local
135 oce_stop(struct oce_dev *dev) argument
161 struct oce_dev *dev = (struct oce_dev *)arg; local
241 struct oce_dev *dev = arg; local
280 struct oce_dev *dev = arg; local
319 struct oce_dev *dev = arg; local
351 struct oce_dev *dev = arg; local
442 struct oce_dev *dev = arg; local
571 struct oce_dev *dev = arg; local
645 struct oce_dev *dev = arg; local
681 oce_set_priv_prop(struct oce_dev *dev, const char *name, uint_t size, const void *val) argument
729 oce_get_priv_prop(struct oce_dev *dev, const char *name, uint_t size, void *val) argument
[all...]
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_irq.c51 if ((irq.busnum >> 8) != dev->pci_domain ||
52 (irq.busnum & 0xff) != dev->pci_bus ||
53 irq.devnum != dev->pci_slot ||
54 irq.funcnum != dev->pci_func)
57 irq.irq = dev->irq;
71 drm_device_t *dev = (void *)arg; local
74 mutex_enter(&dev->irq_lock);
75 ret = dev->driver->irq_handler(arg);
76 mutex_exit(&dev->irq_lock);
83 struct drm_device *dev local
102 drm_vblank_cleanup(struct drm_device *dev) argument
129 drm_vblank_init(struct drm_device *dev, int num_crtcs) argument
190 drm_install_irq_handle(drm_device_t *dev) argument
224 drm_irq_install(drm_device_t *dev) argument
262 drm_uninstall_irq_handle(drm_device_t *dev) argument
271 drm_irq_uninstall(drm_device_t *dev) argument
322 drm_vblank_count(struct drm_device *dev, int crtc) argument
327 drm_update_vblank_count(struct drm_device *dev, int crtc) argument
351 drm_vblank_get(struct drm_device *dev, int crtc) argument
380 drm_vblank_put(struct drm_device *dev, int crtc) argument
571 drm_vbl_send_signals(drm_device_t *dev) argument
577 drm_handle_vblank(struct drm_device *dev, int crtc) argument
[all...]
H A Ddrm_drv.c169 drm_firstopen(drm_device_t *dev) argument
176 retval = drm_addmap(dev, 0, SAREA_MAX, _DRM_SHM,
183 if (dev->driver->use_agp) {
184 DRM_DEBUG("drm_firstopen: use_agp=%d", dev->driver->use_agp);
185 if (drm_device_is_agp(dev))
186 dev->agp = drm_agp_init(dev);
187 if (dev->driver->require_agp && dev->agp == NULL) {
193 if (dev
234 drm_lastclose(drm_device_t *dev) argument
318 drm_load(drm_device_t *dev) argument
390 drm_unload(drm_device_t *dev) argument
430 drm_open(drm_device_t *dev, drm_cminor_t *mp, int openflags, int otyp, cred_t *credp) argument
450 drm_close(drm_device_t *dev, int minor, int flag, int otyp, cred_t *credp) argument
525 drm_attach(drm_device_t *dev) argument
531 drm_detach(drm_device_t *dev) argument
539 drm_get_businfo(drm_device_t *dev) argument
559 drm_probe(drm_device_t *dev, drm_pci_id_list_t *idlist) argument
[all...]
/illumos-gate/usr/src/uts/common/io/audio/drv/audioens/
H A Daudioens.c115 struct audioens_dev *dev; member in struct:audioens_port
170 #define GET8(dev, offset) \
171 ddi_get8(dev->acch, (uint8_t *)(dev->regs + (offset)))
172 #define GET16(dev, offset) \
173 ddi_get16(dev->acch, (uint16_t *)(void *)(dev->regs + (offset)))
174 #define GET32(dev, offset) \
175 ddi_get32(dev->acch, (uint32_t *)(void *)(dev
193 audioens_dev_t *dev = dev_; local
223 audioens_dev_t *dev = dev_; local
240 SRCRegRead(audioens_dev_t *dev, unsigned short reg) argument
266 SRCRegWrite(audioens_dev_t *dev, unsigned short reg, unsigned short val) argument
286 SRCSetRate(audioens_dev_t *dev, unsigned char base, unsigned short rate) argument
354 SRCInit(audioens_dev_t *dev) argument
393 audioens_writemem(audioens_dev_t *dev, uint32_t page, uint32_t offs, uint32_t data) argument
402 audioens_readmem(audioens_dev_t *dev, uint32_t page, uint32_t offs) argument
412 audioens_dev_t *dev = (void *)arg1; local
480 audioens_setup_intr(audioens_dev_t *dev) argument
545 audioens_dev_t *dev = port->dev; local
564 audioens_dev_t *dev = port->dev; local
654 audioens_dev_t *dev = port->dev; local
673 audioens_dev_t *dev = port->dev; local
766 audioens_init_hw(audioens_dev_t *dev) argument
822 audioens_init(audioens_dev_t *dev) argument
941 audioens_destroy(audioens_dev_t *dev) argument
993 audioens_dev_t *dev; local
1136 audioens_detach(audioens_dev_t *dev) argument
1168 audioens_resume(audioens_dev_t *dev) argument
1186 audioens_suspend(audioens_dev_t *dev) argument
1202 audioens_dev_t *dev; local
1231 audioens_dev_t *dev; local
1251 audioens_dev_t *dev; local
[all...]
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxenbus_probe.c105 free_otherend_details(struct xenbus_device *dev) argument
107 if (dev->otherend != NULL) {
108 kmem_free((void *)dev->otherend, strlen(dev->otherend) + 1);
109 dev->otherend = NULL;
115 free_otherend_watch(struct xenbus_device *dev) argument
117 if (dev->otherend_watch.node) {
118 unregister_xenbus_watch(&dev->otherend_watch);
119 kmem_free((void *)dev->otherend_watch.node,
120 strlen(dev
130 struct xenbus_device *dev = watch->dev; local
157 talk_to_otherend(struct xenbus_device *dev) argument
[all...]
/illumos-gate/usr/src/cmd/clear/
H A Dclear.sh34 /usr/bin/tput ${1:+-T$1} clear 2> /dev/null
/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...]
H A Dheci_interface.c106 * @dev: device object for our driver
109 heci_set_csr_register(struct iamt_heci_device *dev) argument
111 write_heci_register(dev, H_CSR, dev->host_hw_state);
112 dev->host_hw_state = read_heci_register(dev, H_CSR);
118 * @dev: device object for our driver
121 heci_csr_enable_interrupts(struct iamt_heci_device *dev) argument
123 dev->host_hw_state |= H_IE;
124 heci_set_csr_register(dev);
133 heci_csr_disable_interrupts(struct iamt_heci_device *dev) argument
148 _host_get_filled_slots(struct iamt_heci_device *dev) argument
166 host_buffer_is_empty(struct iamt_heci_device *dev) argument
187 count_empty_write_slots(struct iamt_heci_device *dev) argument
214 heci_write_message(struct iamt_heci_device *dev, struct heci_msg_hdr *header, unsigned char *write_buffer, unsigned long write_length) argument
270 count_full_read_slots(struct iamt_heci_device *dev) argument
298 heci_read_slots(struct iamt_heci_device *dev, unsigned char *buffer, unsigned long buffer_length) argument
331 flow_ctrl_creds(struct iamt_heci_device *dev, struct heci_file_private *file_ext) argument
366 flow_ctrl_reduce(struct iamt_heci_device *dev, struct heci_file_private *file_ext) argument
398 heci_send_flow_control(struct iamt_heci_device *dev, struct heci_file_private *file_ext) argument
439 other_client_is_connecting(struct iamt_heci_device *dev, struct heci_file_private *file_ext) argument
464 heci_send_wd(struct iamt_heci_device *dev) argument
498 heci_disconnect(struct iamt_heci_device *dev, struct heci_file_private *file_ext) argument
536 heci_connect(struct iamt_heci_device *dev, struct heci_file_private *file_ext) argument
[all...]
H A Dheci_intr.c72 struct iamt_heci_device *dev,
75 struct iamt_heci_device *dev,
77 static void heci_bh_read_bus_message(struct iamt_heci_device *dev,
80 struct iamt_heci_device *dev,
83 struct iamt_heci_device *dev,
85 static void heci_client_connect_response(struct iamt_heci_device *dev,
87 static void heci_client_disconnect_response(struct iamt_heci_device *dev,
89 static void heci_client_flow_control_response(struct iamt_heci_device *dev,
91 static void heci_client_disconnect_request(struct iamt_heci_device *dev,
94 static int heci_bh_process_device(struct iamt_heci_device *dev);
172 _heci_cmpl_iamthif(struct iamt_heci_device *dev, struct heci_cb_private *priv_cb_pos) argument
203 struct iamt_heci_device *dev = (struct iamt_heci_device *)data; local
226 heci_bh_process_device(struct iamt_heci_device *dev) argument
361 heci_bh_read_handler(struct io_heci_list *cmpl_list, struct iamt_heci_device *dev, int32_t *slots) argument
457 heci_bh_read_bus_message(struct iamt_heci_device *dev, struct heci_msg_hdr *heci_hdr) argument
588 heci_bh_read_pthi_message(struct io_heci_list *complete_list, struct iamt_heci_device *dev, struct heci_msg_hdr *heci_hdr) argument
667 heci_bh_read_client_message(struct io_heci_list *complete_list, struct iamt_heci_device *dev, struct heci_msg_hdr *heci_hdr) argument
753 _heci_bh_iamthif_read(struct iamt_heci_device *dev, int32_t *slots) argument
789 _heci_bh_close(struct iamt_heci_device *dev, int32_t *slots, struct heci_cb_private *priv_cb_pos, struct heci_file_private *file_ext, struct io_heci_list *cmpl_list) argument
833 _heci_bh_read(struct iamt_heci_device *dev, int32_t *slots, struct heci_cb_private *priv_cb_pos, struct heci_file_private *file_ext, struct io_heci_list *cmpl_list) argument
874 _heci_bh_ioctl(struct iamt_heci_device *dev, int32_t *slots, struct heci_cb_private *priv_cb_pos, struct heci_file_private *file_ext, struct io_heci_list *cmpl_list) argument
917 _heci_bh_cmpl(struct iamt_heci_device *dev, int32_t *slots, struct heci_cb_private *priv_cb_pos, struct heci_file_private *file_ext, struct io_heci_list *cmpl_list) argument
1010 _heci_bh_cmpl_iamthif(struct iamt_heci_device *dev, int32_t *slots, struct heci_cb_private *priv_cb_pos, struct heci_file_private *file_ext, struct io_heci_list *cmpl_list) argument
1095 heci_bh_write_handler(struct io_heci_list *cmpl_list, struct iamt_heci_device *dev, int32_t *slots) argument
1329 heci_client_connect_response(struct iamt_heci_device *dev, struct hbm_client_connect_response *rs) argument
1373 heci_client_disconnect_response(struct iamt_heci_device *dev, struct hbm_client_connect_response *rs) argument
1435 add_single_flow_creds(struct iamt_heci_device *dev, struct hbm_flow_control *flow) argument
1464 heci_client_flow_control_response(struct iamt_heci_device *dev, struct hbm_flow_control *flow_control) argument
1521 heci_client_disconnect_request(struct iamt_heci_device *dev, struct hbm_client_disconnect_request *disconnect_req) argument
1578 struct iamt_heci_device *dev = (struct iamt_heci_device *)data; local
[all...]
/illumos-gate/usr/src/uts/common/io/audio/drv/audiosolo/
H A Daudiosolo.c139 struct solo_dev *dev; member in struct:solo_engine
177 struct solo_dev *dev; member in struct:solo_ctrl
238 solo_dspready(solo_dev_t *dev) argument
240 return ((PORT_RD8(dev->sb, 0xc) & 0x80) == 0 ? true : false);
244 solo_dspwr(solo_dev_t *dev, uint8_t val) argument
249 if (solo_dspready(dev)) {
250 PORT_WR8(dev->sb, 0xc, val);
256 audio_dev_warn(dev->adev, "solo_dspwr(0x%02x) timed out", val);
261 solo_cmd(solo_dev_t *dev, uint8_t val) argument
263 return (solo_dspwr(dev, va
267 solo_cmd1(solo_dev_t *dev, uint8_t cmd, uint8_t val) argument
275 solo_setmixer(solo_dev_t *dev, uint8_t port, uint8_t value) argument
284 solo_getmixer(solo_dev_t *dev, uint8_t port) argument
297 solo_get_byte(solo_dev_t *dev) argument
310 solo_write(solo_dev_t *dev, uint8_t reg, uint8_t val) argument
316 solo_read(solo_dev_t *dev, uint8_t reg) argument
325 solo_reset_dsp(solo_dev_t *dev) argument
340 solo_dev_t *dev = (void *)arg1; local
371 solo_mixer_scale(solo_dev_t *dev, solo_ctrl_num_t num) argument
385 solo_configure_mixer(solo_dev_t *dev) argument
470 solo_dev_t *dev = pc->dev; local
486 solo_dev_t *dev = pc->dev; local
505 solo_dev_t *dev = pc->dev; local
526 solo_dev_t *dev = pc->dev; local
539 solo_dev_t *dev = pc->dev; local
555 solo_alloc_ctrl(solo_dev_t *dev, uint32_t num, uint64_t val) argument
698 solo_add_controls(solo_dev_t *dev) argument
731 solo_dev_t *dev = e->dev; local
789 solo_dev_t *dev = e->dev; local
844 solo_dev_t *dev = e->dev; local
854 solo_dev_t *dev = e->dev; local
873 solo_dev_t *dev = e->dev; local
916 solo_dev_t *dev = e->dev; local
977 solo_dev_t *dev = e->dev; local
992 solo_dev_t *dev = e->dev; local
1011 solo_dev_t *dev = e->dev; local
1024 solo_dev_t *dev = e->dev; local
1040 solo_dev_t *dev = e->dev; local
1068 solo_release_resources(solo_dev_t *dev) argument
1133 solo_setup_interrupts(solo_dev_t *dev) argument
1166 solo_map_registers(solo_dev_t *dev) argument
1195 solo_init_hw(solo_dev_t *dev) argument
1251 solo_alloc_engine(solo_dev_t *dev, int engno) argument
1337 solo_suspend(solo_dev_t *dev) argument
1349 solo_resume(solo_dev_t *dev) argument
1368 solo_dev_t *dev; local
1417 solo_detach(solo_dev_t *dev) argument
1430 solo_dev_t *dev; local
1450 solo_dev_t *dev; local
1470 solo_dev_t *dev; local
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/devices/
H A Ddevices_003_pos.ksh37 # Writing random data into /dev/zfs should do no harm.
40 # 1. Write some random data into /dev/zfs
45 log_assert "Writing random data into /dev/zfs should do no harm."
47 log_mustnot dd if=/dev/urandom of=/dev/zfs count=1024
49 log_pass "Writing random data into /dev/zfs should do no harm."
/illumos-gate/usr/src/stand/sys/
H A Dsacache.h43 extern void *get_icache(int dev, int inum);
44 extern void set_icache(int dev, int inum, void *buf, int len);
45 extern int set_ricache(int dev, int inum, void *buf, int len);
46 extern int get_dcache(int dev, char *name, int pnum);
47 extern void set_dcache(int dev, char *name, int pnum, int inum);
48 extern int set_rdcache(int dev, char *name, int pnum, int inum);
51 extern void release_cache(int dev);
/illumos-gate/usr/src/boot/sys/boot/common/
H A Ddevopen.c38 struct devdesc *dev; local
41 result = archsw.arch_getdev((void **)&dev, fname, file);
46 f->f_devdata = dev;
47 result = dev->d_dev->dv_open(f, dev);
50 free(dev);
55 f->f_dev = dev->d_dev;
H A Ddisk.c55 struct disk_devdesc *dev; member in struct:print_args
78 disk_lookup(struct disk_devdesc *dev) argument
85 if (entry->d_dev != dev->d_dev ||
86 entry->d_unit != dev->d_unit)
88 dev->d_opendata = entry->od;
89 if (entry->d_slice == dev->d_slice &&
90 entry->d_partition == dev->d_partition) {
91 dev->d_offset = entry->d_offset;
92 DEBUG("%s offset %lld", disk_fmtdev(dev),
93 (long long)dev
105 disk_insert(struct disk_devdesc *dev) argument
135 struct disk_devdesc dev; local
176 struct disk_devdesc *dev; local
226 disk_print(struct disk_devdesc *dev, char *prefix, int verbose) argument
240 disk_read(struct disk_devdesc *dev, void *buf, off_t offset, u_int blocks) argument
253 disk_write(struct disk_devdesc *dev, void *buf, off_t offset, u_int blocks) argument
266 disk_ioctl(struct disk_devdesc *dev, u_long cmd, void *buf) argument
276 disk_open(struct disk_devdesc *dev, off_t mediasize, u_int sectorsize, u_int flags) argument
417 disk_close(struct disk_devdesc *dev) argument
434 struct disk_devdesc dev; local
461 disk_fmtdev(struct disk_devdesc *dev) argument
485 disk_parsedev(struct disk_devdesc *dev, const char *devspec, const char **path) argument
[all...]
/illumos-gate/usr/src/cmd/svc/milestone/
H A Ddevices-local39 echo 'Configuring devices.' > /dev/msglog 2>&1
40 /usr/sbin/devfsadm >/dev/msglog 2>&1
43 # Rerun soconfig to configure any sockets that use /dev
46 /sbin/soconfig -d /etc/sock2path.d >/dev/null 2>&1
56 fbdev=`/usr/sbin/prtconf -F 2>/dev/null`
61 if [ -h /dev/fb ]; then
62 fblink=`ls -l /dev/fb | /usr/bin/awk '{ print $11 }'`
65 rm -f /dev/fb
66 ln -s $1 /dev/fb
69 rm -f /dev/f
[all...]
/illumos-gate/usr/src/uts/common/io/audio/drv/audiocmi/
H A Daudiocmi.c96 cmpci_dev_t *dev = port->dev; local
100 mutex_enter(&dev->mutex);
106 mutex_exit(&dev->mutex);
121 cmpci_dev_t *dev = port->dev; local
123 mutex_enter(&dev->mutex);
128 SET32(dev, REG_FUNCTRL0, port->fc0_rst_bit);
130 CLR32(dev, REG_FUNCTRL0, port->fc0_rst_bit);
134 SET32(dev, REG_FUNCTRL
217 cmpci_dev_t *dev = port->dev; local
228 cmpci_dev_t *dev = port->dev; local
265 cmpci_setmixer(cmpci_dev_t *dev, uint8_t idx, uint8_t val) argument
272 cmpci_getmixer(cmpci_dev_t *dev, uint8_t idx) argument
280 cmpci_configure_mixer(cmpci_dev_t *dev) argument
444 cmpci_dev_t *dev = cc->dev; local
462 cmpci_dev_t *dev = cc->dev; local
478 cmpci_alloc_ctrl(cmpci_dev_t *dev, uint32_t num, uint64_t val) argument
584 cmpci_add_controls(cmpci_dev_t *dev) argument
603 cmpci_del_controls(cmpci_dev_t *dev) argument
614 cmpci_reset(cmpci_dev_t *dev) argument
707 cmpci_init(cmpci_dev_t *dev) argument
834 cmpci_destroy(cmpci_dev_t *dev) argument
872 cmpci_dev_t *dev; local
977 cmpci_resume(cmpci_dev_t *dev) argument
991 cmpci_detach(cmpci_dev_t *dev) argument
1011 cmpci_dev_t *dev; local
1026 cmpci_dev_t *dev; local
1046 cmpci_dev_t *dev; local
[all...]
/illumos-gate/usr/src/uts/common/io/audio/drv/audiop16x/
H A Daudiop16x.c132 read_reg(p16x_dev_t *dev, int reg, int chn) argument
136 mutex_enter(&dev->mutex);
137 OUTL(dev, (reg << 16) | (chn & 0xffff), PTR); /* Pointer */
138 val = INL(dev, DR); /* Data */
139 mutex_exit(&dev->mutex);
145 write_reg(p16x_dev_t *dev, int reg, int chn, unsigned int value) argument
148 mutex_enter(&dev->mutex);
149 OUTL(dev, (reg << 16) | (chn & 0xffff), PTR); /* Pointer */
150 OUTL(dev, value, DR); /* Data */
151 mutex_exit(&dev
155 set_reg_bits(p16x_dev_t *dev, int reg, int chn, unsigned int mask) argument
167 clear_reg_bits(p16x_dev_t *dev, int reg, int chn, unsigned int mask) argument
181 p16x_dev_t *dev = arg; local
196 p16x_dev_t *dev = arg; local
234 p16x_dev_t *dev = port->dev; local
265 p16x_dev_t *dev = port->dev; local
314 p16x_dev_t *dev = port->dev; local
371 p16x_alloc_port(p16x_dev_t *dev, int num) argument
451 p16x_destroy(p16x_dev_t *dev) argument
491 p16x_hwinit(p16x_dev_t *dev) argument
545 p16x_dev_t *dev; local
633 p16x_dev_t *dev; local
647 p16x_detach(p16x_dev_t *dev) argument
657 p16x_suspend(p16x_dev_t *dev) argument
741 p16x_dev_t *dev; local
760 p16x_dev_t *dev; local
[all...]

Completed in 114 milliseconds

1234567891011>>