/dragonfly/sys/bus/ppbus/ |
H A D | ppbio.h | 52 #define ppb_repp_A(dev) \ argument 54 #define ppb_repp_D(dev) \ argument 56 #define ppb_recr(dev) \ argument 58 #define ppb_rfifo(dev) \ argument 65 #define ppb_wecr(dev,byte) \ argument 70 #define ppb_rdtr(dev) \ argument 72 #define ppb_rstr(dev) \ argument 74 #define ppb_rctr(dev) \ argument 77 #define ppb_wdtr(dev,byte) \ argument 79 #define ppb_wstr(dev,byte) \ argument [all …]
|
/dragonfly/contrib/wpa_supplicant/src/wps/ |
H A D | wps_dev_attr.c | 16 int wps_build_manufacturer(struct wps_device_data *dev, struct wpabuf *msg) in wps_build_manufacturer() 40 int wps_build_model_name(struct wps_device_data *dev, struct wpabuf *msg) in wps_build_model_name() 122 int wps_build_secondary_dev_type(struct wps_device_data *dev, in wps_build_secondary_dev_type() 158 int wps_build_dev_name(struct wps_device_data *dev, struct wpabuf *msg) in wps_build_dev_name() 219 int wps_build_rf_bands(struct wps_device_data *dev, struct wpabuf *msg, in wps_build_rf_bands() 302 static int wps_process_serial_number(struct wps_device_data *dev, in wps_process_serial_number() 340 static int wps_process_primary_dev_type(struct wps_device_data *dev, in wps_process_primary_dev_type() 361 int wps_process_device_attrs(struct wps_device_data *dev, in wps_process_device_attrs() 379 int wps_process_os_version(struct wps_device_data *dev, const u8 *ver) in wps_process_os_version() 401 int wps_process_rf_bands(struct wps_device_data *dev, const u8 *bands) in wps_process_rf_bands() [all …]
|
/dragonfly/sys/dev/agp/ |
H A D | agp.c | 87 agp_find_caps(device_t dev) in agp_find_caps() 103 device_t bus, dev = 0; in agp_find_display() local 128 agp_alloc_gatt(device_t dev) in agp_alloc_gatt() 196 agp_generic_attach(device_t dev) in agp_generic_attach() 248 agp_free_cdev(device_t dev) in agp_free_cdev() 254 agp_free_res(device_t dev) in agp_free_res() 778 device_t dev = kdev->si_drv1; in agp_open() local 793 device_t dev = kdev->si_drv1; in agp_close() local 890 agp_state(device_t dev) in agp_state() 910 agp_acquire(device_t dev) in agp_acquire() [all …]
|
H A D | intel-gtt.c | 445 agp_i810_match(device_t dev) in agp_i810_match() 467 agp_i810_find_bridge(device_t dev) in agp_i810_find_bridge() 501 agp_i810_probe(device_t dev) in agp_i810_probe() 537 agp_i915_dump_regs(device_t dev) in agp_i915_dump_regs() 550 agp_i965_dump_regs(device_t dev) in agp_i965_dump_regs() 812 agp_i830_install_gatt(device_t dev) in agp_i830_install_gatt() 832 agp_i810_attach(device_t dev) in agp_i810_attach() 909 agp_i810_detach(device_t dev) in agp_i810_detach() 932 agp_i810_resume(device_t dev) in agp_i810_resume() 1122 agp_i810_flush_tlb(device_t dev) in agp_i810_flush_tlb() [all …]
|
H A D | agp_amd64.c | 80 agp_amd64_match(device_t dev) in agp_amd64_match() 145 agp_amd64_probe(device_t dev) in agp_amd64_probe() 160 agp_amd64_attach(device_t dev) in agp_amd64_attach() 246 agp_amd64_detach(device_t dev) in agp_amd64_detach() 278 agp_amd64_get_aperture(device_t dev) in agp_amd64_get_aperture() 293 agp_amd64_set_aperture(device_t dev, uint32_t aperture) in agp_amd64_set_aperture() 356 agp_amd64_flush_tlb(device_t dev) in agp_amd64_flush_tlb() 368 agp_amd64_apbase_fixup(device_t dev) in agp_amd64_apbase_fixup() 382 agp_amd64_uli_init(device_t dev) in agp_amd64_uli_init() 415 agp_amd64_nvidia_init(device_t dev) in agp_amd64_nvidia_init() [all …]
|
/dragonfly/sys/bus/pci/ |
H A D | vga_pci.c | 79 vga_pci_is_boot_display(device_t dev) in vga_pci_is_boot_display() 136 vga_pci_map_bios(device_t dev, size_t *size) in vga_pci_map_bios() 167 vga_pci_unmap_bios(device_t dev, void *bios) in vga_pci_unmap_bios() 195 vga_pci_probe(device_t dev) in vga_pci_probe() 217 vga_pci_attach(device_t dev) in vga_pci_attach() 233 vga_pci_suspend(device_t dev) in vga_pci_suspend() 240 vga_pci_resume(device_t dev) in vga_pci_resume() 362 vga_pci_enable_busmaster(device_t dev, device_t child) in vga_pci_enable_busmaster() 416 vga_pci_get_powerstate(device_t dev, device_t child) in vga_pci_get_powerstate() 456 vga_pci_release_msi(device_t dev, device_t child) in vga_pci_release_msi() [all …]
|
H A D | hostb_pci.c | 48 pci_hostb_probe(device_t dev) in pci_hostb_probe() 73 pci_hostb_attach(device_t dev) in pci_hostb_attach() 130 pci_hostb_write_config(device_t dev, device_t child, int reg, in pci_hostb_write_config() 138 pci_hostb_enable_busmaster(device_t dev, device_t child) in pci_hostb_enable_busmaster() 147 pci_hostb_disable_busmaster(device_t dev, device_t child) in pci_hostb_disable_busmaster() 156 pci_hostb_enable_io(device_t dev, device_t child, int space) in pci_hostb_enable_io() 165 pci_hostb_disable_io(device_t dev, device_t child, int space) in pci_hostb_disable_io() 174 pci_hostb_set_powerstate(device_t dev, device_t child, int state) in pci_hostb_set_powerstate() 183 pci_hostb_get_powerstate(device_t dev, device_t child) in pci_hostb_get_powerstate() 192 pci_hostb_assign_interrupt(device_t dev, device_t child) in pci_hostb_assign_interrupt() [all …]
|
/dragonfly/sys/bus/iicbus/ |
H A D | iicbb.c | 111 iicbb_probe(device_t dev) in iicbb_probe() 119 iicbb_attach(device_t dev) in iicbb_attach() 133 iicbb_detach(device_t dev) in iicbb_detach() 165 iicbb_print_child(device_t bus, device_t dev) in iicbb_print_child() 188 #define I2C_SETSDA(sc,dev,val) do { \ argument 193 #define I2C_SETSCL(dev,val) do { \ argument 197 #define I2C_SET(sc,dev,ctrl,data) do { \ argument 233 iicbb_one(device_t dev, int timeout) in iicbb_one() 244 iicbb_zero(device_t dev, int timeout) in iicbb_zero() 269 iicbb_ack(device_t dev, int timeout) in iicbb_ack() [all …]
|
H A D | iicbus.c | 44 #define DEVTOIICBUS(dev) ((struct iicbus_device*)device_get_ivars(dev)) argument 82 iicbus_probe(device_t dev) in iicbus_probe() 93 iic_probe_device(device_t dev, u_char addr) in iic_probe_device() 119 iicbus_attach(device_t dev) in iicbus_attach() 157 iicbus_detach(device_t dev) in iicbus_detach() 165 iicbus_add_child(device_t dev, int order, const char *name, int unit) in iicbus_add_child() 174 iicbus_generic_intr(device_t dev, int event, char *buf) in iicbus_generic_intr() 181 iicbus_null_callback(device_t dev, int index, caddr_t data) in iicbus_null_callback() 188 iicbus_null_repeated_start(device_t dev, u_char addr) in iicbus_null_repeated_start()
|
/dragonfly/sys/dev/virtual/virtio/virtio/ |
H A D | virtio.c | 90 virtio_get_device_type(device_t dev) in virtio_get_device_type() 103 virtio_set_feature_desc(device_t dev, in virtio_set_feature_desc() 112 virtio_describe(device_t dev, const char *msg, in virtio_describe() 205 virtio_teardown_intr(device_t dev, uint irq) in virtio_teardown_intr() 211 virtio_intr_count(device_t dev) in virtio_intr_count() 224 virtio_intr_release(device_t dev) in virtio_intr_release() 230 virtio_bind_intr(device_t dev, uint irq, int what, in virtio_bind_intr() 238 virtio_unbind_intr(device_t dev, int what) in virtio_unbind_intr() 250 virtio_stop(device_t dev) in virtio_stop() 256 virtio_reinit(device_t dev, uint64_t features) in virtio_reinit() [all …]
|
/dragonfly/sys/dev/drm/ |
H A D | drm_agpsupport.c | 76 int drm_agp_info_ioctl(struct drm_device *dev, void *data, in drm_agp_info_ioctl() 99 int drm_agp_acquire(struct drm_device *dev) in drm_agp_acquire() 127 int drm_agp_acquire_ioctl(struct drm_device *dev, void *data, in drm_agp_acquire_ioctl() 141 int drm_agp_release(struct drm_device *dev) in drm_agp_release() 151 int drm_agp_release_ioctl(struct drm_device *dev, void *data, in drm_agp_release_ioctl() 179 int drm_agp_enable_ioctl(struct drm_device *dev, void *data, in drm_agp_enable_ioctl() 255 int drm_agp_alloc_ioctl(struct drm_device *dev, void *data, in drm_agp_alloc_ioctl() 392 int drm_agp_bind_ioctl(struct drm_device *dev, void *data, in drm_agp_bind_ioctl() 455 int drm_agp_free_ioctl(struct drm_device *dev, void *data, in drm_agp_free_ioctl() 477 struct drm_agp_head *drm_agp_init(struct drm_device *dev) in drm_agp_init() [all …]
|
H A D | drm_pci.c | 92 void __drm_legacy_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) in __drm_legacy_pci_free() 119 void drm_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) in drm_pci_free() 129 static int drm_get_pci_domain(struct drm_device *dev) in drm_get_pci_domain() 147 int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master) in drm_pci_set_busid() 187 int drm_irq_by_busid(struct drm_device *dev, void *data, in drm_irq_by_busid() 243 struct drm_device *dev; in drm_get_pci_dev() local 343 int drm_pcie_get_speed_cap_mask(struct drm_device *dev, u32 *mask) in drm_pcie_get_speed_cap_mask() 381 int drm_pcie_get_max_link_width(struct drm_device *dev, u32 *mlw) in drm_pcie_get_max_link_width() 403 void drm_pci_agp_destroy(struct drm_device *dev) {} in drm_pci_agp_destroy() 405 int drm_irq_by_busid(struct drm_device *dev, void *data, in drm_irq_by_busid() [all …]
|
H A D | drm_context.c | 74 static int drm_legacy_ctxbitmap_next(struct drm_device * dev) in drm_legacy_ctxbitmap_next() 92 void drm_legacy_ctxbitmap_init(struct drm_device * dev) in drm_legacy_ctxbitmap_init() 109 void drm_legacy_ctxbitmap_cleanup(struct drm_device * dev) in drm_legacy_ctxbitmap_cleanup() 172 int drm_legacy_getsareactx(struct drm_device *dev, void *data, in drm_legacy_getsareactx() 220 int drm_legacy_setsareactx(struct drm_device *dev, void *data, in drm_legacy_setsareactx() 324 int drm_legacy_resctx(struct drm_device *dev, void *data, in drm_legacy_resctx() 359 int drm_legacy_addctx(struct drm_device *dev, void *data, in drm_legacy_addctx() 407 int drm_legacy_getctx(struct drm_device *dev, void *data, in drm_legacy_getctx() 433 int drm_legacy_switchctx(struct drm_device *dev, void *data, in drm_legacy_switchctx() 457 int drm_legacy_newctx(struct drm_device *dev, void *data, in drm_legacy_newctx() [all …]
|
H A D | drm_vblank.c | 297 struct drm_device *dev = crtc->dev; in drm_crtc_accurate_vblank_count() local 373 struct drm_device *dev = vblank->dev; in vblank_disable_fn() local 385 void drm_vblank_cleanup(struct drm_device *dev) in drm_vblank_cleanup() 495 struct drm_device *dev = crtc->dev; in drm_calc_timestamping_constants() local 804 static void send_vblank_event(struct drm_device *dev, in send_vblank_event() 874 struct drm_device *dev = crtc->dev; in drm_crtc_arm_vblank_event() local 899 struct drm_device *dev = crtc->dev; in drm_crtc_send_vblank_event() local 1106 struct drm_device *dev = crtc->dev; in drm_crtc_vblank_off() local 1176 struct drm_device *dev = crtc->dev; in drm_crtc_vblank_reset() local 1208 struct drm_device *dev = crtc->dev; in drm_crtc_vblank_on() local [all …]
|
H A D | drm_gem.c | 130 drm_gem_init(struct drm_device *dev) in drm_gem_init() 165 drm_gem_destroy(struct drm_device *dev) in drm_gem_destroy() 257 struct drm_device *dev = obj->dev; in drm_gem_object_handle_free() local 278 struct drm_device *dev = obj->dev; in drm_gem_object_handle_put_unlocked() local 311 struct drm_device *dev = obj->dev; in drm_gem_object_release_handle() local 419 struct drm_device *dev, in drm_gem_dumb_destroy() 445 struct drm_device *dev = obj->dev; in drm_gem_handle_create_tail() local 528 struct drm_device *dev = obj->dev; in drm_gem_free_mmap_offset() local 565 struct drm_device *dev = obj->dev; in drm_gem_create_mmap_offset_size() local 818 struct drm_device *dev = obj->dev; in drm_gem_object_free() local [all …]
|
/dragonfly/sys/dev/disk/nata/ |
H A D | ata-pci.c | 66 ata_pci_probe(device_t dev) in ata_pci_probe() 194 ata_pci_attach(device_t dev) in ata_pci_attach() 249 ata_pci_detach(device_t dev) in ata_pci_detach() 410 ata_pci_allocate(device_t dev) in ata_pci_allocate() 447 ata_pci_status(device_t dev) in ata_pci_status() 487 ata_pci_hw(device_t dev) in ata_pci_hw() 496 ata_pci_dmastart(device_t dev) in ata_pci_dmastart() 522 ata_pci_dmastop(device_t dev) in ata_pci_dmastop() 548 ata_pci_dmainit(device_t dev) in ata_pci_dmainit() 564 ata_legacy(device_t dev) in ata_legacy() [all …]
|
H A D | atapi-tape.c | 99 ast_probe(device_t dev) in ast_probe() 111 ast_attach(device_t dev) in ast_attach() 173 ast_detach(device_t dev) in ast_detach() 193 ast_shutdown(device_t dev) in ast_shutdown() 202 ast_reinit(device_t dev) in ast_reinit() 499 ast_sense(device_t dev) in ast_sense() 638 ast_rewind(device_t dev) in ast_rewind() 651 ast_erase(device_t dev) in ast_erase() 664 ast_test_ready(device_t dev) in ast_test_ready() 673 ast_wait_dsc(device_t dev, int timeout) in ast_wait_dsc() [all …]
|
H A D | atapi-cd.c | 124 acd_probe(device_t dev) in acd_probe() 136 acd_attach(device_t dev) in acd_attach() 181 acd_detach(device_t dev) in acd_detach() 208 acd_shutdown(device_t dev) in acd_shutdown() 217 acd_reinit(device_t dev) in acd_reinit() 939 acd_set_ioparm(device_t dev) in acd_set_ioparm() 985 acd_read_toc(device_t dev) in acd_read_toc() 1256 acd_flush(device_t dev) in acd_flush() 1697 acd_get_cap(device_t dev) in acd_get_cap() 1746 acd_test_ready(device_t dev) in acd_test_ready() [all …]
|
/dragonfly/sys/kern/ |
H A D | subr_bus.c | 633 devadded(device_t dev) in devadded() 661 devremoved(device_t dev) in devremoved() 692 devnomatch(device_t dev) in devnomatch() 809 device_t dev; in devclass_add_driver() local 857 device_t dev; in devclass_delete_driver() local 952 device_t dev; in devclass_get_softc() local 1177 device_t dev; in make_device() local 1843 device_busy(device_t dev) in device_busy() 2088 device_t dev = arg; in device_attach_thread() local 3566 device_t dev; in root_bus_configure() local [all …]
|
/dragonfly/contrib/lvm2/dist/lib/device/ |
H A D | dev-io.c | 375 int dev_get_size(const struct device *dev, uint64_t *size) in dev_get_size() 429 void dev_flush(struct device *dev) in dev_flush() 569 int dev_open_quiet(struct device *dev) in dev_open_quiet() 578 int dev_open(struct device *dev) in dev_open() 587 int dev_test_excl(struct device *dev) in dev_test_excl() 602 static void _close(struct device *dev) in _close() 620 static int _dev_close(struct device *dev, int immediate) in _dev_close() 653 int dev_close(struct device *dev) in dev_close() 658 int dev_close_immediate(struct device *dev) in dev_close_immediate() 666 struct device *dev; in dev_close_all() local [all …]
|
/dragonfly/sys/dev/sound/pci/hda/ |
H A D | hdacc.c | 47 device_t dev; member 54 device_t dev; member 346 hdacc_suspend(device_t dev) in hdacc_suspend() 360 hdacc_resume(device_t dev) in hdacc_resume() 374 hdacc_probe(device_t dev) in hdacc_probe() 405 hdacc_attach(device_t dev) in hdacc_attach() 461 hdacc_detach(device_t dev) in hdacc_detach() 493 hdacc_print_child(device_t dev, device_t child) in hdacc_print_child() 554 hdacc_get_mtx(device_t dev, device_t child) in hdacc_get_mtx() 662 hdacc_unsol_intr(device_t dev, uint32_t resp) in hdacc_unsol_intr() [all …]
|
/dragonfly/usr.sbin/ppp/ |
H A D | tty.c | 93 #define Online(dev) ((dev)->mbits & TIOCM_CD) argument 128 struct ttydevice *dev = device2tty(p->handler); in tty_Timeout() local 191 struct ttydevice *dev = device2tty(p->handler); in tty_StartTimer() local 206 struct ttydevice *dev = device2tty(p->handler); in tty_AwaitCarrier() local 229 isngtty(struct ttydevice *dev) in isngtty() 237 struct ttydevice *dev = device2tty(p->handler); in tty_SetAsyncParams() local 263 struct ttydevice *dev = device2tty(p->handler); in LoadLineDiscipline() local 391 struct ttydevice *dev = device2tty(p->handler); in UnloadLineDiscipline() local 417 struct ttydevice *dev = device2tty(p->handler); in tty_Write() local 586 struct ttydevice *dev = device2tty(d); in tty_device2iov() local [all …]
|
/dragonfly/contrib/dhcpcd/src/ |
H A D | dev.h | 32 struct dev { struct 36 int (*handle_device)(void *); argument 45 int dev_init(struct dev *, const struct dev_dhcpcd *); argument
|
/dragonfly/sys/dev/misc/lpbb/ |
H A D | lpbb.c | 57 device_t dev; in lpbb_identify() local 65 lpbb_probe(device_t dev) in lpbb_probe() 78 lpbb_attach(device_t dev) in lpbb_attach() 90 lpbb_callback(device_t dev, int index, caddr_t *data) in lpbb_callback() 123 lpbb_getscl(device_t dev) in lpbb_getscl() 129 lpbb_getsda(device_t dev) in lpbb_getsda() 135 lpbb_setsda(device_t dev, char val) in lpbb_setsda() 146 lpbb_setscl(device_t dev, unsigned char val) in lpbb_setscl() 156 static int lpbb_detect(device_t dev) in lpbb_detect() 182 lpbb_reset(device_t dev, u_char speed, u_char addr, u_char * oldaddr) in lpbb_reset()
|
/dragonfly/sys/bus/smbus/ichsmb/ |
H A D | ichsmb.c | 95 ichsmb_probe(device_t dev) in ichsmb_probe() 105 ichsmb_attach(device_t dev) in ichsmb_attach() 149 ichsmb_callback(device_t dev, int index, void *data) in ichsmb_callback() 168 ichsmb_quick(device_t dev, u_char slave, int how) in ichsmb_quick() 197 ichsmb_sendb(device_t dev, u_char slave, char byte) in ichsmb_sendb() 219 ichsmb_recvb(device_t dev, u_char slave, char *byte) in ichsmb_recvb() 241 ichsmb_writeb(device_t dev, u_char slave, char cmd, char byte) in ichsmb_writeb() 498 const device_t dev = sc->dev; in ichsmb_device_intr() local 631 const device_t dev = sc->dev; in ichsmb_wait() local 662 const device_t dev = sc->dev; in ichsmb_release_resources() local [all …]
|