• Home
  • Raw
  • Download

Lines Matching defs:dev

290 #define devm_add_action(dev, action, data) \  argument
293 static inline int __devm_add_action_or_reset(struct device *dev, void (*action)(void *), in __devm_add_action_or_reset()
304 #define devm_add_action_or_reset(dev, action, data) \ argument
318 #define devm_alloc_percpu(dev, type) \ argument
761 static inline bool device_iommu_mapped(struct device *dev) in device_iommu_mapped()
774 static inline const char *dev_name(const struct device *dev) in dev_name()
790 static inline const char *dev_bus_name(const struct device *dev) in dev_bus_name()
798 static inline int dev_to_node(struct device *dev) in dev_to_node()
802 static inline void set_dev_node(struct device *dev, int node) in set_dev_node()
807 static inline int dev_to_node(struct device *dev) in dev_to_node()
811 static inline void set_dev_node(struct device *dev, int node) in set_dev_node()
816 static inline struct irq_domain *dev_get_msi_domain(const struct device *dev) in dev_get_msi_domain()
825 static inline void dev_set_msi_domain(struct device *dev, struct irq_domain *d) in dev_set_msi_domain()
832 static inline void *dev_get_drvdata(const struct device *dev) in dev_get_drvdata()
837 static inline void dev_set_drvdata(struct device *dev, void *data) in dev_set_drvdata()
842 static inline struct pm_subsys_data *dev_to_psd(struct device *dev) in dev_to_psd()
847 static inline unsigned int dev_get_uevent_suppress(const struct device *dev) in dev_get_uevent_suppress()
852 static inline void dev_set_uevent_suppress(struct device *dev, int val) in dev_set_uevent_suppress()
857 static inline int device_is_registered(struct device *dev) in device_is_registered()
862 static inline void device_enable_async_suspend(struct device *dev) in device_enable_async_suspend()
868 static inline void device_disable_async_suspend(struct device *dev) in device_disable_async_suspend()
874 static inline bool device_async_suspend_enabled(struct device *dev) in device_async_suspend_enabled()
879 static inline bool device_pm_not_required(struct device *dev) in device_pm_not_required()
884 static inline void device_set_pm_not_required(struct device *dev) in device_set_pm_not_required()
892 static inline void dev_pm_syscore_device(struct device *dev, bool val) in dev_pm_syscore_device()
899 static inline void dev_pm_set_driver_flags(struct device *dev, u32 flags) in dev_pm_set_driver_flags()
904 static inline bool dev_pm_test_driver_flags(struct device *dev, u32 flags) in dev_pm_test_driver_flags()
909 static inline void device_lock(struct device *dev) in device_lock()
914 static inline int device_lock_interruptible(struct device *dev) in device_lock_interruptible()
919 static inline int device_trylock(struct device *dev) in device_trylock()
924 static inline void device_unlock(struct device *dev) in device_unlock()
936 static inline bool dev_has_sync_state(struct device *dev) in dev_has_sync_state()
947 static inline void dev_set_removable(struct device *dev, in dev_set_removable()
953 static inline bool dev_is_removable(struct device *dev) in dev_is_removable()
958 static inline bool dev_removable_is_valid(struct device *dev) in dev_removable_is_valid()
992 static inline bool device_supports_offline(struct device *dev) in device_supports_offline()
997 #define __device_lock_set_class(dev, name, key) \ argument
1014 #define device_lock_set_class(dev, key) \ argument
1023 #define device_lock_set_class(dev, key) __device_lock_set_class(dev, #key, key) argument
1033 #define device_lock_reset_class(dev) \ argument
1051 static inline struct device_node *dev_of_node(struct device *dev) in dev_of_node()
1058 static inline int dev_num_vf(struct device *dev) in dev_num_vf()
1076 static inline void *dev_get_platdata(const struct device *dev) in dev_get_platdata()
1113 static inline int __must_check device_add_group(struct device *dev, in device_add_group()
1121 static inline void device_remove_group(struct device *dev, in device_remove_group()