Home
last modified time | relevance | path

Searched defs:dev (Results 151 – 175 of 2766) sorted by relevance

12345678910>>...111

/freebsd/sys/dev/gpio/
H A Dgpioiic.c52 device_t dev; member
70 gpioiic_get_node(device_t bus, device_t dev) in gpioiic_get_node()
189 gpioiic_setsda(device_t dev, int val) in gpioiic_setsda()
203 gpioiic_setscl(device_t dev, int val) in gpioiic_setscl()
217 gpioiic_getscl(device_t dev) in gpioiic_getscl()
228 gpioiic_getsda(device_t dev) in gpioiic_getsda()
239 gpioiic_reset(device_t dev, u_char speed, u_char addr, u_char *oldaddr) in gpioiic_reset()
265 gpioiic_probe(device_t dev) in gpioiic_probe()
288 gpioiic_attach(device_t dev) in gpioiic_attach()
328 gpioiic_detach(device_t dev) in gpioiic_detach()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Deeprom.c8 static int mt7915_eeprom_load_precal(struct mt7915_dev *dev) in mt7915_eeprom_load_precal()
31 static int mt7915_check_eeprom(struct mt7915_dev *dev) in mt7915_check_eeprom()
51 static char *mt7915_eeprom_name(struct mt7915_dev *dev) in mt7915_eeprom_name()
82 mt7915_eeprom_load_default(struct mt7915_dev *dev) in mt7915_eeprom_load_default()
107 static int mt7915_eeprom_load(struct mt7915_dev *dev) in mt7915_eeprom_load()
145 struct mt7915_dev *dev = phy->dev; in mt7915_eeprom_parse_band_config() local
187 void mt7915_eeprom_parse_hw_cap(struct mt7915_dev *dev, in mt7915_eeprom_parse_hw_cap()
239 int mt7915_eeprom_init(struct mt7915_dev *dev) in mt7915_eeprom_init()
271 int mt7915_eeprom_get_target_power(struct mt7915_dev *dev, in mt7915_eeprom_get_target_power()
319 s8 mt7915_eeprom_get_power_delta(struct mt7915_dev *dev, int band) in mt7915_eeprom_get_power_delta()
/freebsd/sys/dev/qcom_tlmm/
H A Dqcom_tlmm_pin.c121 qcom_tlmm_get_bus(device_t dev) in qcom_tlmm_get_bus()
131 qcom_tlmm_pin_max(device_t dev, int *maxpin) in qcom_tlmm_pin_max()
140 qcom_tlmm_pin_getcaps(device_t dev, uint32_t pin, uint32_t *caps) in qcom_tlmm_pin_getcaps()
157 qcom_tlmm_pin_getflags(device_t dev, uint32_t pin, uint32_t *flags) in qcom_tlmm_pin_getflags()
211 qcom_tlmm_pin_getname(device_t dev, uint32_t pin, char *name) in qcom_tlmm_pin_getname()
228 qcom_tlmm_pin_setflags(device_t dev, uint32_t pin, uint32_t flags) in qcom_tlmm_pin_setflags()
245 qcom_tlmm_pin_set(device_t dev, uint32_t pin, unsigned int value) in qcom_tlmm_pin_set()
261 qcom_tlmm_pin_get(device_t dev, uint32_t pin, unsigned int *val) in qcom_tlmm_pin_get()
277 qcom_tlmm_pin_toggle(device_t dev, uint32_t pin) in qcom_tlmm_pin_toggle()
313 qcom_tlmm_pin_get_node(device_t dev, device_t bus) in qcom_tlmm_pin_get_node()
/freebsd/sys/riscv/riscv/
H A Dintc.c70 device_t dev; member
77 intc_ofw_find(device_t dev, uint32_t hartid) in intc_ofw_find()
127 device_t dev; in intc_identify() local
143 intc_probe(device_t dev) in intc_probe()
151 intc_attach(device_t dev) in intc_attach()
188 intc_disable_intr(device_t dev, struct intr_irqsrc *isrc) in intc_disable_intr()
200 intc_enable_intr(device_t dev, struct intr_irqsrc *isrc) in intc_enable_intr()
212 intc_map_intr(device_t dev, struct intr_map_data *data, in intc_map_intr()
233 intc_setup_intr(device_t dev, struct intr_irqsrc *isrc, in intc_setup_intr()
244 intc_init_secondary(device_t dev) in intc_init_secondary()
/freebsd/sys/dev/sound/fdt/
H A Ddummy_codec.c53 device_t dev; member
61 dummy_codec_probe(device_t dev) in dummy_codec_probe()
74 dummy_codec_attach(device_t dev) in dummy_codec_attach()
89 dummy_codec_detach(device_t dev) in dummy_codec_detach()
96 dummy_codec_dai_init(device_t dev, uint32_t format) in dummy_codec_dai_init()
/freebsd/sys/dev/vmd/
H A Dvmd.c119 vmd_probe(device_t dev) in vmd_probe()
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()
414 vmd_get_dma_tag(device_t dev, device_t child) in vmd_get_dma_tag()
422 vmd_get_rman(device_t dev, int type, u_int flags) in vmd_get_rman()
472 vmd_adjust_resource(device_t dev, device_t child, in vmd_adjust_resource()
522 vmd_map_resource(device_t dev, device_t child, struct resource *r, in vmd_map_resource()
562 vmd_route_interrupt(device_t dev, device_t child, int pin) in vmd_route_interrupt()
630 vmd_alloc_msix(device_t dev, device_t child, int *irq) in vmd_alloc_msix()
[all …]
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Ddevice.h204 #define dev_WARN(dev, fmt, ...) \ argument
234 #define dev_err_once(dev, ...) do { \ argument
318 get_device(struct device *dev) in get_device()
328 dev_name(const struct device *dev) in dev_name()
338 put_device(struct device *dev) in put_device()
383 device_initialize(struct device *dev) in device_initialize()
416 device_add(struct device *dev) in device_add()
442 struct device *dev; in device_create_with_groups() local
459 device_register(struct device *dev) in device_register()
515 device_del(struct device *dev) in device_del()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dinit.c14 static ssize_t mt7921_thermal_temp_show(struct device *dev, in mt7921_thermal_temp_show()
71 struct mt792x_dev *dev = mt792x_hw_dev(hw); in mt7921_regd_notifier() local
84 int mt7921_mac_init(struct mt792x_dev *dev) in mt7921_mac_init()
104 static int __mt7921_init_hardware(struct mt792x_dev *dev) in __mt7921_init_hardware()
127 static int mt7921_init_hardware(struct mt792x_dev *dev) in mt7921_init_hardware()
151 struct mt792x_dev *dev = container_of(work, struct mt792x_dev, in mt7921_init_work() local
191 int mt7921_register_device(struct mt792x_dev *dev) in mt7921_register_device()
/freebsd/sys/dev/iicbus/rtc/
H A Dds1672.c63 ds1672_probe(device_t dev) in ds1672_probe()
71 ds1672_read(device_t dev, uint8_t addr, uint8_t *data, uint8_t size) in ds1672_read()
82 ds1672_write(device_t dev, uint8_t addr, uint8_t *data, uint8_t size) in ds1672_write()
98 ds1672_init(device_t dev) in ds1672_init()
120 ds1672_detach(device_t dev) in ds1672_detach()
128 ds1672_attach(device_t dev) in ds1672_attach()
142 ds1672_gettime(device_t dev, struct timespec *ts) in ds1672_gettime()
159 ds1672_settime(device_t dev, struct timespec *ts) in ds1672_settime()
/freebsd/sys/dev/firmware/arm/
H A Dscmi_mailbox.c84 scmi_mailbox_transport_init(device_t dev) in scmi_mailbox_transport_init()
120 scmi_mailbox_transport_cleanup(device_t dev) in scmi_mailbox_transport_cleanup()
130 scmi_mailbox_xfer_msg(device_t dev, struct scmi_msg *msg) in scmi_mailbox_xfer_msg()
149 scmi_mailbox_poll_msg(device_t dev, struct scmi_msg *msg, unsigned int tmo_ms) in scmi_mailbox_poll_msg()
166 scmi_mailbox_collect_reply(device_t dev, struct scmi_msg *msg) in scmi_mailbox_collect_reply()
180 scmi_mailbox_tx_complete(device_t dev, void *chan) in scmi_mailbox_tx_complete()
189 scmi_mailbox_clear_channel(device_t dev, void *chan) in scmi_mailbox_clear_channel()
196 scmi_mailbox_probe(device_t dev) in scmi_mailbox_probe()
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_mpfs.c39 #define MPFS_LOCK(dev) spin_lock(&(dev)->mpfs.spinlock) argument
40 #define MPFS_UNLOCK(dev) spin_unlock(&(dev)->mpfs.spinlock) argument
43 mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u32 *p_index, const u8 *mac, in mlx5_mpfs_add_mac()
88 mlx5_mpfs_del_mac(struct mlx5_core_dev *dev, u32 index) in mlx5_mpfs_del_mac()
113 mlx5_mpfs_init(struct mlx5_core_dev *dev) in mlx5_mpfs_init()
122 mlx5_mpfs_destroy(struct mlx5_core_dev *dev) in mlx5_mpfs_destroy()
H A Dmlx5_cq.c59 void mlx5_cq_completion(struct mlx5_core_dev *dev, struct mlx5_eqe *eqe) in mlx5_cq_completion()
94 void mlx5_cq_event(struct mlx5_core_dev *dev, u32 cqn, int event_type) in mlx5_cq_event()
125 int mlx5_core_create_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, in mlx5_core_create_cq()
165 int mlx5_core_destroy_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq) in mlx5_core_destroy_cq()
192 int mlx5_core_query_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, in mlx5_core_query_cq()
205 int mlx5_core_modify_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, in mlx5_core_modify_cq()
215 int mlx5_core_modify_cq_moderation(struct mlx5_core_dev *dev, in mlx5_core_modify_cq_moderation()
225 int mlx5_core_modify_cq_moderation_mode(struct mlx5_core_dev *dev, in mlx5_core_modify_cq_moderation_mode()
237 mlx5_core_modify_cq_by_mask(struct mlx5_core_dev *dev, in mlx5_core_modify_cq_by_mask()
261 int mlx5_init_cq_table(struct mlx5_core_dev *dev) in mlx5_init_cq_table()
[all …]
/freebsd/sys/dev/imcsmb/
H A Dimcsmb.c81 imcsmb_attach(device_t dev) in imcsmb_attach()
120 imcsmb_detach(device_t dev) in imcsmb_detach()
144 imcsmb_probe(device_t dev) in imcsmb_probe()
168 imcsmb_callback(device_t dev, int index, void *data) in imcsmb_callback()
217 imcsmb_readb(device_t dev, u_char slave, char cmd, char *byte) in imcsmb_readb()
241 imcsmb_readw(device_t dev, u_char slave, char cmd, short *word) in imcsmb_readw()
265 imcsmb_writeb(device_t dev, u_char slave, char cmd, char byte) in imcsmb_writeb()
289 imcsmb_writew(device_t dev, u_char slave, char cmd, short word) in imcsmb_writew()
321 imcsmb_transfer(device_t dev, u_char slave, char cmd, void *data, int word_op, in imcsmb_transfer()
/freebsd/sys/dev/agp/
H A Dagp_via.c65 agp_via_match(device_t dev) in agp_via_match()
143 agp_via_probe(device_t dev) in agp_via_probe()
159 agp_via_attach(device_t dev) in agp_via_attach()
223 agp_via_detach(device_t dev) in agp_via_detach()
239 agp_via_get_aperture(device_t dev) in agp_via_get_aperture()
287 agp_via_set_aperture(device_t dev, u_int32_t aperture) in agp_via_set_aperture()
350 agp_via_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical) in agp_via_bind_page()
362 agp_via_unbind_page(device_t dev, vm_offset_t offset) in agp_via_unbind_page()
374 agp_via_flush_tlb(device_t dev) in agp_via_flush_tlb()
/freebsd/sys/arm64/qoriq/clk/
H A Dls1028a_flexspi_clk.c53 device_t dev; member
101 ls1028a_flexspi_clk_probe(device_t dev) in ls1028a_flexspi_clk_probe()
116 ls1028a_flexspi_clk_attach(device_t dev) in ls1028a_flexspi_clk_attach()
226 ls1028a_flexspi_clk_detach(device_t dev) in ls1028a_flexspi_clk_detach()
234 ls1028a_flexspi_clk_read_4(device_t dev, bus_addr_t addr, uint32_t *val) in ls1028a_flexspi_clk_read_4()
245 ls1028a_flexspi_clk_write_4(device_t dev, bus_addr_t addr, uint32_t val) in ls1028a_flexspi_clk_write_4()
258 ls1028a_flexspi_clk_modify_4(device_t dev, bus_addr_t addr, uint32_t clr, uint32_t set) in ls1028a_flexspi_clk_modify_4()
271 ls1028a_flexspi_clk_device_lock(device_t dev) in ls1028a_flexspi_clk_device_lock()
280 ls1028a_flexspi_clk_device_unlock(device_t dev) in ls1028a_flexspi_clk_device_unlock()
/freebsd/sys/x86/pci/
H A Dqpi.c88 qpi_probe(device_t dev) in qpi_probe()
100 qpi_probe_pcib(device_t dev, int bus) in qpi_probe_pcib()
146 qpi_attach(device_t dev) in qpi_attach()
177 qpi_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) in qpi_read_ivar()
218 qpi_pcib_probe(device_t dev) in qpi_pcib_probe()
226 qpi_pcib_attach(device_t dev) in qpi_pcib_attach()
234 qpi_pcib_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) in qpi_pcib_read_ivar()
251 qpi_pcib_alloc_resource(device_t dev, device_t child, int type, int *rid, in qpi_pcib_alloc_resource()
264 qpi_pcib_map_msi(device_t pcib, device_t dev, int irq, uint64_t *addr, in qpi_pcib_map_msi()
/freebsd/sys/dev/mvs/
H A Dmvs_soc.c75 mvs_probe(device_t dev) in mvs_probe()
101 mvs_attach(device_t dev) in mvs_attach()
182 mvs_detach(device_t dev) in mvs_detach()
205 mvs_ctlr_setup(device_t dev) in mvs_ctlr_setup()
234 mvs_edma(device_t dev, device_t child, int mode) in mvs_edma()
253 mvs_suspend(device_t dev) in mvs_suspend()
264 mvs_resume(device_t dev) in mvs_resume()
272 mvs_setup_interrupt(device_t dev) in mvs_setup_interrupt()
385 mvs_setup_intr(device_t dev, device_t child, struct resource *irq, in mvs_setup_intr()
414 mvs_print_child(device_t dev, device_t child) in mvs_print_child()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmt76x02_util.c208 struct mt76x02_dev *dev = hw->priv; in mt76x02_configure_filter() local
301 struct mt76x02_dev *dev = hw->priv; in mt76x02_add_interface() local
344 struct mt76x02_dev *dev = hw->priv; in mt76x02_remove_interface() local
358 struct mt76x02_dev *dev = hw->priv; in mt76x02_ampdu_action() local
411 struct mt76x02_dev *dev = hw->priv; in mt76x02_set_key() local
492 struct mt76x02_dev *dev = hw->priv; in mt76x02_conf_tx() local
554 struct mt76x02_dev *dev = hw->priv; in mt76x02_set_coverage_class() local
565 struct mt76x02_dev *dev = hw->priv; in mt76x02_set_rts_threshold() local
582 struct mt76x02_dev *dev = hw->priv; in mt76x02_sta_rate_tbl_update() local
612 struct mt76x02_dev *dev = hw->priv; in mt76x02_sw_scan_complete() local
[all …]
/freebsd/sys/dev/iicbus/gpio/
H A Dtca64xx.c81 #define dbg_dev_printf(dev, fmt, args...) \ argument
84 #define dbg_dev_printf(dev, fmt, args...) argument
93 device_t dev; member
207 tca64xx_probe(device_t dev) in tca64xx_probe()
231 tca64xx_attach(device_t dev) in tca64xx_attach()
289 tca64xx_detach(device_t dev) in tca64xx_detach()
304 tca64xx_get_bus(device_t dev) in tca64xx_get_bus()
510 tca64xx_pin_toggle(device_t dev, uint32_t pin) in tca64xx_pin_toggle()
552 tca6416_regdump_setup(device_t dev) in tca6416_regdump_setup()
593 tca6408_regdump_setup(device_t dev) in tca6408_regdump_setup()
[all …]
/freebsd/stand/kshim/
H A Dbsd_kernel.c209 bus_generic_attach(device_t dev) in bus_generic_attach()
242 ofw_bus_status_okay(device_t dev) in ofw_bus_status_okay()
612 device_get_parent(device_t dev) in device_get_parent()
655 device_get_ivars(device_t dev) in device_get_ivars()
661 device_get_unit(device_t dev) in device_get_unit()
765 device_t dev = NULL; in make_device() local
877 device_quiet(device_t dev) in device_quiet()
883 device_get_desc(device_t dev) in device_get_desc()
914 device_get_name(device_t dev) in device_get_name()
1006 device_detach(device_t dev) in device_detach()
[all …]
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_cmd.c254 static int comm_pending(struct mlx4_dev *dev) in comm_pending()
418 static int cmd_pending(struct mlx4_dev *dev) in cmd_pending()
812 int mlx4_ARM_COMM_CHANNEL(struct mlx4_dev *dev) in mlx4_ARM_COMM_CHANNEL()
1853 struct mlx4_dev *dev = &priv->dev; in mlx4_master_immediate_activate_vlan_qos() local
2245 struct mlx4_dev *dev = &priv->dev; in mlx4_master_comm_channel() local
2293 static int sync_toggles(struct mlx4_dev *dev) in sync_toggles()
2338 int mlx4_multi_func_init(struct mlx4_dev *dev) in mlx4_multi_func_init()
2484 int mlx4_cmd_init(struct mlx4_dev *dev) in mlx4_cmd_init()
2617 int mlx4_cmd_use_events(struct mlx4_dev *dev) in mlx4_cmd_use_events()
2838 struct mlx4_dev *dev, in mlx4_phys_to_slaves_pport_actv()
[all …]
/freebsd/sys/powerpc/cpufreq/
H A Ddfs.c39 device_t dev; member
109 dfs_probe(device_t dev) in dfs_probe()
119 dfs_attach(device_t dev) in dfs_attach()
138 dfs_settings(device_t dev, struct cf_setting *sets, int *count) in dfs_settings()
165 dfs_set(device_t dev, const struct cf_setting *set) in dfs_set()
193 dfs_get(device_t dev, struct cf_setting *set) in dfs_get()
218 dfs_type(device_t dev, int *type) in dfs_type()
/freebsd/sys/dev/drm2/
H A Ddrm_platform.c30 static void drm_platform_free_irq(struct drm_device *dev) in drm_platform_free_irq()
42 static const char *drm_platform_get_name(struct drm_device *dev) in drm_platform_get_name()
47 static int drm_platform_set_busid(struct drm_device *dev, struct drm_master *master) in drm_platform_set_busid()
80 static int drm_platform_get_irq(struct drm_device *dev) in drm_platform_get_irq()
116 int drm_get_platform_dev(device_t kdev, struct drm_device *dev, in drm_get_platform_dev()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c82 struct mlx5_ib_dev *dev = to_mdev(device); in mlx5_ib_port_link_layer() local
2534 struct mlx5_ib_dev *dev = in show_fw_pages() local
2543 struct mlx5_ib_dev *dev = in show_reg_pages() local
2552 struct mlx5_ib_dev *dev = in show_hca() local
2560 struct mlx5_ib_dev *dev = in show_rev() local
2568 struct mlx5_ib_dev *dev = in show_board() local
2909 struct mlx5_ib_dev *dev; in create_dev_resources() local
3115 struct mlx5_ib_dev *dev = in get_dev_fw_str() local
3141 struct mlx5_ib_dev *dev = arg; in mlx5_enable_roce_if_cb() local
3352 struct mlx5_ib_dev *dev; in mlx5_ib_add() local
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7603/
H A Ddebugfs.c8 struct mt7603_dev *dev = dev_get_drvdata(s->private); in mt7603_reset_read() local
34 struct mt7603_dev *dev = dev_get_drvdata(s->private); in mt7603_radio_read() local
46 struct mt7603_dev *dev = data; in mt7603_edcca_set() local
63 struct mt7603_dev *dev = data; in mt7603_edcca_get() local
75 struct mt7603_dev *dev = file->private; in mt7603_ampdu_stat_show() local
96 void mt7603_init_debugfs(struct mt7603_dev *dev) in mt7603_init_debugfs()

12345678910>>...111