| /linux/include/linux/ |
| H A D | fwnode.h | 52 struct fwnode_handle { struct 53 struct fwnode_handle *secondary; argument 73 struct fwnode_handle *supplier; argument 75 struct fwnode_handle *consumer; 89 const struct fwnode_handle *local_fwnode; 108 struct fwnode_handle *fwnode; 140 struct fwnode_handle *(*get)(struct fwnode_handle *fwnode); 141 void (*put)(struct fwnode_handle *fwnode); 142 bool (*device_is_available)(const struct fwnode_handle *fwnode); 143 const void *(*device_get_match_data)(const struct fwnode_handle *fwnode, [all …]
|
| H A D | property.h | 33 const struct fwnode_handle *__dev_fwnode_const(const struct device *dev); 34 struct fwnode_handle *__dev_fwnode(struct device *dev); 57 bool fwnode_property_present(const struct fwnode_handle *fwnode, 59 bool fwnode_property_read_bool(const struct fwnode_handle *fwnode, 61 int fwnode_property_read_u8_array(const struct fwnode_handle *fwnode, 64 int fwnode_property_read_u16_array(const struct fwnode_handle *fwnode, 67 int fwnode_property_read_u32_array(const struct fwnode_handle *fwnode, 70 int fwnode_property_read_u64_array(const struct fwnode_handle *fwnode, 73 int fwnode_property_read_string_array(const struct fwnode_handle *fwnode, 76 int fwnode_property_read_string(const struct fwnode_handle *fwnode, [all …]
|
| H A D | irqdomain.h | 19 struct fwnode_handle; 42 struct fwnode_handle *fwnode; 179 struct fwnode_handle *fwnode; 259 struct fwnode_handle *__irq_domain_alloc_fwnode(unsigned int type, int id, 268 static inline struct fwnode_handle *irq_domain_alloc_named_fwnode(const char *name) in irq_domain_alloc_named_fwnode() 273 static inline struct fwnode_handle *irq_domain_alloc_named_id_fwnode(const char *name, int id) in irq_domain_alloc_named_id_fwnode() 279 static inline struct fwnode_handle *irq_domain_alloc_fwnode(phys_addr_t *pa) in irq_domain_alloc_fwnode() 284 void irq_domain_free_fwnode(struct fwnode_handle *fwnode); 286 DEFINE_FREE(irq_domain_free_fwnode, struct fwnode_handle *, if (_T) irq_domain_free_fwnode(_T)) 315 struct fwnode_handle *fwnode; [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 | 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 | swnode.c | 29 struct fwnode_handle fwnode; 50 bool is_software_node(const struct fwnode_handle *fwnode) in is_software_node() 67 struct fwnode_handle *fwnode = dev_fwnode(dev); in dev_to_swnode() 101 const struct software_node *to_software_node(const struct fwnode_handle *fwnode) in to_software_node() 109 struct fwnode_handle *software_node_fwnode(const struct software_node *node) in software_node_fwnode() 377 static struct fwnode_handle *software_node_get(struct fwnode_handle *fwnode) in software_node_get() 386 static void software_node_put(struct fwnode_handle *fwnode) in software_node_put() 393 static bool software_node_property_present(const struct fwnode_handle *fwnode, in software_node_property_present() 401 static int software_node_read_int_array(const struct fwnode_handle *fwnode, in software_node_read_int_array() 412 static int software_node_read_string_array(const struct fwnode_handle *fwnode, in software_node_read_string_array() [all …]
|
| /linux/drivers/acpi/ |
| H A D | property.c | 74 struct fwnode_handle *parent); 83 struct fwnode_handle *parent) in acpi_nondev_subnode_extract() 146 struct fwnode_handle *parent) in acpi_nondev_subnode_ok() 182 struct fwnode_handle *parent) in acpi_add_nondev_subnodes() 260 struct fwnode_handle *parent) in acpi_enumerate_nondev_subnodes() 756 acpi_device_data_of_node(const struct fwnode_handle *fwnode) in acpi_device_data_of_node() 775 int acpi_node_prop_get(const struct fwnode_handle *fwnode, in acpi_node_prop_get() 826 static struct fwnode_handle * 827 acpi_fwnode_get_named_child_node(const struct fwnode_handle *fwnode, in acpi_fwnode_get_named_child_node() 830 struct fwnode_handle *child; in acpi_fwnode_get_named_child_node() [all …]
|
| /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/of/ |
| H A D | property.c | 1029 static struct fwnode_handle *of_fwnode_get(struct fwnode_handle *fwnode) in of_fwnode_get() 1034 static void of_fwnode_put(struct fwnode_handle *fwnode) in of_fwnode_put() 1039 static bool of_fwnode_device_is_available(const struct fwnode_handle *fwnode) in of_fwnode_device_is_available() 1044 static bool of_fwnode_device_dma_supported(const struct fwnode_handle *fwnode) in of_fwnode_device_dma_supported() 1050 of_fwnode_device_get_dma_attr(const struct fwnode_handle *fwnode) in of_fwnode_device_get_dma_attr() 1058 static bool of_fwnode_property_present(const struct fwnode_handle *fwnode, in of_fwnode_property_present() 1064 static bool of_fwnode_property_read_bool(const struct fwnode_handle *fwnode, in of_fwnode_property_read_bool() 1070 static int of_fwnode_property_read_int_array(const struct fwnode_handle *fwnode, in of_fwnode_property_read_int_array() 1096 of_fwnode_property_read_string_array(const struct fwnode_handle *fwnode, in of_fwnode_property_read_string_array() 1107 static const char *of_fwnode_get_name(const struct fwnode_handle *fwnode) in of_fwnode_get_name() [all …]
|
| /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() 232 static int cti_plat_count_sig_elements(const struct fwnode_handle *fwnode, in cti_plat_count_sig_elements() 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() [all …]
|
| /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-swnode.c | 27 static struct gpio_device *swnode_get_gpio_device(struct fwnode_handle *fwnode) in swnode_get_gpio_device() 49 static int swnode_gpio_get_reference(const struct fwnode_handle *fwnode, in swnode_gpio_get_reference() 60 struct gpio_desc *swnode_find_gpio(struct fwnode_handle *fwnode, in swnode_find_gpio() 114 int swnode_gpio_count(const struct fwnode_handle *fwnode, const char *con_id) in swnode_gpio_count()
|
| H A D | gpiolib-of.h | 12 struct fwnode_handle; 26 int of_gpio_count(const struct fwnode_handle *fwnode, const char *con_id); 42 static inline int of_gpio_count(const struct fwnode_handle *fwnode, in of_gpio_count()
|
| /linux/include/linux/usb/ |
| 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()
|
| H A D | typec_retimer.h | 12 struct fwnode_handle; 24 struct fwnode_handle *fwnode; 30 struct typec_retimer *fwnode_typec_retimer_get(struct fwnode_handle *fwnode);
|
| /linux/arch/loongarch/include/asm/ |
| H A D | irq.h | 117 struct fwnode_handle *get_pch_msi_handle(int pci_segment); 127 extern struct fwnode_handle *cpuintc_handle; 128 extern struct fwnode_handle *liointc_handle; 129 extern struct fwnode_handle *pch_lpc_handle; 130 extern struct fwnode_handle *pch_pic_handle[MAX_IO_PICS];
|
| /linux/arch/riscv/kernel/ |
| H A D | irq.c | 19 static struct fwnode_handle *(*__get_intc_node)(void); 21 void riscv_set_intc_hwnode_fn(struct fwnode_handle *(*fn)(void)) in riscv_set_intc_hwnode_fn() 26 struct fwnode_handle *riscv_get_intc_hwnode(void) in riscv_get_intc_hwnode() 54 int riscv_get_hart_index(struct fwnode_handle *fwnode, u32 logical_index, in riscv_get_hart_index()
|
| /linux/include/linux/irqchip/ |
| H A D | riscv-imsic.h | 89 int imsic_platform_acpi_probe(struct fwnode_handle *fwnode); 90 struct fwnode_handle *imsic_acpi_get_fwnode(struct device *dev); 92 static inline struct fwnode_handle *imsic_acpi_get_fwnode(struct device *dev) { return NULL; } in imsic_acpi_get_fwnode()
|
| /linux/sound/soc/sdca/ |
| H A D | sdca_functions.c | 92 struct fwnode_handle *function_node = acpi_fwnode_handle(adev); in find_sdca_function() 96 struct fwnode_handle *control5; /* used to identify function type */ in find_sdca_function() 201 struct fwnode_handle *function_node, in find_sdca_init_table() 840 struct fwnode_handle *control_node, in find_sdca_control_range() 878 struct fwnode_handle *control_node, in find_sdca_control_value() 919 struct fwnode_handle *control_node, in find_sdca_entity_control() 1024 struct fwnode_handle *entity_node, in find_sdca_entity_controls() 1053 struct fwnode_handle *control_node; in find_sdca_entity_controls() 1108 struct fwnode_handle *entity_node, in find_sdca_entity_iot() 1155 struct fwnode_handle *entity_node, in find_sdca_entity_cs() [all …]
|
| /linux/drivers/irqchip/ |
| H A D | irq-loongson-pch-msi.c | 31 static struct fwnode_handle *pch_msi_handle[MAX_IO_PICS]; 157 struct fwnode_handle *domain_handle) in pch_msi_init_domains() 175 struct irq_domain *parent_domain, struct fwnode_handle *domain_handle) in pch_msi_init() 252 struct fwnode_handle *get_pch_msi_handle(int pci_segment) in get_pch_msi_handle() 267 struct fwnode_handle *domain_handle; in pch_msi_acpi_init()
|