/linux/drivers/base/ |
H A D | property.c | 57 bool fwnode_property_present(const struct fwnode_handle *fwnode, in fwnode_property_present() 95 bool fwnode_property_read_bool(const struct fwnode_handle *fwnode, in fwnode_property_read_bool() 295 static int fwnode_property_read_int_array(const struct fwnode_handle *fwnode, in fwnode_property_read_int_array() 335 int fwnode_property_read_u8_array(const struct fwnode_handle *fwnode, in fwnode_property_read_u8_array() 364 int fwnode_property_read_u16_array(const struct fwnode_handle *fwnode, in fwnode_property_read_u16_array() 393 int fwnode_property_read_u32_array(const struct fwnode_handle *fwnode, in fwnode_property_read_u32_array() 422 int fwnode_property_read_u64_array(const struct fwnode_handle *fwnode, in fwnode_property_read_u64_array() 451 int fwnode_property_read_string_array(const struct fwnode_handle *fwnode, in fwnode_property_read_string_array() 485 int fwnode_property_read_string(const struct fwnode_handle *fwnode, in fwnode_property_read_string() 509 int fwnode_property_match_string(const struct fwnode_handle *fwnode, in fwnode_property_match_string() [all …]
|
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 …]
|
H A D | core.c | 139 static void fwnode_links_purge_suppliers(struct fwnode_handle *fwnode) in fwnode_links_purge_suppliers() 155 static void fwnode_links_purge_consumers(struct fwnode_handle *fwnode) in fwnode_links_purge_consumers() 171 void fwnode_links_purge(struct fwnode_handle *fwnode) in fwnode_links_purge() 177 void fw_devlink_purge_absent_suppliers(struct fwnode_handle *fwnode) in fw_devlink_purge_absent_suppliers() 223 static void __fw_devlink_pickup_dangling_consumers(struct fwnode_handle *fwnode, in __fw_devlink_pickup_dangling_consumers() 1019 static struct fwnode_handle *fwnode_links_check_suppliers( in fwnode_links_check_suppliers() 1725 static void fw_devlink_parse_fwnode(struct fwnode_handle *fwnode) in fw_devlink_parse_fwnode() 1734 static void fw_devlink_parse_fwtree(struct fwnode_handle *fwnode) in fw_devlink_parse_fwtree() 1884 #define get_dev_from_fwnode(fwnode) get_device((fwnode)->dev) argument 1886 static bool fwnode_init_without_drv(struct fwnode_handle *fwnode) in fwnode_init_without_drv() [all …]
|
/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 …]
|
/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/include/linux/ |
H A D | property.h | 82 static inline bool fwnode_device_is_big_endian(const struct fwnode_handle *fwnode) in fwnode_device_is_big_endian() 93 bool fwnode_device_is_compatible(const struct fwnode_handle *fwnode, const char *compat) in fwnode_device_is_compatible() 154 #define fwnode_for_each_parent_node(fwnode, parent) \ argument 166 #define fwnode_for_each_child_node(fwnode, child) \ argument 170 #define fwnode_for_each_named_child_node(fwnode, child, name) \ argument 174 #define fwnode_for_each_available_child_node(fwnode, child) \ argument 213 static inline void fwnode_handle_put(struct fwnode_handle *fwnode) in fwnode_handle_put() 288 static inline int fwnode_property_read_u8(const struct fwnode_handle *fwnode, in fwnode_property_read_u8() 294 static inline int fwnode_property_read_u16(const struct fwnode_handle *fwnode, in fwnode_property_read_u16() 300 static inline int fwnode_property_read_u32(const struct fwnode_handle *fwnode, in fwnode_property_read_u32() [all …]
|
H A D | fwnode.h | 108 struct fwnode_handle *fwnode; member 187 #define fwnode_has_op(fwnode, op) \ argument 190 #define fwnode_call_int_op(fwnode, op, ...) \ argument 194 #define fwnode_call_bool_op(fwnode, op, ...) \ argument 198 #define fwnode_call_ptr_op(fwnode, op, ...) \ argument 201 #define fwnode_call_void_op(fwnode, op, ...) \ argument 207 static inline void fwnode_init(struct fwnode_handle *fwnode, in fwnode_init() 215 static inline void fwnode_dev_initialized(struct fwnode_handle *fwnode, in fwnode_dev_initialized()
|
H A D | irqdomain.h | 42 struct fwnode_handle *fwnode; member 158 struct fwnode_handle *fwnode; member 290 struct fwnode_handle *fwnode; member 331 static inline bool is_fwnode_irqchip(const struct fwnode_handle *fwnode) in is_fwnode_irqchip() 338 static inline struct irq_domain *irq_find_matching_fwnode(struct fwnode_handle *fwnode, in irq_find_matching_fwnode() 366 static inline struct irq_domain *irq_domain_create_nomap(struct fwnode_handle *fwnode, in irq_domain_create_nomap() 395 static inline struct irq_domain *irq_domain_create_linear(struct fwnode_handle *fwnode, in irq_domain_create_linear() 412 static inline struct irq_domain *irq_domain_create_tree(struct fwnode_handle *fwnode, in irq_domain_create_tree() 542 struct fwnode_handle *fwnode, in irq_domain_create_hierarchy() 743 static inline struct irq_domain *irq_find_matching_fwnode(struct fwnode_handle *fwnode, 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()
|
H A D | port-mapper.c | 40 static int usb4_port_compare(struct device *dev, void *fwnode) in usb4_port_compare() 45 static int typec_port_compare(struct device *dev, void *fwnode) in typec_port_compare()
|
/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()
|
/linux/drivers/leds/ |
H A D | led-core.c | 435 struct fwnode_handle *fwnode = led_cdev->dev->fwnode; in led_get_default_pattern() local 477 struct fwnode_handle *fwnode, in led_parse_fwnode_props() 531 struct fwnode_handle *fwnode = init_data->fwnode; in led_compose_name() local 603 enum led_default_state led_init_default_state_get(struct fwnode_handle *fwnode) in led_init_default_state_get()
|
/linux/drivers/irqchip/ |
H A D | irq-riscv-imsic-state.c | 591 static int __init imsic_populate_global_dt(struct fwnode_handle *fwnode, in imsic_populate_global_dt() 645 static int __init imsic_populate_global_acpi(struct fwnode_handle *fwnode, in imsic_populate_global_acpi() 660 static int __init imsic_get_parent_hartid(struct fwnode_handle *fwnode, in imsic_get_parent_hartid() 690 static int __init imsic_get_mmio_resource(struct fwnode_handle *fwnode, in imsic_get_mmio_resource() 699 static int __init imsic_parse_fwnode(struct fwnode_handle *fwnode, in imsic_parse_fwnode() 794 int __init imsic_setup_state(struct fwnode_handle *fwnode, void *opaque) in imsic_setup_state()
|
H A D | irq-thead-c900-aclint-sswi.c | 72 static int __init thead_aclint_sswi_parse_irq(struct fwnode_handle *fwnode, in thead_aclint_sswi_parse_irq() 108 static int __init thead_aclint_sswi_probe(struct fwnode_handle *fwnode) in thead_aclint_sswi_probe()
|
H A D | irq-riscv-imsic-early.c | 146 static int __init imsic_early_probe(struct fwnode_handle *fwnode) in imsic_early_probe() 188 struct fwnode_handle *fwnode = &node->fwnode; in imsic_early_dt_init() local
|
/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/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/iio/ |
H A D | inkern.c | 144 struct fwnode_handle *fwnode, int index) in __fwnode_iio_channel_get() 181 static struct iio_channel *fwnode_iio_channel_get(struct fwnode_handle *fwnode, in fwnode_iio_channel_get() 202 __fwnode_iio_channel_get_by_name(struct fwnode_handle *fwnode, const char *name) in __fwnode_iio_channel_get_by_name() 252 struct iio_channel *fwnode_iio_channel_get_by_name(struct fwnode_handle *fwnode, in fwnode_iio_channel_get_by_name() 287 struct fwnode_handle *fwnode = dev_fwnode(dev); in fwnode_iio_channel_get_all() local 423 struct fwnode_handle *fwnode, in devm_fwnode_iio_channel_get_by_name()
|