Home
last modified time | relevance | path

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

12345678910>>...381

/linux-6.15/include/linux/
H A Dpm_runtime.h165 static inline bool pm_runtime_active(struct device *dev) in pm_runtime_active()
197 static inline bool pm_runtime_enabled(struct device *dev) in pm_runtime_enabled()
208 static inline bool pm_runtime_blocked(struct device *dev) in pm_runtime_blocked()
318 struct device *dev) { return 0; } in pm_runtime_autosuspend_expiration()
337 static inline int pm_runtime_idle(struct device *dev) in pm_runtime_idle()
346 static inline int pm_runtime_suspend(struct device *dev) in pm_runtime_suspend()
367 static inline int pm_runtime_resume(struct device *dev) in pm_runtime_resume()
379 static inline int pm_request_idle(struct device *dev) in pm_request_idle()
388 static inline int pm_request_resume(struct device *dev) in pm_request_resume()
412 static inline int pm_runtime_get(struct device *dev) in pm_runtime_get()
[all …]
H A Ddev_printk.h147 #define dev_emerg(dev, fmt, ...) \ argument
149 #define dev_crit(dev, fmt, ...) \ argument
151 #define dev_alert(dev, fmt, ...) \ argument
153 #define dev_err(dev, fmt, ...) \ argument
155 #define dev_warn(dev, fmt, ...) \ argument
157 #define dev_notice(dev, fmt, ...) \ argument
159 #define dev_info(dev, fmt, ...) \ argument
164 #define dev_dbg(dev, fmt, ...) \ argument
167 #define dev_dbg(dev, fmt, ...) \ argument
170 #define dev_dbg(dev, fmt, ...) \ argument
[all …]
H A Dpm_opp.h256 static inline int dev_pm_opp_get_opp_count(struct device *dev) in dev_pm_opp_get_opp_count()
367 dev_pm_opp_adjust_voltage(struct device *dev, unsigned long freq, in dev_pm_opp_adjust_voltage()
444 static inline void dev_pm_opp_remove_table(struct device *dev) in dev_pm_opp_remove_table()
452 static inline int dev_pm_opp_sync_regulators(struct device *dev) in dev_pm_opp_sync_regulators()
496 static inline int dev_pm_opp_of_add_table(struct device *dev) in dev_pm_opp_of_add_table()
511 static inline void dev_pm_opp_of_remove_table(struct device *dev) in dev_pm_opp_of_remove_table()
515 static inline int devm_pm_opp_of_add_table(struct device *dev) in devm_pm_opp_of_add_table()
544 static inline int dev_pm_opp_of_register_em(struct device *dev, in dev_pm_opp_of_register_em()
590 static inline int dev_pm_opp_set_regulators(struct device *dev, in dev_pm_opp_set_regulators()
605 static inline int devm_pm_opp_set_regulators(struct device *dev, in devm_pm_opp_set_regulators()
[all …]
/linux-6.15/drivers/base/power/
H A Druntime.c49 #define RPM_GET_CALLBACK(dev, callback) \ argument
116 u64 pm_runtime_active_time(struct device *dev) in pm_runtime_active_time()
1449 int pm_runtime_barrier(struct device *dev) in pm_runtime_barrier()
1486 void pm_runtime_unblock(struct device *dev) in pm_runtime_unblock()
1540 void pm_runtime_enable(struct device *dev) in pm_runtime_enable()
1601 void pm_runtime_forbid(struct device *dev) in pm_runtime_forbid()
1622 void pm_runtime_allow(struct device *dev) in pm_runtime_allow()
1671 void pm_runtime_irq_safe(struct device *dev) in pm_runtime_irq_safe()
1768 void pm_runtime_init(struct device *dev) in pm_runtime_init()
1800 void pm_runtime_reinit(struct device *dev) in pm_runtime_reinit()
[all …]
H A Dgeneric_ops.c20 int pm_generic_runtime_suspend(struct device *dev) in pm_generic_runtime_suspend()
58 int pm_generic_prepare(struct device *dev) in pm_generic_prepare()
85 int pm_generic_suspend_late(struct device *dev) in pm_generic_suspend_late()
97 int pm_generic_suspend(struct device *dev) in pm_generic_suspend()
121 int pm_generic_freeze(struct device *dev) in pm_generic_freeze()
157 int pm_generic_poweroff(struct device *dev) in pm_generic_poweroff()
169 int pm_generic_thaw_noirq(struct device *dev) in pm_generic_thaw_noirq()
181 int pm_generic_thaw(struct device *dev) in pm_generic_thaw()
217 int pm_generic_resume(struct device *dev) in pm_generic_resume()
253 int pm_generic_restore(struct device *dev) in pm_generic_restore()
[all …]
H A Dsysfs.c149 static ssize_t runtime_status_show(struct device *dev, in runtime_status_show()
348 static ssize_t wakeup_count_show(struct device *dev, in wakeup_count_show()
431 static ssize_t wakeup_active_show(struct device *dev, in wakeup_active_show()
553 static ssize_t runtime_usage_show(struct device *dev, in runtime_usage_show()
694 int dpm_sysfs_add(struct device *dev) in dpm_sysfs_add()
777 int wakeup_sysfs_add(struct device *dev) in wakeup_sysfs_add()
787 void wakeup_sysfs_remove(struct device *dev) in wakeup_sysfs_remove()
803 int pm_qos_sysfs_add_flags(struct device *dev) in pm_qos_sysfs_add_flags()
808 void pm_qos_sysfs_remove_flags(struct device *dev) in pm_qos_sysfs_remove_flags()
824 void rpm_sysfs_remove(struct device *dev) in rpm_sysfs_remove()
[all …]
H A Dpower.h4 static inline void device_pm_init_common(struct device *dev) in device_pm_init_common()
15 static inline void pm_runtime_early_init(struct device *dev) in pm_runtime_early_init()
35 struct device *dev; member
85 static inline void pm_runtime_early_init(struct device *dev) in pm_runtime_early_init()
90 static inline void pm_runtime_init(struct device *dev) {} in pm_runtime_init()
91 static inline void pm_runtime_reinit(struct device *dev) {} in pm_runtime_reinit()
92 static inline void pm_runtime_remove(struct device *dev) {} in pm_runtime_remove()
95 static inline void dpm_sysfs_remove(struct device *dev) {} in dpm_sysfs_remove()
138 static inline void device_pm_add(struct device *dev) {} in device_pm_add()
140 static inline void device_pm_remove(struct device *dev) in device_pm_remove()
[all …]
/linux-6.15/drivers/pci/
H A Dquirks.c99 int pcie_failed_link_retrain(struct pci_dev *dev) in pcie_failed_link_retrain()
148 void (*fn)(struct pci_dev *dev)) in fixup_debug_start()
157 void (*fn)(struct pci_dev *dev)) in fixup_debug_report()
269 struct pci_dev *dev = NULL; in pci_apply_final_quirks() local
428 static void quirk_triton(struct pci_dev *dev) in quirk_triton()
513 static void quirk_viaetbf(struct pci_dev *dev) in quirk_viaetbf()
522 static void quirk_vsfx(struct pci_dev *dev) in quirk_vsfx()
547 static void quirk_natoma(struct pci_dev *dev) in quirk_natoma()
565 static void quirk_citrine(struct pci_dev *dev) in quirk_citrine()
607 static void quirk_s3_64M(struct pci_dev *dev) in quirk_s3_64M()
[all …]
H A Dpci.c60 struct pci_dev *dev; member
5425 struct pci_dev *dev; in pci_bus_resettable() local
5443 struct pci_dev *dev; in pci_bus_lock() local
5457 struct pci_dev *dev; in pci_bus_unlock() local
5471 struct pci_dev *dev; in pci_bus_trylock() local
5499 struct pci_dev *dev; in pci_slot_resettable() local
5519 struct pci_dev *dev; in pci_slot_lock() local
5534 struct pci_dev *dev; in pci_slot_unlock() local
5548 struct pci_dev *dev; in pci_slot_trylock() local
5582 struct pci_dev *dev; in pci_bus_save_and_disable_locked() local
[all …]
/linux-6.15/net/switchdev/
H A Dswitchdev.c59 struct net_device *dev; member
132 struct net_device *dev, in switchdev_port_attr_notify()
197 int switchdev_port_attr_set(struct net_device *dev, in switchdev_port_attr_set()
224 struct net_device *dev, in switchdev_port_obj_notify()
372 int switchdev_port_obj_add(struct net_device *dev, in switchdev_port_obj_add()
561 const struct net_device *dev; member
572 const struct net_device *dev; in switchdev_lower_dev_walk() local
608 switchdev_lower_dev_find(struct net_device *dev, in switchdev_lower_dev_find()
631 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_fdb_event_to_device()
994 struct net_device *dev, const void *ctx, in switchdev_bridge_port_offload()
[all …]
/linux-6.15/drivers/media/rc/
H A Dene_ir.c86 static int ene_hw_detect(struct ene_device *dev) in ene_hw_detect()
835 struct ene_device *dev = rdev->priv; in ene_open() local
847 struct ene_device *dev = rdev->priv; in ene_close() local
858 struct ene_device *dev = rdev->priv; in ene_set_tx_mask() local
876 struct ene_device *dev = rdev->priv; in ene_set_tx_carrier() local
900 struct ene_device *dev = rdev->priv; in ene_set_tx_duty_cycle() local
910 struct ene_device *dev = rdev->priv; in ene_set_learning_mode() local
926 struct ene_device *dev = rdev->priv; in ene_set_carrier_report() local
944 struct ene_device *dev = rdev->priv; in ene_set_idle() local
955 struct ene_device *dev = rdev->priv; in ene_transmit() local
[all …]
H A Dite-cir.c226 struct ite_dev *dev = data; in ite_cir_isr() local
289 struct ite_dev *dev = rcdev->priv; in ite_set_rx_carrier_range() local
304 struct ite_dev *dev = rcdev->priv; in ite_set_tx_carrier() local
318 struct ite_dev *dev = rcdev->priv; in ite_set_tx_duty_cycle() local
334 struct ite_dev *dev = rcdev->priv; in ite_tx_ir() local
478 struct ite_dev *dev = rcdev->priv; in ite_s_idle() local
578 static void it87_idle_rx(struct ite_dev *dev) in it87_idle_rx()
639 static void it87_disable(struct ite_dev *dev) in it87_disable()
920 static void it8709_wait(struct ite_dev *dev) in it8709_wait()
1175 struct ite_dev *dev = rcdev->priv; in ite_open() local
[all …]
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c536 bool mlx5_is_roce_on(struct mlx5_core_dev *dev) in mlx5_is_roce_on()
753 static int set_hca_cap(struct mlx5_core_dev *dev) in set_hca_cap()
809 static int set_hca_ctrl(struct mlx5_core_dev *dev) in set_hca_ctrl()
1340 static int mlx5_load(struct mlx5_core_dev *dev) in mlx5_load()
1462 static void mlx5_unload(struct mlx5_core_dev *dev) in mlx5_unload()
1550 int mlx5_init_one(struct mlx5_core_dev *dev) in mlx5_init_one()
1564 void mlx5_uninit_one(struct mlx5_core_dev *dev) in mlx5_uninit_one()
1843 struct mlx5_core_dev *dev = file->private; in vhca_id_show() local
1941 void mlx5_mdev_uninit(struct mlx5_core_dev *dev) in mlx5_mdev_uninit()
1967 struct mlx5_core_dev *dev; in probe_one() local
[all …]
/linux-6.15/drivers/net/wireless/broadcom/b43/
H A Dphy_common.c28 int b43_phy_allocate(struct b43_wldev *dev) in b43_phy_allocate()
77 void b43_phy_free(struct b43_wldev *dev) in b43_phy_free()
83 int b43_phy_init(struct b43_wldev *dev) in b43_phy_init()
125 void b43_phy_exit(struct b43_wldev *dev) in b43_phy_exit()
135 bool b43_has_hardware_pctl(struct b43_wldev *dev) in b43_has_hardware_pctl()
144 void b43_radio_lock(struct b43_wldev *dev) in b43_radio_lock()
162 void b43_radio_unlock(struct b43_wldev *dev) in b43_radio_unlock()
179 void b43_phy_lock(struct b43_wldev *dev) in b43_phy_lock()
191 void b43_phy_unlock(struct b43_wldev *dev) in b43_phy_unlock()
470 struct b43_wldev *dev; in b43_phy_txpower_adjust_work() local
[all …]
H A Dwa.c20 void b43_wa_initgains(struct b43_wldev *dev) in b43_wa_initgains()
59 static void b43_wa_analog(struct b43_wldev *dev) in b43_wa_analog()
155 static void b43_wa_crs_ed(struct b43_wldev *dev) in b43_wa_crs_ed()
173 static void b43_wa_crs_thr(struct b43_wldev *dev) in b43_wa_crs_thr()
178 static void b43_wa_crs_blank(struct b43_wldev *dev) in b43_wa_crs_blank()
183 static void b43_wa_cck_shiftbits(struct b43_wldev *dev) in b43_wa_cck_shiftbits()
188 static void b43_wa_wrssi_offset(struct b43_wldev *dev) in b43_wa_wrssi_offset()
205 static void b43_wa_txpuoff_rxpuon(struct b43_wldev *dev) in b43_wa_txpuoff_rxpuon()
211 static void b43_wa_altagc(struct b43_wldev *dev) in b43_wa_altagc()
300 static void b43_wa_boards_g(struct b43_wldev *dev) in b43_wa_boards_g()
[all …]
H A Dbus.c21 static int b43_bus_bcma_bus_may_powerdown(struct b43_bus_dev *dev) in b43_bus_bcma_bus_may_powerdown()
25 static int b43_bus_bcma_bus_powerup(struct b43_bus_dev *dev, in b43_bus_bcma_bus_powerup()
30 static int b43_bus_bcma_device_is_enabled(struct b43_bus_dev *dev) in b43_bus_bcma_device_is_enabled()
34 static void b43_bus_bcma_device_enable(struct b43_bus_dev *dev, in b43_bus_bcma_device_enable()
39 static void b43_bus_bcma_device_disable(struct b43_bus_dev *dev, in b43_bus_bcma_device_disable()
77 struct b43_bus_dev *dev = kzalloc(sizeof(*dev), GFP_KERNEL); in b43_bus_dev_bcma_init() local
130 static int b43_bus_ssb_bus_powerup(struct b43_bus_dev *dev, in b43_bus_ssb_bus_powerup()
139 static void b43_bus_ssb_device_enable(struct b43_bus_dev *dev, in b43_bus_ssb_device_enable()
180 struct b43_bus_dev *dev; in b43_bus_dev_ssb_init() local
223 void *b43_bus_get_wldev(struct b43_bus_dev *dev) in b43_bus_get_wldev()
[all …]
H A Dphy_lcn.c62 static void b43_radio_2064_channel_setup(struct b43_wldev *dev) in b43_radio_2064_channel_setup()
109 static void b43_radio_2064_init(struct b43_wldev *dev) in b43_radio_2064_init()
165 static void b43_phy_lcn_afe_set_unset(struct b43_wldev *dev) in b43_phy_lcn_afe_set_unset()
181 static u16 b43_phy_lcn_get_pa_gain(struct b43_wldev *dev) in b43_phy_lcn_get_pa_gain()
259 static void b43_phy_lcn_bu_tweaks(struct b43_wldev *dev) in b43_phy_lcn_bu_tweaks()
310 static void b43_phy_lcn_sense_setup(struct b43_wldev *dev, in b43_phy_lcn_sense_setup()
511 static void b43_phy_lcn_set_tx_gain(struct b43_wldev *dev, in b43_phy_lcn_set_tx_gain()
625 static int b43_phy_lcn_set_channel(struct b43_wldev *dev, in b43_phy_lcn_set_channel()
668 static int b43_phy_lcn_op_allocate(struct b43_wldev *dev) in b43_phy_lcn_op_allocate()
680 static void b43_phy_lcn_op_free(struct b43_wldev *dev) in b43_phy_lcn_op_free()
[all …]
H A Dphy_ht.c35 static void b43_radio_2059_channel_setup(struct b43_wldev *dev, in b43_radio_2059_channel_setup()
80 static void b43_radio_2059_rcal(struct b43_wldev *dev) in b43_radio_2059_rcal()
107 static void b43_radio_2057_rccal(struct b43_wldev *dev) in b43_radio_2057_rccal()
142 static void b43_radio_2059_init(struct b43_wldev *dev) in b43_radio_2059_init()
236 static void b43_phy_ht_reset_cca(struct b43_wldev *dev) in b43_phy_ht_reset_cca()
250 static void b43_phy_ht_zero_extg(struct b43_wldev *dev) in b43_phy_ht_zero_extg()
265 static void b43_phy_ht_afe_unk1(struct b43_wldev *dev) in b43_phy_ht_afe_unk1()
293 static void b43_phy_ht_bphy_init(struct b43_wldev *dev) in b43_phy_ht_bphy_init()
415 static void b43_phy_ht_tx_tone(struct b43_wldev *dev) in b43_phy_ht_tx_tone()
869 static int b43_phy_ht_op_init(struct b43_wldev *dev) in b43_phy_ht_op_init()
[all …]
/linux-6.15/drivers/media/usb/cx231xx/
H A Dcx231xx-avcore.c62 void initGPIO(struct cx231xx *dev) in initGPIO()
84 void uninitGPIO(struct cx231xx *dev) in uninitGPIO()
186 int cx231xx_afe_init_channels(struct cx231xx *dev) in cx231xx_afe_init_channels()
541 int cx231xx_check_fw(struct cx231xx *dev) in cx231xx_check_fw()
938 void cx231xx_enable656(struct cx231xx *dev) in cx231xx_enable656()
954 void cx231xx_disable656(struct cx231xx *dev) in cx231xx_disable656()
1069 int cx231xx_unmute_audio(struct cx231xx *dev) in cx231xx_unmute_audio()
1075 static int stopAudioFirmware(struct cx231xx *dev) in stopAudioFirmware()
2726 int cx231xx_gpio_i2c_start(struct cx231xx *dev) in cx231xx_gpio_i2c_start()
2759 int cx231xx_gpio_i2c_end(struct cx231xx *dev) in cx231xx_gpio_i2c_end()
[all …]
/linux-6.15/drivers/misc/mei/
H A Dhw-me.c205 static int mei_me_fw_status(struct mei_device *dev, in mei_me_fw_status()
240 static int mei_me_hw_config(struct mei_device *dev) in mei_me_hw_config()
318 static void mei_me_intr_clear(struct mei_device *dev) in mei_me_intr_clear()
539 static int mei_me_hw_start(struct mei_device *dev) in mei_me_hw_start()
633 static int mei_me_hbuf_write(struct mei_device *dev, in mei_me_hbuf_write()
745 static void mei_me_pg_set(struct mei_device *dev) in mei_me_pg_set()
764 static void mei_me_pg_unset(struct mei_device *dev) in mei_me_pg_unset()
1201 int mei_me_pg_enter_sync(struct mei_device *dev) in mei_me_pg_enter_sync()
1218 int mei_me_pg_exit_sync(struct mei_device *dev) in mei_me_pg_exit_sync()
1452 struct mei_device *dev = _dev; in mei_me_polling_thread() local
[all …]
/linux-6.15/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_opr_v6.c62 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_codec_buffers_v6() local
385 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_instance_buffer_v6() local
488 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_dec_calc_dpb_size_v6() local
589 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_stream_buffer_v6() local
611 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_frame_buffer_v6() local
719 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_stream_buffer_v6() local
735 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_frame_buffer_v6() local
751 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_get_enc_frame_buffer_v6() local
773 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_ref_buffer_v6() local
844 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_slice_mode() local
[all …]
/linux-6.15/drivers/net/wireless/mediatek/mt7601u/
H A Dphy.c54 mt7601u_rf_rr(struct mt7601u_dev *dev, u8 bank, u8 offset) in mt7601u_rf_rr()
209 int mt7601u_wait_bbp_ready(struct mt7601u_dev *dev) in mt7601u_wait_bbp_ready()
233 int mt7601u_phy_get_rssi(struct mt7601u_dev *dev, in mt7601u_phy_get_rssi()
263 static void mt7601u_vco_cal(struct mt7601u_dev *dev) in mt7601u_vco_cal()
442 int mt7601u_phy_set_channel(struct mt7601u_dev *dev, in mt7601u_phy_set_channel()
530 static s8 mt7601u_read_temp(struct mt7601u_dev *dev) in mt7601u_read_temp()
806 mt7601u_tssi_params_get(struct mt7601u_dev *dev) in mt7601u_tssi_params_get()
876 static int mt7601u_tssi_cal(struct mt7601u_dev *dev) in mt7601u_tssi_cal()
960 void mt7601u_agc_save(struct mt7601u_dev *dev) in mt7601u_agc_save()
965 void mt7601u_agc_restore(struct mt7601u_dev *dev) in mt7601u_agc_restore()
[all …]
/linux-6.15/drivers/mtd/nand/raw/
H A Dr852.c41 static inline void r852_write_reg(struct r852_device *dev, in r852_write_reg()
71 static void r852_dma_test(struct r852_device *dev) in r852_dma_test()
89 static void r852_dma_enable(struct r852_device *dev) in r852_dma_enable()
157 static int r852_dma_wait(struct r852_device *dev) in r852_dma_wait()
593 struct r852_device *dev = r852_get_dev(mtd); in media_type_show() local
685 struct r852_device *dev = in r852_card_detect_work() local
848 struct r852_device *dev; in r852_probe() local
978 struct r852_device *dev = pci_get_drvdata(pci_dev); in r852_remove() local
1008 struct r852_device *dev = pci_get_drvdata(pci_dev); in r852_shutdown() local
1019 struct r852_device *dev = dev_get_drvdata(device); in r852_suspend() local
[all …]
/linux-6.15/drivers/virtio/
H A Dvirtio.c17 struct virtio_device *dev = dev_to_virtio(_d); in device_show() local
25 struct virtio_device *dev = dev_to_virtio(_d); in vendor_show() local
33 struct virtio_device *dev = dev_to_virtio(_d); in status_show() local
41 struct virtio_device *dev = dev_to_virtio(_d); in modalias_show() local
50 struct virtio_device *dev = dev_to_virtio(_d); in features_show() local
88 struct virtio_device *dev = dev_to_virtio(_dv); in virtio_dev_match() local
273 struct virtio_device *dev = dev_to_virtio(_d); in virtio_dev_probe() local
364 struct virtio_device *dev = dev_to_virtio(_d); in virtio_dev_remove() local
390 struct virtio_device *dev = dev_to_virtio(_d); in virtio_irq_get_affinity() local
400 struct virtio_device *dev = dev_to_virtio(_d); in virtio_dev_shutdown() local
[all …]
/linux-6.15/drivers/net/ethernet/mediatek/
H A Dmtk_wed.c56 struct net_device *dev; member
129 wifi_r32(struct mtk_wed_device *dev, u32 reg) in wifi_r32()
141 mtk_wed_read_reset(struct mtk_wed_device *dev) in mtk_wed_read_reset()
237 mtk_wdma_rx_reset(struct mtk_wed_device *dev) in mtk_wdma_rx_reset()
396 mtk_wed_wo_reset(struct mtk_wed_device *dev) in mtk_wed_wo_reset()
446 struct mtk_wed_device *dev; in mtk_wed_fe_reset() local
473 struct mtk_wed_device *dev; in mtk_wed_fe_reset_complete() local
489 mtk_wed_assign(struct mtk_wed_device *dev) in mtk_wed_assign()
1075 mtk_wed_stop(struct mtk_wed_device *dev) in mtk_wed_stop()
1093 mtk_wed_deinit(struct mtk_wed_device *dev) in mtk_wed_deinit()
[all …]

12345678910>>...381