Home
last modified time | relevance | path

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

12345678910>>...70

/freebsd/contrib/libfido2/src/
H A Ddev.c18 set_random_report_len(fido_dev_t *dev) in set_random_report_len()
313 fido_dev_close(fido_dev_t *dev) in fido_dev_close()
346 fido_dev_cancel(fido_dev_t *dev) in fido_dev_cancel()
415 fido_dev_t *dev; in fido_dev_new() local
435 fido_dev_t *dev; in fido_dev_new_with_info() local
467 fido_dev_t *dev; in fido_dev_free() local
485 fido_dev_major(const fido_dev_t *dev) in fido_dev_major()
491 fido_dev_minor(const fido_dev_t *dev) in fido_dev_minor()
497 fido_dev_build(const fido_dev_t *dev) in fido_dev_build()
503 fido_dev_flags(const fido_dev_t *dev) in fido_dev_flags()
[all …]
/freebsd/sys/dev/ppbus/
H A Dppbio.h51 #define ppb_repp_A(dev) \ argument
53 #define ppb_repp_D(dev) \ argument
55 #define ppb_recr(dev) \ argument
57 #define ppb_rfifo(dev) \ argument
64 #define ppb_wecr(dev,byte) \ argument
69 #define ppb_rdtr(dev) \ argument
71 #define ppb_rstr(dev) \ argument
73 #define ppb_rctr(dev) \ argument
76 #define ppb_wdtr(dev,byte) \ argument
78 #define ppb_wstr(dev,byte) \ argument
[all …]
/freebsd/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/sys/contrib/dev/mediatek/mt76/
H A Dmt792x_usb.c14 u32 mt792xu_rr(struct mt76_dev *dev, u32 addr) in mt792xu_rr()
27 void mt792xu_wr(struct mt76_dev *dev, u32 addr, u32 val) in mt792xu_wr()
74 int mt792xu_mcu_power_on(struct mt792x_dev *dev) in mt792xu_mcu_power_on()
94 static void mt792xu_cleanup(struct mt792x_dev *dev) in mt792xu_cleanup()
102 static u32 mt792xu_uhw_rr(struct mt76_dev *dev, u32 addr) in mt792xu_uhw_rr()
122 static void mt792xu_dma_prefetch(struct mt792x_dev *dev) in mt792xu_dma_prefetch()
160 static void mt792xu_wfdma_init(struct mt792x_dev *dev) in mt792xu_wfdma_init()
180 static int mt792xu_dma_rx_evt_ep4(struct mt792x_dev *dev) in mt792xu_dma_rx_evt_ep4()
239 int mt792xu_wfsys_reset(struct mt792x_dev *dev) in mt792xu_wfsys_reset()
272 int mt792xu_init_reset(struct mt792x_dev *dev) in mt792xu_init_reset()
[all …]
H A Dmt76x02_mmio.c85 void mt76x02e_init_beacon_config(struct mt76x02_dev *dev) in mt76x02e_init_beacon_config()
134 struct mt76x02_dev *dev; in mt76x02_tx_worker() local
168 int mt76x02_dma_init(struct mt76x02_dev *dev) in mt76x02_dma_init()
244 struct mt76x02_dev *dev; in mt76x02_rx_poll_complete() local
253 struct mt76x02_dev *dev = dev_instance; in mt76x02_irq_handler() local
301 static void mt76x02_dma_enable(struct mt76x02_dev *dev) in mt76x02_dma_enable()
317 void mt76x02_dma_disable(struct mt76x02_dev *dev) in mt76x02_dma_disable()
329 void mt76x02_mac_start(struct mt76x02_dev *dev) in mt76x02_mac_start()
343 static bool mt76x02_tx_hang(struct mt76x02_dev *dev) in mt76x02_tx_hang()
372 struct mt76x02_dev *dev = hw->priv; in mt76x02_key_sync() local
[all …]
H A Dmt792x_dma.c16 struct mt792x_dev *dev = dev_instance; in mt792x_irq_handler() local
31 struct mt792x_dev *dev = (struct mt792x_dev *)data; in mt792x_irq_tasklet() local
92 static void mt792x_dma_prefetch(struct mt792x_dev *dev) in mt792x_dma_prefetch()
111 int mt792x_dma_enable(struct mt792x_dev *dev) in mt792x_dma_enable()
149 mt792x_dma_reset(struct mt792x_dev *dev, bool force) in mt792x_dma_reset()
172 int mt792x_wpdma_reset(struct mt792x_dev *dev, bool force) in mt792x_wpdma_reset()
202 int mt792x_wpdma_reinit_cond(struct mt792x_dev *dev) in mt792x_wpdma_reinit_cond()
263 void mt792x_dma_cleanup(struct mt792x_dev *dev) in mt792x_dma_cleanup()
293 struct mt792x_dev *dev; in mt792x_poll_tx() local
315 struct mt792x_dev *dev; in mt792x_poll_rx() local
[all …]
/freebsd/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 …]
/freebsd/sys/dev/pci/
H A Dvga_pci.c80 vga_pci_is_boot_display(device_t dev) in vga_pci_is_boot_display()
144 vga_pci_reset(device_t dev) in vga_pci_reset()
162 vga_pci_map_bios(device_t dev, size_t *size) in vga_pci_map_bios()
272 vga_pci_unmap_bios(device_t dev, void *bios) in vga_pci_unmap_bios()
314 vga_pci_repost(device_t dev) in vga_pci_repost()
344 vga_pci_probe(device_t dev) in vga_pci_probe()
366 vga_pci_attach(device_t dev) in vga_pci_attach()
382 vga_pci_suspend(device_t dev) in vga_pci_suspend()
389 vga_pci_detach(device_t dev) in vga_pci_detach()
400 vga_pci_resume(device_t dev) in vga_pci_resume()
[all …]
H A Dhostb_pci.c44 pci_hostb_probe(device_t dev) in pci_hostb_probe()
69 pci_hostb_attach(device_t dev) in pci_hostb_attach()
125 pci_hostb_write_config(device_t dev, device_t child, int reg, in pci_hostb_write_config()
133 pci_hostb_enable_busmaster(device_t dev, device_t child) in pci_hostb_enable_busmaster()
142 pci_hostb_disable_busmaster(device_t dev, device_t child) in pci_hostb_disable_busmaster()
151 pci_hostb_enable_io(device_t dev, device_t child, int space) in pci_hostb_enable_io()
160 pci_hostb_disable_io(device_t dev, device_t child, int space) in pci_hostb_disable_io()
169 pci_hostb_set_powerstate(device_t dev, device_t child, int state) in pci_hostb_set_powerstate()
178 pci_hostb_get_powerstate(device_t dev, device_t child) in pci_hostb_get_powerstate()
187 pci_hostb_assign_interrupt(device_t dev, device_t child) in pci_hostb_assign_interrupt()
[all …]
/freebsd/sys/dev/bhnd/cores/pmu/
H A Dbhnd_pmu.h59 bhnd_pmu_read_chipctrl(device_t dev, uint32_t reg) in bhnd_pmu_read_chipctrl()
76 bhnd_pmu_write_chipctrl(device_t dev, uint32_t reg, uint32_t value, in bhnd_pmu_write_chipctrl()
94 bhnd_pmu_read_regctrl(device_t dev, uint32_t reg) in bhnd_pmu_read_regctrl()
111 bhnd_pmu_write_regctrl(device_t dev, uint32_t reg, uint32_t value, in bhnd_pmu_write_regctrl()
129 bhnd_pmu_read_pllctrl(device_t dev, uint32_t reg) in bhnd_pmu_read_pllctrl()
146 bhnd_pmu_write_pllctrl(device_t dev, uint32_t reg, uint32_t value, in bhnd_pmu_write_pllctrl()
163 bhnd_pmu_set_voltage_raw(device_t dev, bhnd_pmu_regulator regulator, in bhnd_pmu_set_voltage_raw()
179 bhnd_pmu_enable_regulator(device_t dev, bhnd_pmu_regulator regulator) in bhnd_pmu_enable_regulator()
194 bhnd_pmu_disable_regulator(device_t dev, bhnd_pmu_regulator regulator) in bhnd_pmu_disable_regulator()
231 bhnd_pmu_get_clock_freq(device_t dev, bhnd_clock clock, u_int *freq) in bhnd_pmu_get_clock_freq()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Dpci_init.c13 mt76x2_mac_pbf_init(struct mt76x02_dev *dev) in mt76x2_mac_pbf_init()
31 mt76x2_fixup_xtal(struct mt76x02_dev *dev) in mt76x2_fixup_xtal()
70 int mt76x2_mac_reset(struct mt76x02_dev *dev, bool hard) in mt76x2_mac_reset()
142 mt76x2_power_on_rf_patch(struct mt76x02_dev *dev) in mt76x2_power_on_rf_patch()
163 mt76x2_power_on_rf(struct mt76x02_dev *dev, int unit) in mt76x2_power_on_rf()
185 mt76x2_power_on(struct mt76x02_dev *dev) in mt76x2_power_on()
220 int mt76x2_resume_device(struct mt76x02_dev *dev) in mt76x2_resume_device()
237 static int mt76x2_init_hardware(struct mt76x02_dev *dev) in mt76x2_init_hardware()
271 void mt76x2_stop_hardware(struct mt76x02_dev *dev) in mt76x2_stop_hardware()
281 void mt76x2_cleanup(struct mt76x02_dev *dev) in mt76x2_cleanup()
[all …]
H A Dusb_init.c13 static void mt76x2u_init_dma(struct mt76x02_dev *dev) in mt76x2u_init_dma()
28 static void mt76x2u_power_on_rf_patch(struct mt76x02_dev *dev) in mt76x2u_power_on_rf_patch()
48 static void mt76x2u_power_on_rf(struct mt76x02_dev *dev, int unit) in mt76x2u_power_on_rf()
70 static void mt76x2u_power_on(struct mt76x02_dev *dev) in mt76x2u_power_on()
106 static int mt76x2u_init_eeprom(struct mt76x02_dev *dev) in mt76x2u_init_eeprom()
126 int mt76x2u_init_hardware(struct mt76x02_dev *dev) in mt76x2u_init_hardware()
190 int mt76x2u_register_device(struct mt76x02_dev *dev) in mt76x2u_register_device()
238 void mt76x2u_stop_hw(struct mt76x02_dev *dev) in mt76x2u_stop_hw()
245 void mt76x2u_cleanup(struct mt76x02_dev *dev) in mt76x2u_cleanup()
/freebsd/sys/dev/ata/
H A Data-pci.c60 ata_pci_probe(device_t dev) in ata_pci_probe()
82 ata_pci_attach(device_t dev) in ata_pci_attach()
136 ata_pci_detach(device_t dev) in ata_pci_detach()
162 ata_pci_suspend(device_t dev) in ata_pci_suspend()
174 ata_pci_resume(device_t dev) in ata_pci_resume()
440 ata_pci_status(device_t dev) in ata_pci_status()
465 ata_pci_hw(device_t dev) in ata_pci_hw()
524 ata_pci_dmainit(device_t dev) in ata_pci_dmainit()
535 ata_pci_dmafini(device_t dev) in ata_pci_dmafini()
767 ata_legacy(device_t dev) in ata_legacy()
[all …]
/freebsd/sys/dev/agp/
H A Dagp.c90 agp_find_caps(device_t dev) in agp_find_caps()
106 device_t bus, dev = 0; in agp_find_display() local
133 agp_alloc_gatt(device_t dev) in agp_alloc_gatt()
202 agp_generic_attach(device_t dev) in agp_generic_attach()
278 agp_free_cdev(device_t dev) in agp_free_cdev()
288 agp_free_res(device_t dev) in agp_free_res()
817 device_t dev = kdev->si_drv1; in agp_open() local
831 device_t dev = kdev->si_drv1; in agp_close() local
927 agp_state(device_t dev) in agp_state()
950 agp_acquire(device_t dev) in agp_acquire()
[all …]
H A Dagp_i810.c649 agp_i810_match(device_t dev) in agp_i810_match()
757 agp_i810_probe(device_t dev) in agp_i810_probe()
791 agp_i810_dump_regs(device_t dev) in agp_i810_dump_regs()
802 agp_i830_dump_regs(device_t dev) in agp_i830_dump_regs()
813 agp_i855_dump_regs(device_t dev) in agp_i855_dump_regs()
824 agp_i915_dump_regs(device_t dev) in agp_i915_dump_regs()
837 agp_i965_dump_regs(device_t dev) in agp_i965_dump_regs()
1259 agp_i810_attach(device_t dev) in agp_i810_attach()
1346 agp_i810_detach(device_t dev) in agp_i810_detach()
1369 agp_i810_resume(device_t dev) in agp_i810_resume()
[all …]
/freebsd/sys/dev/drm2/
H A Ddrm_agpsupport.c75 int drm_agp_info_ioctl(struct drm_device *dev, void *data, in drm_agp_info_ioctl()
97 int drm_agp_acquire(struct drm_device * dev) in drm_agp_acquire()
126 int drm_agp_acquire_ioctl(struct drm_device *dev, void *data, in drm_agp_acquire_ioctl()
140 int drm_agp_release(struct drm_device * dev) in drm_agp_release()
150 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()
237 int drm_agp_alloc_ioctl(struct drm_device *dev, void *data, in drm_agp_alloc_ioctl()
341 int drm_agp_bind_ioctl(struct drm_device *dev, void *data, in drm_agp_bind_ioctl()
384 int drm_agp_free_ioctl(struct drm_device *dev, void *data, in drm_agp_free_ioctl()
401 struct drm_agp_head *drm_agp_init(struct drm_device *dev) in drm_agp_init()
[all …]
H A Ddrm_pci.c67 drm_dma_handle_t *drm_pci_alloc(struct drm_device * dev, size_t size, in drm_pci_alloc()
142 void drm_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) in drm_pci_free()
150 static int drm_get_pci_domain(struct drm_device *dev) in drm_get_pci_domain()
155 static int drm_pci_get_irq(struct drm_device *dev) in drm_pci_get_irq()
173 static void drm_pci_free_irq(struct drm_device *dev) in drm_pci_free_irq()
185 static const char *drm_pci_get_name(struct drm_device *dev) in drm_pci_get_name()
219 int drm_pci_set_unique(struct drm_device *dev, in drm_pci_set_unique()
279 int drm_pci_agp_init(struct drm_device *dev) in drm_pci_agp_init()
324 int drm_get_pci_dev(device_t kdev, struct drm_device *dev, in drm_get_pci_dev()
404 drm_pci_enable_msi(struct drm_device *dev) in drm_pci_enable_msi()
[all …]
H A Ddrm_gem.c69 drm_gem_init(struct drm_device *dev) in drm_gem_init()
94 drm_gem_destroy(struct drm_device *dev) in drm_gem_destroy()
105 int drm_gem_object_init(struct drm_device *dev, in drm_gem_object_init()
190 struct drm_device *dev; in drm_gem_handle_delete() local
221 struct drm_device *dev = obj->dev; in drm_gem_handle_create() local
246 struct drm_device *dev = obj->dev; in drm_gem_free_mmap_offset() local
262 struct drm_device *dev = obj->dev; in drm_gem_create_mmap_offset() local
377 struct drm_device *dev = obj->dev; in drm_gem_object_release_handle() local
414 struct drm_device *dev = obj->dev; in drm_gem_object_free() local
424 struct drm_device *dev = obj->dev; in drm_gem_object_handle_free() local
[all …]
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_health.c68 static int lock_sem_sw_reset(struct mlx5_core_dev *dev) in lock_sem_sw_reset()
114 u8 mlx5_get_nic_state(struct mlx5_core_dev *dev) in mlx5_get_nic_state()
143 struct mlx5_core_dev *dev = in mlx5_trigger_cmd_completions() local
238 mlx5_health_allow_reset(struct mlx5_core_dev *dev) in mlx5_health_allow_reset()
368 struct mlx5_core_dev *dev; in health_recover() local
423 struct mlx5_core_dev *dev; in health_care() local
504 print_health_info(struct mlx5_core_dev *dev) in print_health_info()
545 struct mlx5_core_dev *dev; in health_watchdog() local
682 void mlx5_drain_health_wq(struct mlx5_core_dev *dev) in mlx5_drain_health_wq()
708 void mlx5_health_cleanup(struct mlx5_core_dev *dev) in mlx5_health_cleanup()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dsoc.c91 mt76_wmac_spi_rmw(struct mt7915_dev *dev, u8 adie, in mt76_wmac_spi_rmw()
107 mt7986_wmac_adie_efuse_read(struct mt7915_dev *dev, u8 adie, in mt7986_wmac_adie_efuse_read()
149 static inline void mt76_wmac_spi_lock(struct mt7915_dev *dev) in mt76_wmac_spi_lock()
172 static u8 mt798x_wmac_check_adie_type(struct mt7915_dev *dev) in mt798x_wmac_check_adie_type()
197 static int mt7986_wmac_gpio_setup(struct mt7915_dev *dev) in mt7986_wmac_gpio_setup()
851 static int mt7986_wmac_bus_timeout(struct mt7915_dev *dev) in mt7986_wmac_bus_timeout()
1104 int mt7986_wmac_enable(struct mt7915_dev *dev) in mt7986_wmac_enable()
1159 void mt7986_wmac_disable(struct mt7915_dev *dev) in mt7986_wmac_disable()
1195 static int mt798x_wmac_init(struct mt7915_dev *dev) in mt798x_wmac_init()
1231 struct mt7915_dev *dev; in mt798x_wmac_probe() local
[all …]
/freebsd/sys/dev/iicbus/
H A Diicbb.c135 iicbb_probe(device_t dev) in iicbb_probe()
143 iicbb_attach(device_t dev) in iicbb_attach()
172 iicbb_detach(device_t dev) in iicbb_detach()
183 iicbb_get_node(device_t bus, device_t dev) in iicbb_get_node()
245 iicbb_waitforscl(device_t dev) in iicbb_waitforscl()
275 iicbb_clockin(device_t dev, int sda) in iicbb_clockin()
299 iicbb_clockout(device_t dev) in iicbb_clockout()
313 iicbb_sendbit(device_t dev, int bit) in iicbb_sendbit()
341 iicbb_getack(device_t dev) in iicbb_getack()
370 iicbb_sendbyte(device_t dev, uint8_t data) in iicbb_sendbyte()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Ddebugfs.c8 struct mt7615_dev *dev = data; in mt7615_reg_set() local
20 struct mt7615_dev *dev = data; in mt7615_reg_get() local
35 struct mt7615_dev *dev = data; in mt7615_radar_pattern_set() local
53 struct mt7615_dev *dev = data; in mt7615_config() local
68 struct mt7615_dev *dev = data; in mt7615_scs_set() local
85 struct mt7615_dev *dev = data; in mt7615_scs_get() local
98 struct mt7615_dev *dev = data; in mt7615_pm_set() local
139 struct mt7615_dev *dev = data; in mt7615_pm_get() local
171 struct mt7615_dev *dev = data; in mt7615_pm_idle_timeout_set() local
181 struct mt7615_dev *dev = data; in mt7615_pm_idle_timeout_get() local
[all …]
/freebsd/sys/dev/pwm/
H A Dpwmbus.c70 pwmbus_child_location(device_t dev, device_t child, struct sbuf *sb) in pwmbus_child_location()
82 pwmbus_hinted_child(device_t dev, const char *dname, int dunit) in pwmbus_hinted_child()
98 pwmbus_print_child(device_t dev, device_t child) in pwmbus_print_child()
113 pwmbus_probe_nomatch(device_t dev, device_t child) in pwmbus_probe_nomatch()
148 pwmbus_probe(device_t dev) in pwmbus_probe()
155 pwmbus_attach(device_t dev) in pwmbus_attach()
191 pwmbus_detach(device_t dev) in pwmbus_detach()
224 pwmbus_channel_enable(device_t dev, u_int chan, bool enable) in pwmbus_channel_enable()
230 pwmbus_channel_set_flags(device_t dev, u_int chan, uint32_t flags) in pwmbus_channel_set_flags()
236 pwmbus_channel_is_enabled(device_t dev, u_int chan, bool *enable) in pwmbus_channel_is_enabled()
[all …]
/freebsd/sys/kern/
H A Dsubr_bus.c719 device_t dev; in devclass_driver_deleted() local
847 device_t dev; in devclass_quiesce_driver() local
952 device_t dev; in devclass_get_softc() local
1308 device_t dev; in make_device() local
2183 device_busy(device_t dev) in device_busy()
5399 device_t dev; in sysctl_devices() local
5485 device_t dev; in device_lookup_by_name() local
5502 device_t dev; in find_device() local
5613 device_t dev; in devctl2_ioctl() local
6073 device_t dev; in DB_SHOW_COMMAND() local
[all …]

12345678910>>...70