/dflybsd-src/sys/bus/ppbus/ |
H A D | ppbio.h | 38 #define ppb_outsb_epp(dev,buf,cnt) \ argument 40 #define ppb_outsw_epp(dev,buf,cnt) \ argument 42 #define ppb_outsl_epp(dev,buf,cnt) \ argument 45 #define ppb_insb_epp(dev,buf,cnt) \ argument 47 #define ppb_insw_epp(dev,buf,cnt) \ argument 49 #define ppb_insl_epp(dev,buf,cnt) \ argument 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 [all …]
|
/dflybsd-src/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() 64 int wps_build_model_number(struct wps_device_data *dev, struct wpabuf *msg) in wps_build_model_number() 88 int wps_build_serial_number(struct wps_device_data *dev, struct wpabuf *msg) in wps_build_serial_number() 112 int wps_build_primary_dev_type(struct wps_device_data *dev, struct wpabuf *msg) in wps_build_primary_dev_type() 122 int wps_build_secondary_dev_type(struct wps_device_data *dev, in wps_build_secondary_dev_type() 138 int wps_build_req_dev_type(struct wps_device_data *dev, struct wpabuf *msg, in wps_build_req_dev_type() 158 int wps_build_dev_name(struct wps_device_data *dev, struct wpabuf *msg) in wps_build_dev_name() 182 int wps_build_device_attrs(struct wps_device_data *dev, struct wpabuf *msg) in wps_build_device_attrs() 195 int wps_build_os_version(struct wps_device_data *dev, struct wpabuf *msg) in wps_build_os_version() [all …]
|
/dflybsd-src/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() 188 agp_set_aperture_resource(device_t dev, int rid) in agp_set_aperture_resource() 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() 264 agp_generic_detach(device_t dev) in agp_generic_detach() 276 agp_generic_get_aperture(device_t dev) in agp_generic_get_aperture() 288 agp_generic_set_aperture(device_t dev, u_int32_t aperture) in agp_generic_set_aperture() [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() 494 agp_i810_set_desc(device_t dev, const struct agp_i810_match *match) in agp_i810_set_desc() 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() 563 agp_i915_get_stolen_size(device_t dev) in agp_i915_get_stolen_size() 704 agp_i915_get_gtt_mappable_entries(device_t dev) in agp_i915_get_gtt_mappable_entries() 716 agp_i810_get_gtt_total_entries(device_t dev) in agp_i810_get_gtt_total_entries() 726 agp_i965_get_gtt_total_entries(device_t dev) in agp_i965_get_gtt_total_entries() [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() 329 agp_amd64_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical) in agp_amd64_bind_page() 343 agp_amd64_unbind_page(device_t dev, vm_offset_t offset) in agp_amd64_unbind_page() 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() [all …]
|
/dflybsd-src/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() 249 vga_pci_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) in vga_pci_read_ivar() 256 vga_pci_write_ivar(device_t dev, device_t child, int which, uintptr_t value) in vga_pci_write_ivar() 263 vga_pci_setup_intr(device_t dev, device_t child, struct resource *irq, in vga_pci_setup_intr() [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() 91 pci_hostb_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) in pci_hostb_read_ivar() 98 pci_hostb_write_ivar(device_t dev, device_t child, int which, uintptr_t value) in pci_hostb_write_ivar() 105 pci_hostb_alloc_resource(device_t dev, device_t child, int type, int *rid, in pci_hostb_alloc_resource() 113 pci_hostb_release_resource(device_t dev, device_t child, int type, int rid, in pci_hostb_release_resource() 123 pci_hostb_read_config(device_t dev, device_t child, int reg, int width) in pci_hostb_read_config() 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() [all …]
|
/dflybsd-src/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() 156 iicbb_child_detached( device_t dev, device_t child ) in iicbb_child_detached() 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 202 #define I2C_GETSDA(dev) (IICBB_GETSDA(device_get_parent(dev))) argument 204 #define I2C_GETSCL(dev) (IICBB_GETSCL(device_get_parent(dev))) argument [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()
|
/dflybsd-src/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() 185 virtio_negotiate_features(device_t dev, uint64_t child_features) in virtio_negotiate_features() 192 virtio_alloc_virtqueues(device_t dev, int nvqs, struct vq_alloc_info *info) in virtio_alloc_virtqueues() 199 virtio_setup_intr(device_t dev, uint irq, lwkt_serialize_t slz) in virtio_setup_intr() 205 virtio_teardown_intr(device_t dev, uint irq) in virtio_teardown_intr() 211 virtio_intr_count(device_t dev) in virtio_intr_count() 217 virtio_intr_alloc(device_t dev, int *cnt, int use_config, int *cpus) in virtio_intr_alloc() 224 virtio_intr_release(device_t dev) in virtio_intr_release() [all …]
|
/dflybsd-src/sys/dev/drm/ |
H A D | drm_agpsupport.c | 53 int drm_agp_info(struct drm_device *dev, struct drm_agp_info *info) in drm_agp_info() 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() 167 int drm_agp_enable(struct drm_device *dev, struct drm_agp_mode mode) in drm_agp_enable() 179 int drm_agp_enable_ioctl(struct drm_device *dev, void *data, in drm_agp_enable_ioctl() 212 int drm_agp_alloc(struct drm_device *dev, struct drm_agp_buffer *request) in drm_agp_alloc() 255 int drm_agp_alloc_ioctl(struct drm_device *dev, void *data, in drm_agp_alloc_ioctl() [all …]
|
H A D | drm_pci.c | 46 drm_dma_handle_t *drm_pci_alloc(struct drm_device * dev, size_t size, size_t align) in drm_pci_alloc() 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() 161 static int drm_pci_irq_by_busid(struct drm_device *dev, struct drm_irq_busid *p) in drm_pci_irq_by_busid() 187 int drm_irq_by_busid(struct drm_device *dev, void *data, in drm_irq_by_busid() 207 drm_getpciinfo(struct drm_device *dev, void *data, struct drm_file *file_priv) in drm_getpciinfo() 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() [all …]
|
H A D | drm_context.c | 54 void drm_legacy_ctxbitmap_free(struct drm_device * dev, int ctx_handle) in drm_legacy_ctxbitmap_free() 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() 129 void drm_legacy_ctxbitmap_flush(struct drm_device *dev, struct drm_file *file) in drm_legacy_ctxbitmap_flush() 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() 270 static int drm_context_switch(struct drm_device * dev, int old, int new) in drm_context_switch() 298 static int drm_context_switch_complete(struct drm_device *dev, in drm_context_switch_complete() 324 int drm_legacy_resctx(struct drm_device *dev, void *data, in drm_legacy_resctx() [all …]
|
H A D | drm_vblank.c | 92 static void store_vblank(struct drm_device *dev, unsigned int pipe, in store_vblank() 112 static u32 drm_vblank_no_hw_counter(struct drm_device *dev, unsigned int pipe) in drm_vblank_no_hw_counter() 118 static u32 __get_vblank_counter(struct drm_device *dev, unsigned int pipe) in __get_vblank_counter() 142 static void drm_reset_vblank_timestamp(struct drm_device *dev, unsigned int pipe) in drm_reset_vblank_timestamp() 189 static void drm_update_vblank_count(struct drm_device *dev, unsigned int pipe, in drm_update_vblank_count() 274 static u32 drm_vblank_count(struct drm_device *dev, unsigned int pipe) in drm_vblank_count() 297 struct drm_device *dev = crtc->dev; in drm_crtc_accurate_vblank_count() local 316 static void __disable_vblank(struct drm_device *dev, unsigned int pipe) in __disable_vblank() 336 void drm_vblank_disable_and_save(struct drm_device *dev, unsigned int pipe) in drm_vblank_disable_and_save() 373 struct drm_device *dev = vblank->dev; in vblank_disable_fn() 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() 189 int drm_gem_object_init(struct drm_device *dev, in drm_gem_object_init() 215 void drm_gem_private_object_init(struct drm_device *dev, in drm_gem_private_object_init() 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 381 int drm_gem_dumb_map_offset(struct drm_file *file, struct drm_device *dev, in drm_gem_dumb_map_offset() 419 struct drm_device *dev, in drm_gem_dumb_destroy() 445 struct drm_device *dev = obj->dev; in drm_gem_handle_create_tail() local [all …]
|
/dflybsd-src/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() 280 ata_pci_alloc_resource(device_t dev, device_t child, int type, int *rid, in ata_pci_alloc_resource() 331 ata_pci_release_resource(device_t dev, device_t child, int type, int rid, in ata_pci_release_resource() 369 ata_pci_setup_intr(device_t dev, device_t child, struct resource *irq, in ata_pci_setup_intr() 391 ata_pci_teardown_intr(device_t dev, device_t child, struct resource *irq, in ata_pci_teardown_intr() 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() [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() 221 device_t dev = ap->a_head.a_dev->si_drv1; in ast_open() local 245 device_t dev = ap->a_head.a_dev->si_drv1; in ast_close() local 275 device_t dev = ap->a_head.a_dev->si_drv1; in ast_ioctl() local 394 device_t dev = ap->a_head.a_dev->si_drv1; in ast_strategy() local 499 ast_sense(device_t dev) in ast_sense() [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() 233 device_t dev = ap->a_head.a_dev->si_drv1; in acd_open() local 290 device_t dev = ap->a_head.a_dev->si_drv1; in acd_close() local 309 device_t dev = ap->a_head.a_dev->si_drv1; in acd_ioctl() local 777 device_t dev = ap->a_head.a_dev->si_drv1; in acd_strategy() local 805 acd_start(device_t dev, struct bio *bp) in acd_start() [all …]
|
/dflybsd-src/sys/kern/ |
H A D | subr_bus.c | 155 device_t dev = (device_t)arg1; in device_sysctl_handler() local 189 device_sysctl_init(device_t dev) in device_sysctl_init() 224 device_sysctl_update(device_t dev) in device_sysctl_update() 234 device_sysctl_fini(device_t dev) in device_sysctl_fini() 576 devaddq(const char *type, const char *what, device_t dev) in devaddq() 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 [all …]
|
/dflybsd-src/contrib/lvm2/dist/lib/device/ |
H A D | dev-io.c | 134 static int _get_block_size(struct device *dev, unsigned int *size) in _get_block_size() 247 static int _dev_get_size_file(const struct device *dev, uint64_t *size) in _dev_get_size_file() 265 static int _dev_get_size_dev(const struct device *dev, uint64_t *size) in _dev_get_size_dev() 339 static int _dev_read_ahead_dev(struct device *dev, uint32_t *read_ahead) in _dev_read_ahead_dev() 375 int dev_get_size(const struct device *dev, uint64_t *size) in dev_get_size() 386 int dev_get_read_ahead(struct device *dev, uint32_t *read_ahead) in dev_get_read_ahead() 429 void dev_flush(struct device *dev) in dev_flush() 442 int dev_open_flags(struct device *dev, int flags, int direct, int quiet) in dev_open_flags() 569 int dev_open_quiet(struct device *dev) in dev_open_quiet() 578 int dev_open(struct device *dev) in dev_open() [all …]
|
/dflybsd-src/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() 472 hdacc_child_location_str(device_t dev, device_t child, char *buf, in hdacc_child_location_str() 482 hdacc_child_pnpinfo_str_method(device_t dev, device_t child, char *buf, in hdacc_child_pnpinfo_str_method() 493 hdacc_print_child(device_t dev, device_t child) in hdacc_print_child() [all …]
|
/dflybsd-src/usr.sbin/ppp/ |
H A D | tty.c | 93 #define Online(dev) ((dev)->mbits & TIOCM_CD) argument 96 struct device dev; /* What struct physical knows about */ member 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 [all …]
|
/dflybsd-src/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
|
/dflybsd-src/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()
|
/dflybsd-src/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() 265 ichsmb_writew(device_t dev, u_char slave, char cmd, short word) in ichsmb_writew() 290 ichsmb_readb(device_t dev, u_char slave, char cmd, char *byte) in ichsmb_readb() 313 ichsmb_readw(device_t dev, u_char slave, char cmd, short *word) in ichsmb_readw() [all …]
|