Home
last modified time | relevance | path

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

12345678910>>...253

/linux/include/linux/
H A Dpm_runtime.h111 static inline void pm_suspend_ignore_children(struct device *dev, bool enable) in pm_suspend_ignore_children()
120 static inline void pm_runtime_get_noresume(struct device *dev) in pm_runtime_get_noresume()
131 static inline void pm_runtime_put_noidle(struct device *dev) in pm_runtime_put_noidle()
148 static inline bool pm_runtime_suspended(struct device *dev) in pm_runtime_suspended()
166 static inline bool pm_runtime_active(struct device *dev) in pm_runtime_active()
183 static inline bool pm_runtime_status_suspended(struct device *dev) in pm_runtime_status_suspended()
198 static inline bool pm_runtime_enabled(struct device *dev) in pm_runtime_enabled()
209 static inline bool pm_runtime_blocked(struct device *dev) in pm_runtime_blocked()
221 static inline bool pm_runtime_has_no_callbacks(struct device *dev) in pm_runtime_has_no_callbacks()
233 static inline void pm_runtime_mark_last_busy(struct device *dev) in pm_runtime_mark_last_busy()
[all …]
H A Ddma-mapping.h141 static inline void debug_dma_mapping_error(struct device *dev, in debug_dma_mapping_error()
145 static inline void debug_dma_map_single(struct device *dev, const void *addr, in debug_dma_map_single()
152 static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) in dma_mapping_error()
214 static inline dma_addr_t dma_map_page_attrs(struct device *dev, in dma_map_page_attrs()
220 static inline void dma_unmap_page_attrs(struct device *dev, dma_addr_t addr, in dma_unmap_page_attrs()
224 static inline dma_addr_t dma_map_phys(struct device *dev, phys_addr_t phys, in dma_map_phys()
229 static inline void dma_unmap_phys(struct device *dev, dma_addr_t addr, in dma_unmap_phys()
233 static inline unsigned int dma_map_sg_attrs(struct device *dev, in dma_map_sg_attrs()
239 static inline void dma_unmap_sg_attrs(struct device *dev, in dma_unmap_sg_attrs()
244 static inline int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable()
[all …]
/linux/drivers/base/power/
H A Druntime.c27 static pm_callback_t __rpm_get_driver_callback(struct device *dev, in __rpm_get_driver_callback()
36 static pm_callback_t __rpm_get_callback(struct device *dev, size_t cb_offset) in __rpm_get_callback()
61 #define RPM_GET_CALLBACK(dev, callback) \ argument
78 static void update_pm_runtime_accounting(struct device *dev) in update_pm_runtime_accounting()
106 static void __update_runtime_status(struct device *dev, enum rpm_status status) in __update_runtime_status()
113 static u64 rpm_get_accounted_time(struct device *dev, bool suspended) in rpm_get_accounted_time()
128 u64 pm_runtime_active_time(struct device *dev) in pm_runtime_active_time()
133 u64 pm_runtime_suspended_time(struct device *dev) in pm_runtime_suspended_time()
143 static void pm_runtime_deactivate_timer(struct device *dev) in pm_runtime_deactivate_timer()
155 static void pm_runtime_cancel_pending(struct device *dev) in pm_runtime_cancel_pending()
[all …]
H A Dsysfs.c100 static ssize_t control_show(struct device *dev, struct device_attribute *attr, in control_show()
107 static ssize_t control_store(struct device * dev, struct device_attribute *attr, in control_store()
123 static ssize_t runtime_active_time_show(struct device *dev, in runtime_active_time_show()
136 static ssize_t runtime_suspended_time_show(struct device *dev, in runtime_suspended_time_show()
149 static ssize_t runtime_status_show(struct device *dev, in runtime_status_show()
181 static ssize_t autosuspend_delay_ms_show(struct device *dev, in autosuspend_delay_ms_show()
191 static ssize_t autosuspend_delay_ms_store(struct device *dev, in autosuspend_delay_ms_store()
210 static ssize_t pm_qos_resume_latency_us_show(struct device *dev, in pm_qos_resume_latency_us_show()
224 static ssize_t pm_qos_resume_latency_us_store(struct device *dev, in pm_qos_resume_latency_us_store()
254 static ssize_t pm_qos_latency_tolerance_us_show(struct device *dev, in pm_qos_latency_tolerance_us_show()
[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
57 static inline void device_wakeup_attach_irq(struct device *dev, in device_wakeup_attach_irq()
60 static inline void device_wakeup_detach_irq(struct device *dev) in device_wakeup_detach_irq()
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()
94 static inline int dpm_sysfs_add(struct device *dev) { return 0; } in dpm_sysfs_add()
[all …]
/linux/net/switchdev/
H A Dswitchdev.c59 struct net_device *dev; member
111 static int switchdev_deferred_enqueue(struct net_device *dev, in switchdev_deferred_enqueue() argument
132 struct net_device *dev, in switchdev_port_attr_notify() argument
158 switchdev_port_attr_set_now(struct net_device * dev,const struct switchdev_attr * attr,struct netlink_ext_ack * extack) switchdev_port_attr_set_now() argument
166 switchdev_port_attr_set_deferred(struct net_device * dev,const void * data) switchdev_port_attr_set_deferred() argument
180 switchdev_port_attr_set_defer(struct net_device * dev,const struct switchdev_attr * attr) switchdev_port_attr_set_defer() argument
197 switchdev_port_attr_set(struct net_device * dev,const struct switchdev_attr * attr,struct netlink_ext_ack * extack) switchdev_port_attr_set() argument
224 switchdev_port_obj_notify(enum switchdev_notifier_type nt,struct net_device * dev,const struct switchdev_obj * obj,struct netlink_ext_ack * extack) switchdev_port_obj_notify() argument
247 switchdev_obj_id_to_helpful_msg(struct net_device * dev,enum switchdev_obj_id obj_id,int err,bool add) switchdev_obj_id_to_helpful_msg() argument
340 switchdev_port_obj_add_deferred(struct net_device * dev,const void * data) switchdev_port_obj_add_deferred() argument
355 switchdev_port_obj_add_defer(struct net_device * dev,const struct switchdev_obj * obj) switchdev_port_obj_add_defer() argument
372 switchdev_port_obj_add(struct net_device * dev,const struct switchdev_obj * obj,struct netlink_ext_ack * extack) switchdev_port_obj_add() argument
384 switchdev_port_obj_del_now(struct net_device * dev,const struct switchdev_obj * obj) switchdev_port_obj_del_now() argument
391 switchdev_port_obj_del_deferred(struct net_device * dev,const void * data) switchdev_port_obj_del_deferred() argument
404 switchdev_port_obj_del_defer(struct net_device * dev,const struct switchdev_obj * obj) switchdev_port_obj_del_defer() argument
420 switchdev_port_obj_del(struct net_device * dev,const struct switchdev_obj * obj) switchdev_port_obj_del() argument
442 switchdev_port_obj_act_is_deferred(struct net_device * dev,enum switchdev_notifier_type nt,const struct switchdev_obj * obj) switchdev_port_obj_act_is_deferred() argument
509 call_switchdev_notifiers(unsigned long val,struct net_device * dev,struct switchdev_notifier_info * info,struct netlink_ext_ack * extack) call_switchdev_notifiers() argument
545 call_switchdev_blocking_notifiers(unsigned long val,struct net_device * dev,struct switchdev_notifier_info * info,struct netlink_ext_ack * extack) call_switchdev_blocking_notifiers() argument
561 const struct net_device *dev; global() member
572 const struct net_device *dev; switchdev_lower_dev_walk() local
587 switchdev_lower_dev_find_rcu(struct net_device * dev,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev)) switchdev_lower_dev_find_rcu() argument
588 switchdev_lower_dev_find_rcu(struct net_device * dev,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev)) switchdev_lower_dev_find_rcu() argument
589 switchdev_lower_dev_find_rcu(struct net_device * dev,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev)) switchdev_lower_dev_find_rcu() argument
608 switchdev_lower_dev_find(struct net_device * dev,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev)) switchdev_lower_dev_find() argument
609 switchdev_lower_dev_find(struct net_device * dev,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev)) switchdev_lower_dev_find() argument
610 switchdev_lower_dev_find(struct net_device * dev,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev)) switchdev_lower_dev_find() argument
628 __switchdev_handle_fdb_event_to_device(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const struct switchdev_notifier_fdb_info * fdb_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* mod_cb)(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const void * ctx,const struct switchdev_notifier_fdb_info * fdb_info)) __switchdev_handle_fdb_event_to_device() argument
631 __switchdev_handle_fdb_event_to_device(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const struct switchdev_notifier_fdb_info * fdb_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* mod_cb)(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const void * ctx,const struct switchdev_notifier_fdb_info * fdb_info)) __switchdev_handle_fdb_event_to_device() argument
632 __switchdev_handle_fdb_event_to_device(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const struct switchdev_notifier_fdb_info * fdb_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* mod_cb)(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const void * ctx,const struct switchdev_notifier_fdb_info * fdb_info)) __switchdev_handle_fdb_event_to_device() argument
634 __switchdev_handle_fdb_event_to_device(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const struct switchdev_notifier_fdb_info * fdb_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* mod_cb)(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const void * ctx,const struct switchdev_notifier_fdb_info * fdb_info)) __switchdev_handle_fdb_event_to_device() argument
689 switchdev_handle_fdb_event_to_device(struct net_device * dev,unsigned long event,const struct switchdev_notifier_fdb_info * fdb_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* mod_cb)(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const void * ctx,const struct switchdev_notifier_fdb_info * fdb_info)) switchdev_handle_fdb_event_to_device() argument
691 switchdev_handle_fdb_event_to_device(struct net_device * dev,unsigned long event,const struct switchdev_notifier_fdb_info * fdb_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* mod_cb)(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const void * ctx,const struct switchdev_notifier_fdb_info * fdb_info)) switchdev_handle_fdb_event_to_device() argument
692 switchdev_handle_fdb_event_to_device(struct net_device * dev,unsigned long event,const struct switchdev_notifier_fdb_info * fdb_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* mod_cb)(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const void * ctx,const struct switchdev_notifier_fdb_info * fdb_info)) switchdev_handle_fdb_event_to_device() argument
694 switchdev_handle_fdb_event_to_device(struct net_device * dev,unsigned long event,const struct switchdev_notifier_fdb_info * fdb_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* mod_cb)(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const void * ctx,const struct switchdev_notifier_fdb_info * fdb_info)) switchdev_handle_fdb_event_to_device() argument
710 __switchdev_handle_port_obj_add(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* add_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj,struct netlink_ext_ack * extack)) __switchdev_handle_port_obj_add() argument
712 __switchdev_handle_port_obj_add(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* add_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj,struct netlink_ext_ack * extack)) __switchdev_handle_port_obj_add() argument
713 __switchdev_handle_port_obj_add(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* add_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj,struct netlink_ext_ack * extack)) __switchdev_handle_port_obj_add() argument
715 __switchdev_handle_port_obj_add(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* add_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj,struct netlink_ext_ack * extack)) __switchdev_handle_port_obj_add() argument
785 switchdev_handle_port_obj_add(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),int (* add_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj,struct netlink_ext_ack * extack)) switchdev_handle_port_obj_add() argument
787 switchdev_handle_port_obj_add(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),int (* add_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj,struct netlink_ext_ack * extack)) switchdev_handle_port_obj_add() argument
788 switchdev_handle_port_obj_add(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),int (* add_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj,struct netlink_ext_ack * extack)) switchdev_handle_port_obj_add() argument
806 switchdev_handle_port_obj_add_foreign(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* add_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj,struct netlink_ext_ack * extack)) switchdev_handle_port_obj_add_foreign() argument
808 switchdev_handle_port_obj_add_foreign(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* add_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj,struct netlink_ext_ack * extack)) switchdev_handle_port_obj_add_foreign() argument
809 switchdev_handle_port_obj_add_foreign(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* add_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj,struct netlink_ext_ack * extack)) switchdev_handle_port_obj_add_foreign() argument
811 switchdev_handle_port_obj_add_foreign(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* add_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj,struct netlink_ext_ack * extack)) switchdev_handle_port_obj_add_foreign() argument
825 __switchdev_handle_port_obj_del(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) __switchdev_handle_port_obj_del() argument
827 __switchdev_handle_port_obj_del(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) __switchdev_handle_port_obj_del() argument
828 __switchdev_handle_port_obj_del(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) __switchdev_handle_port_obj_del() argument
830 __switchdev_handle_port_obj_del(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) __switchdev_handle_port_obj_del() argument
896 switchdev_handle_port_obj_del(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) switchdev_handle_port_obj_del() argument
898 switchdev_handle_port_obj_del(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) switchdev_handle_port_obj_del() argument
899 switchdev_handle_port_obj_del(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) switchdev_handle_port_obj_del() argument
916 switchdev_handle_port_obj_del_foreign(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) switchdev_handle_port_obj_del_foreign() argument
918 switchdev_handle_port_obj_del_foreign(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) switchdev_handle_port_obj_del_foreign() argument
919 switchdev_handle_port_obj_del_foreign(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) switchdev_handle_port_obj_del_foreign() argument
921 switchdev_handle_port_obj_del_foreign(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) switchdev_handle_port_obj_del_foreign() argument
934 __switchdev_handle_port_attr_set(struct net_device * dev,struct switchdev_notifier_port_attr_info * port_attr_info,bool (* check_cb)(const struct net_device * dev),int (* set_cb)(struct net_device * dev,const void * ctx,const struct switchdev_attr * attr,struct netlink_ext_ack * extack)) __switchdev_handle_port_attr_set() argument
936 __switchdev_handle_port_attr_set(struct net_device * dev,struct switchdev_notifier_port_attr_info * port_attr_info,bool (* check_cb)(const struct net_device * dev),int (* set_cb)(struct net_device * dev,const void * ctx,const struct switchdev_attr * attr,struct netlink_ext_ack * extack)) __switchdev_handle_port_attr_set() argument
937 __switchdev_handle_port_attr_set(struct net_device * dev,struct switchdev_notifier_port_attr_info * port_attr_info,bool (* check_cb)(const struct net_device * dev),int (* set_cb)(struct net_device * dev,const void * ctx,const struct switchdev_attr * attr,struct netlink_ext_ack * extack)) __switchdev_handle_port_attr_set() argument
976 switchdev_handle_port_attr_set(struct net_device * dev,struct switchdev_notifier_port_attr_info * port_attr_info,bool (* check_cb)(const struct net_device * dev),int (* set_cb)(struct net_device * dev,const void * ctx,const struct switchdev_attr * attr,struct netlink_ext_ack * extack)) switchdev_handle_port_attr_set() argument
978 switchdev_handle_port_attr_set(struct net_device * dev,struct switchdev_notifier_port_attr_info * port_attr_info,bool (* check_cb)(const struct net_device * dev),int (* set_cb)(struct net_device * dev,const void * ctx,const struct switchdev_attr * attr,struct netlink_ext_ack * extack)) switchdev_handle_port_attr_set() argument
979 switchdev_handle_port_attr_set(struct net_device * dev,struct switchdev_notifier_port_attr_info * port_attr_info,bool (* check_cb)(const struct net_device * dev),int (* set_cb)(struct net_device * dev,const void * ctx,const struct switchdev_attr * attr,struct netlink_ext_ack * extack)) switchdev_handle_port_attr_set() argument
994 switchdev_bridge_port_offload(struct net_device * brport_dev,struct net_device * dev,const void * ctx,struct notifier_block * atomic_nb,struct notifier_block * blocking_nb,bool tx_fwd_offload,struct netlink_ext_ack * extack) switchdev_bridge_port_offload() argument
1042 switchdev_bridge_port_replay(struct net_device * brport_dev,struct net_device * dev,const void * ctx,struct notifier_block * atomic_nb,struct notifier_block * blocking_nb,struct netlink_ext_ack * extack) switchdev_bridge_port_replay() argument
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c125 static int wait_fw_init(struct mlx5_core_dev *dev, u32 max_wait_mili, in wait_fw_init()
158 static void mlx5_set_driver_version(struct mlx5_core_dev *dev) in mlx5_set_driver_version()
199 static int mlx5_pci_enable_device(struct mlx5_core_dev *dev) in mlx5_pci_enable_device()
215 static void mlx5_pci_disable_device(struct mlx5_core_dev *dev) in mlx5_pci_disable_device()
253 static u16 to_fw_pkey_sz(struct mlx5_core_dev *dev, u32 size) in to_fw_pkey_sz()
274 void mlx5_core_uplink_netdev_set(struct mlx5_core_dev *dev, struct net_device *netdev) in mlx5_core_uplink_netdev_set()
283 void mlx5_core_uplink_netdev_event_replay(struct mlx5_core_dev *dev) in mlx5_core_uplink_netdev_event_replay()
292 void mlx5_core_mp_event_replay(struct mlx5_core_dev *dev, u32 event, void *data) in mlx5_core_mp_event_replay()
298 int mlx5_core_get_caps_mode(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type, in mlx5_core_get_caps_mode()
349 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type) in mlx5_core_get_caps()
[all …]
/linux/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()
203 static inline void assert_mac_suspended(struct b43_wldev *dev) in assert_mac_suspended()
[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()
44 static u16 b43_bus_bcma_read16(struct b43_bus_dev *dev, u16 offset) in b43_bus_bcma_read16()
48 static u32 b43_bus_bcma_read32(struct b43_bus_dev *dev, u16 offset) in b43_bus_bcma_read32()
53 void b43_bus_bcma_write16(struct b43_bus_dev *dev, u16 offset, u16 value) in b43_bus_bcma_write16()
58 void b43_bus_bcma_write32(struct b43_bus_dev *dev, u16 offset, u32 value) in b43_bus_bcma_write32()
63 void b43_bus_bcma_block_read(struct b43_bus_dev *dev, void *buffer, in b43_bus_bcma_block_read()
[all …]
H A Dwa.c20 void b43_wa_initgains(struct b43_wldev *dev) in b43_wa_initgains()
44 static void b43_wa_rssi_lt(struct b43_wldev *dev) /* RSSI lookup table */ in b43_wa_rssi_lt()
59 static void b43_wa_analog(struct b43_wldev *dev) in b43_wa_analog()
73 static void b43_wa_fft(struct b43_wldev *dev) /* Fine frequency table */ in b43_wa_fft()
82 static void b43_wa_nft(struct b43_wldev *dev) /* Noise figure table */ in b43_wa_nft()
97 static void b43_wa_rt(struct b43_wldev *dev) /* Rotor table */ in b43_wa_rt()
105 static void b43_write_nst(struct b43_wldev *dev, const u16 *nst) in b43_write_nst()
113 static void b43_wa_nst(struct b43_wldev *dev) /* Noise scale table */ in b43_wa_nst()
127 static void b43_wa_art(struct b43_wldev *dev) /* ADV retard table */ in b43_wa_art()
136 static void b43_wa_msst(struct b43_wldev *dev) /* Min sigma square table */ in b43_wa_msst()
[all …]
H A Dphy_lp.c35 static unsigned int b43_lpphy_op_get_default_chan(struct b43_wldev *dev) in b43_lpphy_op_get_default_chan()
42 static int b43_lpphy_op_allocate(struct b43_wldev *dev) in b43_lpphy_op_allocate()
54 static void b43_lpphy_op_prepare_structs(struct b43_wldev *dev) in b43_lpphy_op_prepare_structs()
65 static void b43_lpphy_op_free(struct b43_wldev *dev) in b43_lpphy_op_free()
74 static void lpphy_read_band_sprom(struct b43_wldev *dev) in lpphy_read_band_sprom()
157 static void lpphy_adjust_gain_table(struct b43_wldev *dev, u32 freq) in lpphy_adjust_gain_table()
182 static void lpphy_table_init(struct b43_wldev *dev) in lpphy_table_init()
197 static void lpphy_baseband_rev0_1_init(struct b43_wldev *dev) in lpphy_baseband_rev0_1_init()
346 static void lpphy_save_dig_flt_state(struct b43_wldev *dev) in lpphy_save_dig_flt_state()
375 static void lpphy_restore_dig_flt_state(struct b43_wldev *dev) in lpphy_restore_dig_flt_state()
[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()
187 static void b43_phy_lcn_set_dac_gain(struct b43_wldev *dev, u16 dac_gain) in b43_phy_lcn_set_dac_gain()
198 static void b43_phy_lcn_set_bbmult(struct b43_wldev *dev, u8 m0) in b43_phy_lcn_set_bbmult()
204 static void b43_phy_lcn_clear_tx_power_offsets(struct b43_wldev *dev) in b43_phy_lcn_clear_tx_power_offsets()
224 static void b43_phy_lcn_rev0_baseband_init(struct b43_wldev *dev) in b43_phy_lcn_rev0_baseband_init()
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()
[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()
134 static void b43_radio_2059_init_pre(struct b43_wldev *dev) in b43_radio_2059_init_pre()
142 static void b43_radio_2059_init(struct b43_wldev *dev) in b43_radio_2059_init()
175 static void b43_phy_ht_force_rf_sequence(struct b43_wldev *dev, u16 rf_seq) in b43_phy_ht_force_rf_sequence()
196 static void b43_phy_ht_pa_override(struct b43_wldev *dev, bool enable) in b43_phy_ht_pa_override()
220 static u16 b43_phy_ht_classifier(struct b43_wldev *dev, u16 mask, u16 val) in b43_phy_ht_classifier()
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()
[all …]
/linux/drivers/misc/mei/
H A Dhw-me.c59 static inline u32 mei_me_mecbrw_read(const struct mei_device *dev) in mei_me_mecbrw_read()
70 static inline void mei_me_hcbww_write(struct mei_device *dev, u32 data) in mei_me_hcbww_write()
82 static inline u32 mei_me_mecsr_read(const struct mei_device *dev) in mei_me_mecsr_read()
99 static inline u32 mei_hcsr_read(const struct mei_device *dev) in mei_hcsr_read()
115 static inline void mei_hcsr_write(struct mei_device *dev, u32 reg) in mei_hcsr_write()
128 static inline void mei_hcsr_set(struct mei_device *dev, u32 reg) in mei_hcsr_set()
139 static inline void mei_hcsr_set_hig(struct mei_device *dev) in mei_hcsr_set_hig()
154 static inline u32 mei_me_d0i3c_read(const struct mei_device *dev) in mei_me_d0i3c_read()
170 static inline void mei_me_d0i3c_write(struct mei_device *dev, u32 reg) in mei_me_d0i3c_write()
184 static int mei_me_trc_status(struct mei_device *dev, u32 *trc) in mei_me_trc_status()
[all …]
/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dphy.c19 mt7601u_rf_wr(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 value) in mt7601u_rf_wr()
54 mt7601u_rf_rr(struct mt7601u_dev *dev, u8 bank, u8 offset) in mt7601u_rf_rr()
95 mt7601u_rf_rmw(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 mask, u8 val) in mt7601u_rf_rmw()
111 mt7601u_rf_set(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 val) in mt7601u_rf_set()
117 mt7601u_rf_clear(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 mask) in mt7601u_rf_clear()
122 static void mt7601u_bbp_wr(struct mt7601u_dev *dev, u8 offset, u8 val) in mt7601u_bbp_wr()
144 static int mt7601u_bbp_rr(struct mt7601u_dev *dev, u8 offset) in mt7601u_bbp_rr()
182 static int mt7601u_bbp_rmw(struct mt7601u_dev *dev, u8 offset, u8 mask, u8 val) in mt7601u_bbp_rmw()
195 static u8 mt7601u_bbp_rmc(struct mt7601u_dev *dev, u8 offset, u8 mask, u8 val) in mt7601u_bbp_rmc()
209 int mt7601u_wait_bbp_ready(struct mt7601u_dev *dev) in mt7601u_wait_bbp_ready()
[all …]
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_wed.c56 struct net_device *dev; member
100 wed_m32(struct mtk_wed_device *dev, u32 reg, u32 mask, u32 val) in wed_m32()
106 wed_set(struct mtk_wed_device *dev, u32 reg, u32 mask) in wed_set()
112 wed_clr(struct mtk_wed_device *dev, u32 reg, u32 mask) in wed_clr()
118 wdma_m32(struct mtk_wed_device *dev, u32 reg, u32 mask, u32 val) in wdma_m32()
124 wdma_set(struct mtk_wed_device *dev, u32 reg, u32 mask) in wdma_set()
130 wdma_clr(struct mtk_wed_device *dev, u32 reg, u32 mask) in wdma_clr()
136 wifi_r32(struct mtk_wed_device *dev, u32 reg) in wifi_r32()
142 wifi_w32(struct mtk_wed_device *dev, u32 reg, u32 val) in wifi_w32()
148 mtk_wed_read_reset(struct mtk_wed_device *dev) in mtk_wed_read_reset()
[all …]
/linux/drivers/mtd/nand/raw/
H A Dr852.c34 static inline uint8_t r852_read_reg(struct r852_device *dev, int address) in r852_read_reg()
41 static inline void r852_write_reg(struct r852_device *dev, in r852_write_reg()
49 static inline uint32_t r852_read_reg_dword(struct r852_device *dev, int address) in r852_read_reg_dword()
56 static inline void r852_write_reg_dword(struct r852_device *dev, in r852_write_reg_dword()
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()
130 static void r852_dma_done(struct r852_device *dev, int error) in r852_dma_done()
157 static int r852_dma_wait(struct r852_device *dev) in r852_dma_wait()
172 static void r852_do_dma(struct r852_device *dev, uint8_t *buf, int do_read) in r852_do_dma()
232 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); in r852_write_buf() local
[all …]
/linux/net/nfc/
H A Dcore.c33 int nfc_fw_download(struct nfc_dev *dev, const char *firmware_name) in nfc_fw_download()
73 int nfc_fw_download_done(struct nfc_dev *dev, const char *firmware_name, in nfc_fw_download_done()
89 int nfc_dev_up(struct nfc_dev *dev) in nfc_dev_up()
137 int nfc_dev_down(struct nfc_dev *dev) in nfc_dev_down()
172 struct nfc_dev *dev = data; in nfc_rfkill_set_block() local
198 int nfc_start_poll(struct nfc_dev *dev, u32 im_protocols, u32 tm_protocols) in nfc_start_poll()
241 int nfc_stop_poll(struct nfc_dev *dev) in nfc_stop_poll()
268 static struct nfc_target *nfc_find_target(struct nfc_dev *dev, u32 target_idx) in nfc_find_target()
280 int nfc_dep_link_up(struct nfc_dev *dev, int target_index, u8 comm_mode) in nfc_dep_link_up()
327 int nfc_dep_link_down(struct nfc_dev *dev) in nfc_dep_link_down()
[all …]
/linux/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
74 static inline int virtio_id_match(const struct virtio_device *dev, in virtio_id_match()
88 struct virtio_device *dev = dev_to_virtio(_dv); in virtio_dev_match() local
100 const struct virtio_device *dev = dev_to_virtio(_dv); in virtio_uevent() local
126 static void __virtio_config_changed(struct virtio_device *dev) in __virtio_config_changed()
138 void virtio_config_changed(struct virtio_device *dev) in virtio_config_changed()
[all …]
/linux/drivers/pci/
H A Dpci.c63 struct pci_dev *dev; member
83 static void pci_dev_d3_sleep(struct pci_dev *dev) in pci_dev_d3_sleep()
96 bool pci_reset_supported(struct pci_dev *dev) in pci_reset_supported()
279 static int pci_dev_str_match_path(struct pci_dev *dev, const char *path, in pci_dev_str_match_path()
373 static int pci_dev_str_match(struct pci_dev *dev, const char *p, in pci_dev_str_match()
429 u8 pci_find_next_capability(struct pci_dev *dev, u8 pos, int cap) in pci_find_next_capability()
475 u8 pci_find_capability(struct pci_dev *dev, int cap) in pci_find_capability()
525 u16 pci_find_next_ext_capability(struct pci_dev *dev, u16 start, int cap) in pci_find_next_ext_capability()
549 u16 pci_find_ext_capability(struct pci_dev *dev, int cap) in pci_find_ext_capability()
564 u64 pci_get_dsn(struct pci_dev *dev) in pci_get_dsn()
[all …]
H A Diov.c24 int pci_iov_virtfn_bus(struct pci_dev *dev, int vf_id) in pci_iov_virtfn_bus()
32 int pci_iov_virtfn_devfn(struct pci_dev *dev, int vf_id) in pci_iov_virtfn_devfn()
41 int pci_iov_vf_id(struct pci_dev *dev) in pci_iov_vf_id()
70 void *pci_iov_get_pf_drvdata(struct pci_dev *dev, struct pci_driver *pf_driver) in pci_iov_get_pf_drvdata()
89 static inline void pci_iov_set_numvfs(struct pci_dev *dev, int nr_virtfn) in pci_iov_set_numvfs()
105 static int compute_max_vf_buses(struct pci_dev *dev) in compute_max_vf_buses()
153 resource_size_t pci_iov_resource_size(struct pci_dev *dev, int resno) in pci_iov_resource_size()
161 void pci_iov_resource_set_size(struct pci_dev *dev, int resno, int size) in pci_iov_resource_set_size()
173 bool pci_iov_is_memory_decoding_enabled(struct pci_dev *dev) in pci_iov_is_memory_decoding_enabled()
205 int pci_iov_sysfs_link(struct pci_dev *dev, in pci_iov_sysfs_link()
[all …]
/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_opr_v5.c36 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_dec_temp_buffers_v5() local
63 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_codec_buffers_v5() local
202 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_instance_buffer_v5() local
248 static int s5p_mfc_alloc_dev_context_buffer_v5(struct s5p_mfc_dev *dev) in s5p_mfc_alloc_dev_context_buffer_v5()
255 static void s5p_mfc_release_dev_context_buffer_v5(struct s5p_mfc_dev *dev) in s5p_mfc_release_dev_context_buffer_v5()
347 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_desc_buffer() local
357 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_shared_buffer() local
366 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_stream_buffer_v5() local
380 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_frame_buffer_v5() local
511 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_stream_buffer_v5() local
[all …]
/linux/drivers/memstick/host/
H A Dr592.c53 static inline u32 r592_read_reg(struct r592_device *dev, int address) in r592_read_reg()
61 static inline void r592_write_reg(struct r592_device *dev, in r592_write_reg()
69 static inline u32 r592_read_reg_raw_be(struct r592_device *dev, int address) in r592_read_reg_raw_be()
77 static inline void r592_write_reg_raw_be(struct r592_device *dev, in r592_write_reg_raw_be()
85 static inline void r592_set_reg_mask(struct r592_device *dev, in r592_set_reg_mask()
94 static inline void r592_clear_reg_mask(struct r592_device *dev, in r592_clear_reg_mask()
105 static int r592_wait_status(struct r592_device *dev, u32 mask, u32 wanted_mask) in r592_wait_status()
130 static int r592_enable_device(struct r592_device *dev, bool enable) in r592_enable_device()
151 static int r592_set_mode(struct r592_device *dev, bool parallel_mode) in r592_set_mode()
179 static void r592_host_reset(struct r592_device *dev) in r592_host_reset()
[all …]
/linux/kernel/dma/
H A Dmapping.c40 static void dmam_release(struct device *dev, void *res) in dmam_release()
48 static int dmam_match(struct device *dev, void *res, void *match_data) in dmam_match()
69 void dmam_free_coherent(struct device *dev, size_t size, void *vaddr, in dmam_free_coherent()
93 void *dmam_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, in dmam_alloc_attrs()
120 static bool dma_go_direct(struct device *dev, dma_addr_t mask, in dma_go_direct()
143 static inline bool dma_alloc_direct(struct device *dev, in dma_alloc_direct()
149 static inline bool dma_map_direct(struct device *dev, in dma_map_direct()
155 dma_addr_t dma_map_phys(struct device *dev, phys_addr_t phys, size_t size, in dma_map_phys()
191 dma_addr_t dma_map_page_attrs(struct device *dev, struct page *page, in dma_map_page_attrs()
208 void dma_unmap_phys(struct device *dev, dma_addr_t addr, size_t size, in dma_unmap_phys()
[all …]
/linux/drivers/base/
H A Ddd.c73 static void __device_set_deferred_probe_reason(const struct device *dev, char *reason) in __device_set_deferred_probe_reason()
84 struct device *dev; in deferred_probe_work_func() local
133 void driver_deferred_probe_add(struct device *dev) in driver_deferred_probe_add()
146 void driver_deferred_probe_del(struct device *dev) in driver_deferred_probe_del()
228 void device_set_deferred_probe_reason(const struct device *dev, struct va_format *vaf) in device_set_deferred_probe_reason()
285 int driver_deferred_probe_check_state(struct device *dev) in driver_deferred_probe_check_state()
380 int __device_set_driver_override(struct device *dev, const char *s, size_t len) in __device_set_driver_override()
441 bool device_is_bound(struct device *dev) in device_is_bound()
447 static void driver_bound(struct device *dev) in driver_bound()
473 static ssize_t coredump_store(struct device *dev, struct device_attribute *attr, in coredump_store()
[all …]

12345678910>>...253