/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/ |
H A D | oce_io.h | 313 int oce_mbox_init(struct oce_dev *dev); 314 int oce_mbox_fini(struct oce_dev *dev); 323 int oce_POST(struct oce_dev *dev); 324 int oce_pci_init(struct oce_dev *dev); 325 void oce_pci_fini(struct oce_dev *dev); 326 int oce_init_txrx(struct oce_dev *dev); 327 void oce_fini_txrx(struct oce_dev *dev); 328 int oce_create_queues(struct oce_dev *dev); 332 int oce_reset_fun(struct oce_dev *dev); 373 int oce_set_rx_filter(struct oce_dev *dev, [all …]
|
/illumos-gate/usr/src/cmd/troff/troff.d/ |
H A D | makedev.c | 94 struct dev dev; variable 156 dev.nsizes = 0; in main() 158 size[dev.nsizes++] = v; in main() 166 dev.nchtab = 0; in main() 172 dev.lchname = p - chname; in main() 183 write(fdout, &dev, sizeof(struct dev)); in main() 202 write(fdout, &dev, sizeof(struct dev)); in main() 279 if (i >= dev.nchtab) 285 n = dev.biggestfont; 287 if (dev.biggestfont > 0) [all …]
|
/illumos-gate/usr/src/uts/intel/io/vmm/amd/ |
H A D | amdiommu.c | 74 amdiommu_probe(device_t dev) in amdiommu_probe() argument 82 if (pci_get_class(dev) != PCIC_BASEPERIPH || in amdiommu_probe() 89 error = pci_find_cap(dev, PCIY_SECDEV, &capoff); in amdiommu_probe() 104 amdiommu_attach(device_t dev) in amdiommu_attach() argument 112 amdiommu_detach(device_t dev) in amdiommu_detach() argument 125 sc = device_get_softc(dev); in ivhd_setup_intr() 131 error = pci_alloc_msi(dev, &msicnt); in ivhd_setup_intr() 156 ivhd_teardown_intr(dev); in ivhd_setup_intr() 161 ivhd_teardown_intr(device_t dev) in ivhd_teardown_intr() argument 165 sc = device_get_softc(dev); in ivhd_teardown_intr() [all …]
|
H A D | ivrs_drv.c | 226 device_printf(softc->dev, in ivhd_dev_parse() 260 device_printf(softc->dev, in ivhd_dev_parse() 429 ivhd_probe(device_t dev) in ivhd_probe() argument 607 device_t dev; in ivhd_print_cap() local 610 dev = softc->dev; in ivhd_print_cap() 630 ivhd_attach(device_t dev) in ivhd_attach() argument 645 softc->dev = dev; in ivhd_attach() 681 device_printf(dev, in ivhd_attach() 705 ivhd_detach(device_t dev) in ivhd_detach() argument 722 ivhd_suspend(device_t dev) in ivhd_suspend() argument [all …]
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audiocmi/ |
H A D | audiocmi.h | 255 cmpci_dev_t *dev; member 325 ddi_get8(dev->acch, (uint8_t *)(dev->regs + (offset))) 327 ddi_get16(dev->acch, (uint16_t *)(void *)(dev->regs + (offset))) 329 ddi_get32(dev->acch, (uint32_t *)(void *)(dev->regs + (offset))) 331 ddi_put8(dev->acch, (uint8_t *)(dev->regs + (offset)), v) 337 #define CLR8(dev, offset, v) PUT8(dev, offset, GET8(dev, offset) & ~(v)) argument 338 #define SET8(dev, offset, v) PUT8(dev, offset, GET8(dev, offset) | (v)) argument 339 #define CLR16(dev, offset, v) PUT16(dev, offset, GET16(dev, offset) & ~(v)) argument 340 #define SET16(dev, offset, v) PUT16(dev, offset, GET16(dev, offset) | (v)) argument 341 #define CLR32(dev, offset, v) PUT32(dev, offset, GET32(dev, offset) & ~(v)) argument [all …]
|
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | device.c | 92 cd_device *dev; in get_device() local 139 dev->d_fd = fd; in get_device() 149 free(dev->d_inq); in get_device() 150 free(dev->d_node); in get_device() 152 free(dev); in get_device() 271 if (((dev->d_blksize != 512) && (dev->d_blksize != 2048))) { in get_device() 287 return (dev); in get_device() 293 free(dev->d_inq); in fini_device() 296 if (dev->d_name) in fini_device() 298 free(dev); in fini_device() [all …]
|
H A D | misc_scsi.c | 491 (void) start_stop(dev->d_fd, 1); in prepare_for_write() 493 (void) rezero_unit(dev->d_fd); in prepare_for_write() 594 finalize(cd_device *dev) in finalize() argument 609 if ((dev->d_inq[2] & 7) != 0) { in finalize() 708 get_last_possible_lba(cd_device *dev) in get_last_possible_lba() argument 759 eject_media(cd_device *dev) in eject_media() argument 775 reset_dev(dev->d_fd); in eject_media() 917 return (set_cd_speed(dev->d_fd, in cd_speed_ctrl() 998 ret = do_set_streaming(dev, in rt_streaming_ctrl() 1008 ret = dev->d_speed_ctrl(dev, cmd, speed); in rt_streaming_ctrl() [all …]
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/font/ |
H A D | makedev.c | 94 struct dev dev; variable 161 dev.nsizes = 0; in main() 163 size[dev.nsizes++] = v; in main() 174 dev.nchtab = 0; in main() 181 dev.lchname = pchname; in main() 192 write(fdout, &dev, sizeof(struct dev)); in main() 211 write(fdout, &dev, sizeof(struct dev)); in main() 288 if (i >= dev.nchtab) in dofont() 293 if (dev.biggestfont > 0) in dofont() 294 n = dev.biggestfont + 1; in dofont() [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | pci.c | 252 dev->driver = driver; in scan_drivers() 276 if (dev->driver) { in scan_pci_bus() 283 dev->driver = 0; in scan_pci_bus() 284 dev->bus = 0; in scan_pci_bus() 285 dev->devfn = 0; in scan_pci_bus() 334 if (!dev->driver){ in scan_pci_bus() 343 dev->devfn = devfn; in scan_pci_bus() 344 dev->bus = bus; in scan_pci_bus() 345 dev->class = class; in scan_pci_bus() 346 dev->vendor = vendor; in scan_pci_bus() [all …]
|
H A D | pci.h | 265 struct dev; 266 typedef int (*pci_probe_t)(struct dev *, struct pci_device *); 283 extern void scan_pci_bus(int type, struct pci_device *dev); 284 extern void find_pci(int type, struct pci_device *dev); 299 return pcibios_read_config_byte(dev->bus, dev->devfn, where, value); in pci_read_config_byte() 304 return pcibios_write_config_byte(dev->bus, dev->devfn, where, value); in pci_write_config_byte() 309 return pcibios_read_config_word(dev->bus, dev->devfn, where, value); in pci_read_config_word() 314 return pcibios_write_config_word(dev->bus, dev->devfn, where, value); in pci_write_config_word() 319 return pcibios_read_config_dword(dev->bus, dev->devfn, where, value); in pci_read_config_dword() 324 return pcibios_write_config_dword(dev->bus, dev->devfn, where, value); in pci_write_config_dword() [all …]
|
/illumos-gate/usr/src/cmd/allocate/ |
H A D | sr_clean.sh | 73 chown bin /etc/security/dev/$1 74 chmod 0100 /etc/security/dev/$1 125 printf "${lform}\n" $PROG $a >/dev/tty 132 printf "${lform}\n" $PROG $a >/dev/tty 139 printf "${lform}\n" $PROG $a >/dev/tty 150 printf "${lform}\n" $PROG $x >/dev/tty 157 printf "${lform}\n" $PROG $x >/dev/tty 178 printf "${lform}\n" $PROG $a >/dev/tty 185 printf "${lform}\n" $PROG $a >/dev/tty 232 printf "${lform}\n" $PROG $x >/dev/tty [all …]
|
H A D | fd_clean.sh | 73 chown bin /etc/security/dev/$1 74 chmod 0100 /etc/security/dev/$1 128 printf "${lform}\n" $PROG $a >/dev/tty 135 printf "${lform}\n" $PROG $a >/dev/tty 142 printf "${lform}\n" $PROG $a >/dev/tty 153 printf "${lform}\n" $PROG $x >/dev/tty 160 printf "${lform}\n" $PROG $x >/dev/tty 181 printf "${lform}\n" $PROG $a >/dev/tty 203 /usr/5bin/echo \\007 > /dev/tty 235 printf "${lform}\n" $PROG $x >/dev/tty [all …]
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audiop16x/ |
H A D | audiop16x.h | 54 p16x_dev_t *dev; member 88 #define INL(dev, reg) \ argument 89 ddi_get32(dev->regsh, (void *)((char *)dev->base+(reg))) 90 #define INW(dev, reg) \ argument 91 ddi_get16(dev->regsh, (void *)((char *)dev->base+(reg))) 92 #define INB(dev, reg) \ argument 93 ddi_get8(dev->regsh, (void *)((char *)dev->base+(reg))) 95 #define OUTL(dev, val, reg) \ argument 96 ddi_put32(dev->regsh, (void *)((char *)dev->base+(reg)), (val)) 98 ddi_put16(dev->regsh, (void *)((char *)dev->base+(reg)), (val)) [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | coprocess.sh | 147 { : |& } 2>/dev/null || 186 kill $! 2> /dev/null 236 wait $pid 2> /dev/null 252 wait $pid 2> /dev/null 281 kill $pid 2>/dev/null 293 kill $pid 2>/dev/null 308 kill $pid 2>/dev/null 322 kill $pid 2>/dev/null 338 kill $pid 2>/dev/null 357 kill $pid 2>/dev/null [all …]
|
H A D | basic.sh | 105 if (command > foo\\abc) 2> /dev/null 187 if [[ -p /dev/fd/0 ]] 189 cat - > /dev/null 190 [[ -p /dev/fd/0 ]] && print ok 243 read line 2> /dev/null 323 command exec 3<> /dev/null 324 if cat /dev/fd/3 >/dev/null 2>&1 || whence mkfifo > /dev/null 353 if cat /dev/fd/3 >/dev/null 2>&1 || whence mkfifo > /dev/null 357 exec 3> /dev/null 422 if env x-a=y >/dev/null 2>&1 [all …]
|
H A D | builtins.sh | 98 print $line | /bin/cat > /dev/null 115 read line < /dev/null 125 print -f "hello%nbar\n" size > /dev/null 200 ${SHELL} -c 'kill -1 -$$' 2> /dev/null 202 ${SHELL} -c 'kill -1 -$$' 2> /dev/null 268 if [[ $(printf +3 2>/dev/null) != +3 ]] 271 if printf "%d %d\n" 123bad 78 >/dev/null 2>/dev/null 394 printf "$fmt" "$arg" >/dev/null 2>&1 535 exec 3>&2 2>/dev/null 580 ' ) 2> /dev/null [all …]
|
H A D | bracket.sh | 81 if [[ -f /dev/null ]] 116 if [[ ! -r /dev/fd/0 ]] 119 if [[ ! -w /dev/fd/2 ]] 176 if [[ dev != $x ]] 204 } 2> /dev/null || { set +x; err_exit "foo<bar with -x enabled" ;} 208 ) 2> /dev/null || err_exit "[[ (a) ]] not working" 295 if ( : < /dev/tty ) 2>/dev/null && exec {n}< /dev/tty 333 [[ -e /dev/fd/ ]] || err_exit '/dev/fd/ does not exits' 334 [[ -e /dev/tcp/ ]] || err_exit '/dev/tcp/ does not exist' 335 [[ -e /dev/udp/ ]] || err_exit '/dev/udp/ does not exist' [all …]
|
H A D | path.sh | 141 done > /dev/null 2>&1 142 builtin -d date 2> /dev/null 152 then noexec > /dev/null 2>&1 158 builtin -d rm 2> /dev/null 188 PATH=/dev/null 231 if whence ls > /dev/null 241 PATH=/dev:$tmp 339 exec {m}< /dev/null 344 exec {n}< /dev/null 385 tail /dev/null && tail /dev/null [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/sed/bsd/ |
H A D | multi_test.ksh | 60 echo "[FATAL] $*" > /dev/stderr 77 </dev/null >$OPDIR/lines1 79 </dev/null >$OPDIR/lines2 205 hello' /dev/null 404 </dev/null >$lines3 426 $SED -n -e '$p' $lines3 /dev/null 503 mark '9.1' ; $SED -x 2>/dev/null ; echo $? 504 mark '9.2' ; $SED -f 2>/dev/null ; echo $? 506 mark '9.4' ; $SED -f /dev/xyzzyxyzy 2>/dev/null ; echo $? 507 mark '9.5' ; $SED p /dev/xyzzyxyzy 2>/dev/null ; echo $? [all …]
|
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/ |
H A D | nb_pci_cfg.c | 128 nb_get_hdl(int bus, int dev, int func) in nb_get_hdl() argument 137 hdl = dev_pci_hdl[dev]; in nb_get_hdl() 153 hdl = nb_get_hdl(bus, dev, func); in nb_pci_getb() 162 hdl = nb_get_hdl(bus, dev, func); in nb_pci_getw() 171 hdl = nb_get_hdl(bus, dev, func); in nb_pci_getl() 180 hdl = nb_get_hdl(bus, dev, func); in nb_pci_putb() 181 cmi_pci_putb(bus, dev, func, reg, hdl, val); in nb_pci_putb() 189 hdl = nb_get_hdl(bus, dev, func); in nb_pci_putw() 190 cmi_pci_putw(bus, dev, func, reg, hdl, val); in nb_pci_putw() 198 hdl = nb_get_hdl(bus, dev, func); in nb_pci_putl() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | driver.c | 406 dev_to_instance(dev_t dev) in dev_to_instance() argument 408 major_t major = getmajor(dev); in dev_to_instance() 426 (void *)dev, &vinstance); in dev_to_instance() 460 bdev_print(dev_t dev, caddr_t str) in bdev_print() argument 465 return ((*cb->cb_print)(dev, str)); in bdev_print() 472 bdev_size(dev_t dev) in bdev_size() argument 497 bdev_Size(dev_t dev) in bdev_Size() argument 568 return ((*mapfunc)(dev, off, prot)); in cdev_mmap() 604 cdev_size(dev_t dev) in cdev_size() argument 609 if ((maj = getmajor(dev)) >= devcnt) in cdev_size() [all …]
|
/illumos-gate/usr/src/uts/intel/io/intel_nhm/ |
H A D | nhm_pci_cfg.c | 93 nhm_get_hdl(int bus, int dev, int func) in nhm_get_hdl() argument 102 hdl = dev_pci_hdl[slot][dev][func]; in nhm_get_hdl() 114 hdl = nhm_get_hdl(bus, dev, func); in nhm_pci_getb() 123 hdl = nhm_get_hdl(bus, dev, func); in nhm_pci_getw() 132 hdl = nhm_get_hdl(bus, dev, func); in nhm_pci_getl() 141 hdl = nhm_get_hdl(bus, dev, func); in nhm_pci_putb() 142 cmi_pci_putb(bus, dev, func, reg, hdl, val); in nhm_pci_putb() 150 hdl = nhm_get_hdl(bus, dev, func); in nhm_pci_putw() 151 cmi_pci_putw(bus, dev, func, reg, hdl, val); in nhm_pci_putw() 159 hdl = nhm_get_hdl(bus, dev, func); in nhm_pci_putl() [all …]
|
/illumos-gate/usr/src/lib/libpcidb/common/ |
H A D | pcidb.c | 163 if (dev == NULL) in parse_device() 164 return (dev); in parse_device() 177 return (dev); in parse_device() 189 sub->ps_dev = dev; in parse_subdev() 315 dev = NULL; in parse_db() 461 free(dev); in pcidb_close() 534 dev = list_next(&vend->pv_devs, dev)) { in pcidb_lookup_device_by_vendor() 536 return (dev); in pcidb_lookup_device_by_vendor() 563 return (list_next(&dev->pd_vend->pv_devs, dev)); in pcidb_device_iter_next() 608 if (dev == NULL) in pcidb_lookup_subvd_by_vendor() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/smbclnt/fksmbcl/ |
H A D | fkdev.c | 57 dev32_t dev; in smb_open_driver() local 61 rc = nsmb_drv_open(&dev, 0, 0); in smb_open_driver() 67 assert((dev & 0xFFFF0000) != 0); in smb_open_driver() 68 fd = (int)dev; in smb_open_driver() 76 dev32_t dev; in nsmb_ioctl() local 79 dev = (dev32_t)fd; in nsmb_ioctl() 80 assert((dev & 0xFFFF0000) != 0); in nsmb_ioctl() 92 dev32_t dev; in nsmb_close() local 94 dev = (dev32_t)fd; in nsmb_close() 95 assert((dev & 0xFFFF0000) != 0); in nsmb_close() [all …]
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audiols/ |
H A D | audiols.h | 196 audigyls_dev_t *dev; member 204 audigyls_dev_t *dev; member 245 #define INB(dev, reg) \ argument 246 ddi_get8(dev->regsh, (void *)(dev->base + reg)) 248 ddi_put8(dev->regsh, (void *)(dev->base + reg), (val)) 250 #define INW(dev, reg) \ argument 251 ddi_get16(dev->regsh, (void *)(dev->base + reg)) 253 ddi_put16(dev->regsh, (void *)(dev->base + reg), (val)) 255 #define INL(dev, reg) \ argument 256 ddi_get32(dev->regsh, (void *)(dev->base + reg)) [all …]
|