| /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 …]
|
| /linux/drivers/acpi/ |
| H A D | property.c | 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() 827 acpi_fwnode_get_named_child_node(const struct fwnode_handle *fwnode, in acpi_fwnode_get_named_child_node() 847 static unsigned int acpi_fwnode_get_args_count(struct fwnode_handle *fwnode, in acpi_fwnode_get_args_count() 909 static struct fwnode_handle *acpi_parse_string_ref(const struct fwnode_handle *fwnode, in acpi_parse_string_ref() 947 static int acpi_fwnode_get_reference_args(const struct fwnode_handle *fwnode, in acpi_fwnode_get_reference_args() 1105 int __acpi_node_get_property_reference(const struct fwnode_handle *fwnode, in __acpi_node_get_property_reference() 1308 static int acpi_node_prop_read(const struct fwnode_handle *fwnode, in acpi_node_prop_read() 1338 acpi_get_next_subnode(const struct fwnode_handle *fwnode, in acpi_get_next_subnode() 1403 acpi_get_next_present_subnode(const struct fwnode_handle *fwnode, in acpi_get_next_present_subnode() [all …]
|
| /linux/include/linux/ |
| H A D | property.h | 83 static inline bool fwnode_device_is_big_endian(const struct fwnode_handle *fwnode) in fwnode_device_is_big_endian() 94 bool fwnode_device_is_compatible(const struct fwnode_handle *fwnode, const char *compat) in fwnode_device_is_compatible() 155 #define fwnode_for_each_parent_node(fwnode, parent) \ argument 167 #define fwnode_for_each_child_node(fwnode, child) \ argument 171 #define fwnode_for_each_named_child_node(fwnode, child, name) \ argument 175 #define fwnode_for_each_available_child_node(fwnode, child) \ argument 179 #define fwnode_for_each_child_node_scoped(fwnode, child) \ argument 184 #define fwnode_for_each_available_child_node_scoped(fwnode, child) \ argument 224 static inline void fwnode_handle_put(struct fwnode_handle *fwnode) in fwnode_handle_put() 299 static inline int fwnode_property_read_u8(const struct fwnode_handle *fwnode, in fwnode_property_read_u8() [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 179 struct fwnode_handle *fwnode; member 337 struct fwnode_handle *fwnode; member 379 static inline bool is_fwnode_irqchip(const struct fwnode_handle *fwnode) in is_fwnode_irqchip() 386 static inline struct irq_domain *irq_find_matching_fwnode(struct fwnode_handle *fwnode, in irq_find_matching_fwnode() 414 static inline struct irq_domain *irq_domain_create_nomap(struct fwnode_handle *fwnode, in irq_domain_create_nomap() 443 static inline struct irq_domain *irq_domain_create_linear(struct fwnode_handle *fwnode, in irq_domain_create_linear() 460 static inline struct irq_domain *irq_domain_create_tree(struct fwnode_handle *fwnode, in irq_domain_create_tree() 590 struct fwnode_handle *fwnode, in irq_domain_create_hierarchy() 775 static inline struct irq_domain *irq_find_matching_fwnode(struct fwnode_handle *fwnode, in irq_find_matching_fwnode()
|
| /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/of/ |
| H A D | property.c | 1030 static struct fwnode_handle *of_fwnode_get(struct fwnode_handle *fwnode) in of_fwnode_get() 1035 static void of_fwnode_put(struct fwnode_handle *fwnode) in of_fwnode_put() 1040 static bool of_fwnode_device_is_available(const struct fwnode_handle *fwnode) in of_fwnode_device_is_available() 1045 static bool of_fwnode_device_dma_supported(const struct fwnode_handle *fwnode) in of_fwnode_device_dma_supported() 1051 of_fwnode_device_get_dma_attr(const struct fwnode_handle *fwnode) in of_fwnode_device_get_dma_attr() 1059 static bool of_fwnode_property_present(const struct fwnode_handle *fwnode, in of_fwnode_property_present() 1065 static bool of_fwnode_property_read_bool(const struct fwnode_handle *fwnode, in of_fwnode_property_read_bool() 1071 static int of_fwnode_property_read_int_array(const struct fwnode_handle *fwnode, in of_fwnode_property_read_int_array() 1097 of_fwnode_property_read_string_array(const struct fwnode_handle *fwnode, in of_fwnode_property_read_string_array() 1108 static const char *of_fwnode_get_name(const struct fwnode_handle *fwnode) in of_fwnode_get_name() [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() 307 v4l2_fwnode_endpoint_parse_parallel_bus(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_parse_parallel_bus() 428 v4l2_fwnode_endpoint_parse_csi1_bus(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_parse_csi1_bus() 461 static int __v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode, in __v4l2_fwnode_endpoint_parse() 540 int v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_parse() 563 int v4l2_fwnode_endpoint_alloc_parse(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_alloc_parse() 604 int v4l2_fwnode_parse_link(struct fwnode_handle *fwnode, in v4l2_fwnode_parse_link() 674 v4l2_fwnode_connector_parse_analog(struct fwnode_handle *fwnode, in v4l2_fwnode_connector_parse_analog() 706 v4l2_fwnode_get_connector_type(struct fwnode_handle *fwnode) in v4l2_fwnode_get_connector_type() 722 int v4l2_fwnode_connector_parse(struct fwnode_handle *fwnode, in v4l2_fwnode_connector_parse() [all …]
|
| /linux/drivers/phy/ |
| H A D | phy-common-props.c | 39 static int fwnode_get_u32_prop_for_name(struct fwnode_handle *fwnode, in fwnode_get_u32_prop_for_name() 104 static int phy_get_polarity_for_mode(struct fwnode_handle *fwnode, in phy_get_polarity_for_mode() 138 int __must_check phy_get_rx_polarity(struct fwnode_handle *fwnode, in phy_get_rx_polarity() 160 int __must_check phy_get_tx_polarity(struct fwnode_handle *fwnode, in phy_get_tx_polarity() 181 int __must_check phy_get_manual_rx_polarity(struct fwnode_handle *fwnode, in phy_get_manual_rx_polarity() 201 int __must_check phy_get_manual_tx_polarity(struct fwnode_handle *fwnode, in phy_get_manual_tx_polarity()
|
| /linux/drivers/gpio/ |
| H A D | gpiolib-swnode.c | 26 static struct gpio_device *swnode_get_gpio_device(struct fwnode_handle *fwnode) in swnode_get_gpio_device() 67 static int swnode_gpio_get_reference(const struct fwnode_handle *fwnode, in swnode_gpio_get_reference() 78 struct gpio_desc *swnode_find_gpio(struct fwnode_handle *fwnode, in swnode_find_gpio() 132 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()
|
| H A D | gpiolib-shared.c | 34 struct fwnode_handle *fwnode; member 51 struct fwnode_handle *fwnode; member 81 static struct gpio_shared_ref *gpio_shared_make_ref(struct fwnode_handle *fwnode, in gpio_shared_make_ref() 163 struct fwnode_handle *fwnode; in gpio_shared_of_traverse() local 446 int gpio_shared_add_proxy_lookup(struct device *consumer, struct fwnode_handle *fwnode, in gpio_shared_add_proxy_lookup()
|
| /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/drivers/platform/x86/intel/ |
| H A D | chtwc_int33fe.c | 163 struct fwnode_handle *fwnode; in cht_int33fe_setup_dp() local 202 struct fwnode_handle *fwnode = data; in cht_int33fe_put_swnode() local 265 struct fwnode_handle *fwnode; in cht_int33fe_register_max17047() local 318 struct fwnode_handle *fwnode; in cht_int33fe_typec_probe() local
|
| /linux/include/linux/usb/ |
| H A D | typec_mux.h | 22 struct fwnode_handle *fwnode; member 46 fwnode_typec_switch_get(struct fwnode_handle *fwnode) in fwnode_typec_switch_get() 91 struct fwnode_handle *fwnode; member 112 static inline struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode) in fwnode_typec_mux_get()
|
| /linux/rust/kernel/device/ |
| H A D | property.rs | 131 pub fn property_read_array_vec<'fwnode, 'name, T: PropertyInt>( in property_read_array_vec() 135 ) -> Result<PropertyGuard<'fwnode, 'name, KVec<T>>> { in property_read_array_vec() 192 pub fn property_read<'fwnode, 'name, T: Property>( in property_read() 195 ) -> PropertyGuard<'fwnode, 'name, T> { in property_read() 391 let fwnode = if depth == 0 { in fmt() localVariable 407 let fwnode: &FwNode = match &fwnode { in fmt() localVariable 586 fwnode: &'fwnode FwNode, field
|
| /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 | 582 static int __init imsic_populate_global_dt(struct fwnode_handle *fwnode, in imsic_populate_global_dt() 636 static int __init imsic_populate_global_acpi(struct fwnode_handle *fwnode, in imsic_populate_global_acpi() 651 static int __init imsic_get_parent_hartid(struct fwnode_handle *fwnode, in imsic_get_parent_hartid() 681 static int __init imsic_get_mmio_resource(struct fwnode_handle *fwnode, in imsic_get_mmio_resource() 690 static int __init imsic_parse_fwnode(struct fwnode_handle *fwnode, in imsic_parse_fwnode() 785 int __init imsic_setup_state(struct fwnode_handle *fwnode, void *opaque) in imsic_setup_state()
|
| /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() 190 struct usb_role_switch *fwnode_usb_role_switch_get(struct fwnode_handle *fwnode) in fwnode_usb_role_switch_get() 228 usb_role_switch_find_by_fwnode(const struct fwnode_handle *fwnode) in usb_role_switch_find_by_fwnode()
|
| /linux/drivers/net/mdio/ |
| H A D | fwnode_mdio.c | 21 fwnode_find_pse_control(struct fwnode_handle *fwnode, in fwnode_find_pse_control() 42 fwnode_find_mii_timestamper(struct fwnode_handle *fwnode) in fwnode_find_mii_timestamper()
|
| /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
|