Home
last modified time | relevance | path

Searched defs:dev (Results 1 – 25 of 2553) sorted by relevance

12345678910>>...103

/freebsd-13.1/sys/dev/ppbus/
H A Dppbio.h53 #define ppb_repp_A(dev) \ argument
55 #define ppb_repp_D(dev) \ argument
57 #define ppb_recr(dev) \ argument
59 #define ppb_rfifo(dev) \ argument
66 #define ppb_wecr(dev,byte) \ argument
71 #define ppb_rdtr(dev) \ argument
73 #define ppb_rstr(dev) \ argument
75 #define ppb_rctr(dev) \ argument
78 #define ppb_wdtr(dev,byte) \ argument
80 #define ppb_wstr(dev,byte) \ argument
[all …]
/freebsd-13.1/contrib/libfido2/src/
H A Ddev.c37 set_random_report_len(fido_dev_t *dev) in set_random_report_len()
370 fido_dev_close(fido_dev_t *dev) in fido_dev_close()
400 fido_dev_cancel(fido_dev_t *dev) in fido_dev_cancel()
559 fido_dev_t *dev; in fido_dev_new() local
578 fido_dev_t *dev; in fido_dev_new_with_info() local
609 fido_dev_t *dev; in fido_dev_free() local
627 fido_dev_major(const fido_dev_t *dev) in fido_dev_major()
633 fido_dev_minor(const fido_dev_t *dev) in fido_dev_minor()
639 fido_dev_build(const fido_dev_t *dev) in fido_dev_build()
645 fido_dev_flags(const fido_dev_t *dev) in fido_dev_flags()
[all …]
/freebsd-13.1/contrib/wpa/src/wps/
H A Dwps_dev_attr.c16 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()
317 static int wps_process_serial_number(struct wps_device_data *dev, in wps_process_serial_number()
355 static int wps_process_primary_dev_type(struct wps_device_data *dev, in wps_process_primary_dev_type()
376 int wps_process_device_attrs(struct wps_device_data *dev, in wps_process_device_attrs()
394 int wps_process_os_version(struct wps_device_data *dev, const u8 *ver) in wps_process_os_version()
416 int wps_process_rf_bands(struct wps_device_data *dev, const u8 *bands) in wps_process_rf_bands()
[all …]
/freebsd-13.1/sys/dev/mlx4/mlx4_core/
H A Dmlx4_pd.c47 int mlx4_pd_alloc(struct mlx4_dev *dev, u32 *pdn) in mlx4_pd_alloc()
59 void mlx4_pd_free(struct mlx4_dev *dev, u32 pdn) in mlx4_pd_free()
76 int mlx4_xrcd_alloc(struct mlx4_dev *dev, u32 *xrcdn) in mlx4_xrcd_alloc()
96 void __mlx4_xrcd_free(struct mlx4_dev *dev, u32 xrcdn) in __mlx4_xrcd_free()
101 void mlx4_xrcd_free(struct mlx4_dev *dev, u32 xrcdn) in mlx4_xrcd_free()
118 int mlx4_init_pd_table(struct mlx4_dev *dev) in mlx4_init_pd_table()
127 void mlx4_cleanup_pd_table(struct mlx4_dev *dev) in mlx4_cleanup_pd_table()
132 int mlx4_init_xrcd_table(struct mlx4_dev *dev) in mlx4_init_xrcd_table()
140 void mlx4_cleanup_xrcd_table(struct mlx4_dev *dev) in mlx4_cleanup_xrcd_table()
272 int mlx4_init_uar_table(struct mlx4_dev *dev) in mlx4_init_uar_table()
[all …]
H A Dmlx4_main.c1368 int mlx4_bond(struct mlx4_dev *dev) in mlx4_bond()
1396 int mlx4_unbond(struct mlx4_dev *dev) in mlx4_unbond()
1801 static int map_bf_area(struct mlx4_dev *dev) in map_bf_area()
1828 s64 mlx4_read_clock(struct mlx4_dev *dev) in mlx4_read_clock()
3210 struct mlx4_dev *dev; in mlx4_load_one() local
3760 struct mlx4_dev *dev; in mlx4_init_one() local
3830 struct mlx4_dev *dev = persist->dev; in mlx4_unload_one() local
3911 struct mlx4_dev *dev = persist->dev; in mlx4_remove_one() local
3978 struct mlx4_dev *dev = persist->dev; in mlx4_restart_one() local
4089 struct mlx4_dev *dev = persist->dev; in mlx4_pci_slot_reset() local
[all …]
H A Dmlx4_mr.c156 u32 __mlx4_alloc_mtt_range(struct mlx4_dev *dev, int order) in __mlx4_alloc_mtt_range()
383 void mlx4_mr_hw_put_mpt(struct mlx4_dev *dev, in mlx4_mr_hw_put_mpt()
410 int mlx4_mr_hw_change_access(struct mlx4_dev *dev, in mlx4_mr_hw_change_access()
436 static int mlx4_WRITE_MTT(struct mlx4_dev *dev, in mlx4_WRITE_MTT()
444 int __mlx4_mpt_reserve(struct mlx4_dev *dev) in __mlx4_mpt_reserve()
451 static int mlx4_mpt_reserve(struct mlx4_dev *dev) in mlx4_mpt_reserve()
465 void __mlx4_mpt_release(struct mlx4_dev *dev, u32 index) in __mlx4_mpt_release()
509 void __mlx4_mpt_free_icm(struct mlx4_dev *dev, u32 index) in __mlx4_mpt_free_icm()
913 int mlx4_init_mr_table(struct mlx4_dev *dev) in mlx4_init_mr_table()
961 void mlx4_cleanup_mr_table(struct mlx4_dev *dev) in mlx4_cleanup_mr_table()
[all …]
H A Dmlx4_srq.c43 void mlx4_srq_event(struct mlx4_dev *dev, u32 srqn, int event_type) in mlx4_srq_event()
80 static int mlx4_ARM_SRQ(struct mlx4_dev *dev, int srq_num, int limit_watermark) in mlx4_ARM_SRQ()
93 int __mlx4_srq_alloc_icm(struct mlx4_dev *dev, int *srqn) in __mlx4_srq_alloc_icm()
120 static int mlx4_srq_alloc_icm(struct mlx4_dev *dev, int *srqn) in mlx4_srq_alloc_icm()
138 void __mlx4_srq_free_icm(struct mlx4_dev *dev, int srqn) in __mlx4_srq_free_icm()
147 static void mlx4_srq_free_icm(struct mlx4_dev *dev, int srqn) in mlx4_srq_free_icm()
162 int mlx4_srq_alloc(struct mlx4_dev *dev, u32 pdn, u32 cqn, u16 xrcd, in mlx4_srq_alloc()
222 void mlx4_srq_free(struct mlx4_dev *dev, struct mlx4_srq *srq) in mlx4_srq_free()
272 int mlx4_init_srq_table(struct mlx4_dev *dev) in mlx4_init_srq_table()
290 void mlx4_cleanup_srq_table(struct mlx4_dev *dev) in mlx4_cleanup_srq_table()
[all …]
/freebsd-13.1/sys/dev/pci/
H A Dvga_pci.c82 vga_pci_is_boot_display(device_t dev) in vga_pci_is_boot_display()
146 vga_pci_reset(device_t dev) in vga_pci_reset()
164 vga_pci_map_bios(device_t dev, size_t *size) in vga_pci_map_bios()
276 vga_pci_unmap_bios(device_t dev, void *bios) in vga_pci_unmap_bios()
319 vga_pci_repost(device_t dev) in vga_pci_repost()
349 vga_pci_probe(device_t dev) in vga_pci_probe()
371 vga_pci_attach(device_t dev) in vga_pci_attach()
388 vga_pci_suspend(device_t dev) in vga_pci_suspend()
395 vga_pci_detach(device_t dev) in vga_pci_detach()
406 vga_pci_resume(device_t dev) in vga_pci_resume()
[all …]
H A Dhostb_pci.c47 pci_hostb_probe(device_t dev) in pci_hostb_probe()
72 pci_hostb_attach(device_t dev) in pci_hostb_attach()
129 pci_hostb_write_config(device_t dev, device_t child, int reg, in pci_hostb_write_config()
137 pci_hostb_enable_busmaster(device_t dev, device_t child) in pci_hostb_enable_busmaster()
146 pci_hostb_disable_busmaster(device_t dev, device_t child) in pci_hostb_disable_busmaster()
155 pci_hostb_enable_io(device_t dev, device_t child, int space) in pci_hostb_enable_io()
164 pci_hostb_disable_io(device_t dev, device_t child, int space) in pci_hostb_disable_io()
173 pci_hostb_set_powerstate(device_t dev, device_t child, int state) in pci_hostb_set_powerstate()
182 pci_hostb_get_powerstate(device_t dev, device_t child) in pci_hostb_get_powerstate()
191 pci_hostb_assign_interrupt(device_t dev, device_t child) in pci_hostb_assign_interrupt()
[all …]
/freebsd-13.1/sys/dev/bhnd/cores/pmu/
H A Dbhnd_pmu.h60 bhnd_pmu_read_chipctrl(device_t dev, uint32_t reg) in bhnd_pmu_read_chipctrl()
77 bhnd_pmu_write_chipctrl(device_t dev, uint32_t reg, uint32_t value, in bhnd_pmu_write_chipctrl()
95 bhnd_pmu_read_regctrl(device_t dev, uint32_t reg) in bhnd_pmu_read_regctrl()
112 bhnd_pmu_write_regctrl(device_t dev, uint32_t reg, uint32_t value, in bhnd_pmu_write_regctrl()
130 bhnd_pmu_read_pllctrl(device_t dev, uint32_t reg) in bhnd_pmu_read_pllctrl()
147 bhnd_pmu_write_pllctrl(device_t dev, uint32_t reg, uint32_t value, in bhnd_pmu_write_pllctrl()
164 bhnd_pmu_set_voltage_raw(device_t dev, bhnd_pmu_regulator regulator, in bhnd_pmu_set_voltage_raw()
180 bhnd_pmu_enable_regulator(device_t dev, bhnd_pmu_regulator regulator) in bhnd_pmu_enable_regulator()
195 bhnd_pmu_disable_regulator(device_t dev, bhnd_pmu_regulator regulator) in bhnd_pmu_disable_regulator()
232 bhnd_pmu_get_clock_freq(device_t dev, bhnd_clock clock, u_int *freq) in bhnd_pmu_get_clock_freq()
[all …]
/freebsd-13.1/sys/dev/ata/
H A Data-pci.c62 ata_pci_probe(device_t dev) in ata_pci_probe()
84 ata_pci_attach(device_t dev) in ata_pci_attach()
138 ata_pci_detach(device_t dev) in ata_pci_detach()
164 ata_pci_suspend(device_t dev) in ata_pci_suspend()
176 ata_pci_resume(device_t dev) in ata_pci_resume()
446 ata_pci_status(device_t dev) in ata_pci_status()
471 ata_pci_hw(device_t dev) in ata_pci_hw()
530 ata_pci_dmainit(device_t dev) in ata_pci_dmainit()
541 ata_pci_dmafini(device_t dev) in ata_pci_dmafini()
776 ata_legacy(device_t dev) in ata_legacy()
[all …]
/freebsd-13.1/sys/dev/agp/
H A Dagp.c92 agp_find_caps(device_t dev) in agp_find_caps()
108 device_t bus, dev = 0; in agp_find_display() local
135 agp_alloc_gatt(device_t dev) in agp_alloc_gatt()
206 agp_generic_attach(device_t dev) in agp_generic_attach()
261 agp_free_cdev(device_t dev) in agp_free_cdev()
269 agp_free_res(device_t dev) in agp_free_res()
798 device_t dev = kdev->si_drv1; in agp_open() local
812 device_t dev = kdev->si_drv1; in agp_close() local
908 agp_state(device_t dev) in agp_state()
931 agp_acquire(device_t dev) in agp_acquire()
[all …]
H A Dagp_i810.c651 agp_i810_match(device_t dev) in agp_i810_match()
759 agp_i810_probe(device_t dev) in agp_i810_probe()
793 agp_i810_dump_regs(device_t dev) in agp_i810_dump_regs()
804 agp_i830_dump_regs(device_t dev) in agp_i830_dump_regs()
815 agp_i855_dump_regs(device_t dev) in agp_i855_dump_regs()
826 agp_i915_dump_regs(device_t dev) in agp_i915_dump_regs()
839 agp_i965_dump_regs(device_t dev) in agp_i965_dump_regs()
1261 agp_i810_attach(device_t dev) in agp_i810_attach()
1348 agp_i810_detach(device_t dev) in agp_i810_detach()
1371 agp_i810_resume(device_t dev) in agp_i810_resume()
[all …]
/freebsd-13.1/sys/dev/mlx5/mlx5_core/
H A Dmlx5_health.c70 static int lock_sem_sw_reset(struct mlx5_core_dev *dev) in lock_sem_sw_reset()
116 u8 mlx5_get_nic_state(struct mlx5_core_dev *dev) in mlx5_get_nic_state()
145 struct mlx5_core_dev *dev = in mlx5_trigger_cmd_completions() local
240 mlx5_health_allow_reset(struct mlx5_core_dev *dev) in mlx5_health_allow_reset()
370 struct mlx5_core_dev *dev; in health_recover() local
424 struct mlx5_core_dev *dev; in health_care() local
505 print_health_info(struct mlx5_core_dev *dev) in print_health_info()
546 struct mlx5_core_dev *dev; in health_watchdog() local
683 void mlx5_drain_health_wq(struct mlx5_core_dev *dev) in mlx5_drain_health_wq()
709 void mlx5_health_cleanup(struct mlx5_core_dev *dev) in mlx5_health_cleanup()
[all …]
H A Dmlx5_transobj.c35 int mlx5_alloc_transport_domain(struct mlx5_core_dev *dev, u32 *tdn) in mlx5_alloc_transport_domain()
52 void mlx5_dealloc_transport_domain(struct mlx5_core_dev *dev, u32 tdn) in mlx5_dealloc_transport_domain()
87 void mlx5_core_destroy_rq(struct mlx5_core_dev *dev, u32 rqn) in mlx5_core_destroy_rq()
98 int mlx5_core_query_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *out) in mlx5_core_query_rq()
132 void mlx5_core_destroy_sq(struct mlx5_core_dev *dev, u32 sqn) in mlx5_core_destroy_sq()
143 int mlx5_core_query_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *out) in mlx5_core_query_sq()
169 void mlx5_core_destroy_tir(struct mlx5_core_dev *dev, u32 tirn) in mlx5_core_destroy_tir()
206 void mlx5_core_destroy_tis(struct mlx5_core_dev *dev, u32 tisn) in mlx5_core_destroy_tis()
240 int mlx5_core_destroy_rmp(struct mlx5_core_dev *dev, u32 rmpn) in mlx5_core_destroy_rmp()
305 int mlx5_core_destroy_xsrq(struct mlx5_core_dev *dev, u32 xsrqn) in mlx5_core_destroy_xsrq()
[all …]
H A Dmlx5_main.c213 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); in set_dma_caps() local
285 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); in request_bar() local
449 static int handle_hca_cap(struct mlx5_core_dev *dev) in handle_hca_cap()
541 static int set_hca_ctrl(struct mlx5_core_dev *dev) in set_hca_ctrl()
660 static void free_comp_eqs(struct mlx5_core_dev *dev) in free_comp_eqs()
678 static int alloc_comp_eqs(struct mlx5_core_dev *dev) in alloc_comp_eqs()
789 mlx5_register_device(struct mlx5_core_dev *dev) in mlx5_register_device()
804 mlx5_unregister_device(struct mlx5_core_dev *dev) in mlx5_unregister_device()
872 mlx5_firmware_update(struct mlx5_core_dev *dev) in mlx5_firmware_update()
1350 struct mlx5_core_dev *dev; in init_one() local
[all …]
/freebsd-13.1/sys/dev/drm2/
H A Ddrm_agpsupport.c77 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()
128 int drm_agp_acquire_ioctl(struct drm_device *dev, void *data, in drm_agp_acquire_ioctl()
142 int drm_agp_release(struct drm_device * dev) in drm_agp_release()
152 int drm_agp_release_ioctl(struct drm_device *dev, void *data, in drm_agp_release_ioctl()
181 int drm_agp_enable_ioctl(struct drm_device *dev, void *data, in drm_agp_enable_ioctl()
239 int drm_agp_alloc_ioctl(struct drm_device *dev, void *data, in drm_agp_alloc_ioctl()
343 int drm_agp_bind_ioctl(struct drm_device *dev, void *data, in drm_agp_bind_ioctl()
386 int drm_agp_free_ioctl(struct drm_device *dev, void *data, in drm_agp_free_ioctl()
403 struct drm_agp_head *drm_agp_init(struct drm_device *dev) in drm_agp_init()
[all …]
H A Ddrm_pci.c69 drm_dma_handle_t *drm_pci_alloc(struct drm_device * dev, size_t size, in drm_pci_alloc()
144 void drm_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) in drm_pci_free()
152 static int drm_get_pci_domain(struct drm_device *dev) in drm_get_pci_domain()
157 static int drm_pci_get_irq(struct drm_device *dev) in drm_pci_get_irq()
175 static void drm_pci_free_irq(struct drm_device *dev) in drm_pci_free_irq()
187 static const char *drm_pci_get_name(struct drm_device *dev) in drm_pci_get_name()
221 int drm_pci_set_unique(struct drm_device *dev, in drm_pci_set_unique()
281 int drm_pci_agp_init(struct drm_device *dev) in drm_pci_agp_init()
326 int drm_get_pci_dev(device_t kdev, struct drm_device *dev, in drm_get_pci_dev()
406 drm_pci_enable_msi(struct drm_device *dev) in drm_pci_enable_msi()
[all …]
H A Ddrm_gem.c71 drm_gem_init(struct drm_device *dev) in drm_gem_init()
96 drm_gem_destroy(struct drm_device *dev) in drm_gem_destroy()
107 int drm_gem_object_init(struct drm_device *dev, in drm_gem_object_init()
192 struct drm_device *dev; in drm_gem_handle_delete() local
223 struct drm_device *dev = obj->dev; in drm_gem_handle_create() local
248 struct drm_device *dev = obj->dev; in drm_gem_free_mmap_offset() local
264 struct drm_device *dev = obj->dev; in drm_gem_create_mmap_offset() local
379 struct drm_device *dev = obj->dev; in drm_gem_object_release_handle() local
416 struct drm_device *dev = obj->dev; in drm_gem_object_free() local
426 struct drm_device *dev = obj->dev; in drm_gem_object_handle_free() local
[all …]
H A Ddrm_context.c62 void drm_ctxbitmap_free(struct drm_device * dev, int ctx_handle) in drm_ctxbitmap_free()
86 static int drm_ctxbitmap_next(struct drm_device * dev) in drm_ctxbitmap_next()
130 int drm_ctxbitmap_init(struct drm_device * dev) in drm_ctxbitmap_init()
162 void drm_ctxbitmap_cleanup(struct drm_device * dev) in drm_ctxbitmap_cleanup()
189 int drm_getsareactx(struct drm_device *dev, void *data, in drm_getsareactx()
222 int drm_setsareactx(struct drm_device *dev, void *data, in drm_setsareactx()
320 int drm_resctx(struct drm_device *dev, void *data, in drm_resctx()
351 int drm_addctx(struct drm_device *dev, void *data, in drm_addctx()
423 int drm_switchctx(struct drm_device *dev, void *data, in drm_switchctx()
443 int drm_newctx(struct drm_device *dev, void *data, in drm_newctx()
[all …]
/freebsd-13.1/sys/dev/iicbus/
H A Diicbb.c138 iicbb_probe(device_t dev) in iicbb_probe()
146 iicbb_attach(device_t dev) in iicbb_attach()
175 iicbb_detach(device_t dev) in iicbb_detach()
186 iicbb_get_node(device_t bus, device_t dev) in iicbb_get_node()
248 iicbb_waitforscl(device_t dev) in iicbb_waitforscl()
277 iicbb_clockin(device_t dev, int sda) in iicbb_clockin()
301 iicbb_clockout(device_t dev) in iicbb_clockout()
315 iicbb_sendbit(device_t dev, int bit) in iicbb_sendbit()
343 iicbb_getack(device_t dev) in iicbb_getack()
372 iicbb_sendbyte(device_t dev, uint8_t data) in iicbb_sendbyte()
[all …]
/freebsd-13.1/sys/dev/pwm/
H A Dpwmbus.c83 pwmbus_child_pnpinfo_str(device_t dev, device_t child, char *buf, in pwmbus_child_pnpinfo_str()
91 pwmbus_hinted_child(device_t dev, const char *dname, int dunit) in pwmbus_hinted_child()
107 pwmbus_print_child(device_t dev, device_t child) in pwmbus_print_child()
122 pwmbus_probe_nomatch(device_t dev, device_t child) in pwmbus_probe_nomatch()
157 pwmbus_probe(device_t dev) in pwmbus_probe()
164 pwmbus_attach(device_t dev) in pwmbus_attach()
200 pwmbus_detach(device_t dev) in pwmbus_detach()
233 pwmbus_channel_enable(device_t dev, u_int chan, bool enable) in pwmbus_channel_enable()
239 pwmbus_channel_set_flags(device_t dev, u_int chan, uint32_t flags) in pwmbus_channel_set_flags()
245 pwmbus_channel_is_enabled(device_t dev, u_int chan, bool *enable) in pwmbus_channel_is_enabled()
[all …]
/freebsd-13.1/sys/dev/virtio/pci/
H A Dvirtio_pci_legacy.c197 vtpci_legacy_probe(device_t dev) in vtpci_legacy_probe()
224 vtpci_legacy_attach(device_t dev) in vtpci_legacy_attach()
267 vtpci_legacy_detach(device_t dev) in vtpci_legacy_detach()
292 vtpci_legacy_resume(device_t dev) in vtpci_legacy_resume()
421 vtpci_legacy_stop(device_t dev) in vtpci_legacy_stop()
541 device_t dev; in vtpci_legacy_setup_msix() local
568 device_t dev; in vtpci_legacy_teardown_msix() local
590 device_t dev; in vtpci_legacy_alloc_resources() local
616 device_t dev; in vtpci_legacy_free_resources() local
630 device_t dev, child; in vtpci_legacy_probe_and_attach_child() local
[all …]
/freebsd-13.1/sys/dev/mvs/
H A Dmvs.c108 mvs_ch_probe(device_t dev) in mvs_ch_probe()
116 mvs_ch_attach(device_t dev) in mvs_ch_attach()
220 mvs_ch_detach(device_t dev) in mvs_ch_detach()
252 mvs_ch_init(device_t dev) in mvs_ch_init()
280 mvs_ch_deinit(device_t dev) in mvs_ch_deinit()
330 mvs_dmainit(device_t dev) in mvs_dmainit()
394 mvs_dmafini(device_t dev) in mvs_dmafini()
1973 device_t dev = arg; in mvs_reset_to() local
2000 mvs_errata(device_t dev) in mvs_errata()
2033 mvs_reset(device_t dev) in mvs_reset()
[all …]
/freebsd-13.1/sys/kern/
H A Dsubr_bus.c769 devadded(device_t dev) in devadded()
1184 device_t dev; in devclass_driver_deleted() local
1314 device_t dev; in devclass_quiesce_driver() local
1419 device_t dev; in devclass_get_softc() local
1775 device_t dev; in make_device() local
5479 device_t dev; in sysctl_devices() local
5565 device_t dev; in device_lookup_by_name() local
5582 device_t dev; in find_device() local
5673 device_t dev; in devctl2_ioctl() local
5993 device_t dev; in DB_SHOW_COMMAND() local
[all …]

12345678910>>...103