Lines Matching refs:acpi_device
51 static inline acpi_handle acpi_device_handle(struct acpi_device *adev) in acpi_device_handle()
67 struct acpi_device *parent, u64 addr) in acpi_preset_companion()
72 static inline const char *acpi_dev_name(struct acpi_device *adev) in acpi_dev_name()
211 extern bool acpi_is_pnp_device(struct acpi_device *);
316 int acpi_dev_get_resources(struct acpi_device *adev, struct list_head *list,
459 struct platform_device *acpi_create_platform_device(struct acpi_device *);
477 static inline struct acpi_device *acpi_node(struct fwnode_handle *fwnode) in acpi_node()
482 static inline struct fwnode_handle *acpi_fwnode_handle(struct acpi_device *adev) in acpi_fwnode_handle()
492 static inline const char *acpi_dev_name(struct acpi_device *adev) in acpi_dev_name()
608 struct acpi_device *acpi_dev_pm_get_node(struct device *dev);
615 static inline struct acpi_device *acpi_dev_pm_get_node(struct device *dev) in acpi_dev_pm_get_node()
718 int acpi_dev_add_driver_gpios(struct acpi_device *adev,
721 static inline void acpi_dev_remove_driver_gpios(struct acpi_device *adev) in acpi_dev_remove_driver_gpios()
727 static inline int acpi_dev_add_driver_gpios(struct acpi_device *adev, in acpi_dev_add_driver_gpios()
732 static inline void acpi_dev_remove_driver_gpios(struct acpi_device *adev) {} in acpi_dev_remove_driver_gpios()
739 struct acpi_device *adev;
745 int acpi_dev_get_property(struct acpi_device *adev, const char *name,
747 int acpi_dev_get_property_array(struct acpi_device *adev, const char *name,
750 int acpi_dev_get_property_reference(struct acpi_device *adev,
754 int acpi_dev_prop_get(struct acpi_device *adev, const char *propname,
756 int acpi_dev_prop_read_single(struct acpi_device *adev, const char *propname,
758 int acpi_dev_prop_read(struct acpi_device *adev, const char *propname,
761 struct acpi_device *acpi_get_next_child(struct device *dev,
762 struct acpi_device *child);
764 static inline int acpi_dev_get_property(struct acpi_device *adev, in acpi_dev_get_property()
770 static inline int acpi_dev_get_property_array(struct acpi_device *adev, in acpi_dev_get_property_array()
777 static inline int acpi_dev_get_property_reference(struct acpi_device *adev, in acpi_dev_get_property_reference()
784 static inline int acpi_dev_prop_get(struct acpi_device *adev, in acpi_dev_prop_get()
791 static inline int acpi_dev_prop_read_single(struct acpi_device *adev, in acpi_dev_prop_read_single()
799 static inline int acpi_dev_prop_read(struct acpi_device *adev, in acpi_dev_prop_read()
807 static inline struct acpi_device *acpi_get_next_child(struct device *dev, in acpi_get_next_child()
808 struct acpi_device *child) in acpi_get_next_child()