/illumos-gate/usr/src/cmd/troff/troff.d/ |
H A D | dev.h | 44 struct dev { struct 46 /* excluding dev part */ argument 68 char intname[10]; /* internal name (=number) on device, in ascii */ argument
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/common/ |
H A D | dev.h | 40 struct dev { struct 42 /* excluding dev part */ argument 64 char intname[10]; /* internal name (=number) on device, in ascii */ argument
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_hw.c | 44 oce_map_regs(struct oce_dev *dev) in oce_map_regs() 123 oce_unmap_regs(struct oce_dev *dev) in oce_unmap_regs() 146 oce_pci_init(struct oce_dev *dev) in oce_pci_init() 175 oce_pci_fini(struct oce_dev *dev) in oce_pci_fini() 187 oce_get_bdf(struct oce_dev *dev) in oce_get_bdf() 218 oce_identify_hw(struct oce_dev *dev) in oce_identify_hw() 255 oce_is_reset_pci(struct oce_dev *dev) in oce_is_reset_pci() 278 oce_pci_soft_reset(struct oce_dev *dev) in oce_pci_soft_reset() 323 oce_POST(struct oce_dev *dev) in oce_POST() 393 oce_create_nw_interface(struct oce_dev *dev) in oce_create_nw_interface() [all …]
|
H A D | oce_queue.c | 73 oce_eq_create(struct oce_dev *dev, uint32_t q_len, uint32_t item_size, in oce_eq_create() 163 oce_eq_del(struct oce_dev *dev, struct oce_eq *eq) in oce_eq_del() 195 oce_cq_create(struct oce_dev *dev, struct oce_eq *eq, uint32_t q_len, in oce_cq_create() 291 oce_cq_del(struct oce_dev *dev, struct oce_cq *cq) in oce_cq_del() 328 oce_mq_create(struct oce_dev *dev, struct oce_eq *eq, uint32_t q_len) in oce_mq_create() 427 oce_mq_del(struct oce_dev *dev, struct oce_mq *mq) in oce_mq_del() 456 oce_wq_init(struct oce_dev *dev, uint32_t q_len, int wq_type) in oce_wq_init() 559 oce_wq_fini(struct oce_dev *dev, struct oce_wq *wq) in oce_wq_fini() 584 struct oce_dev *dev = wq->parent; in oce_wq_create() local 663 oce_wq_del(struct oce_dev *dev, struct oce_wq *wq) in oce_wq_del() [all …]
|
H A D | oce_intr.c | 42 oce_setup_intr(struct oce_dev *dev) in oce_setup_intr() 159 oce_teardown_intr(struct oce_dev *dev) in oce_teardown_intr() 183 oce_setup_handlers(struct oce_dev *dev) in oce_setup_handlers() 210 oce_remove_handler(struct oce_dev *dev) in oce_remove_handler() 219 oce_chip_ei(struct oce_dev *dev) in oce_chip_ei() 236 oce_ei(struct oce_dev *dev) in oce_ei() 258 oce_chip_di(struct oce_dev *dev) in oce_chip_di() 275 oce_di(struct oce_dev *dev) in oce_di() 311 struct oce_dev *dev; in oce_isr() local
|
H A D | oce_mbx.c | 94 oce_mbox_init(struct oce_dev *dev) in oce_mbox_init() 133 oce_mbox_wait(struct oce_dev *dev, uint32_t tmo_sec) in oce_mbox_wait() 176 oce_mbox_dispatch(struct oce_dev *dev, uint32_t tmo_sec) in oce_mbox_dispatch() 250 oce_mbox_post(struct oce_dev *dev, struct oce_mbx *mbx, in oce_mbox_post() 333 oce_get_fw_version(struct oce_dev *dev) in oce_get_fw_version() 379 oce_reset_fun(struct oce_dev *dev) in oce_reset_fun() 418 oce_read_mac_addr(struct oce_dev *dev, uint32_t if_id, uint8_t perm, in oce_read_mac_addr() 489 oce_if_create(struct oce_dev *dev, uint32_t cap_flags, uint32_t en_flags, in oce_if_create() 557 oce_if_del(struct oce_dev *dev, uint32_t if_id) in oce_if_del() 594 oce_get_link_status(struct oce_dev *dev, struct link_status *link) in oce_get_link_status() [all …]
|
H A D | oce_gld.c | 58 struct oce_dev *dev = arg; in oce_m_start() local 86 oce_start(struct oce_dev *dev) in oce_start() 123 struct oce_dev *dev = arg; in oce_m_stop() local 139 oce_stop(struct oce_dev *dev) in oce_stop() 165 struct oce_dev *dev = (struct oce_dev *)arg; in oce_m_multicast() local 245 struct oce_dev *dev = arg; in oce_m_unicast() local 284 struct oce_dev *dev = arg; in oce_m_send() local 323 struct oce_dev *dev = arg; in oce_m_getcap() local 355 struct oce_dev *dev = arg; in oce_m_setprop() local 446 struct oce_dev *dev = arg; in oce_m_getprop() local [all …]
|
H A D | oce_fm.c | 43 oce_fm_init(struct oce_dev *dev) in oce_fm_init() 73 oce_fm_fini(struct oce_dev *dev) in oce_fm_fini() 97 oce_fm_check_acc_handle(struct oce_dev *dev, ddi_acc_handle_t acc_handle) in oce_fm_check_acc_handle() 120 oce_fm_check_dma_handle(struct oce_dev *dev, ddi_dma_handle_t dma_handle) in oce_fm_check_dma_handle() 139 oce_fm_ereport(struct oce_dev *dev, char *detail) in oce_fm_ereport()
|
H A D | oce_main.c | 193 struct oce_dev *dev = NULL; in oce_attach() local 383 struct oce_dev *dev; in oce_detach() local 439 struct oce_dev *dev = ddi_get_driver_private(dip); in oce_quiesce() local 458 struct oce_dev *dev = ddi_get_driver_private(dip); in oce_suspend() local 476 struct oce_dev *dev; in oce_resume() local 505 oce_init_locks(struct oce_dev *dev) in oce_init_locks() 515 oce_destroy_locks(struct oce_dev *dev) in oce_destroy_locks() 522 oce_unconfigure(struct oce_dev *dev) in oce_unconfigure() 564 oce_get_params(struct oce_dev *dev) in oce_get_params() 654 oce_get_prop(struct oce_dev *dev, char *propname, int minval, int maxval, in oce_get_prop()
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audiopci/ |
H A D | audiopci.c | 94 struct audiopci_dev *dev; member 115 struct audiopci_dev *dev; member 180 #define GET8(dev, offset) \ argument 182 #define GET16(dev, offset) \ argument 184 #define GET32(dev, offset) \ argument 186 #define PUT8(dev, offset, v) \ argument 188 #define PUT16(dev, offset, v) \ argument 190 #define PUT32(dev, offset, v) \ argument 193 #define CLR8(dev, offset, v) PUT8(dev, offset, GET8(dev, offset) & ~(v)) argument 194 #define SET8(dev, offset, v) PUT8(dev, offset, GET8(dev, offset) | (v)) argument [all …]
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audiocmi/ |
H A D | audiocmi.c | 96 cmpci_dev_t *dev = port->dev; in cmpci_open() local 121 cmpci_dev_t *dev = port->dev; in cmpci_start() local 217 cmpci_dev_t *dev = port->dev; in cmpci_stop() local 228 cmpci_dev_t *dev = port->dev; in cmpci_count() local 260 #define LEFT(dev, ctl) min(((dev->controls[ctl].value) >> 8), 100) argument 261 #define RIGHT(dev, ctl) min(((dev->controls[ctl].value) & 0xff), 100) argument 262 #define MONO(dev, ctl) min(dev->controls[ctl].value, 100) argument 265 cmpci_setmixer(cmpci_dev_t *dev, uint8_t idx, uint8_t val) in cmpci_setmixer() 272 cmpci_getmixer(cmpci_dev_t *dev, uint8_t idx) in cmpci_getmixer() 280 cmpci_configure_mixer(cmpci_dev_t *dev) in cmpci_configure_mixer() [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | dev.h | 24 struct pci_device dev; member 46 struct dev struct 48 void (*disable)P((struct dev *)); argument 49 struct dev_id devid; /* device ID string (sent to DHCP server) */ argument 50 int index; /* Index of next device on this controller to probe */ argument 51 int type; /* Type of device I am probing for */ argument 53 int to_probe; /* Flavor of device I am probing */ argument 55 int type_index; /* Index of this device (within type) */ argument 80 extern int probe(struct dev *dev); argument
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audiosolo/ |
H A D | audiosolo.c | 139 struct solo_dev *dev; member 177 struct solo_dev *dev; member 238 solo_dspready(solo_dev_t *dev) in solo_dspready() 244 solo_dspwr(solo_dev_t *dev, uint8_t val) in solo_dspwr() 261 solo_cmd(solo_dev_t *dev, uint8_t val) in solo_cmd() 267 solo_cmd1(solo_dev_t *dev, uint8_t cmd, uint8_t val) in solo_cmd1() 275 solo_setmixer(solo_dev_t *dev, uint8_t port, uint8_t value) in solo_setmixer() 284 solo_getmixer(solo_dev_t *dev, uint8_t port) in solo_getmixer() 297 solo_get_byte(solo_dev_t *dev) in solo_get_byte() 310 solo_write(solo_dev_t *dev, uint8_t reg, uint8_t val) in solo_write() [all …]
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audiols/ |
H A D | audiols.c | 149 read_chan(audigyls_dev_t *dev, int reg, int chn) in read_chan() 164 write_chan(audigyls_dev_t *dev, int reg, int chn, uint32_t value) in write_chan() 175 read_reg(audigyls_dev_t *dev, int reg) in read_reg() 181 write_reg(audigyls_dev_t *dev, int reg, uint32_t value) in write_reg() 190 audigyls_dev_t *dev = arg; in audigyls_read_ac97() local 213 audigyls_dev_t *dev = arg; in audigyls_write_ac97() local 231 select_digital_enable(audigyls_dev_t *dev, int mode) in select_digital_enable() 247 audigyls_i2c_write(audigyls_dev_t *dev, int reg, int data) in audigyls_i2c_write() 279 audigyls_spi_write(audigyls_dev_t *dev, int data) in audigyls_spi_write() 312 audigyls_dev_t *dev = port->dev; in audigyls_open() local [all …]
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audioens/ |
H A D | audioens.c | 115 struct audioens_dev *dev; member 170 #define GET8(dev, offset) \ argument 172 #define GET16(dev, offset) \ argument 174 #define GET32(dev, offset) \ argument 176 #define PUT8(dev, offset, v) \ argument 178 #define PUT16(dev, offset, v) \ argument 180 #define PUT32(dev, offset, v) \ argument 183 #define CLR8(dev, offset, v) PUT8(dev, offset, GET8(dev, offset) & ~(v)) argument 184 #define SET8(dev, offset, v) PUT8(dev, offset, GET8(dev, offset) | (v)) argument 185 #define CLR32(dev, offset, v) PUT32(dev, offset, GET32(dev, offset) & ~(v)) argument [all …]
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audiop16x/ |
H A D | audiop16x.c | 132 read_reg(p16x_dev_t *dev, int reg, int chn) in read_reg() 145 write_reg(p16x_dev_t *dev, int reg, int chn, unsigned int value) in write_reg() 155 set_reg_bits(p16x_dev_t *dev, int reg, int chn, unsigned int mask) in set_reg_bits() 167 clear_reg_bits(p16x_dev_t *dev, int reg, int chn, unsigned int mask) in clear_reg_bits() 181 p16x_dev_t *dev = arg; in p16x_read_ac97() local 196 p16x_dev_t *dev = arg; in p16x_write_ac97() local 234 p16x_dev_t *dev = port->dev; in p16x_start() local 265 p16x_dev_t *dev = port->dev; in p16x_stop() local 314 p16x_dev_t *dev = port->dev; in p16x_count() local 371 p16x_alloc_port(p16x_dev_t *dev, int num) in p16x_alloc_port() [all …]
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xenbus_client.c | 70 xenbus_watch_path(struct xenbus_device *dev, const char *path, in xenbus_watch_path() 93 xenbus_watch_path2(struct xenbus_device *dev, const char *path, in xenbus_watch_path2() 124 xenbus_switch_state(struct xenbus_device *dev, xenbus_transaction_t xbt, in xenbus_switch_state() 155 error_path(struct xenbus_device *dev) in error_path() 169 common_dev_error(struct xenbus_device *dev, int err, const char *fmt, in common_dev_error() 209 xenbus_dev_error(struct xenbus_device *dev, int err, const char *fmt, ...) in xenbus_dev_error() 220 xenbus_dev_fatal(struct xenbus_device *dev, int err, const char *fmt, ...) in xenbus_dev_fatal() 233 xenbus_dev_ok(struct xenbus_device *dev) in xenbus_dev_ok() 245 xenbus_grant_ring(struct xenbus_device *dev, unsigned long ring_mfn) in xenbus_grant_ring() 255 xenbus_alloc_evtchn(struct xenbus_device *dev, int *port) in xenbus_alloc_evtchn()
|
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | acpi_device.c | 59 struct acpi_device *const dev = calloc(1, sizeof(*dev)); in acpi_device_create() local 81 acpi_device_destroy(struct acpi_device *const dev) in acpi_device_destroy() 98 acpi_device_add_res_fixed_ioport(struct acpi_device *const dev, in acpi_device_add_res_fixed_ioport() 120 acpi_device_add_res_fixed_memory32(struct acpi_device *const dev, in acpi_device_add_res_fixed_memory32() 143 acpi_device_get_softc(const struct acpi_device *const dev) in acpi_device_get_softc() 151 acpi_device_build_table(const struct acpi_device *const dev) in acpi_device_build_table() 164 acpi_device_write_dsdt_crs(const struct acpi_device *const dev) in acpi_device_write_dsdt_crs() 187 acpi_device_write_dsdt(const struct acpi_device *const dev) in acpi_device_write_dsdt()
|
/illumos-gate/usr/src/uts/common/io/yge/ |
H A D | yge.c | 277 yge_dev_t *dev = port->p_dev; in yge_mii_readreg() local 306 yge_dev_t *dev = port->p_dev; in yge_mii_writereg() local 352 yge_dev_t *dev = port->p_dev; in yge_mii_notify() local 448 yge_dev_t *dev; in yge_setrxfilt() local 536 yge_setup_rambuffer(yge_dev_t *dev) in yge_setup_rambuffer() 566 yge_phy_power(yge_dev_t *dev, boolean_t powerup) in yge_phy_power() 681 yge_reset(yge_dev_t *dev) in yge_reset() 911 yge_dev_t *dev = port->p_dev; in yge_init_port() local 990 yge_add_intr(yge_dev_t *dev, int intr_type) in yge_add_intr() 1081 yge_attach_intr(yge_dev_t *dev) in yge_attach_intr() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | driver.c | 292 dev_close(dev_t dev, int flag, int type, struct cred *cred) in dev_close() 343 dev_lclose(dev_t dev, int flag, int otype, struct cred *cred) in dev_lclose() 406 dev_to_instance(dev_t dev) in dev_to_instance() 460 bdev_print(dev_t dev, caddr_t str) in bdev_print() 472 bdev_size(dev_t dev) in bdev_size() 497 bdev_Size(dev_t dev) in bdev_Size() 519 bdev_dump(dev_t dev, caddr_t addr, daddr_t blkno, int blkcnt) in bdev_dump() 528 cdev_read(dev_t dev, struct uio *uiop, struct cred *cred) in cdev_read() 537 cdev_write(dev_t dev, struct uio *uiop, struct cred *cred) in cdev_write() 546 cdev_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, struct cred *cred, in cdev_ioctl() [all …]
|
/illumos-gate/usr/src/boot/common/ |
H A D | disk.c | 53 struct disk_devdesc *dev; member 84 struct disk_devdesc *dev; in ptblread() local 107 struct disk_devdesc dev; in ptable_print() local 163 disk_print(struct disk_devdesc *dev, char *prefix, int verbose) in disk_print() 177 disk_read(struct disk_devdesc *dev, void *buf, uint64_t offset, uint_t blocks) in disk_read() 190 disk_write(struct disk_devdesc *dev, void *buf, uint64_t offset, uint_t blocks) in disk_write() 203 disk_ioctl(struct disk_devdesc *dev, unsigned long cmd, void *data) in disk_ioctl() 228 disk_open(struct disk_devdesc *dev, uint64_t mediasize, uint_t sectorsize) in disk_open() 383 disk_close(struct disk_devdesc *dev) in disk_close() 395 disk_fmtdev(struct disk_devdesc *dev) in disk_fmtdev() [all …]
|
/illumos-gate/usr/src/uts/intel/io/vmm/amd/ |
H A D | amdiommu.c | 74 amdiommu_probe(device_t dev) in amdiommu_probe() 104 amdiommu_attach(device_t dev) in amdiommu_attach() 112 amdiommu_detach(device_t dev) in amdiommu_detach() 119 ivhd_setup_intr(device_t dev, driver_intr_t handler, void *arg, in ivhd_setup_intr() 161 ivhd_teardown_intr(device_t dev) in ivhd_teardown_intr()
|
/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() 149 nb_pci_getb(int bus, int dev, int func, int reg, int *interpose) in nb_pci_getb() 158 nb_pci_getw(int bus, int dev, int func, int reg, int *interpose) in nb_pci_getw() 167 nb_pci_getl(int bus, int dev, int func, int reg, int *interpose) in nb_pci_getl() 176 nb_pci_putb(int bus, int dev, int func, int reg, uint8_t val) in nb_pci_putb() 185 nb_pci_putw(int bus, int dev, int func, int reg, uint16_t val) in nb_pci_putw() 194 nb_pci_putl(int bus, int dev, int func, int reg, uint32_t val) in nb_pci_putl()
|
/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() 110 nhm_pci_getb(int bus, int dev, int func, int reg, int *interpose) in nhm_pci_getb() 119 nhm_pci_getw(int bus, int dev, int func, int reg, int *interpose) in nhm_pci_getw() 128 nhm_pci_getl(int bus, int dev, int func, int reg, int *interpose) in nhm_pci_getl() 137 nhm_pci_putb(int bus, int dev, int func, int reg, uint8_t val) in nhm_pci_putb() 146 nhm_pci_putw(int bus, int dev, int func, int reg, uint16_t val) in nhm_pci_putw() 155 nhm_pci_putl(int bus, int dev, int func, int reg, uint32_t val) in nhm_pci_putl()
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipftest.c | 322 int ipftestioctl(int dev, ioctlcmd_t cmd, ...) in ipftestioctl() 344 int ipnattestioctl(int dev, ioctlcmd_t cmd, ...) in ipnattestioctl() 366 int ipstatetestioctl(int dev, ioctlcmd_t cmd, ...) in ipstatetestioctl() 388 int ipauthtestioctl(int dev, ioctlcmd_t cmd, ...) in ipauthtestioctl() 410 int ipscantestioctl(int dev, ioctlcmd_t cmd, ...) in ipscantestioctl() 432 int ipsynctestioctl(int dev, ioctlcmd_t cmd, ...) in ipsynctestioctl() 454 int ipooltestioctl(int dev, ioctlcmd_t cmd, ...) in ipooltestioctl() 475 int ipftestioctl(dev, cmd, data) in ipftestioctl() argument 493 int ipnattestioctl(dev, cmd, data) in ipnattestioctl() argument 511 int ipstatetestioctl(dev, cmd, data) in ipstatetestioctl() argument [all …]
|