Home
last modified time | relevance | path

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

12345678910>>...93

/freebsd/contrib/libfido2/src/
H A Ddev.c18 set_random_report_len(fido_dev_t *dev) in set_random_report_len()
28 fido_dev_set_extension_flags(fido_dev_t *dev, const fido_cbor_info_t *info) in fido_dev_set_extension_flags()
39 fido_dev_set_option_flags(fido_dev_t *dev, const fido_cbor_info_t *info) in fido_dev_set_option_flags()
63 fido_dev_set_protocol_flags(fido_dev_t *dev, const fido_cbor_info_t *info) in fido_dev_set_protocol_flags()
84 fido_dev_set_flags(fido_dev_t *dev, const fido_cbor_info_t *info) in fido_dev_set_flags()
92 fido_dev_open_tx(fido_dev_t *dev, const char *path, int *ms) in fido_dev_open_tx()
163 fido_dev_open_rx(fido_dev_t *dev, int *ms) in fido_dev_open_rx()
228 fido_dev_open_wait(fido_dev_t *dev, const char *path, int *ms) in fido_dev_open_wait()
281 fido_dev_open_with_info(fido_dev_t *dev) in fido_dev_open_with_info()
292 fido_dev_open(fido_dev_t *dev, const char *path) in fido_dev_open()
[all …]
/freebsd/sys/dev/ppbus/
H A Dppbio.h37 #define ppb_outsb_epp(dev,buf,cnt) \ argument
39 #define ppb_outsw_epp(dev,buf,cnt) \ argument
41 #define ppb_outsl_epp(dev,buf,cnt) \ argument
44 #define ppb_insb_epp(dev,buf,cnt) \ argument
46 #define ppb_insw_epp(dev,buf,cnt) \ argument
48 #define ppb_insl_epp(dev,buf,cnt) \ argument
51 #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
[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()
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 …]
/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()
36 u32 mt792xu_rmw(struct mt76_dev *dev, u32 addr, u32 mask, u32 val) in mt792xu_rmw()
49 void mt792xu_copy(struct mt76_dev *dev, u32 offset, const void *data, int len) in mt792xu_copy()
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()
114 static void mt792xu_uhw_wr(struct mt76_dev *dev, u32 addr, u32 val) in mt792xu_uhw_wr()
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()
[all …]
H A Dmt76x02_mmio.c16 struct mt76x02_dev *dev = from_tasklet(dev, t, mt76.pre_tbtt_tasklet); in mt76x02_pre_tbtt_tasklet() local
68 static void mt76x02e_pre_tbtt_enable(struct mt76x02_dev *dev, bool en) in mt76x02e_pre_tbtt_enable()
76 static void mt76x02e_beacon_enable(struct mt76x02_dev *dev, bool en) in mt76x02e_beacon_enable()
85 void mt76x02e_init_beacon_config(struct mt76x02_dev *dev) in mt76x02e_init_beacon_config()
108 mt76x02_init_rx_queue(struct mt76x02_dev *dev, struct mt76_queue *q, in mt76x02_init_rx_queue()
123 static void mt76x02_process_tx_status_fifo(struct mt76x02_dev *dev) in mt76x02_process_tx_status_fifo()
134 struct mt76x02_dev *dev; in mt76x02_tx_worker() local
146 struct mt76x02_dev *dev = container_of(napi, struct mt76x02_dev, in mt76x02_poll_tx() 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
[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
79 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt792x_rx_poll_complete() 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()
228 int mt792x_dma_disable(struct mt792x_dev *dev, bool force) in mt792x_dma_disable()
263 void mt792x_dma_cleanup(struct mt792x_dev *dev) in mt792x_dma_cleanup()
[all …]
H A Dusb.c18 int __mt76u_vendor_request(struct mt76_dev *dev, u8 req, u8 req_type, in __mt76u_vendor_request()
49 int mt76u_vendor_request(struct mt76_dev *dev, u8 req, in mt76u_vendor_request()
65 u32 ___mt76u_rr(struct mt76_dev *dev, u8 req, u8 req_type, u32 addr) in ___mt76u_rr()
81 static u32 __mt76u_rr(struct mt76_dev *dev, u32 addr) in __mt76u_rr()
101 static u32 mt76u_rr(struct mt76_dev *dev, u32 addr) in mt76u_rr()
112 void ___mt76u_wr(struct mt76_dev *dev, u8 req, u8 req_type, in ___mt76u_wr()
124 static void __mt76u_wr(struct mt76_dev *dev, u32 addr, u32 val) in __mt76u_wr()
140 static void mt76u_wr(struct mt76_dev *dev, u32 addr, u32 val) in mt76u_wr()
147 static u32 mt76u_rmw(struct mt76_dev *dev, u32 addr, in mt76u_rmw()
158 static void mt76u_copy(struct mt76_dev *dev, u32 offset, in mt76u_copy()
[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()
65 int __mlx4_xrcd_alloc(struct mlx4_dev *dev, u32 *xrcdn) in __mlx4_xrcd_alloc()
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()
[all …]
H A Dmlx4_main.c181 static inline void mlx4_set_num_reserved_uars(struct mlx4_dev *dev, in mlx4_set_num_reserved_uars()
195 int mlx4_check_port_params(struct mlx4_dev *dev, in mlx4_check_port_params()
219 static void mlx4_set_port_mask(struct mlx4_dev *dev) in mlx4_set_port_mask()
231 static int mlx4_query_func(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) in mlx4_query_func()
250 static void mlx4_enable_cqe_eqe_stride(struct mlx4_dev *dev) in mlx4_enable_cqe_eqe_stride()
285 static int _mlx4_dev_port(struct mlx4_dev *dev, int port, in _mlx4_dev_port()
312 static int mlx4_dev_port(struct mlx4_dev *dev, int port, in mlx4_dev_port()
325 static inline void mlx4_enable_ignore_fcs(struct mlx4_dev *dev) in mlx4_enable_ignore_fcs()
345 static int mlx4_dev_cap(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) in mlx4_dev_cap()
627 static int mlx4_get_pcie_dev_link_caps(struct mlx4_dev *dev, in mlx4_get_pcie_dev_link_caps()
[all …]
/freebsd/sys/dev/pci/
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()
87 pci_hostb_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) in pci_hostb_read_ivar()
94 pci_hostb_write_ivar(device_t dev, device_t child, int which, uintptr_t value) in pci_hostb_write_ivar()
101 pci_hostb_alloc_resource(device_t dev, device_t child, int type, int *rid, in pci_hostb_alloc_resource()
109 pci_hostb_release_resource(device_t dev, device_t child, struct resource *r) in pci_hostb_release_resource()
118 pci_hostb_read_config(device_t dev, device_t child, int reg, int width) in pci_hostb_read_config()
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()
[all …]
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()
384 vga_pci_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) in vga_pci_read_ivar()
391 vga_pci_write_ivar(device_t dev, device_t child, int which, uintptr_t value) in vga_pci_write_ivar()
398 vga_pci_setup_intr(device_t dev, device_t child, struct resource *irq, in vga_pci_setup_intr()
[all …]
/freebsd/sys/dev/ata/
H A Data-pci.c60 ata_pci_probe(device_t dev) in ata_pci_probe()
80 ata_pci_attach(device_t dev) in ata_pci_attach()
134 ata_pci_detach(device_t dev) in ata_pci_detach()
163 ata_pci_suspend(device_t dev) in ata_pci_suspend()
175 ata_pci_resume(device_t dev) in ata_pci_resume()
187 ata_pci_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) in ata_pci_read_ivar()
194 ata_pci_write_ivar(device_t dev, device_t child, int which, uintptr_t value) in ata_pci_write_ivar()
201 ata_pci_read_config(device_t dev, device_t child, int reg, int width) in ata_pci_read_config()
208 ata_pci_write_config(device_t dev, device_t child, int reg, in ata_pci_write_config()
216 ata_pci_alloc_resource(device_t dev, device_t child, int type, int *rid, in ata_pci_alloc_resource()
[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()
194 agp_set_aperture_resource(device_t dev, int rid) in agp_set_aperture_resource()
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()
299 agp_generic_detach(device_t dev) in agp_generic_detach()
312 agp_generic_get_aperture(device_t dev) in agp_generic_get_aperture()
324 agp_generic_set_aperture(device_t dev, u_int32_t aperture) in agp_generic_set_aperture()
[all …]
H A Dagp_i810.c649 agp_i810_match(device_t dev) agp_i810_match() argument
673 agp_i810_find_bridge(device_t dev) agp_i810_find_bridge() argument
722 agp_82852_set_desc(device_t dev,const struct agp_i810_match * match) agp_82852_set_desc() argument
750 agp_i810_set_desc(device_t dev,const struct agp_i810_match * match) agp_i810_set_desc() argument
757 agp_i810_probe(device_t dev) agp_i810_probe() argument
791 agp_i810_dump_regs(device_t dev) agp_i810_dump_regs() argument
802 agp_i830_dump_regs(device_t dev) agp_i830_dump_regs() argument
813 agp_i855_dump_regs(device_t dev) agp_i855_dump_regs() argument
824 agp_i915_dump_regs(device_t dev) agp_i915_dump_regs() argument
837 agp_i965_dump_regs(device_t dev) agp_i965_dump_regs() argument
850 agp_i810_get_stolen_size(device_t dev) agp_i810_get_stolen_size() argument
861 agp_i830_get_stolen_size(device_t dev) agp_i830_get_stolen_size() argument
893 agp_i915_get_stolen_size(device_t dev) agp_i915_get_stolen_size() argument
1034 agp_i810_get_gtt_mappable_entries(device_t dev) agp_i810_get_gtt_mappable_entries() argument
1051 agp_i830_get_gtt_mappable_entries(device_t dev) agp_i830_get_gtt_mappable_entries() argument
1068 agp_i915_get_gtt_mappable_entries(device_t dev) agp_i915_get_gtt_mappable_entries() argument
1080 agp_i810_get_gtt_total_entries(device_t dev) agp_i810_get_gtt_total_entries() argument
1090 agp_i965_get_gtt_total_entries(device_t dev) agp_i965_get_gtt_total_entries() argument
1127 agp_gen5_adjust_pgtbl_size(device_t dev,uint32_t sz) agp_gen5_adjust_pgtbl_size() argument
1147 agp_gen5_get_gtt_total_entries(device_t dev) agp_gen5_get_gtt_total_entries() argument
1176 agp_i810_install_gatt(device_t dev) agp_i810_install_gatt() argument
1222 agp_i830_install_gatt(device_t dev) agp_i830_install_gatt() argument
1232 agp_gen4_install_gatt(device_t dev,const vm_size_t gtt_offset) agp_gen4_install_gatt() argument
1245 agp_i965_install_gatt(device_t dev) agp_i965_install_gatt() argument
1252 agp_g4x_install_gatt(device_t dev) agp_g4x_install_gatt() argument
1259 agp_i810_attach(device_t dev) agp_i810_attach() argument
1324 agp_i810_deinstall_gatt(device_t dev) agp_i810_deinstall_gatt() argument
1334 agp_i830_deinstall_gatt(device_t dev) agp_i830_deinstall_gatt() argument
1346 agp_i810_detach(device_t dev) agp_i810_detach() argument
1369 agp_i810_resume(device_t dev) agp_i810_resume() argument
1393 agp_i810_set_aperture(device_t dev,u_int32_t aperture) agp_i810_set_aperture() argument
1419 agp_i830_set_aperture(device_t dev,u_int32_t aperture) agp_i830_set_aperture() argument
1443 agp_i915_set_aperture(device_t dev,u_int32_t aperture) agp_i915_set_aperture() argument
1450 agp_i810_method_set_aperture(device_t dev,u_int32_t aperture) agp_i810_method_set_aperture() argument
1471 agp_i810_install_gtt_pte(device_t dev,u_int index,vm_offset_t physical,int flags) agp_i810_install_gtt_pte() argument
1485 agp_i810_write_gtt(device_t dev,u_int index,uint32_t pte) agp_i810_write_gtt() argument
1495 agp_i830_install_gtt_pte(device_t dev,u_int index,vm_offset_t physical,int flags) agp_i830_install_gtt_pte() argument
1507 agp_i915_install_gtt_pte(device_t dev,u_int index,vm_offset_t physical,int flags) agp_i915_install_gtt_pte() argument
1520 agp_i915_write_gtt(device_t dev,u_int index,uint32_t pte) agp_i915_write_gtt() argument
1530 agp_i965_install_gtt_pte(device_t dev,u_int index,vm_offset_t physical,int flags) agp_i965_install_gtt_pte() argument
1543 agp_i965_write_gtt(device_t dev,u_int index,uint32_t pte) agp_i965_write_gtt() argument
1553 agp_g4x_install_gtt_pte(device_t dev,u_int index,vm_offset_t physical,int flags) agp_g4x_install_gtt_pte() argument
1566 agp_g4x_write_gtt(device_t dev,u_int index,uint32_t pte) agp_g4x_write_gtt() argument
1576 agp_i810_bind_page(device_t dev,vm_offset_t offset,vm_offset_t physical) agp_i810_bind_page() argument
1597 agp_i810_unbind_page(device_t dev,vm_offset_t offset) agp_i810_unbind_page() argument
1615 agp_i810_read_gtt_pte(device_t dev,u_int index) agp_i810_read_gtt_pte() argument
1626 agp_i915_read_gtt_pte(device_t dev,u_int index) agp_i915_read_gtt_pte() argument
1637 agp_i965_read_gtt_pte(device_t dev,u_int index) agp_i965_read_gtt_pte() argument
1648 agp_g4x_read_gtt_pte(device_t dev,u_int index) agp_g4x_read_gtt_pte() argument
1659 agp_i810_read_gtt_pte_paddr(device_t dev,u_int index) agp_i810_read_gtt_pte_paddr() argument
1672 agp_i915_read_gtt_pte_paddr(device_t dev,u_int index) agp_i915_read_gtt_pte_paddr() argument
1688 agp_i810_flush_tlb(device_t dev) agp_i810_flush_tlb() argument
1693 agp_i810_enable(device_t dev,u_int32_t mode) agp_i810_enable() argument
1700 agp_i810_alloc_memory(device_t dev,int type,vm_size_t size) agp_i810_alloc_memory() argument
1779 agp_i810_free_memory(device_t dev,struct agp_memory * mem) agp_i810_free_memory() argument
1813 agp_i810_bind_memory(device_t dev,struct agp_memory * mem,vm_offset_t offset) agp_i810_bind_memory() argument
1860 agp_i810_unbind_memory(device_t dev,struct agp_memory * mem) agp_i810_unbind_memory() argument
1930 agp_intel_gtt_clear_range(device_t dev,u_int first_entry,u_int num_entries) agp_intel_gtt_clear_range() argument
1943 agp_intel_gtt_insert_pages(device_t dev,u_int first_entry,u_int num_entries,vm_page_t * pages,u_int flags) agp_intel_gtt_insert_pages() argument
1960 agp_intel_gtt_get(device_t dev) agp_intel_gtt_get() argument
1979 agp_i810_chipset_flush_setup(device_t dev) agp_i810_chipset_flush_setup() argument
1986 agp_i810_chipset_flush_teardown(device_t dev) agp_i810_chipset_flush_teardown() argument
1993 agp_i810_chipset_flush(device_t dev) agp_i810_chipset_flush() argument
2000 agp_i830_chipset_flush(device_t dev) agp_i830_chipset_flush() argument
2019 agp_i915_chipset_flush_alloc_page(device_t dev,uint64_t start,uint64_t end) agp_i915_chipset_flush_alloc_page() argument
2045 agp_i915_chipset_flush_free_page(device_t dev) agp_i915_chipset_flush_free_page() argument
2061 agp_i915_chipset_flush_setup(device_t dev) agp_i915_chipset_flush_setup() argument
2097 agp_i915_chipset_flush_teardown(device_t dev) agp_i915_chipset_flush_teardown() argument
2114 agp_i965_chipset_flush_setup(device_t dev) agp_i965_chipset_flush_setup() argument
2157 agp_i965_chipset_flush_teardown(device_t dev) agp_i965_chipset_flush_teardown() argument
2174 agp_i915_chipset_flush(device_t dev) agp_i915_chipset_flush() argument
2183 agp_intel_gtt_chipset_flush(device_t dev) agp_intel_gtt_chipset_flush() argument
2193 agp_intel_gtt_unmap_memory(device_t dev,struct sglist * sg_list) agp_intel_gtt_unmap_memory() argument
2198 agp_intel_gtt_map_memory(device_t dev,vm_page_t * pages,u_int num_entries,struct sglist ** sg_list) agp_intel_gtt_map_memory() argument
2244 agp_intel_gtt_install_pte(device_t dev,u_int index,vm_paddr_t addr,u_int flags) agp_intel_gtt_install_pte() argument
2254 agp_intel_gtt_insert_sg_entries(device_t dev,struct sglist * sg_list,u_int first_entry,u_int flags) agp_intel_gtt_insert_sg_entries() argument
[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()
215 bhnd_pmu_get_clock_latency(device_t dev, bhnd_clock clock, u_int *latency) in bhnd_pmu_get_clock_latency()
[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 …]
/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()
95 static int unlock_sem_sw_reset(struct mlx5_core_dev *dev) in unlock_sem_sw_reset()
114 u8 mlx5_get_nic_state(struct mlx5_core_dev *dev) in mlx5_get_nic_state()
119 void mlx5_set_nic_state(struct mlx5_core_dev *dev, u8 state) in mlx5_set_nic_state()
129 static bool sensor_fw_synd_rfr(struct mlx5_core_dev *dev) in sensor_fw_synd_rfr()
143 struct mlx5_core_dev *dev = in mlx5_trigger_cmd_completions() local
166 static bool sensor_pci_no_comm(struct mlx5_core_dev *dev) in sensor_pci_no_comm()
175 static bool sensor_nic_disabled(struct mlx5_core_dev *dev) in sensor_nic_disabled()
180 static bool sensor_nic_sw_reset(struct mlx5_core_dev *dev) in sensor_nic_sw_reset()
185 static u32 check_fatal_sensors(struct mlx5_core_dev *dev) in check_fatal_sensors()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dsoc.c43 mt76_wmac_spi_read(struct mt7915_dev *dev, u8 adie, u32 addr, u32 *val) in mt76_wmac_spi_read()
70 mt76_wmac_spi_write(struct mt7915_dev *dev, u8 adie, u32 addr, u32 val) in mt76_wmac_spi_write()
91 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()
159 static inline void mt76_wmac_spi_unlock(struct mt7915_dev *dev) in mt76_wmac_spi_unlock()
172 static u8 mt798x_wmac_check_adie_type(struct mt7915_dev *dev) in mt798x_wmac_check_adie_type()
185 static int mt7986_wmac_consys_reset(struct mt7915_dev *dev, bool enable) in mt7986_wmac_consys_reset()
197 static int mt7986_wmac_gpio_setup(struct mt7915_dev *dev) in mt7986_wmac_gpio_setup()
233 static int mt7986_wmac_consys_lockup(struct mt7915_dev *dev, bool enable) in mt7986_wmac_consys_lockup()
[all …]
/freebsd/sys/dev/drm2/
H A Ddrm_agpsupport.c51 int drm_agp_info(struct drm_device *dev, struct drm_agp_info *info) in drm_agp_info()
75 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()
166 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()
199 int drm_agp_alloc(struct drm_device *dev, struct drm_agp_buffer *request) in drm_agp_alloc()
237 int drm_agp_alloc_ioctl(struct drm_device *dev, void *data, in drm_agp_alloc_ioctl()
[all …]
H A Ddrm_pci.c67 drm_dma_handle_t *drm_pci_alloc(struct drm_device * dev, size_t size, in drm_pci_alloc()
129 void __drm_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) in __drm_pci_free()
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()
190 int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master) in drm_pci_set_busid()
219 int drm_pci_set_unique(struct drm_device *dev, in drm_pci_set_unique()
265 static int drm_pci_irq_by_busid(struct drm_device *dev, struct drm_irq_busid *p) in drm_pci_irq_by_busid()
[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()
128 int drm_gem_private_object_init(struct drm_device *dev, in drm_gem_private_object_init()
145 drm_gem_object_alloc(struct drm_device *dev, size_t size) in drm_gem_object_alloc()
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
284 drm_gem_object_lookup(struct drm_device *dev, struct drm_file *filp, in drm_gem_object_lookup()
[all …]
H A Ddrm_context.c60 void drm_ctxbitmap_free(struct drm_device * dev, int ctx_handle) in drm_ctxbitmap_free()
84 static int drm_ctxbitmap_next(struct drm_device * dev) in drm_ctxbitmap_next()
128 int drm_ctxbitmap_init(struct drm_device * dev) in drm_ctxbitmap_init()
160 void drm_ctxbitmap_cleanup(struct drm_device * dev) in drm_ctxbitmap_cleanup()
187 int drm_getsareactx(struct drm_device *dev, void *data, in drm_getsareactx()
220 int drm_setsareactx(struct drm_device *dev, void *data, in drm_setsareactx()
262 static int drm_context_switch(struct drm_device * dev, int old, int new) in drm_context_switch()
290 static int drm_context_switch_complete(struct drm_device *dev, in drm_context_switch_complete()
318 int drm_resctx(struct drm_device *dev, void *data, in drm_resctx()
349 int drm_addctx(struct drm_device *dev, void *data, in drm_addctx()
[all …]
/freebsd/sys/dev/iicbus/
H A Diicbb.c134 iicbb_probe(device_t dev) in iicbb_probe()
142 iicbb_attach(device_t dev) in iicbb_attach()
172 iicbb_get_node(device_t bus, device_t dev) in iicbb_get_node()
181 iicbb_child_detached( device_t dev, device_t child ) in iicbb_child_detached()
190 iicbb_print_child(device_t bus, device_t dev) in iicbb_print_child()
228 #define I2C_GETSDA(dev) (IICBB_GETSDA(device_get_parent(dev))) argument
229 #define I2C_SETSDA(dev, x) (IICBB_SETSDA(device_get_parent(dev), x)) argument
230 #define I2C_GETSCL(dev) (IICBB_GETSCL(device_get_parent(dev))) argument
231 #define I2C_SETSCL(dev, x) (IICBB_SETSCL(device_get_parent(dev), x)) argument
234 iicbb_waitforscl(device_t dev) in iicbb_waitforscl()
[all …]
/freebsd/sys/kern/
H A Dsubr_bus.c278 device_t dev = (device_t)arg1; in device_sysctl_handler() local
331 device_sysctl_init(device_t dev) in device_sysctl_init()
380 device_sysctl_update(device_t dev) in device_sysctl_update()
390 device_sysctl_fini(device_t dev) in device_sysctl_fini()
680 device_handle_nomatch(device_t dev) in device_handle_nomatch()
776 device_t dev; in devclass_driver_deleted() local
904 device_t dev; in devclass_quiesce_driver() local
1009 device_t dev; in devclass_get_softc() local
1209 devclass_alloc_unit(devclass_t dc, device_t dev, int *unitp) in devclass_alloc_unit()
1297 devclass_add_device(devclass_t dc, device_t dev) in devclass_add_device()
[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
151 struct mt7615_dev *dev = dev_get_drvdata(s->private); in mt7615_pm_stats() local
171 struct mt7615_dev *dev = data; in mt7615_pm_idle_timeout_set() local
[all …]

12345678910>>...93