/linux/drivers/acpi/ |
H A D | property.c | 716 acpi_device_data_of_node(const struct fwnode_handle *fwnode) in acpi_device_data_of_node() 735 int acpi_node_prop_get(const struct fwnode_handle *fwnode, in acpi_node_prop_get() 787 acpi_fwnode_get_named_child_node(const struct fwnode_handle *fwnode, 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() 921 int __acpi_node_get_property_reference(const struct fwnode_handle *fwnode, in __acpi_node_get_property_reference() 1238 static int acpi_node_prop_read(const struct fwnode_handle *fwnode, in acpi_node_prop_read() 1267 struct fwnode_handle *acpi_get_next_subnode(const struct fwnode_handle *fwnode, in acpi_get_next_subnode() 1329 acpi_node_get_parent(const struct fwnode_handle *fwnode) in acpi_node_get_parent() 1350 static bool is_acpi_graph_node(struct fwnode_handle *fwnode, in is_acpi_graph_node() 1376 const struct fwnode_handle *fwnode, struct fwnode_handle *prev) in acpi_graph_get_next_endpoint() [all …]
|
H A D | irq.c | 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() local 337 struct fwnode_handle *fwnode, in acpi_irq_create_hierarchy()
|
/linux/drivers/base/ |
H A D | swnode.c | 29 struct fwnode_handle fwnode; member 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() local 101 const struct software_node *to_software_node(const struct fwnode_handle *fwnode) in to_software_node() 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() 423 software_node_get_name(const struct fwnode_handle *fwnode) in software_node_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() 224 struct fwnode_handle *fwnode = dev_fwnode(dev); in cti_plat_check_v8_arch_compatible() local 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() 342 struct fwnode_handle *fwnode) in cti_plat_create_connection() [all …]
|
/linux/drivers/media/v4l2-core/ |
H A D | v4l2-fwnode.c | 124 static int v4l2_fwnode_endpoint_parse_csi2_bus(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_parse_csi2_bus() 266 v4l2_fwnode_endpoint_parse_parallel_bus(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_parse_parallel_bus() 387 v4l2_fwnode_endpoint_parse_csi1_bus(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_parse_csi1_bus() 420 static int __v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode, in __v4l2_fwnode_endpoint_parse() 496 int v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_parse() 519 int v4l2_fwnode_endpoint_alloc_parse(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_alloc_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() [all …]
|
/linux/drivers/of/ |
H A D | property.c | 937 static struct fwnode_handle *of_fwnode_get(struct fwnode_handle *fwnode) in of_fwnode_get() 942 static void of_fwnode_put(struct fwnode_handle *fwnode) in of_fwnode_put() 947 static bool of_fwnode_device_is_available(const struct fwnode_handle *fwnode) in of_fwnode_device_is_available() 952 static bool of_fwnode_device_dma_supported(const struct fwnode_handle *fwnode) in of_fwnode_device_dma_supported() 958 of_fwnode_device_get_dma_attr(const struct fwnode_handle *fwnode) in of_fwnode_device_get_dma_attr() 966 static bool of_fwnode_property_present(const struct fwnode_handle *fwnode, in of_fwnode_property_present() 972 static int of_fwnode_property_read_int_array(const struct fwnode_handle *fwnode, in of_fwnode_property_read_int_array() 998 of_fwnode_property_read_string_array(const struct fwnode_handle *fwnode, in of_fwnode_property_read_string_array() 1009 static const char *of_fwnode_get_name(const struct fwnode_handle *fwnode) in of_fwnode_get_name() 1014 static const char *of_fwnode_get_name_prefix(const struct fwnode_handle *fwnode) in of_fwnode_get_name_prefix() [all …]
|
/linux/include/linux/ |
H A D | fwnode.h | 103 struct fwnode_handle *fwnode; member 179 #define fwnode_has_op(fwnode, op) \ argument 182 #define fwnode_call_int_op(fwnode, op, ...) \ argument 186 #define fwnode_call_bool_op(fwnode, op, ...) \ argument 190 #define fwnode_call_ptr_op(fwnode, op, ...) \ argument 193 #define fwnode_call_void_op(fwnode, op, ...) \ argument 199 static inline void fwnode_init(struct fwnode_handle *fwnode, in fwnode_init() 207 static inline void fwnode_dev_initialized(struct fwnode_handle *fwnode, in fwnode_dev_initialized()
|
H A D | irqdomain.h | 64 struct fwnode_handle *fwnode; member 180 struct fwnode_handle *fwnode; member 310 struct fwnode_handle *fwnode; member 368 static inline bool is_fwnode_irqchip(const struct fwnode_handle *fwnode) in is_fwnode_irqchip() 377 struct irq_domain *irq_find_matching_fwnode(struct fwnode_handle *fwnode, in irq_find_matching_fwnode() 476 static inline struct irq_domain *irq_domain_create_linear(struct fwnode_handle *fwnode, in irq_domain_create_linear() 494 static inline struct irq_domain *irq_domain_create_tree(struct fwnode_handle *fwnode, in irq_domain_create_tree() 762 struct fwnode_handle *fwnode, enum irq_domain_bus_token bus_token) in irq_find_matching_fwnode()
|
/linux/drivers/gpio/ |
H A D | gpiolib-swnode.c | 27 static struct gpio_device *swnode_get_gpio_device(struct fwnode_handle *fwnode) in swnode_get_gpio_device() 48 static int swnode_gpio_get_reference(const struct fwnode_handle *fwnode, in swnode_gpio_get_reference() 59 struct gpio_desc *swnode_find_gpio(struct fwnode_handle *fwnode, in swnode_find_gpio() 113 int swnode_gpio_count(const struct fwnode_handle *fwnode, const char *con_id) in swnode_gpio_count()
|
H A D | gpiolib-acpi.h | 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()
|
/linux/drivers/usb/typec/ |
H A D | mux.c | 27 static int switch_fwnode_match(struct device *dev, const void *fwnode) in switch_fwnode_match() 35 static void *typec_switch_match(const struct fwnode_handle *fwnode, in typec_switch_match() 71 struct typec_switch *fwnode_typec_switch_get(struct fwnode_handle *fwnode) in fwnode_typec_switch_get() 257 static int mux_fwnode_match(struct device *dev, const void *fwnode) in mux_fwnode_match() 265 static void *typec_mux_match(const struct fwnode_handle *fwnode, in typec_mux_match() 296 struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode) in fwnode_typec_mux_get()
|
H A D | retimer.c | 20 static int retimer_fwnode_match(struct device *dev, const void *fwnode) in retimer_fwnode_match() 25 static void *typec_retimer_match(const struct fwnode_handle *fwnode, const char *id, void *data) in typec_retimer_match() 47 struct typec_retimer *fwnode_typec_retimer_get(struct fwnode_handle *fwnode) in fwnode_typec_retimer_get()
|
/linux/include/linux/usb/ |
H A D | typec_mux.h | 21 struct fwnode_handle *fwnode; member 55 struct fwnode_handle *fwnode; member 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; member 95 usb_role_switch_find_by_fwnode(const struct fwnode_handle *fwnode) in usb_role_switch_find_by_fwnode()
|
/linux/kernel/irq/ |
H A D | irq_sim.c | 192 struct irq_domain *irq_domain_create_sim(struct fwnode_handle *fwnode, in irq_domain_create_sim() 199 struct irq_domain *irq_domain_create_sim_full(struct fwnode_handle *fwnode, in irq_domain_create_sim_full() 269 struct fwnode_handle *fwnode, in devm_irq_domain_create_sim() 279 struct fwnode_handle *fwnode, in devm_irq_domain_create_sim_full()
|
H A D | irqdomain.c | 35 struct fwnode_handle fwnode; member 49 static const char *irqchip_fwnode_get_name(const struct fwnode_handle *fwnode) in irqchip_fwnode_get_name() 118 void irq_domain_free_fwnode(struct fwnode_handle *fwnode) in irq_domain_free_fwnode() 144 static int alloc_fwnode_name(struct irq_domain *domain, const struct fwnode_handle *fwnode, in alloc_fwnode_name() 187 const struct fwnode_handle *fwnode = info->fwnode; in irq_domain_set_name() local 463 struct irq_domain *irq_domain_create_simple(struct fwnode_handle *fwnode, in irq_domain_create_simple() 510 struct irq_domain *irq_domain_create_legacy(struct fwnode_handle *fwnode, in irq_domain_create_legacy() 541 struct fwnode_handle *fwnode = fwspec->fwnode; in irq_find_matching_fwspec() local 1273 struct fwnode_handle *fwnode, in irq_domain_create_hierarchy()
|
/linux/drivers/irqchip/ |
H A D | irq-riscv-imsic-state.c | 514 static int __init imsic_populate_global_dt(struct fwnode_handle *fwnode, in imsic_populate_global_dt() 568 static int __init imsic_populate_global_acpi(struct fwnode_handle *fwnode, in imsic_populate_global_acpi() 583 static int __init imsic_get_parent_hartid(struct fwnode_handle *fwnode, in imsic_get_parent_hartid() 613 static int __init imsic_get_mmio_resource(struct fwnode_handle *fwnode, in imsic_get_mmio_resource() 622 static int __init imsic_parse_fwnode(struct fwnode_handle *fwnode, in imsic_parse_fwnode() 717 int __init imsic_setup_state(struct fwnode_handle *fwnode, void *opaque) in imsic_setup_state()
|
H A D | irq-riscv-imsic-early.c | 142 static int __init imsic_early_probe(struct fwnode_handle *fwnode) in imsic_early_probe() 184 struct fwnode_handle *fwnode = &node->fwnode; in imsic_early_dt_init() local
|
/linux/drivers/leds/ |
H A D | led-core.c | 420 struct fwnode_handle *fwnode = led_cdev->dev->fwnode; in led_get_default_pattern() local 462 struct fwnode_handle *fwnode, in led_parse_fwnode_props() 516 struct fwnode_handle *fwnode = init_data->fwnode; in led_compose_name() local 583 enum led_default_state led_init_default_state_get(struct fwnode_handle *fwnode) in led_init_default_state_get()
|
/linux/drivers/net/mdio/ |
H A D | fwnode_mdio.c | 21 fwnode_find_pse_control(struct fwnode_handle *fwnode) in fwnode_find_pse_control() 41 fwnode_find_mii_timestamper(struct fwnode_handle *fwnode) in fwnode_find_mii_timestamper()
|
/linux/drivers/usb/roles/ |
H A D | class.c | 126 static void *usb_role_switch_match(const struct fwnode_handle *fwnode, const char *id, in usb_role_switch_match() 140 usb_role_switch_is_parent(struct fwnode_handle *fwnode) in usb_role_switch_is_parent() 185 struct usb_role_switch *fwnode_usb_role_switch_get(struct fwnode_handle *fwnode) in fwnode_usb_role_switch_get() 223 usb_role_switch_find_by_fwnode(const struct fwnode_handle *fwnode) in usb_role_switch_find_by_fwnode()
|
/linux/drivers/acpi/arm64/ |
H A D | apmt.c | 76 struct fwnode_handle *fwnode) in apmt_add_platform_device() 121 struct fwnode_handle *fwnode; in apmt_init_platform_devices() local
|
/linux/drivers/media/pci/intel/ |
H A D | ipu-bridge.c | 638 struct fwnode_handle *fwnode; in ipu_bridge_instantiate_ivsc() local 669 struct fwnode_handle *fwnode, *primary; local 799 static int ipu_bridge_check_fwnode_graph(struct fwnode_handle *fwnode) 820 struct fwnode_handle *fwnode; local
|
/linux/drivers/platform/surface/ |
H A D | surface_gpe.c | 295 struct fwnode_handle *fwnode; in surface_gpe_init() local 341 struct fwnode_handle *fwnode = surface_gpe_device->dev.fwnode; in surface_gpe_exit() local
|
/linux/drivers/leds/rgb/ |
H A D | leds-pwm-multicolor.c | 69 struct fwnode_handle *fwnode; in iterate_subleds() local 104 struct fwnode_handle *mcnode, *fwnode; in led_pwm_mc_probe() local
|