Home
last modified time | relevance | path

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

12345678910>>...232

/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.h149 static inline void debug_dma_mapping_error(struct device *dev, in debug_dma_mapping_error()
153 static inline void debug_dma_map_single(struct device *dev, const void *addr, in debug_dma_map_single()
160 static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) in dma_mapping_error()
222 static inline dma_addr_t dma_map_page_attrs(struct device *dev, in dma_map_page_attrs()
228 static inline void dma_unmap_page_attrs(struct device *dev, dma_addr_t addr, in dma_unmap_page_attrs()
232 static inline dma_addr_t dma_map_phys(struct device *dev, phys_addr_t phys, in dma_map_phys()
237 static inline void dma_unmap_phys(struct device *dev, dma_addr_t addr, in dma_unmap_phys()
241 static inline unsigned int dma_map_sg_attrs(struct device *dev, in dma_map_sg_attrs()
247 static inline void dma_unmap_sg_attrs(struct device *dev, in dma_unmap_sg_attrs()
252 static inline int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable()
[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 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 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 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 …]
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 …]
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt792x_dma.c13 struct mt792x_dev *dev = dev_instance; in mt792x_irq_handler() local
30 struct mt792x_dev *dev = (struct mt792x_dev *)data; in mt792x_irq_tasklet() local
76 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt792x_rx_poll_complete() local
88 int mt792x_dma_alloc_queues(struct mt792x_dev *dev, in mt792x_dma_alloc_queues()
157 static void mt7925_dma_prefetch_setup(struct mt792x_dev *dev) in mt7925_dma_prefetch_setup()
174 static void mt7925_wfdma_setup(struct mt792x_dev *dev) in mt7925_wfdma_setup()
181 static void mt7927_dma_prefetch_setup(struct mt792x_dev *dev) in mt7927_dma_prefetch_setup()
197 static void mt7927_wfdma_setup(struct mt792x_dev *dev) in mt7927_wfdma_setup()
209 static void mt7928_dma_prefetch_setup(struct mt792x_dev *dev) in mt7928_dma_prefetch_setup()
230 static void mt7928_wfdma_setup(struct mt792x_dev *dev) in mt7928_wfdma_setup()
[all …]
/linux/drivers/base/power/
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 Dmain.c115 void device_pm_sleep_init(struct device *dev) in device_pm_sleep_init()
147 void device_pm_add(struct device *dev) in device_pm_add()
169 void device_pm_remove(struct device *dev) in device_pm_remove()
218 void device_pm_move_last(struct device *dev) in device_pm_move_last()
225 static ktime_t initcall_debug_start(struct device *dev, void *cb) in initcall_debug_start()
236 static void initcall_debug_report(struct device *dev, ktime_t calltime, in initcall_debug_report()
254 static void dpm_wait(struct device *dev, bool async) in dpm_wait()
267 static int dpm_wait_fn(struct device *dev, void *async_ptr) in dpm_wait_fn()
273 static void dpm_wait_for_children(struct device *dev, bool async) in dpm_wait_for_children()
278 static void dpm_wait_for_suppliers(struct device *dev, bool async) in dpm_wait_for_suppliers()
[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/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/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/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/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/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/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()
141 static inline bool dma_alloc_direct(struct device *dev, in dma_alloc_direct()
147 static inline bool dma_map_direct(struct device *dev, in dma_map_direct()
153 dma_addr_t dma_map_phys(struct device *dev, phys_addr_t phys, size_t size, in dma_map_phys()
189 dma_addr_t dma_map_page_attrs(struct device *dev, struct page *page, in dma_map_page_attrs()
206 void dma_unmap_phys(struct device *dev, dma_addr_t addr, size_t size, in dma_unmap_phys()
[all …]
/linux/drivers/comedi/drivers/
H A Dni_mio_common.c221 static void ni_writel(struct comedi_device *dev, unsigned int data, int reg) in ni_writel()
226 static void ni_writew(struct comedi_device *dev, unsigned int data, int reg) in ni_writew()
231 static void ni_writeb(struct comedi_device *dev, unsigned int data, int reg) in ni_writeb()
236 static unsigned int ni_readl(struct comedi_device *dev, int reg) in ni_readl()
241 static unsigned int ni_readw(struct comedi_device *dev, int reg) in ni_readw()
246 static unsigned int ni_readb(struct comedi_device *dev, int reg) in ni_readb()
253 static void ni_writel(struct comedi_device *dev, unsigned int data, int reg) in ni_writel()
258 static void ni_writew(struct comedi_device *dev, unsigned int data, int reg) in ni_writew()
263 static void ni_writeb(struct comedi_device *dev, unsigned int data, int reg) in ni_writeb()
268 static unsigned int ni_readl(struct comedi_device *dev, int reg) in ni_readl()
[all …]
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dmain.c241 static void b43legacy_ram_write(struct b43legacy_wldev *dev, u16 offset, in b43legacy_ram_write()
257 void b43legacy_shm_control_word(struct b43legacy_wldev *dev, in b43legacy_shm_control_word()
270 u32 b43legacy_shm_read32(struct b43legacy_wldev *dev, in b43legacy_shm_read32()
297 u16 b43legacy_shm_read16(struct b43legacy_wldev *dev, in b43legacy_shm_read16()
320 void b43legacy_shm_write32(struct b43legacy_wldev *dev, in b43legacy_shm_write32()
344 void b43legacy_shm_write16(struct b43legacy_wldev *dev, u16 routing, u16 offset, in b43legacy_shm_write16()
364 u32 b43legacy_hf_read(struct b43legacy_wldev *dev) in b43legacy_hf_read()
378 void b43legacy_hf_write(struct b43legacy_wldev *dev, u32 value) in b43legacy_hf_write()
388 void b43legacy_tsf_read(struct b43legacy_wldev *dev, u64 *tsf) in b43legacy_tsf_read()
446 static void b43legacy_time_lock(struct b43legacy_wldev *dev) in b43legacy_time_lock()
[all …]
/linux/drivers/net/ethernet/ibm/emac/
H A Dcore.c117 static inline void emac_report_timeout_error(struct emac_instance *dev, in emac_report_timeout_error()
132 static inline void emac_rx_clk_tx(struct emac_instance *dev) in emac_rx_clk_tx()
141 static inline void emac_rx_clk_default(struct emac_instance *dev) in emac_rx_clk_default()
205 static inline void emac_tx_enable(struct emac_instance *dev) in emac_tx_enable()
217 static void emac_tx_disable(struct emac_instance *dev) in emac_tx_disable()
237 static void emac_rx_enable(struct emac_instance *dev) in emac_rx_enable()
266 static void emac_rx_disable(struct emac_instance *dev) in emac_rx_disable()
286 static inline void emac_netif_stop(struct emac_instance *dev) in emac_netif_stop()
298 static inline void emac_netif_start(struct emac_instance *dev) in emac_netif_start()
318 static inline void emac_rx_disable_async(struct emac_instance *dev) in emac_rx_disable_async()
[all …]
/linux/drivers/net/usb/
H A Dusbnet.c49 #define RX_QLEN(dev) ((dev)->rx_qlen) argument
50 #define TX_QLEN(dev) ((dev)->tx_qlen) argument
90 int usbnet_get_endpoints(struct usbnet *dev, struct usb_interface *intf) in usbnet_get_endpoints()
159 int usbnet_get_ethernet_addr(struct usbnet *dev, int iMACAddress) in usbnet_get_ethernet_addr()
180 static bool usbnet_needs_usb_name_format(struct usbnet *dev, struct net_device *net) in usbnet_needs_usb_name_format()
193 struct usbnet *dev = urb->context; in intr_complete() local
223 static int init_status(struct usbnet *dev, struct usb_interface *intf) in init_status()
259 int usbnet_status_start(struct usbnet *dev, gfp_t mem_flags) in usbnet_status_start()
279 static int __usbnet_status_start_force(struct usbnet *dev, gfp_t mem_flags) in __usbnet_status_start_force()
294 void usbnet_status_stop(struct usbnet *dev) in usbnet_status_stop()
[all …]
/linux/drivers/misc/mei/
H A Dhw-txe.c157 static bool mei_txe_aliveness_set(struct mei_device *dev, u32 req) in mei_txe_aliveness_set()
183 static u32 mei_txe_aliveness_req_get(struct mei_device *dev) in mei_txe_aliveness_req_get()
200 static u32 mei_txe_aliveness_get(struct mei_device *dev) in mei_txe_aliveness_get()
219 static int mei_txe_aliveness_poll(struct mei_device *dev, u32 expected) in mei_txe_aliveness_poll()
252 static int mei_txe_aliveness_wait(struct mei_device *dev, u32 expected) in mei_txe_aliveness_wait()
292 int mei_txe_aliveness_set_sync(struct mei_device *dev, u32 req) in mei_txe_aliveness_set_sync()
306 static bool mei_txe_pg_in_transition(struct mei_device *dev) in mei_txe_pg_in_transition()
318 static bool mei_txe_pg_is_enabled(struct mei_device *dev) in mei_txe_pg_is_enabled()
331 static inline enum mei_pg_state mei_txe_pg_state(struct mei_device *dev) in mei_txe_pg_state()
343 static void mei_txe_input_ready_interrupt_enable(struct mei_device *dev) in mei_txe_input_ready_interrupt_enable()
[all …]

12345678910>>...232