| /freebsd/sys/dev/drm2/ |
| H A D | drm_crtc.c | 221 static int drm_mode_object_get(struct drm_device *dev, in drm_mode_object_get() 246 static void drm_mode_object_put(struct drm_device *dev, in drm_mode_object_put() 253 struct drm_mode_object *drm_mode_object_find(struct drm_device *dev, in drm_mode_object_find() 279 int drm_framebuffer_init(struct drm_device *dev, struct drm_framebuffer *fb, in drm_framebuffer_init() 312 struct drm_device *dev = fb->dev; in drm_framebuffer_unreference() local 343 struct drm_device *dev = fb->dev; in drm_framebuffer_cleanup() local 369 struct drm_device *dev = fb->dev; in drm_framebuffer_remove() local 420 int drm_crtc_init(struct drm_device *dev, struct drm_crtc *crtc, in drm_crtc_init() 459 struct drm_device *dev = crtc->dev; in drm_crtc_cleanup() local 521 int drm_connector_init(struct drm_device *dev, in drm_connector_init() [all …]
|
| H A D | drm_ioctl.c | 51 int drm_getunique(struct drm_device *dev, void *data, in drm_getunique() 67 drm_unset_busid(struct drm_device *dev, in drm_unset_busid() 91 int drm_setunique(struct drm_device *dev, void *data, in drm_setunique() 118 static int drm_set_busid(struct drm_device *dev, struct drm_file *file_priv) in drm_set_busid() 148 int drm_getmap(struct drm_device *dev, void *data, in drm_getmap() 199 int drm_getclient(struct drm_device *dev, void *data, in drm_getclient() 238 int drm_getstats(struct drm_device *dev, void *data, in drm_getstats() 263 int drm_getcap(struct drm_device *dev, void *data, struct drm_file *file_priv) in drm_getcap() 306 int drm_setversion(struct drm_device *dev, void *data, struct drm_file *file_priv) in drm_setversion() 353 int drm_noop(struct drm_device *dev, void *data, in drm_noop()
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7925/ |
| H A D | debugfs.c | 10 struct mt792x_dev *dev = data; in mt7925_reg_set() local 23 struct mt792x_dev *dev = data; in mt7925_reg_get() local 41 struct mt792x_dev *dev = data; in mt7925_fw_debug_set() local 56 struct mt792x_dev *dev = data; in mt7925_fw_debug_get() local 120 struct mt792x_dev *dev = dev_get_drvdata(s->private); in mt7925_txpwr() local 184 struct mt792x_dev *dev = data; in mt7925_pm_set() local 217 struct mt792x_dev *dev = data; in mt7925_pm_get() local 229 struct mt792x_dev *dev = data; in mt7925_deep_sleep_set() local 253 struct mt792x_dev *dev = data; in mt7925_deep_sleep_get() local 268 struct mt792x_dev *dev = data; in mt7925_chip_reset() local [all …]
|
| H A D | init.c | 14 static ssize_t mt7925_thermal_temp_show(struct device *dev, in mt7925_thermal_temp_show() 65 void mt7925_regd_be_ctrl(struct mt792x_dev *dev, u8 *alpha2) in mt7925_regd_be_ctrl() 111 mt7925_regd_channel_update(struct wiphy *wiphy, struct mt792x_dev *dev) in mt7925_regd_channel_update() 158 void mt7925_regd_update(struct mt792x_dev *dev) in mt7925_regd_update() 180 struct mt792x_dev *dev = mt792x_hw_dev(hw); in mt7925_regd_notifier() local 210 static void mt7925_mac_init_basic_rates(struct mt792x_dev *dev) in mt7925_mac_init_basic_rates() 224 int mt7925_mac_init(struct mt792x_dev *dev) in mt7925_mac_init() 246 static int __mt7925_init_hardware(struct mt792x_dev *dev) in __mt7925_init_hardware() 268 static int mt7925_init_hardware(struct mt792x_dev *dev) in mt7925_init_hardware() 292 struct mt792x_dev *dev = container_of(work, struct mt792x_dev, in mt7925_init_work() local [all …]
|
| /freebsd/sys/dev/amdsmu/ |
| H A D | amdsmu.c | 21 amdsmu_match(device_t dev, const struct amdsmu_product **product_out) in amdsmu_match() 52 amdsmu_probe(device_t dev) in amdsmu_probe() 64 amdsmu_wait_res(device_t dev) in amdsmu_wait_res() 85 amdsmu_cmd(device_t dev, enum amdsmu_msg msg, uint32_t arg, uint32_t *ret) in amdsmu_cmd() 125 amdsmu_get_vers(device_t dev) in amdsmu_get_vers() 147 amdsmu_get_ip_blocks(device_t dev) in amdsmu_get_ip_blocks() 237 amdsmu_init_metrics(device_t dev) in amdsmu_init_metrics() 268 amdsmu_dump_metrics(device_t dev) in amdsmu_dump_metrics() 285 amdsmu_fetch_idlemask(device_t dev) in amdsmu_fetch_idlemask() 293 amdsmu_attach(device_t dev) in amdsmu_attach() [all …]
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7603/ |
| H A D | init.c | 25 mt7603_set_tmac_template(struct mt7603_dev *dev) in mt7603_set_tmac_template() 41 mt7603_dma_sched_init(struct mt7603_dev *dev) in mt7603_dma_sched_init() 115 mt7603_phy_init(struct mt7603_dev *dev) in mt7603_phy_init() 134 mt7603_mac_init(struct mt7603_dev *dev) in mt7603_mac_init() 278 mt7603_init_hardware(struct mt7603_dev *dev) in mt7603_init_hardware() 344 struct mt7603_dev *dev = container_of(mphy->dev, struct mt7603_dev, in mt7603_led_set_config() local 392 static u32 __mt7603_reg_addr(struct mt7603_dev *dev, u32 addr) in __mt7603_reg_addr() 402 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_rr() local 410 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_wr() local 418 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_rmw() local [all …]
|
| /freebsd/sys/dev/iicbus/ |
| H A D | iicbus.c | 57 iicbus_probe(device_t dev) in iicbus_probe() 68 iic_probe_device(device_t dev, u_char addr) in iic_probe_device() 94 iicbus_attach_common(device_t dev, u_int bus_freq) in iicbus_attach_common() 135 iicbus_attach(device_t dev) in iicbus_attach() 142 iicbus_detach(device_t dev) in iicbus_detach() 155 iicbus_print_child(device_t dev, device_t child) in iicbus_print_child() 224 iicbus_add_child_common(device_t dev, u_int order, const char *name, int unit, in iicbus_add_child_common() 244 iicbus_add_child(device_t dev, u_int order, const char *name, int unit) in iicbus_add_child() 252 iicbus_child_deleted(device_t dev, device_t child) in iicbus_child_deleted() 290 iicbus_generic_intr(device_t dev, int event, char *buf) in iicbus_generic_intr() [all …]
|
| H A D | iicsmb.c | 142 iicsmb_probe(device_t dev) in iicsmb_probe() 149 iicsmb_attach(device_t dev) in iicsmb_attach() 164 iicsmb_detach(device_t dev) in iicsmb_detach() 180 iicsmb_intr(device_t dev, int event, char *buf) in iicsmb_intr() 249 iicsmb_callback(device_t dev, int index, void *data) in iicsmb_callback() 305 #define TRANSFER_MSGS(dev, msgs) iicbus_transfer(dev, msgs, nitems(msgs)) argument 308 iicsmb_quick(device_t dev, u_char slave, int how) in iicsmb_quick() 328 iicsmb_sendb(device_t dev, u_char slave, char byte) in iicsmb_sendb() 340 iicsmb_recvb(device_t dev, u_char slave, char *byte) in iicsmb_recvb() 352 iicsmb_writeb(device_t dev, u_char slave, char cmd, char byte) in iicsmb_writeb() [all …]
|
| /freebsd/sys/riscv/starfive/ |
| H A D | jh7110_gpio.c | 53 device_t dev; member 81 jh7110_gpio_get_bus(device_t dev) in jh7110_gpio_get_bus() 91 jh7110_gpio_pin_max(device_t dev, int *maxpin) in jh7110_gpio_pin_max() 99 jh7110_gpio_pin_get(device_t dev, uint32_t pin, unsigned int *val) in jh7110_gpio_pin_get() 123 jh7110_gpio_pin_set(device_t dev, uint32_t pin, unsigned int value) in jh7110_gpio_pin_set() 145 jh7110_gpio_pin_toggle(device_t dev, uint32_t pin) in jh7110_gpio_pin_toggle() 170 jh7110_gpio_pin_getcaps(device_t dev, uint32_t pin, uint32_t *caps) in jh7110_gpio_pin_getcaps() 181 jh7110_gpio_pin_getname(device_t dev, uint32_t pin, char *name) in jh7110_gpio_pin_getname() 192 jh7110_gpio_pin_getflags(device_t dev, uint32_t pin, uint32_t *flags) in jh7110_gpio_pin_getflags() 215 jh7110_gpio_pin_setflags(device_t dev, uint32_t pin, uint32_t flags) in jh7110_gpio_pin_setflags() [all …]
|
| /freebsd/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_fs_counters.c | 105 static struct list_head *mlx5_fc_counters_lookup_next(struct mlx5_core_dev *dev, in mlx5_fc_counters_lookup_next() argument 122 static void mlx5_fc_stats_insert(struct mlx5_core_dev *dev, in mlx5_fc_stats_insert() argument 130 mlx5_fc_stats_remove(struct mlx5_core_dev * dev,struct mlx5_fc * counter) mlx5_fc_stats_remove() argument 142 get_init_bulk_query_len(struct mlx5_core_dev * dev) get_init_bulk_query_len() argument 148 get_max_bulk_query_len(struct mlx5_core_dev * dev) get_max_bulk_query_len() argument 170 mlx5_fc_stats_query_counter_range(struct mlx5_core_dev * dev,struct mlx5_fc * first,u32 last_id) mlx5_fc_stats_query_counter_range() argument 213 mlx5_fc_free(struct mlx5_core_dev * dev,struct mlx5_fc * counter) mlx5_fc_free() argument 219 mlx5_fc_release(struct mlx5_core_dev * dev,struct mlx5_fc * counter) mlx5_fc_release() argument 229 mlx5_fc_stats_bulk_query_size_increase(struct mlx5_core_dev * dev) mlx5_fc_stats_bulk_query_size_increase() argument 266 struct mlx5_core_dev *dev = container_of(work, struct mlx5_core_dev, mlx5_fc_stats_work() local 310 mlx5_fc_single_alloc(struct mlx5_core_dev * dev) mlx5_fc_single_alloc() argument 328 mlx5_fc_acquire(struct mlx5_core_dev * dev,bool aging) mlx5_fc_acquire() argument 342 mlx5_fc_create_ex(struct mlx5_core_dev * dev,bool aging) mlx5_fc_create_ex() argument 382 mlx5_fc_create(struct mlx5_core_dev * dev,bool aging) mlx5_fc_create() argument 399 mlx5_fc_destroy(struct mlx5_core_dev * dev,struct mlx5_fc * counter) mlx5_fc_destroy() argument 416 mlx5_init_fc_stats(struct mlx5_core_dev * dev) mlx5_init_fc_stats() argument 450 mlx5_cleanup_fc_stats(struct mlx5_core_dev * dev) mlx5_cleanup_fc_stats() argument 476 mlx5_fc_query(struct mlx5_core_dev * dev,struct mlx5_fc * counter,u64 * packets,u64 * bytes) mlx5_fc_query() argument 503 mlx5_fc_queue_stats_work(struct mlx5_core_dev * dev,struct delayed_work * dwork,unsigned long delay) mlx5_fc_queue_stats_work() argument 512 mlx5_fc_update_sampling_interval(struct mlx5_core_dev * dev,unsigned long interval) mlx5_fc_update_sampling_interval() argument 543 mlx5_fc_bulk_create(struct mlx5_core_dev * dev) mlx5_fc_bulk_create() argument 586 mlx5_fc_bulk_destroy(struct mlx5_core_dev * dev,struct mlx5_fc_bulk * bulk) mlx5_fc_bulk_destroy() argument 624 mlx5_fc_pool_init(struct mlx5_fc_pool * fc_pool,struct mlx5_core_dev * dev) mlx5_fc_pool_init() argument 638 struct mlx5_core_dev *dev = fc_pool->dev; mlx5_fc_pool_cleanup() local 659 struct mlx5_core_dev *dev = fc_pool->dev; mlx5_fc_pool_alloc_new_bulk() local 672 struct mlx5_core_dev *dev = fc_pool->dev; mlx5_fc_pool_free_bulk() local 731 struct mlx5_core_dev *dev = fc_pool->dev; mlx5_fc_pool_release_counter() local [all...] |
| /freebsd/sys/contrib/dev/mediatek/mt76/ |
| H A D | mt76x02_beacon.c | 10 static void mt76x02_set_beacon_offsets(struct mt76x02_dev *dev) in mt76x02_set_beacon_offsets() 26 mt76x02_write_beacon(struct mt76x02_dev *dev, int offset, struct sk_buff *skb) in mt76x02_write_beacon() 54 void mt76x02_mac_set_beacon(struct mt76x02_dev *dev, in mt76x02_mac_set_beacon() 69 void mt76x02_mac_set_beacon_enable(struct mt76x02_dev *dev, in mt76x02_mac_set_beacon_enable() 107 mt76x02_resync_beacon_timer(struct mt76x02_dev *dev) in mt76x02_resync_beacon_timer() 140 struct mt76x02_dev *dev = data->dev; in mt76x02_update_beacon_iter() local 159 struct mt76x02_dev *dev = data->dev; in mt76x02_add_buffered_bc() local 180 mt76x02_enqueue_buffered_bc(struct mt76x02_dev *dev, in mt76x02_enqueue_buffered_bc() 205 void mt76x02_init_beacon_config(struct mt76x02_dev *dev) in mt76x02_init_beacon_config()
|
| /freebsd/sys/dev/mthca/ |
| H A D | mthca_memfree.c | 63 static void mthca_free_icm_pages(struct mthca_dev *dev, struct mthca_icm_chunk *chunk) in mthca_free_icm_pages() 76 static void mthca_free_icm_coherent(struct mthca_dev *dev, struct mthca_icm_chunk *chunk) in mthca_free_icm_coherent() 87 void mthca_free_icm(struct mthca_dev *dev, struct mthca_icm *icm, int coherent) in mthca_free_icm() 122 static int mthca_alloc_icm_coherent(struct device *dev, struct scatterlist *mem, in mthca_alloc_icm_coherent() 136 struct mthca_icm *mthca_alloc_icm(struct mthca_dev *dev, int npages, in mthca_alloc_icm() 221 int mthca_table_get(struct mthca_dev *dev, struct mthca_icm_table *table, int obj) in mthca_table_get() 256 void mthca_table_put(struct mthca_dev *dev, struct mthca_icm_table *table, int obj) in mthca_table_put() 320 int mthca_table_get_range(struct mthca_dev *dev, struct mthca_icm_table *table, in mthca_table_get_range() 343 void mthca_table_put_range(struct mthca_dev *dev, struct mthca_icm_table *table, in mthca_table_put_range() 355 struct mthca_icm_table *mthca_alloc_icm_table(struct mthca_dev *dev, in mthca_alloc_icm_table() [all …]
|
| /freebsd/sys/dev/dpaa2/ |
| H A D | memac_mdio_fdt.c | 65 memacphy_fdt_miibus_statchg(device_t dev) in memacphy_fdt_miibus_statchg() 74 memacphy_fdt_set_ni_dev(device_t dev, device_t nidev) in memacphy_fdt_set_ni_dev() 83 memacphy_fdt_get_phy_loc(device_t dev, int *phy_loc) in memacphy_fdt_get_phy_loc() 92 memacphy_fdt_probe(device_t dev) in memacphy_fdt_probe() 103 memacphy_fdt_attach(device_t dev) in memacphy_fdt_attach() 173 memac_fdt_miibus_readreg(device_t dev, int phy, int reg) in memac_fdt_miibus_readreg() 182 memac_fdt_miibus_writereg(device_t dev, int phy, int reg, int data) in memac_fdt_miibus_writereg() 196 memac_mdio_fdt_probe(device_t dev) in memac_mdio_fdt_probe() 227 memac_mdio_fdt_attach(device_t dev) in memac_mdio_fdt_attach() 256 memac_mdio_fdt_detach(device_t dev) in memac_mdio_fdt_detach()
|
| /freebsd/sys/dev/iicbus/gpio/ |
| H A D | pcf8574.c | 66 #define dbg_dev_printf(dev, fmt, args...) \ argument 70 device_t dev; member 117 pcf8574_probe(device_t dev) in pcf8574_probe() 129 pcf8574_attach(device_t dev) in pcf8574_attach() 156 pcf8574_detach(device_t dev) in pcf8574_detach() 168 pcf8574_get_bus(device_t dev) in pcf8574_get_bus() 184 pcf8574_pin_getcaps(device_t dev, uint32_t pin, uint32_t *caps) in pcf8574_pin_getcaps() 194 pcf8574_pin_getflags(device_t dev, uint32_t pin, uint32_t *pflags) in pcf8574_pin_getflags() 233 pcf8574_pin_setflags(device_t dev, uint32_t pin, uint32_t flags) in pcf8574_pin_setflags() 273 pcf8574_pin_getname(device_t dev, uint32_t pin, char *name) in pcf8574_pin_getname() [all …]
|
| /freebsd/usr.sbin/bhyve/ |
| H A D | acpi_device.c | 59 struct acpi_device *const dev = calloc(1, sizeof(*dev)); in acpi_device_create() local 81 acpi_device_destroy(struct acpi_device *const dev) in acpi_device_destroy() 98 acpi_device_add_res_fixed_ioport(struct acpi_device *const dev, in acpi_device_add_res_fixed_ioport() 120 acpi_device_add_res_fixed_memory32(struct acpi_device *const dev, in acpi_device_add_res_fixed_memory32() 143 acpi_device_get_softc(const struct acpi_device *const dev) in acpi_device_get_softc() 151 acpi_device_build_table(const struct acpi_device *const dev) in acpi_device_build_table() 164 acpi_device_write_dsdt_crs(const struct acpi_device *const dev) in acpi_device_write_dsdt_crs() 187 acpi_device_write_dsdt(const struct acpi_device *const dev) in acpi_device_write_dsdt()
|
| /freebsd/sys/dev/pci/ |
| H A D | pci_host_generic.c | 80 pci_host_generic_core_attach(device_t dev) in pci_host_generic_core_attach() 251 pci_host_generic_core_detach(device_t dev) in pci_host_generic_core_detach() 297 generic_pcie_read_config(device_t dev, u_int bus, u_int slot, in generic_pcie_read_config() 333 generic_pcie_write_config(device_t dev, u_int bus, u_int slot, in generic_pcie_write_config() 364 generic_pcie_maxslots(device_t dev) in generic_pcie_maxslots() 371 generic_pcie_read_ivar(device_t dev, device_t child, int index, in generic_pcie_read_ivar() 392 generic_pcie_write_ivar(device_t dev, device_t child, int index, in generic_pcie_write_ivar() 400 generic_pcie_get_rman(device_t dev, int type, u_int flags) in generic_pcie_get_rman() 419 pci_host_generic_core_release_resource(device_t dev, device_t child, in pci_host_generic_core_release_resource() 437 generic_pcie_containing_range(device_t dev, int type, rman_res_t start, in generic_pcie_containing_range() [all …]
|
| /freebsd/sys/powerpc/powerpc/ |
| H A D | openpic.c | 73 openpic_common_attach(device_t dev, uint32_t node) in openpic_common_attach() 229 openpic_bind(device_t dev, u_int irq, cpuset_t cpumask, void **priv __unused) in openpic_bind() 264 openpic_config(device_t dev, u_int irq, enum intr_trigger trig, in openpic_config() 284 openpic_dispatch(device_t dev, struct trapframe *tf) in openpic_dispatch() 306 device_t dev = (device_t)(arg); in openpic_intr() local 315 openpic_enable(device_t dev, u_int irq, u_int vector, void **priv __unused) in openpic_enable() 335 openpic_eoi(device_t dev, u_int irq __unused, void *priv __unused) in openpic_eoi() 347 openpic_ipi(device_t dev, u_int cpu) in openpic_ipi() 361 openpic_mask(device_t dev, u_int irq, void *priv __unused) in openpic_mask() 379 openpic_unmask(device_t dev, u_int irq, void *priv __unused) in openpic_unmask() [all …]
|
| /freebsd/stand/kshim/ |
| H A D | bsd_kernel.c | 120 bus_alloc_resource_any(device_t dev, int type, int *rid, unsigned int flags) in bus_alloc_resource_any() 146 bus_alloc_resources(device_t dev, struct resource_spec *rs, in bus_alloc_resources() 165 bus_release_resources(device_t dev, const struct resource_spec *rs, in bus_release_resources() 179 bus_setup_intr(device_t dev, struct resource *r, int flags, in bus_setup_intr() 191 bus_teardown_intr(device_t dev, struct resource *r, void *cookie) in bus_teardown_intr() 202 bus_release_resource(device_t dev, int type, int rid, struct resource *r) in bus_release_resource() 209 bus_attach_children(device_t dev) in bus_attach_children() 240 ofw_bus_status_okay(device_t dev) in ofw_bus_status_okay() 249 ofw_bus_is_compatible(device_t dev, char *name) in ofw_bus_is_compatible() 561 bus_generic_resume(device_t dev) in bus_generic_resume() [all …]
|
| /freebsd/sys/dev/mdio/ |
| H A D | mdio.c | 45 mdio_probe(device_t dev) in mdio_probe() 54 mdio_attach(device_t dev) in mdio_attach() 64 mdio_readreg(device_t dev, int phy, int reg) in mdio_readreg() 71 mdio_writereg(device_t dev, int phy, int reg, int val) in mdio_writereg() 78 mdio_readextreg(device_t dev, int phy, int devad, int reg) in mdio_readextreg() 85 mdio_writeextreg(device_t dev, int phy, int devad, int reg, in mdio_writeextreg() 93 mdio_hinted_child(device_t dev, const char *name, int unit) in mdio_hinted_child()
|
| /freebsd/sys/arm64/coresight/ |
| H A D | coresight_tmc.c | 59 tmc_start(device_t dev) in tmc_start() 85 tmc_stop(device_t dev) in tmc_stop() 104 tmc_configure_etf(device_t dev) in tmc_configure_etf() 134 tmc_configure_etr(device_t dev, struct endpoint *endp, in tmc_configure_etr() 185 tmc_init(device_t dev) in tmc_init() 222 tmc_enable(device_t dev, struct endpoint *endp, in tmc_enable() 256 tmc_disable(device_t dev, struct endpoint *endp, in tmc_disable() 281 tmc_read(device_t dev, struct endpoint *endp, in tmc_read() 313 tmc_attach(device_t dev) in tmc_attach()
|
| /freebsd/sys/compat/linuxkpi/common/src/ |
| H A D | linux_interrupt.c | 41 struct device *dev; member 51 lkpi_irq_rid(struct device *dev, unsigned int irq) in lkpi_irq_rid() 61 lkpi_irq_ent(struct device *dev, unsigned int irq) in lkpi_irq_ent() 90 lkpi_irq_release(struct device *dev, struct irq_ent *irqe) in lkpi_irq_release() 101 lkpi_devm_irq_release(struct device *dev, void *p) in lkpi_devm_irq_release() 119 struct device *dev; in lkpi_request_irq() local 171 struct device *dev; in lkpi_enable_irq() local 187 struct device *dev; in lkpi_disable_irq() local 204 struct device *dev; in lkpi_bind_irq_to_cpu() local 221 struct device *dev; in lkpi_free_irq() local [all …]
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7921/ |
| H A D | pci.c | 40 static int mt7921e_init_reset(struct mt792x_dev *dev) in mt7921e_init_reset() 45 static void mt7921e_unregister_device(struct mt792x_dev *dev) in mt7921e_unregister_device() 71 static u32 __mt7921_reg_addr(struct mt792x_dev *dev, u32 addr) in __mt7921_reg_addr() 150 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_rr() local 158 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_wr() local 166 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_rmw() local 172 static int mt7921_dma_init(struct mt792x_dev *dev) in mt7921_dma_init() 281 struct mt792x_dev *dev; in mt7921_pci_probe() local 410 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_pci_remove() local 429 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7921_pci_suspend() local [all …]
|
| /freebsd/sys/dev/vmd/ |
| H A D | vmd.c | 119 vmd_probe(device_t dev) in vmd_probe() 174 vmd_read_config(device_t dev, u_int b, u_int s, u_int f, u_int reg, int width) in vmd_read_config() 199 vmd_write_config(device_t dev, u_int b, u_int s, u_int f, u_int reg, in vmd_write_config() 224 vmd_set_msi_bypass(device_t dev, bool enable) in vmd_set_msi_bypass() 247 vmd_attach(device_t dev) in vmd_attach() 396 vmd_detach(device_t dev) in vmd_detach() 411 vmd_get_dma_tag(device_t dev, device_t child) in vmd_get_dma_tag() 419 vmd_get_rman(device_t dev, int type, u_int flags) in vmd_get_rman() 435 vmd_alloc_resource(device_t dev, device_t child, int type, int *rid, in vmd_alloc_resource() 469 vmd_adjust_resource(device_t dev, device_t child, in vmd_adjust_resource() [all …]
|
| /freebsd/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_cmd.c | 188 static int mlx4_internal_err_ret_value(struct mlx4_dev *dev, u16 op, in mlx4_internal_err_ret_value() 240 static int mlx4_cmd_reset_flow(struct mlx4_dev *dev, u16 op, u8 op_modifier, in mlx4_cmd_reset_flow() 254 static int comm_pending(struct mlx4_dev *dev) in comm_pending() 262 static int mlx4_comm_cmd_post(struct mlx4_dev *dev, u8 cmd, u16 param) in mlx4_comm_cmd_post() 288 static int mlx4_comm_cmd_poll(struct mlx4_dev *dev, u8 cmd, u16 param, in mlx4_comm_cmd_poll() 338 static int mlx4_comm_cmd_wait(struct mlx4_dev *dev, u8 vhcr_cmd, in mlx4_comm_cmd_wait() 407 int mlx4_comm_cmd(struct mlx4_dev *dev, u8 cmd, u16 param, in mlx4_comm_cmd() 418 static int cmd_pending(struct mlx4_dev *dev) in cmd_pending() 432 static int mlx4_cmd_post(struct mlx4_dev *dev, u64 in_param, u64 out_param, in mlx4_cmd_post() 517 static int mlx4_slave_cmd(struct mlx4_dev *dev, u64 in_param, u64 *out_param, in mlx4_slave_cmd() [all …]
|
| /freebsd/sys/dev/xen/xenpci/ |
| H A D | xenpci.c | 85 xenpci_deallocate_resources(device_t dev) in xenpci_deallocate_resources() 104 xenpci_allocate_resources(device_t dev) in xenpci_allocate_resources() 127 xenpci_probe(device_t dev) in xenpci_probe() 142 xenpci_attach(device_t dev) in xenpci_attach() 178 xenpci_detach(device_t dev) in xenpci_detach() 203 xenpci_resume(device_t dev) in xenpci_resume()
|