/freebsd/contrib/libfido2/src/ |
H A D | dev.c | 18 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 D | ppbio.h | 37 #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 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 …]
|
/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_pd.c | 47 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 D | mlx4_main.c | 181 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 …]
|
H A D | mlx4_mr.c | 156 u32 __mlx4_alloc_mtt_range(struct mlx4_dev *dev, int order) in __mlx4_alloc_mtt_range() 180 static u32 mlx4_alloc_mtt_range(struct mlx4_dev *dev, int order) in mlx4_alloc_mtt_range() 200 int mlx4_mtt_init(struct mlx4_dev *dev, int npages, int page_shift, in mlx4_mtt_init() 223 void __mlx4_free_mtt_range(struct mlx4_dev *dev, u32 offset, int order) in __mlx4_free_mtt_range() 237 static void mlx4_free_mtt_range(struct mlx4_dev *dev, u32 offset, int order) in mlx4_free_mtt_range() 257 void mlx4_mtt_cleanup(struct mlx4_dev *dev, struct mlx4_mtt *mtt) in mlx4_mtt_cleanup() 266 u64 mlx4_mtt_addr(struct mlx4_dev *dev, struct mlx4_mtt *mtt) in mlx4_mtt_addr() 282 static int mlx4_SW2HW_MPT(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, in mlx4_SW2HW_MPT() 290 static int mlx4_HW2SW_MPT(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, in mlx4_HW2SW_MPT() 299 int mlx4_mr_hw_get_mpt(struct mlx4_dev *dev, struct mlx4_mr *mmr, in mlx4_mr_hw_get_mpt() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt792x_usb.c | 14 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() 139 static void mt792xu_wfdma_init(struct mt792x_dev *dev) in mt792xu_wfdma_init() [all …]
|
H A D | mt76x02_mmio.c | 16 struct mt76x02_dev *dev = from_tasklet(dev, t, mt76.pre_tbtt_tasklet); in mt76x02_pre_tbtt_tasklet() local 75 static void mt76x02e_pre_tbtt_enable(struct mt76x02_dev *dev, bool en) in mt76x02e_pre_tbtt_enable() 83 static void mt76x02e_beacon_enable(struct mt76x02_dev *dev, bool en) in mt76x02e_beacon_enable() 92 void mt76x02e_init_beacon_config(struct mt76x02_dev *dev) in mt76x02e_init_beacon_config() 115 mt76x02_init_rx_queue(struct mt76x02_dev *dev, struct mt76_queue *q, in mt76x02_init_rx_queue() 130 static void mt76x02_process_tx_status_fifo(struct mt76x02_dev *dev) in mt76x02_process_tx_status_fifo() 141 struct mt76x02_dev *dev; in mt76x02_tx_worker() local 153 struct mt76x02_dev *dev = container_of(napi, struct mt76x02_dev, in mt76x02_poll_tx() local 175 int mt76x02_dma_init(struct mt76x02_dev *dev) in mt76x02_dma_init() 252 struct mt76x02_dev *dev; in mt76x02_rx_poll_complete() local [all …]
|
H A D | mt792x_dma.c | 16 struct mt792x_dev *dev = dev_instance; in mt792x_irq_handler() local 33 struct mt792x_dev *dev = (struct mt792x_dev *)data; in mt792x_irq_tasklet() local 81 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt792x_rx_poll_complete() local 94 static void mt792x_dma_prefetch(struct mt792x_dev *dev) in mt792x_dma_prefetch() 129 int mt792x_dma_enable(struct mt792x_dev *dev) in mt792x_dma_enable() 177 mt792x_dma_reset(struct mt792x_dev *dev, bool force) in mt792x_dma_reset() 200 int mt792x_wpdma_reset(struct mt792x_dev *dev, bool force) in mt792x_wpdma_reset() 230 int mt792x_wpdma_reinit_cond(struct mt792x_dev *dev) in mt792x_wpdma_reinit_cond() 256 int mt792x_dma_disable(struct mt792x_dev *dev, bool force) in mt792x_dma_disable() 291 void mt792x_dma_cleanup(struct mt792x_dev *dev) in mt792x_dma_cleanup() [all …]
|
H A D | usb.c | 18 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/ata/ |
H A D | ata-pci.c | 63 ata_pci_probe(device_t dev) in ata_pci_probe() 83 ata_pci_attach(device_t dev) in ata_pci_attach() 137 ata_pci_detach(device_t dev) in ata_pci_detach() 166 ata_pci_suspend(device_t dev) in ata_pci_suspend() 178 ata_pci_resume(device_t dev) in ata_pci_resume() 190 ata_pci_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) in ata_pci_read_ivar() 197 ata_pci_write_ivar(device_t dev, device_t child, int which, uintptr_t value) in ata_pci_write_ivar() 204 ata_pci_read_config(device_t dev, device_t child, int reg, int width) in ata_pci_read_config() 211 ata_pci_write_config(device_t dev, device_t child, int reg, in ata_pci_write_config() 219 ata_pci_alloc_resource(device_t dev, device_t child, int type, int *rid, in ata_pci_alloc_resource() [all …]
|
/freebsd/sys/dev/pci/ |
H A D | hostb_pci.c | 44 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 D | vga_pci.c | 80 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/agp/ |
H A D | agp.c | 91 agp_find_caps(device_t dev) in agp_find_caps() 107 device_t bus, dev = 0; in agp_find_display() local 134 agp_alloc_gatt(device_t dev) in agp_alloc_gatt() 195 agp_set_aperture_resource(device_t dev, int rid) in agp_set_aperture_resource() 203 agp_generic_attach(device_t dev) in agp_generic_attach() 279 agp_free_cdev(device_t dev) in agp_free_cdev() 289 agp_free_res(device_t dev) in agp_free_res() 300 agp_generic_detach(device_t dev) in agp_generic_detach() 313 agp_generic_get_aperture(device_t dev) in agp_generic_get_aperture() 325 agp_generic_set_aperture(device_t dev, u_int32_t aperture) in agp_generic_set_aperture() [all …]
|
H A D | agp_i810.c | 649 agp_i810_match(device_t dev) in agp_i810_match() 673 agp_i810_find_bridge(device_t dev) in agp_i810_find_bridge() 722 agp_82852_set_desc(device_t dev, const struct agp_i810_match *match) in agp_82852_set_desc() 750 agp_i810_set_desc(device_t dev, const struct agp_i810_match *match) in agp_i810_set_desc() 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() [all …]
|
/freebsd/sys/dev/bhnd/cores/pmu/ |
H A D | bhnd_pmu.h | 59 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/mt7915/ |
H A D | soc.c | 42 mt76_wmac_spi_read(struct mt7915_dev *dev, u8 adie, u32 addr, u32 *val) in mt76_wmac_spi_read() 69 mt76_wmac_spi_write(struct mt7915_dev *dev, u8 adie, u32 addr, u32 val) in mt76_wmac_spi_write() 90 mt76_wmac_spi_rmw(struct mt7915_dev *dev, u8 adie, in mt76_wmac_spi_rmw() 106 mt7986_wmac_adie_efuse_read(struct mt7915_dev *dev, u8 adie, in mt7986_wmac_adie_efuse_read() 148 static inline void mt76_wmac_spi_lock(struct mt7915_dev *dev) in mt76_wmac_spi_lock() 158 static inline void mt76_wmac_spi_unlock(struct mt7915_dev *dev) in mt76_wmac_spi_unlock() 171 static u8 mt798x_wmac_check_adie_type(struct mt7915_dev *dev) in mt798x_wmac_check_adie_type() 184 static int mt7986_wmac_consys_reset(struct mt7915_dev *dev, bool enable) in mt7986_wmac_consys_reset() 196 static int mt7986_wmac_gpio_setup(struct mt7915_dev *dev) in mt7986_wmac_gpio_setup() 232 static int mt7986_wmac_consys_lockup(struct mt7915_dev *dev, bool enable) in mt7986_wmac_consys_lockup() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/ |
H A D | pci_init.c | 13 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 D | mlx5_health.c | 68 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/dev/drm2/ |
H A D | drm_agpsupport.c | 51 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 D | drm_pci.c | 67 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 D | drm_gem.c | 69 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 D | drm_context.c | 60 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 D | iicbb.c | 134 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/contrib/dev/mediatek/mt76/mt7615/ |
H A D | debugfs.c | 8 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 …]
|