| /illumos-gate/usr/src/grub/grub-0.97/netboot/ |
| H A D | config.c | 14 static int pci_probe(struct dev *dev, const char *type_name) in pci_probe() 71 static int isa_probe(struct dev *dev, const char *type_name) in isa_probe() 122 int probe(struct dev *dev) in probe() 159 void disable(struct dev *dev) in disable()
|
| H A D | pci.c | 210 const struct pci_driver *last_driver, struct pci_device *dev) in scan_drivers() 261 void scan_pci_bus(int type, struct pci_device *dev) in scan_pci_bus() 422 unsigned long pci_bar_start(struct pci_device *dev, unsigned int index) in pci_bar_start() 452 unsigned long pci_bar_size(struct pci_device *dev, unsigned int bar) in pci_bar_size() 495 int pci_find_capability(struct pci_device *dev, int cap) in pci_find_capability()
|
| /illumos-gate/usr/src/uts/common/io/ |
| H A D | gentty.c | 56 #define IS_STREAM(dev) (devopsp[getmajor(dev)]->devo_cb_ops->cb_str != NULL) argument 165 dev_t dev = (dev_t)arg; in sy_info() local 253 syclose(dev_t dev, int flag, int otyp, struct cred *cr) in syclose() 260 syread(dev_t dev, struct uio *uiop, struct cred *cr) in syread() 281 sywrite(dev_t dev, struct uio *uiop, struct cred *cr) in sywrite() 303 syioctl(dev_t dev, int cmd, intptr_t arg, int mode, struct cred *cr, in syioctl() 339 sypoll(dev_t dev, short events, int anyyet, short *reventsp, in sypoll()
|
| H A D | sysevent.c | 152 sysevent_publish(dev_t dev, int *rvalp, void *arg, int flag, cred_t *cr) in sysevent_publish() 204 sysevent_chan_open(dev_t dev, int *rvalp, void *arg, int flag, cred_t *cr) in sysevent_chan_open() 253 sysevent_chan_control(dev_t dev, int *rvalp, void *arg, int flag, cred_t *cr) in sysevent_chan_control() 288 sysevent_subscribe(dev_t dev, int *rvalp, void *arg, int flag, cred_t *cr) in sysevent_subscribe() 349 sysevent_unsubscribe(dev_t dev, int *rvalp, void *arg, int flag, cred_t *cr) in sysevent_unsubscribe() 388 sysevent_channames(dev_t dev, int *rvalp, void *arg, int flag, cred_t *cr) in sysevent_channames() 422 sysevent_chandata(dev_t dev, int *rvalp, void *arg, int flag, cred_t *cr) in sysevent_chandata() 475 sysevent_setpropnvl(dev_t dev, int *rvalp, void *arg, int flag, cred_t *cr) in sysevent_setpropnvl() 520 sysevent_getpropnvl(dev_t dev, int *rvalp, void *arg, int flag, cred_t *cr) in sysevent_getpropnvl() 585 sysevent_ioctl(dev_t dev, int cmd, intptr_t arg, in sysevent_ioctl() [all …]
|
| H A D | tty_pty.c | 215 minor_t dev; in ptc_init() local 228 minor_t dev; in ptc_uninit() local 247 dev_t dev = *devp; in ptcopen() local 283 ptcclose(dev_t dev, int flag, int otyp, struct cred *cred) in ptcclose() 320 ptcread(dev_t dev, struct uio *uio, struct cred *cred) in ptcread() 517 ptcwrite(dev_t dev, struct uio *uio, struct cred *cred) in ptcwrite() 684 ptcioctl(dev_t dev, int cmd, intptr_t data, int flag, struct cred *cred, in ptcioctl() 967 ptcpoll(dev_t dev, short events, int anyyet, short *reventsp, in ptcpoll()
|
| /illumos-gate/usr/src/uts/intel/io/vmm/amd/ |
| H A D | ivrs_drv.c | 429 ivhd_probe(device_t dev) in ivhd_probe() 462 ivhd_print_flag(device_t dev, enum IvrsType ivhd_type, uint8_t flag) in ivhd_print_flag() 505 ivhd_print_feature(device_t dev, enum IvrsType ivhd_type, uint32_t feature) in ivhd_print_feature() 548 ivhd_print_ext_feature(device_t dev, uint64_t ext_feature) in ivhd_print_ext_feature() 607 device_t dev; in ivhd_print_cap() local 630 ivhd_attach(device_t dev) in ivhd_attach() 705 ivhd_detach(device_t dev) in ivhd_detach() 722 ivhd_suspend(device_t dev) in ivhd_suspend() 729 ivhd_resume(device_t dev) in ivhd_resume()
|
| /illumos-gate/usr/src/uts/common/xen/io/ |
| H A D | xenbus_probe.c | 105 free_otherend_details(struct xenbus_device *dev) in free_otherend_details() 115 free_otherend_watch(struct xenbus_device *dev) in free_otherend_watch() 130 struct xenbus_device *dev = watch->dev; in otherend_changed() local 157 talk_to_otherend(struct xenbus_device *dev) in talk_to_otherend()
|
| /illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
| H A D | oce_stat.c | 52 struct oce_dev *dev; in oce_update_stats() local 195 oce_stat_init(struct oce_dev *dev) in oce_stat_init() 332 oce_stat_fini(struct oce_dev *dev) in oce_stat_fini() 347 struct oce_dev *dev = arg; in oce_m_stat() local
|
| H A D | oce_buf.c | 63 oce_alloc_dma_buffer(struct oce_dev *dev, in oce_alloc_dma_buffer() 137 oce_free_dma_buffer(struct oce_dev *dev, oce_dma_buf_t *dbuf) in oce_free_dma_buffer() 167 create_ring_buffer(struct oce_dev *dev, in create_ring_buffer() 208 destroy_ring_buffer(struct oce_dev *dev, oce_ring_buffer_t *ring) in destroy_ring_buffer()
|
| H A D | oce_tx.c | 114 struct oce_dev *dev; in oce_wqm_ctor() local 135 struct oce_dev *dev = wq->parent; in oce_wqm_cache_create() local 197 struct oce_dev *dev = wq->parent; in oce_wqb_cache_create() local 259 struct oce_dev *dev; in oce_wqb_ctor() local 399 oce_get_wq(struct oce_dev *dev, mblk_t *mp) in oce_get_wq() 456 struct oce_dev *dev = wq->parent; in oce_bcopy_wqe() local 514 struct oce_dev *dev = wq->parent; in oce_map_wqe() local 563 struct oce_dev *dev; in oce_process_tx_compl() local 613 struct oce_dev *dev; in oce_drain_wq_cq() local 679 struct oce_dev *dev; in oce_send_packet() local
|
| H A D | oce_rx.c | 165 struct oce_dev *dev; in oce_rqb_ctor() local 239 struct oce_dev *dev = rq->parent; in oce_rq_post_buffer() local 333 oce_rx(struct oce_dev *dev, struct oce_rq *rq, struct oce_nic_rx_cqe *cqe) in oce_rx() 393 oce_rx_bcopy(struct oce_dev *dev, struct oce_rq *rq, struct oce_nic_rx_cqe *cqe) in oce_rx_bcopy() 503 struct oce_dev *dev; in oce_drain_rq_cq() local 616 struct oce_dev *dev; in oce_clean_rq() local 654 struct oce_dev *dev = rq->parent; in oce_start_rq() local 667 oce_rx_pending(struct oce_dev *dev, struct oce_rq *rq, int32_t timeout) in oce_rx_pending()
|
| /illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ucma/ |
| H A D | sol_ucma.c | 524 sol_ucma_close(dev_t dev, int flag, int otype, cred_t *credp) in sol_ucma_close() 700 sol_ucma_write(dev_t dev, struct uio *uio, cred_t *credp) in sol_ucma_write() 770 sol_ucma_poll(dev_t dev, short events, int anyyet, short *reventsp, in sol_ucma_poll() 803 sol_ucma_create_id(dev_t dev, void *io_buf, struct uio *uio) 868 sol_ucma_destroy_id(dev_t dev, void *io_buf, struct uio *uio) 958 sol_ucma_bind_addr(dev_t dev, void *io_buf, struct uio *uio) 982 sol_ucma_resolve_addr(dev_t dev, void *io_buf, struct uio *uio) 1012 sol_ucma_resolve_route(dev_t dev, void *io_buf, struct uio *uio) 1038 sol_ucma_query_route(dev_t dev, void *io_buf, struct uio *uio) 1077 sol_ucma_connect(dev_t dev, void *io_buf, struct uio *uio) [all …]
|
| /illumos-gate/usr/src/uts/common/os/ |
| H A D | driver_lyr.c | 96 #define LI_HASH(mid, dip, dev) (ident_hash_func(mid, dip, dev) % LI_HASH_SZ) argument 187 ident_hash_func(modid_t modid, dev_info_t *dip, dev_t dev) in ident_hash_func() 201 ident_find_ref_nolock(modid_t modid, dev_info_t *dip, dev_t dev, major_t major) in ident_find_ref_nolock() 223 ident_alloc(char *mod_name, dev_info_t *dip, dev_t dev, major_t major) in ident_alloc() 526 ldi_vp_from_dev(dev_t dev, int otyp, vnode_t **vpp) in ldi_vp_from_dev() 589 dev_t dev; in ldi_vp_from_name() local 625 ldi_devid_match(ddi_devid_t devid, dev_info_t *dip, dev_t dev) in ldi_devid_match() 688 dev_t dev, *devs; in ldi_vp_from_devid() local 792 i_ldi_prop_op(dev_t dev, dev_info_t *dip, ddi_prop_op_t prop_op, in i_ldi_prop_op() 854 i_ldi_prop_op_typed(dev_t dev, dev_info_t *dip, int flags, char *name, in i_ldi_prop_op_typed() [all …]
|
| /illumos-gate/usr/src/uts/common/crypto/io/ |
| H A D | crypto.c | 542 crypto_close(dev_t dev, int flag, int otyp, cred_t *credp) in crypto_close() 856 get_function_list(dev_t dev, caddr_t arg, int mode, int *rval) in get_function_list() 934 get_mechanism_number(dev_t dev, caddr_t arg, int mode, int *rval) in get_mechanism_number() 991 get_mechanism_list(dev_t dev, caddr_t arg, int mode, int *rval) in get_mechanism_list() 1089 get_all_mechanism_info(dev_t dev, caddr_t arg, int mode, int *rval) in get_all_mechanism_info() 1240 get_provider_list(dev_t dev, caddr_t arg, int mode, int *rval) in get_provider_list() 1423 get_provider_info(dev_t dev, caddr_t arg, int mode, int *rval) in get_provider_info() 1526 get_provider_mechanisms(dev_t dev, caddr_t arg, int mode, int *rval) in get_provider_mechanisms() 1626 get_provider_mechanism_info(dev_t dev, caddr_t arg, int mode, int *rval) in get_provider_mechanism_info() 1911 crypto_open_session(dev_t dev, uint_t flags, crypto_session_id_t *session_index, in crypto_open_session() [all …]
|
| H A D | cryptoadm.c | 212 cryptoadm_close(dev_t dev, int flag, int otyp, cred_t *credp) in cryptoadm_close() 240 get_dev_list(dev_t dev, caddr_t arg, int mode, int *rval) in get_dev_list() 298 get_soft_list(dev_t dev, caddr_t arg, int mode, int *rval) in get_soft_list() 358 get_dev_info(dev_t dev, caddr_t arg, int mode, int *rval) in get_dev_info() 429 get_soft_info(dev_t dev, caddr_t arg, int mode, int *rval) in get_soft_info() 496 load_dev_disabled(dev_t dev, caddr_t arg, int mode, int *rval) in load_dev_disabled() 576 load_soft_disabled(dev_t dev, caddr_t arg, int mode, int *rval) in load_soft_disabled() 659 load_soft_config(dev_t dev, caddr_t arg, int mode, int *rval) in load_soft_config() 742 unload_soft_module(dev_t dev, caddr_t arg, int mode, int *rval) in unload_soft_module() 783 cryptoadm_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *c, in cryptoadm_ioctl()
|
| /illumos-gate/usr/src/cmd/cdrw/ |
| H A D | misc_scsi.c | 162 build_track_info(cd_device *dev, int trackno, struct track_info *t_info) in build_track_info() 300 check_track_size(cd_device *dev, int trk_num, struct track_info *tip) in check_track_size() 474 prepare_for_write(cd_device *dev, int track_mode, int test_write, in prepare_for_write() 594 finalize(cd_device *dev) in finalize() 708 get_last_possible_lba(cd_device *dev) in get_last_possible_lba() 743 read_audio_through_read_cd(cd_device *dev, uint_t start_lba, uint_t nblks, in read_audio_through_read_cd() 759 eject_media(cd_device *dev) in eject_media() 818 cd_speed_get(cd_device *dev, int cmd) in cd_speed_get() 902 cd_speed_ctrl(cd_device *dev, int cmd, int speed) in cd_speed_ctrl() 940 do_set_streaming(cd_device *dev, uint_t read_speed, in do_set_streaming() [all …]
|
| /illumos-gate/usr/src/uts/common/io/1394/targets/av1394/ |
| H A D | av1394.c | 124 #define AV1394_DEV2STATE(dev) \ argument 256 dev_t dev = (dev_t)arg; in av1394_getinfo() local 280 av1394_open(dev_t *dev, int flag, int otyp, cred_t *cr) in av1394_open() 297 av1394_close(dev_t dev, int flag, int otyp, cred_t *cr) in av1394_close() 314 av1394_read(dev_t dev, struct uio *uiop, cred_t *cr) in av1394_read() 331 av1394_write(dev_t dev, struct uio *uiop, cred_t *cr) in av1394_write() 348 av1394_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cr, int *rvalp) in av1394_ioctl() 365 av1394_devmap(dev_t dev, devmap_cookie_t dhp, offset_t off, size_t len, in av1394_devmap() 378 av1394_poll(dev_t dev, short events, int anyyet, short *reventsp, in av1394_poll()
|
| /illumos-gate/usr/src/uts/i86pc/io/gfx_private/ |
| H A D | gfxp_pci.c | 83 gfxp_pci_get_bsf(dev_info_t *dip, uint8_t *bus, uint8_t *dev, uint8_t *func) in gfxp_pci_get_bsf() 114 uint8_t bus, dev, func; in gfxp_pci_find_bsf() local 196 uint8_t bus, dev, func; in gfxp_pci_read_byte() local 213 uint8_t bus, dev, func; in gfxp_pci_read_word() local 230 uint8_t bus, dev, func; in gfxp_pci_read_dword() local 246 uint8_t bus, dev, func; in gfxp_pci_write_byte() local 261 uint8_t bus, dev, func; in gfxp_pci_write_word() local 276 uint8_t bus, dev, func; in gfxp_pci_write_dword() local
|
| /illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
| H A D | smb_dev.c | 368 dev_t dev = expldev(dev32); in nsmb_drv_ioctl() local 380 dev_t dev = expldev(*dev32p); in nsmb_drv_open() local 398 dev_t dev = expldev(dev32); in nsmb_drv_close() local 419 nsmb_ioctl(dev_t dev, int cmd, intptr_t arg, int flags, /* model.h */ in nsmb_ioctl() 459 nsmb_open(dev_t *dev, int flags, int otyp, cred_t *cr) in nsmb_open() 502 nsmb_close(dev_t dev, int flags, int otyp, cred_t *cr) in nsmb_close() 575 dev_t dev; in smb_usr_dup_dev() local 643 dev_t dev; in smb_dev2share() local
|
| /illumos-gate/usr/src/cmd/fs.d/smbclnt/fksmbcl/ |
| H A D | fkdev.c | 57 dev32_t dev; in smb_open_driver() local 76 dev32_t dev; in nsmb_ioctl() local 92 dev32_t dev; in nsmb_close() local
|
| /illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/ |
| H A D | fake_ddi.c | 53 getmajor(dev_t dev) in getmajor() 67 getminor(dev_t dev) in getminor() 96 cmpldev(dev32_t *dst, dev_t dev) in cmpldev()
|
| /illumos-gate/usr/src/uts/common/fs/specfs/ |
| H A D | specsubr.c | 84 dev_t dev, in specvp_devfs() 115 dev_t dev, in specvp() 224 makespecvp(dev_t dev, vtype_t type) in makespecvp() 408 specfind(dev_t dev, vtype_t type) in specfind() 538 dev_t dev, in get_cvp() 585 commonvp(dev_t dev, vtype_t type) in commonvp() 685 dev_t dev, in sfind() 805 dev_t dev; in specinit() local 848 dev_t dev; in device_close() local 1062 spec_size_invalidate(dev_t dev, vtype_t type) in spec_size_invalidate()
|
| /illumos-gate/usr/src/boot/efi/libefi/ |
| H A D | handles.c | 36 struct devsw *dev; member 68 efi_find_handle(struct devsw *dev, int unit) in efi_find_handle() 83 efi_handle_lookup(EFI_HANDLE h, struct devsw **dev, int *unit, uint64_t *extra) in efi_handle_lookup() 102 efi_handle_update_dev(EFI_HANDLE h, struct devsw *dev, int unit, in efi_handle_update_dev()
|
| /illumos-gate/usr/src/cmd/bnu/ |
| H A D | callers.c | 226 processdev(flds, dev) in processdev() argument 505 dkcall(flds, dev) in dkcall() argument 567 tcpcall(flds, dev) in tcpcall() argument 576 tcpcall(flds, dev) in tcpcall() argument 682 unetcall(flds, dev) in unetcall() argument 690 unetcall(flds, dev) in unetcall() argument 727 sytcall(flds, dev) in sytcall() argument 1046 char *dev[]; local
|
| /illumos-gate/usr/src/uts/sun4/io/efcode/ |
| H A D | fcode.c | 303 fc_close(dev_t dev, int flag, int otype, cred_t *cred_p) in fc_close() 379 fc_read(dev_t dev, struct uio *uio, cred_t *cred) in fc_read() 421 fc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) in fc_ioctl() 494 fc_get_parameters(dev_t dev, intptr_t arg, int mode, cred_t *credp, int *rvalp) in fc_get_parameters() 567 fc_get_my_args(dev_t dev, intptr_t arg, int mode, cred_t *credp, int *rvalp) in fc_get_my_args() 613 fc_run_priv(dev_t dev, intptr_t arg, int mode, cred_t *credp, int *rvalp) in fc_run_priv() 776 fc_validate(dev_t dev, intptr_t arg, int mode, cred_t *credp, int *rvalp) in fc_validate() 828 fc_get_fcode(dev_t dev, intptr_t arg, int mode, cred_t *credp, int *rvalp) in fc_get_fcode() 891 fc_set_fcode_error(dev_t dev, intptr_t arg, int mode, cred_t *credp, int *rvalp) in fc_set_fcode_error()
|