Searched refs:fwnode_handle (Results 1 - 27 of 27) sorted by relevance

/linux-4.4.14/include/linux/
H A Dproperty.h52 bool fwnode_property_present(struct fwnode_handle *fwnode, const char *propname);
53 int fwnode_property_read_u8_array(struct fwnode_handle *fwnode,
56 int fwnode_property_read_u16_array(struct fwnode_handle *fwnode,
59 int fwnode_property_read_u32_array(struct fwnode_handle *fwnode,
62 int fwnode_property_read_u64_array(struct fwnode_handle *fwnode,
65 int fwnode_property_read_string_array(struct fwnode_handle *fwnode,
68 int fwnode_property_read_string(struct fwnode_handle *fwnode,
70 int fwnode_property_match_string(struct fwnode_handle *fwnode,
73 struct fwnode_handle *device_get_next_child_node(struct device *dev,
74 struct fwnode_handle *child);
80 void fwnode_handle_put(struct fwnode_handle *fwnode);
114 static inline bool fwnode_property_read_bool(struct fwnode_handle *fwnode, fwnode_property_read_bool()
120 static inline int fwnode_property_read_u8(struct fwnode_handle *fwnode, fwnode_property_read_u8()
126 static inline int fwnode_property_read_u16(struct fwnode_handle *fwnode, fwnode_property_read_u16()
132 static inline int fwnode_property_read_u32(struct fwnode_handle *fwnode, fwnode_property_read_u32()
138 static inline int fwnode_property_read_u64(struct fwnode_handle *fwnode, fwnode_property_read_u64()
171 struct fwnode_handle fwnode;
H A Dfwnode.h24 struct fwnode_handle { struct
26 struct fwnode_handle *secondary;
H A Dirqdomain.h21 * The host code and data structures use a fwnode_handle pointer to
59 struct fwnode_handle *fwnode;
151 struct fwnode_handle *fwnode;
188 struct fwnode_handle *irq_domain_alloc_fwnode(void *data);
189 void irq_domain_free_fwnode(struct fwnode_handle *fwnode);
190 struct irq_domain *__irq_domain_add(struct fwnode_handle *fwnode, int size,
205 extern struct irq_domain *irq_find_matching_fwnode(struct fwnode_handle *fwnode,
209 static inline struct fwnode_handle *of_node_to_fwnode(struct device_node *node) of_node_to_fwnode()
261 static inline struct irq_domain *irq_domain_create_linear(struct fwnode_handle *fwnode, irq_domain_create_linear()
269 static inline struct irq_domain *irq_domain_create_tree(struct fwnode_handle *fwnode, irq_domain_create_tree()
342 struct fwnode_handle *fwnode,
H A Dacpi.h224 struct fwnode_handle *fwnode);
480 struct fwnode_handle;
482 static inline bool is_acpi_node(struct fwnode_handle *fwnode) is_acpi_node()
487 static inline bool is_acpi_device_node(struct fwnode_handle *fwnode) is_acpi_device_node()
492 static inline struct acpi_device *to_acpi_device_node(struct fwnode_handle *fwnode) to_acpi_device_node()
497 static inline bool is_acpi_data_node(struct fwnode_handle *fwnode) is_acpi_data_node()
502 static inline struct acpi_data_node *to_acpi_data_node(struct fwnode_handle *fwnode) to_acpi_data_node()
507 static inline struct fwnode_handle *acpi_fwnode_handle(struct acpi_device *adev) acpi_fwnode_handle()
794 int acpi_node_get_property_reference(struct fwnode_handle *fwnode,
798 int acpi_node_prop_get(struct fwnode_handle *fwnode, const char *propname,
802 int acpi_node_prop_read(struct fwnode_handle *fwnode, const char *propname,
807 struct fwnode_handle *acpi_get_next_subnode(struct device *dev,
808 struct fwnode_handle *subnode);
872 static inline int acpi_node_get_property_reference(struct fwnode_handle *fwnode, acpi_node_get_property_reference()
879 static inline int acpi_node_prop_get(struct fwnode_handle *fwnode, acpi_node_prop_get()
901 static inline int acpi_node_prop_read(struct fwnode_handle *fwnode, acpi_node_prop_read()
917 static inline struct fwnode_handle *acpi_get_next_subnode(struct device *dev, acpi_get_next_subnode()
918 struct fwnode_handle *subnode) acpi_get_next_subnode()
H A Dmsi.h179 struct fwnode_handle;
268 struct irq_domain *msi_create_irq_domain(struct fwnode_handle *fwnode,
276 struct irq_domain *platform_msi_create_irq_domain(struct fwnode_handle *fwnode,
286 struct irq_domain *pci_msi_create_irq_domain(struct fwnode_handle *fwnode,
292 struct irq_domain *pci_msi_create_default_irq_domain(struct fwnode_handle *fwnode,
H A Dof.h54 struct fwnode_handle fwnode;
134 static inline bool is_of_node(struct fwnode_handle *fwnode) is_of_node()
139 static inline struct device_node *to_of_node(struct fwnode_handle *fwnode) to_of_node()
386 static inline bool is_of_node(struct fwnode_handle *fwnode) is_of_node()
391 static inline struct device_node *to_of_node(struct fwnode_handle *fwnode) to_of_node()
H A Dplatform_device.h62 struct fwnode_handle *fwnode;
H A Ddevice.h41 struct fwnode_handle;
822 struct fwnode_handle *fwnode; /* firmware device node */
1015 extern void set_primary_fwnode(struct device *dev, struct fwnode_handle *fwnode);
1016 extern void set_secondary_fwnode(struct device *dev, struct fwnode_handle *fwnode);
H A Di2c.h305 struct fwnode_handle *fwnode;
/linux-4.4.14/drivers/acpi/
H A Dgsi.c18 static struct fwnode_handle *acpi_gsi_domain_id;
113 struct fwnode_handle *fwnode) acpi_set_irq_model()
H A Dproperty.c401 static struct acpi_device_data *acpi_device_data_of_node(struct fwnode_handle *fwnode) acpi_device_data_of_node()
419 int acpi_node_prop_get(struct fwnode_handle *fwnode, const char *propname, acpi_node_prop_get()
579 int acpi_node_get_property_reference(struct fwnode_handle *fwnode, acpi_node_get_property_reference()
788 int acpi_node_prop_read(struct fwnode_handle *fwnode, const char *propname, acpi_node_prop_read()
800 struct fwnode_handle *acpi_get_next_subnode(struct device *dev, acpi_get_next_subnode()
801 struct fwnode_handle *child) acpi_get_next_subnode()
/linux-4.4.14/include/linux/gpio/
H A Dconsumer.h135 struct fwnode_handle;
137 struct gpio_desc *fwnode_get_named_gpiod(struct fwnode_handle *fwnode,
141 struct fwnode_handle *child);
412 struct fwnode_handle;
415 struct fwnode_handle *fwnode, const char *propname) fwnode_get_named_gpiod()
421 struct device *dev, const char *con_id, struct fwnode_handle *child) devm_get_gpiod_from_child()
/linux-4.4.14/include/acpi/
H A Dacpi_bus.h355 struct fwnode_handle fwnode;
386 struct fwnode_handle fwnode;
393 static inline bool is_acpi_node(struct fwnode_handle *fwnode) is_acpi_node()
399 static inline bool is_acpi_device_node(struct fwnode_handle *fwnode) is_acpi_device_node()
404 static inline struct acpi_device *to_acpi_device_node(struct fwnode_handle *fwnode) to_acpi_device_node()
410 static inline bool is_acpi_data_node(struct fwnode_handle *fwnode) is_acpi_data_node()
415 static inline struct acpi_data_node *to_acpi_data_node(struct fwnode_handle *fwnode) to_acpi_data_node()
421 static inline struct fwnode_handle *acpi_fwnode_handle(struct acpi_device *adev) acpi_fwnode_handle()
/linux-4.4.14/drivers/base/
H A Dproperty.c40 static inline bool is_pset(struct fwnode_handle *fwnode) is_pset()
45 static inline struct property_set *to_pset(struct fwnode_handle *fwnode) to_pset()
108 static inline struct fwnode_handle *dev_fwnode(struct device *dev) dev_fwnode()
132 bool fwnode_property_present(struct fwnode_handle *fwnode, const char *propname) fwnode_property_present()
351 int fwnode_property_read_u8_array(struct fwnode_handle *fwnode, fwnode_property_read_u8_array()
377 int fwnode_property_read_u16_array(struct fwnode_handle *fwnode, fwnode_property_read_u16_array()
403 int fwnode_property_read_u32_array(struct fwnode_handle *fwnode, fwnode_property_read_u32_array()
429 int fwnode_property_read_u64_array(struct fwnode_handle *fwnode, fwnode_property_read_u64_array()
455 int fwnode_property_read_string_array(struct fwnode_handle *fwnode, fwnode_property_read_string_array()
489 int fwnode_property_read_string(struct fwnode_handle *fwnode, fwnode_property_read_string()
518 int fwnode_property_match_string(struct fwnode_handle *fwnode, fwnode_property_match_string()
554 struct fwnode_handle *device_get_next_child_node(struct device *dev, device_get_next_child_node()
555 struct fwnode_handle *child) device_get_next_child_node()
578 void fwnode_handle_put(struct fwnode_handle *fwnode) fwnode_handle_put()
591 struct fwnode_handle *child; device_get_child_node_count()
H A Dplatform-msi.c165 struct irq_domain *platform_msi_create_irq_domain(struct fwnode_handle *fwnode, platform_msi_create_irq_domain()
H A Dcore.c2243 static inline bool fwnode_is_primary(struct fwnode_handle *fwnode) fwnode_is_primary()
2256 void set_primary_fwnode(struct device *dev, struct fwnode_handle *fwnode) set_primary_fwnode()
2259 struct fwnode_handle *fn = dev->fwnode; set_primary_fwnode()
2282 void set_secondary_fwnode(struct device *dev, struct fwnode_handle *fwnode) set_secondary_fwnode()
/linux-4.4.14/drivers/gpio/
H A Dgpiolib.h45 struct gpio_desc *acpi_node_get_gpiod(struct fwnode_handle *fwnode,
67 acpi_node_get_gpiod(struct fwnode_handle *fwnode, const char *propname, acpi_node_get_gpiod()
H A Dgpiolib-acpi.c455 static int acpi_gpio_property_lookup(struct fwnode_handle *fwnode, acpi_gpio_property_lookup()
555 struct gpio_desc *acpi_node_get_gpiod(struct fwnode_handle *fwnode, acpi_node_get_gpiod()
H A Ddevres.c136 struct fwnode_handle *child) devm_get_gpiod_from_child()
H A Dgpiolib.c2195 struct gpio_desc *fwnode_get_named_gpiod(struct fwnode_handle *fwnode, fwnode_get_named_gpiod()
/linux-4.4.14/kernel/irq/
H A Dirqdomain.c31 struct fwnode_handle fwnode;
37 * irq_domain_alloc_fwnode - Allocate a fwnode_handle suitable for
42 * fwnode_handle (or NULL on failure).
44 struct fwnode_handle *irq_domain_alloc_fwnode(void *data) irq_domain_alloc_fwnode()
65 * irq_domain_free_fwnode - Free a non-OF-backed fwnode_handle
67 * Free a fwnode_handle allocated with irq_domain_alloc_fwnode.
69 void irq_domain_free_fwnode(struct fwnode_handle *fwnode) irq_domain_free_fwnode()
94 struct irq_domain *__irq_domain_add(struct fwnode_handle *fwnode, int size, __irq_domain_add()
250 struct irq_domain *irq_find_matching_fwnode(struct fwnode_handle *fwnode, irq_find_matching_fwnode()
874 struct fwnode_handle *fwnode, irq_domain_create_hierarchy()
H A Dmsi.c242 struct irq_domain *msi_create_irq_domain(struct fwnode_handle *fwnode, msi_create_irq_domain()
/linux-4.4.14/drivers/leds/
H A Dleds-gpio.c171 struct fwnode_handle *child; gpio_leds_create()
/linux-4.4.14/drivers/input/keyboard/
H A Dgpio_keys_polled.c149 struct fwnode_handle *child; gpio_keys_polled_get_devtree_pdata()
/linux-4.4.14/drivers/pci/host/
H A Dpcie-altera-msi.c184 struct fwnode_handle *fwnode = of_node_to_fwnode(msi->pdev->dev.of_node); altera_allocate_domains()
/linux-4.4.14/drivers/irqchip/
H A Dirq-gic.c1045 u32 percpu_offset, struct fwnode_handle *handle) __gic_init_bases()
1323 struct fwnode_handle *domain_handle; gic_v2_acpi_init()
/linux-4.4.14/drivers/pci/
H A Dmsi.c1270 struct irq_domain *pci_msi_create_irq_domain(struct fwnode_handle *fwnode, pci_msi_create_irq_domain()
1324 struct irq_domain *pci_msi_create_default_irq_domain(struct fwnode_handle *fwnode, pci_msi_create_default_irq_domain()

Completed in 802 milliseconds