/linux/include/linux/ |
H A D | fwnode.h | 47 struct fwnode_handle { struct 103 struct fwnode_handle *fwnode; 134 struct fwnode_handle *(*get)(struct fwnode_handle *fwnode); 149 (*property_read_string_array)(const struct fwnode_handle *fwnode_handle, 154 struct fwnode_handle *(*get_parent)(const struct fwnode_handle *fwnode); 155 struct fwnode_handle * 158 struct fwnode_handle * 165 struct fwnode_handle * 168 struct fwnode_handle * 170 struct fwnode_handle * [all …]
|
H A D | property.h | 148 struct fwnode_handle *fwnode_get_parent(const struct fwnode_handle *fwnode); 149 struct fwnode_handle *fwnode_get_next_parent(struct fwnode_handle *fwnode); 156 struct fwnode_handle *fwnode_get_nth_parent(struct fwnode_handle *fwn, 159 const struct fwnode_handle *fwnode, struct fwnode_handle *child); 161 const struct fwnode_handle *fwnode, struct fwnode_handle *child); 179 for (struct fwnode_handle *child __free(fwnode_handle) = \ 188 struct fwnode_handle *fwnode_handle_get(struct fwnode_handle *fwnode); 203 DEFINE_FREE(fwnode_handle, struct fwnode_handle *, fwnode_handle_put(_T)) 468 const struct fwnode_handle *fwnode, struct fwnode_handle *prev); 469 struct fwnode_handle * [all …]
|
H A D | acpi_iort.h | 27 struct fwnode_handle *fw_node); 29 struct fwnode_handle *iort_find_domain_token(int trans_id); 37 void iort_get_rmr_sids(struct fwnode_handle *iommu_fwnode, 39 void iort_put_rmr_sids(struct fwnode_handle *iommu_fwnode, 54 void iort_get_rmr_sids(struct fwnode_handle *iommu_fwnode, struct list_head *head) { } in iort_get_rmr_sids() 56 void iort_put_rmr_sids(struct fwnode_handle *iommu_fwnode, struct list_head *head) { } in iort_put_rmr_sids()
|
H A D | irqdomain.h | 41 struct fwnode_handle; 64 struct fwnode_handle *fwnode; 180 struct fwnode_handle *fwnode; 265 struct fwnode_handle *irq_domain_alloc_named_fwnode(const char *name) in irq_domain_alloc_named_fwnode() 282 void irq_domain_free_fwnode(struct fwnode_handle *fwnode); 310 struct fwnode_handle *fwnode; 336 struct irq_domain *irq_domain_create_simple(struct fwnode_handle *fwnode, 347 struct irq_domain *irq_domain_create_legacy(struct fwnode_handle *fwnode, 368 static inline bool is_fwnode_irqchip(const struct fwnode_handle *fwnode) in is_fwnode_irqchip() 601 struct fwnode_handle *fwnode, [all …]
|
H A D | acpi.h | 66 struct fwnode_handle *fwnode; in acpi_alloc_fwnode_static() 340 struct fwnode_handle *(*)(u32)); 345 struct fwnode_handle *fwnode, 789 struct fwnode_handle; 1314 struct fwnode_handle *acpi_get_next_subnode(const struct fwnode_handle *fwnode, 1315 struct fwnode_handle *child); 1415 static inline struct fwnode_handle * 1417 struct fwnode_handle *child) in acpi_get_next_subnode() 1422 static inline struct fwnode_handle * 1424 struct fwnode_handle *prev) in acpi_graph_get_next_endpoint() [all …]
|
H A D | fwnode_mdio.h | 14 struct fwnode_handle *child, u32 addr); 17 struct fwnode_handle *child, u32 addr); 22 struct fwnode_handle *child, u32 addr) in fwnode_mdiobus_phy_device_register() 28 struct fwnode_handle *child, in fwnode_mdiobus_register_phy()
|
H A D | irq_sim.h | 26 struct irq_domain *irq_domain_create_sim(struct fwnode_handle *fwnode, 29 struct fwnode_handle *fwnode, 31 struct irq_domain *irq_domain_create_sim_full(struct fwnode_handle *fwnode, 37 struct fwnode_handle *fwnode,
|
H A D | acpi_mdio.h | 12 int __acpi_mdiobus_register(struct mii_bus *mdio, struct fwnode_handle *fwnode, 16 acpi_mdiobus_register(struct mii_bus *mdio, struct fwnode_handle *handle) in acpi_mdiobus_register() 22 acpi_mdiobus_register(struct mii_bus *mdio, struct fwnode_handle *fwnode) in acpi_mdiobus_register()
|
/linux/drivers/base/ |
H A D | property.c | 672 struct fwnode_handle *fwnode_get_parent(const struct fwnode_handle *fwnode) in fwnode_get_parent() 693 struct fwnode_handle *fwnode_get_next_parent(struct fwnode_handle *fwnode) in fwnode_get_next_parent() 733 struct fwnode_handle *fwnode_get_nth_parent(struct fwnode_handle *fwnode, in fwnode_get_nth_parent() 758 struct fwnode_handle * 775 struct fwnode_handle * 830 struct fwnode_handle * 862 struct fwnode_handle *fwnode_handle_get(struct fwnode_handle *fwnode) in fwnode_handle_get() 1040 struct fwnode_handle * 1082 struct fwnode_handle * 1105 struct fwnode_handle * [all …]
|
H A D | swnode.c | 29 struct fwnode_handle fwnode; 377 static struct fwnode_handle *software_node_get(struct fwnode_handle *fwnode) in software_node_get() 451 static struct fwnode_handle * 462 static struct fwnode_handle * 484 static struct fwnode_handle * 567 static struct fwnode_handle * 587 static struct fwnode_handle * 593 struct fwnode_handle *port; in software_node_graph_get_next_endpoint() 622 static struct fwnode_handle * 641 static struct fwnode_handle * [all …]
|
/linux/drivers/acpi/ |
H A D | property.c | 83 struct fwnode_handle *parent) in acpi_nondev_subnode_extract() 786 static struct fwnode_handle * 790 struct fwnode_handle *child; in acpi_fwnode_get_named_child_node() 847 static struct fwnode_handle *acpi_parse_string_ref(const struct fwnode_handle *fwnode, in acpi_parse_string_ref() 1267 struct fwnode_handle *acpi_get_next_subnode(const struct fwnode_handle *fwnode, in acpi_get_next_subnode() 1328 static struct fwnode_handle * 1376 const struct fwnode_handle *fwnode, struct fwnode_handle *prev) in acpi_graph_get_next_endpoint() 1436 struct fwnode_handle *child; in acpi_graph_get_child_prop_value() 1458 static struct fwnode_handle * 1461 struct fwnode_handle *fwnode; in acpi_graph_get_remote_endpoint() [all …]
|
H A D | irq.c | 15 static struct fwnode_handle *(*acpi_get_gsi_domain_id)(u32 gsi); 111 static struct fwnode_handle * 115 struct fwnode_handle *result; in acpi_get_irq_source_fwhandle() 163 static inline void acpi_irq_parse_one_match(struct fwnode_handle *fwnode, in acpi_irq_parse_one_match() 203 struct fwnode_handle *fwnode; in acpi_irq_parse_one_cb() 310 struct fwnode_handle *(*fn)(u32)) in acpi_set_irq_model() 337 struct fwnode_handle *fwnode, in acpi_irq_create_hierarchy()
|
/linux/include/media/ |
H A D | v4l2-fwnode.h | 94 struct fwnode_handle *local_node; 97 struct fwnode_handle *remote_node; 224 int v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode, 282 int v4l2_fwnode_endpoint_alloc_parse(struct fwnode_handle *fwnode, 303 int v4l2_fwnode_parse_link(struct fwnode_handle *fwnode, 347 int v4l2_fwnode_connector_parse(struct fwnode_handle *fwnode, 372 int v4l2_fwnode_connector_add_link(struct fwnode_handle *fwnode,
|
H A D | v4l2-async.h | 56 struct fwnode_handle *fwnode; 137 struct fwnode_handle *endpoint; 178 struct fwnode_handle *fwnode, 200 struct fwnode_handle *endpoint, 263 struct fwnode_handle *fwnode);
|
H A D | v4l2-flash-led-class.h | 133 struct device *dev, struct fwnode_handle *fwn, 154 struct device *dev, struct fwnode_handle *fwn, 167 struct device *dev, struct fwnode_handle *fwn, in v4l2_flash_init() 175 struct device *dev, struct fwnode_handle *fwn, in v4l2_flash_indicator_init()
|
/linux/drivers/gpio/ |
H A D | gpiolib-acpi.h | 17 struct fwnode_handle; 30 struct gpio_desc *acpi_find_gpio(struct fwnode_handle *fwnode, 36 int acpi_gpio_count(const struct fwnode_handle *fwnode, const char *con_id); 48 acpi_find_gpio(struct fwnode_handle *fwnode, const char *con_id, in acpi_find_gpio() 54 static inline int acpi_gpio_count(const struct fwnode_handle *fwnode, in acpi_gpio_count()
|
H A D | gpiolib-swnode.h | 6 struct fwnode_handle; 9 struct gpio_desc *swnode_find_gpio(struct fwnode_handle *fwnode, 12 int swnode_gpio_count(const struct fwnode_handle *fwnode, const char *con_id);
|
H A D | gpiolib-of.h | 12 struct fwnode_handle; 25 int of_gpio_count(const struct fwnode_handle *fwnode, const char *con_id); 36 static inline int of_gpio_count(const struct fwnode_handle *fwnode, in of_gpio_count()
|
/linux/drivers/of/ |
H A D | property.c | 864 static struct fwnode_handle *of_fwnode_get(struct fwnode_handle *fwnode) in of_fwnode_get() 869 static void of_fwnode_put(struct fwnode_handle *fwnode) in of_fwnode_put() 950 static struct fwnode_handle * 951 of_fwnode_get_parent(const struct fwnode_handle *fwnode) in of_fwnode_get_parent() 956 static struct fwnode_handle * 958 struct fwnode_handle *child) in of_fwnode_get_next_child_node() 964 static struct fwnode_handle * 1010 static struct fwnode_handle * 1012 struct fwnode_handle *prev) in of_fwnode_graph_get_next_endpoint() 1018 static struct fwnode_handle * [all …]
|
/linux/include/linux/usb/ |
H A D | typec_mux.h | 15 struct fwnode_handle; 21 struct fwnode_handle *fwnode; 27 struct typec_switch *fwnode_typec_switch_get(struct fwnode_handle *fwnode); 55 struct fwnode_handle *fwnode; 63 struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode); 76 static inline struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode) in fwnode_typec_mux_get()
|
H A D | role.h | 39 struct fwnode_handle *fwnode; 55 struct usb_role_switch *fwnode_usb_role_switch_get(struct fwnode_handle *node); 59 usb_role_switch_find_by_fwnode(const struct fwnode_handle *fwnode); 87 fwnode_usb_role_switch_get(struct fwnode_handle *node) in fwnode_usb_role_switch_get() 95 usb_role_switch_find_by_fwnode(const struct fwnode_handle *fwnode) in usb_role_switch_find_by_fwnode()
|
/linux/arch/riscv/include/asm/ |
H A D | irq.h | 22 void riscv_set_intc_hwnode_fn(struct fwnode_handle *(*fn)(void)); 24 struct fwnode_handle *riscv_get_intc_hwnode(void); 35 int riscv_acpi_get_gsi_info(struct fwnode_handle *fwnode, u32 *gsi_base, 37 struct fwnode_handle *riscv_acpi_get_gsi_domain_id(u32 gsi); 45 static inline int riscv_acpi_get_gsi_info(struct fwnode_handle *fwnode, u32 *gsi_base, in riscv_acpi_get_gsi_info()
|
/linux/drivers/hwtracing/coresight/ |
H A D | coresight-cti-platform.c | 74 static int cti_plat_get_cpu_at_node(struct fwnode_handle *fwnode) in cti_plat_get_cpu_at_node() 81 const char *cti_plat_get_node_name(struct fwnode_handle *fwnode) in cti_plat_get_node_name() 94 cti_plat_get_csdev_or_node_name(struct fwnode_handle *fwnode, in cti_plat_get_csdev_or_node_name() 106 static bool cti_plat_node_name_eq(struct fwnode_handle *fwnode, in cti_plat_node_name_eq() 118 struct fwnode_handle *root_fwnode, *cs_fwnode; in cti_plat_create_v8_etm_connection() 224 struct fwnode_handle *fwnode = dev_fwnode(dev); in cti_plat_check_v8_arch_compatible() 241 const struct fwnode_handle *fwnode, in cti_plat_read_trig_group() 268 const struct fwnode_handle *fwnode, in cti_plat_read_trig_types() 315 const struct fwnode_handle *fwnode) in cti_plat_process_filter_sigs() 342 struct fwnode_handle *fwnode) in cti_plat_create_connection() [all …]
|
/linux/arch/loongarch/include/asm/ |
H A D | irq.h | 104 struct fwnode_handle *get_pch_msi_handle(int pci_segment); 114 extern struct fwnode_handle *cpuintc_handle; 115 extern struct fwnode_handle *liointc_handle; 116 extern struct fwnode_handle *pch_lpc_handle; 117 extern struct fwnode_handle *pch_pic_handle[MAX_IO_PICS];
|
/linux/drivers/media/v4l2-core/ |
H A D | v4l2-fwnode.c | 496 int v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_parse() 560 int v4l2_fwnode_parse_link(struct fwnode_handle *fwnode, in v4l2_fwnode_parse_link() 630 v4l2_fwnode_connector_parse_analog(struct fwnode_handle *fwnode, in v4l2_fwnode_connector_parse_analog() 662 v4l2_fwnode_get_connector_type(struct fwnode_handle *fwnode) in v4l2_fwnode_get_connector_type() 678 int v4l2_fwnode_connector_parse(struct fwnode_handle *fwnode, in v4l2_fwnode_connector_parse() 681 struct fwnode_handle *connector_node; in v4l2_fwnode_connector_parse() 733 struct fwnode_handle *connector_ep; in v4l2_fwnode_connector_add_link() 772 struct fwnode_handle *fwnode = dev_fwnode(dev); in v4l2_fwnode_device_parse() 1015 static struct fwnode_handle * 1024 struct fwnode_handle *child; in v4l2_fwnode_reference_get_int_prop() [all …]
|