Home
last modified time | relevance | path

Searched refs:fwnode_handle (Results 1 – 15 of 15) sorted by relevance

/linux-4.1.27/include/linux/
Dproperty.h44 bool fwnode_property_present(struct fwnode_handle *fwnode, const char *propname);
45 int fwnode_property_read_u8_array(struct fwnode_handle *fwnode,
48 int fwnode_property_read_u16_array(struct fwnode_handle *fwnode,
51 int fwnode_property_read_u32_array(struct fwnode_handle *fwnode,
54 int fwnode_property_read_u64_array(struct fwnode_handle *fwnode,
57 int fwnode_property_read_string_array(struct fwnode_handle *fwnode,
60 int fwnode_property_read_string(struct fwnode_handle *fwnode,
63 struct fwnode_handle *device_get_next_child_node(struct device *dev,
64 struct fwnode_handle *child);
70 void fwnode_handle_put(struct fwnode_handle *fwnode);
[all …]
Dfwnode.h22 struct fwnode_handle { struct
24 struct fwnode_handle *secondary; argument
Dof.h54 struct fwnode_handle fwnode;
126 static inline bool is_of_node(struct fwnode_handle *fwnode) in is_of_node()
131 static inline struct device_node *of_node(struct fwnode_handle *fwnode) in of_node()
385 static inline bool is_of_node(struct fwnode_handle *fwnode) in is_of_node()
390 static inline struct device_node *of_node(struct fwnode_handle *fwnode) in of_node()
Dacpi.h470 struct fwnode_handle;
472 static inline bool is_acpi_node(struct fwnode_handle *fwnode) in is_acpi_node()
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()
Ddevice.h41 struct fwnode_handle;
775 struct fwnode_handle *fwnode; /* firmware device node */
950 extern void set_primary_fwnode(struct device *dev, struct fwnode_handle *fwnode);
951 extern void set_secondary_fwnode(struct device *dev, struct fwnode_handle *fwnode);
Dplatform_device.h62 struct fwnode_handle *fwnode;
Di2c.h302 struct fwnode_handle *fwnode;
/linux-4.1.27/drivers/base/
Dproperty.c37 static inline bool is_pset(struct fwnode_handle *fwnode) in is_pset()
42 static inline struct property_set *to_pset(struct fwnode_handle *fwnode) in to_pset()
105 static inline struct fwnode_handle *dev_fwnode(struct device *dev) in dev_fwnode()
129 bool fwnode_property_present(struct fwnode_handle *fwnode, const char *propname) in fwnode_property_present()
318 int fwnode_property_read_u8_array(struct fwnode_handle *fwnode, in fwnode_property_read_u8_array()
344 int fwnode_property_read_u16_array(struct fwnode_handle *fwnode, in fwnode_property_read_u16_array()
370 int fwnode_property_read_u32_array(struct fwnode_handle *fwnode, in fwnode_property_read_u32_array()
396 int fwnode_property_read_u64_array(struct fwnode_handle *fwnode, in fwnode_property_read_u64_array()
422 int fwnode_property_read_string_array(struct fwnode_handle *fwnode, in fwnode_property_read_string_array()
455 int fwnode_property_read_string(struct fwnode_handle *fwnode, in fwnode_property_read_string()
[all …]
Dcore.c2149 static inline bool fwnode_is_primary(struct fwnode_handle *fwnode) in fwnode_is_primary()
2162 void set_primary_fwnode(struct device *dev, struct fwnode_handle *fwnode) in set_primary_fwnode()
2165 struct fwnode_handle *fn = dev->fwnode; in set_primary_fwnode()
2188 void set_secondary_fwnode(struct device *dev, struct fwnode_handle *fwnode) in set_secondary_fwnode()
/linux-4.1.27/include/linux/gpio/
Dconsumer.h134 struct fwnode_handle;
136 struct gpio_desc *fwnode_get_named_gpiod(struct fwnode_handle *fwnode,
140 struct fwnode_handle *child);
410 struct fwnode_handle;
413 struct fwnode_handle *fwnode, const char *propname) in fwnode_get_named_gpiod()
419 struct device *dev, const char *con_id, struct fwnode_handle *child) in devm_get_gpiod_from_child()
/linux-4.1.27/include/acpi/
Dacpi_bus.h356 struct fwnode_handle fwnode;
383 static inline bool is_acpi_node(struct fwnode_handle *fwnode) in is_acpi_node()
388 static inline struct acpi_device *acpi_node(struct fwnode_handle *fwnode) in acpi_node()
394 static inline struct fwnode_handle *acpi_fwnode_handle(struct acpi_device *adev) in acpi_fwnode_handle()
/linux-4.1.27/drivers/gpio/
Ddevres.c136 struct fwnode_handle *child) in devm_get_gpiod_from_child()
Dgpiolib.c2030 struct gpio_desc *fwnode_get_named_gpiod(struct fwnode_handle *fwnode, in fwnode_get_named_gpiod()
/linux-4.1.27/drivers/leds/
Dleds-gpio.c170 struct fwnode_handle *child; in gpio_leds_create()
/linux-4.1.27/drivers/input/keyboard/
Dgpio_keys_polled.c107 struct fwnode_handle *child; in gpio_keys_polled_get_devtree_pdata()