| /linux/drivers/base/ |
| H A D | property.c | 63 bool fwnode_property_present(const struct fwnode_handle *fwnode, in fwnode_property_present() argument 103 bool fwnode_property_read_bool(const struct fwnode_handle *fwnode, in fwnode_property_read_bool() argument 303 fwnode_property_read_int_array(const struct fwnode_handle * fwnode,const char * propname,unsigned int elem_size,void * val,size_t nval) fwnode_property_read_int_array() argument 343 fwnode_property_read_u8_array(const struct fwnode_handle * fwnode,const char * propname,u8 * val,size_t nval) fwnode_property_read_u8_array() argument 372 fwnode_property_read_u16_array(const struct fwnode_handle * fwnode,const char * propname,u16 * val,size_t nval) fwnode_property_read_u16_array() argument 401 fwnode_property_read_u32_array(const struct fwnode_handle * fwnode,const char * propname,u32 * val,size_t nval) fwnode_property_read_u32_array() argument 430 fwnode_property_read_u64_array(const struct fwnode_handle * fwnode,const char * propname,u64 * val,size_t nval) fwnode_property_read_u64_array() argument 459 fwnode_property_read_string_array(const struct fwnode_handle * fwnode,const char * propname,const char ** val,size_t nval) fwnode_property_read_string_array() argument 493 fwnode_property_read_string(const struct fwnode_handle * fwnode,const char * propname,const char ** val) fwnode_property_read_string() argument 517 fwnode_property_match_string(const struct fwnode_handle * fwnode,const char * propname,const char * string) fwnode_property_match_string() argument 565 fwnode_property_match_property_string(const struct fwnode_handle * fwnode,const char * propname,const char * const * array,size_t n) fwnode_property_match_property_string() argument 608 fwnode_property_get_reference_args(const struct fwnode_handle * fwnode,const char * prop,const char * nargs_prop,unsigned int nargs,unsigned int index,struct fwnode_reference_args * args) fwnode_property_get_reference_args() argument 645 fwnode_find_reference(const struct fwnode_handle * fwnode,const char * name,unsigned int index) fwnode_find_reference() argument 664 fwnode_get_name(const struct fwnode_handle * fwnode) fwnode_get_name() argument 677 fwnode_get_name_prefix(const struct fwnode_handle * fwnode) fwnode_get_name_prefix() argument 695 fwnode_name_eq(const struct fwnode_handle * fwnode,const char * name) fwnode_name_eq() argument 720 fwnode_get_parent(const struct fwnode_handle * fwnode) fwnode_get_parent() argument 741 fwnode_get_next_parent(struct fwnode_handle * fwnode) fwnode_get_next_parent() argument 757 fwnode_count_parents(const struct fwnode_handle * fwnode) fwnode_count_parents() argument 781 fwnode_get_nth_parent(struct fwnode_handle * fwnode,unsigned int depth) fwnode_get_nth_parent() argument 807 fwnode_get_next_child_node(const struct fwnode_handle * fwnode,struct fwnode_handle * child) fwnode_get_next_child_node() argument 835 fwnode_get_next_available_child_node(const struct fwnode_handle * fwnode,struct fwnode_handle * child) fwnode_get_next_available_child_node() argument 878 fwnode_get_named_child_node(const struct fwnode_handle * fwnode,const char * childname) fwnode_get_named_child_node() argument 909 fwnode_handle_get(struct fwnode_handle * fwnode) fwnode_handle_get() argument 927 fwnode_device_is_available(const struct fwnode_handle * fwnode) fwnode_device_is_available() argument 945 fwnode_get_child_node_count(const struct fwnode_handle * fwnode) fwnode_get_child_node_count() argument 971 fwnode_get_named_child_node_count(const struct fwnode_handle * fwnode,const char * name) fwnode_get_named_child_node_count() argument 1007 fwnode_get_phy_mode(const struct fwnode_handle * fwnode) fwnode_get_phy_mode() argument 1048 fwnode_iomap(struct fwnode_handle * fwnode,int index) fwnode_iomap() argument 1061 fwnode_irq_get(const struct fwnode_handle * fwnode,unsigned int index) fwnode_irq_get() argument 1087 fwnode_irq_get_byname(const struct fwnode_handle * fwnode,const char * name) fwnode_irq_get_byname() argument 1115 fwnode_graph_get_next_endpoint(const struct fwnode_handle * fwnode,struct fwnode_handle * prev) fwnode_graph_get_next_endpoint() argument 1180 fwnode_graph_get_remote_port_parent(const struct fwnode_handle * fwnode) fwnode_graph_get_remote_port_parent() argument 1203 fwnode_graph_get_remote_port(const struct fwnode_handle * fwnode) fwnode_graph_get_remote_port() argument 1219 fwnode_graph_get_remote_endpoint(const struct fwnode_handle * fwnode) fwnode_graph_get_remote_endpoint() argument 1258 fwnode_graph_get_endpoint_by_id(const struct fwnode_handle * fwnode,u32 port,u32 endpoint,unsigned long flags) fwnode_graph_get_endpoint_by_id() argument 1313 fwnode_graph_get_endpoint_count(const struct fwnode_handle * fwnode,unsigned long flags) fwnode_graph_get_endpoint_count() argument 1338 fwnode_graph_parse_endpoint(const struct fwnode_handle * fwnode,struct fwnode_endpoint * endpoint) fwnode_graph_parse_endpoint() argument 1353 fwnode_graph_devcon_matches(const struct fwnode_handle * fwnode,const char * con_id,void * data,devcon_match_fn_t match,void ** matches,unsigned int matches_len) fwnode_graph_devcon_matches() argument 1387 fwnode_devcon_matches(const struct fwnode_handle * fwnode,const char * con_id,void * data,devcon_match_fn_t match,void ** matches,unsigned int matches_len) fwnode_devcon_matches() argument 1429 fwnode_connection_find_match(const struct fwnode_handle * fwnode,const char * con_id,void * data,devcon_match_fn_t match) fwnode_connection_find_match() argument 1467 fwnode_connection_find_matches(const struct fwnode_handle * fwnode,const char * con_id,void * data,devcon_match_fn_t match,void ** matches,unsigned int matches_len) fwnode_connection_find_matches() argument [all...] |
| H A D | core.c | 139 fwnode_links_purge_suppliers(struct fwnode_handle * fwnode) fwnode_links_purge_suppliers() argument 155 fwnode_links_purge_consumers(struct fwnode_handle * fwnode) fwnode_links_purge_consumers() argument 171 fwnode_links_purge(struct fwnode_handle * fwnode) fwnode_links_purge() argument 177 fw_devlink_purge_absent_suppliers(struct fwnode_handle * fwnode) fw_devlink_purge_absent_suppliers() argument 223 __fw_devlink_pickup_dangling_consumers(struct fwnode_handle * fwnode,struct fwnode_handle * new_sup) __fw_devlink_pickup_dangling_consumers() argument 1018 fwnode_links_check_suppliers(struct fwnode_handle * fwnode) fwnode_links_check_suppliers() argument 1724 fw_devlink_parse_fwnode(struct fwnode_handle * fwnode) fw_devlink_parse_fwnode() argument 1733 fw_devlink_parse_fwtree(struct fwnode_handle * fwnode) fw_devlink_parse_fwtree() argument 1883 fwnode_init_without_drv(struct fwnode_handle * fwnode) fwnode_init_without_drv() argument 1898 fwnode_ancestor_init_without_drv(struct fwnode_handle * fwnode) fwnode_ancestor_init_without_drv() argument 1954 fwnode_get_next_parent_dev(const struct fwnode_handle * fwnode) fwnode_get_next_parent_dev() argument 2217 struct fwnode_handle *fwnode = dev->fwnode; __fw_devlink_link_to_consumers() local 2289 __fw_devlink_link_to_suppliers(struct device * dev,struct fwnode_handle * fwnode) __fw_devlink_link_to_suppliers() argument 2318 struct fwnode_handle *fwnode = dev->fwnode; fw_devlink_link_device() local 5142 fwnode_is_primary(struct fwnode_handle * fwnode) fwnode_is_primary() argument 5161 set_primary_fwnode(struct device * dev,struct fwnode_handle * fwnode) set_primary_fwnode() argument 5201 set_secondary_fwnode(struct device * dev,struct fwnode_handle * fwnode) set_secondary_fwnode() argument 5290 device_set_node(struct device * dev,struct fwnode_handle * fwnode) device_set_node() argument 5316 get_dev_from_fwnode(struct fwnode_handle * fwnode) get_dev_from_fwnode() argument 5340 device_match_fwnode(struct device * dev,const void * fwnode) device_match_fwnode() argument [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 fwnode_device_is_big_endian(const struct fwnode_handle * fwnode) fwnode_device_is_big_endian() argument 94 fwnode_device_is_compatible(const struct fwnode_handle * fwnode,const char * compat) fwnode_device_is_compatible() argument 155 fwnode_for_each_parent_node(fwnode,parent) global() argument 167 fwnode_for_each_child_node(fwnode,child) global() argument 171 fwnode_for_each_named_child_node(fwnode,child,name) global() argument 175 fwnode_for_each_available_child_node(fwnode,child) global() argument 179 fwnode_for_each_child_node_scoped(fwnode,child) global() argument 184 fwnode_for_each_available_child_node_scoped(fwnode,child) global() argument 224 fwnode_handle_put(struct fwnode_handle * fwnode) fwnode_handle_put() argument 299 fwnode_property_read_u8(const struct fwnode_handle * fwnode,const char * propname,u8 * val) fwnode_property_read_u8() argument 305 fwnode_property_read_u16(const struct fwnode_handle * fwnode,const char * propname,u16 * val) fwnode_property_read_u16() argument 311 fwnode_property_read_u32(const struct fwnode_handle * fwnode,const char * propname,u32 * val) fwnode_property_read_u32() argument 317 fwnode_property_read_u64(const struct fwnode_handle * fwnode,const char * propname,u64 * val) fwnode_property_read_u64() argument 323 fwnode_property_count_u8(const struct fwnode_handle * fwnode,const char * propname) fwnode_property_count_u8() argument 329 fwnode_property_count_u16(const struct fwnode_handle * fwnode,const char * propname) fwnode_property_count_u16() argument 335 fwnode_property_count_u32(const struct fwnode_handle * fwnode,const char * propname) fwnode_property_count_u32() argument 341 fwnode_property_count_u64(const struct fwnode_handle * fwnode,const char * propname) fwnode_property_count_u64() argument 348 fwnode_property_string_array_count(const struct fwnode_handle * fwnode,const char * propname) fwnode_property_string_array_count() argument 365 struct fwnode_handle *fwnode; global() member 513 fwnode_graph_is_endpoint(const struct fwnode_handle * fwnode) fwnode_graph_is_endpoint() argument 538 fwnode_graph_for_each_endpoint(fwnode,child) global() argument [all...] |
| H A D | fwnode.h | 109 struct fwnode_handle *fwnode; global() member 188 fwnode_has_op(fwnode,op) global() argument 191 fwnode_call_int_op(fwnode,op,...) global() argument 195 fwnode_call_bool_op(fwnode,op,...) global() argument 199 fwnode_call_ptr_op(fwnode,op,...) global() argument 202 fwnode_call_void_op(fwnode,op,...) global() argument 208 fwnode_init(struct fwnode_handle * fwnode,const struct fwnode_operations * ops) fwnode_init() argument 217 fwnode_set_flag(struct fwnode_handle * fwnode,unsigned int bit) fwnode_set_flag() argument 223 fwnode_clear_flag(struct fwnode_handle * fwnode,unsigned int bit) fwnode_clear_flag() argument 229 fwnode_assign_flag(struct fwnode_handle * fwnode,unsigned int bit,bool value) fwnode_assign_flag() argument 235 fwnode_test_flag(struct fwnode_handle * fwnode,unsigned int bit) fwnode_test_flag() argument 241 fwnode_dev_initialized(struct fwnode_handle * fwnode,bool initialized) fwnode_dev_initialized() argument [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() argument 81 const char *cti_plat_get_node_name(struct fwnode_handle *fwnode) in cti_plat_get_node_name() argument 94 cti_plat_get_csdev_or_node_name(struct fwnode_handle *fwnode, in cti_plat_get_csdev_or_node_name() argument 106 cti_plat_node_name_eq(struct fwnode_handle * fwnode,const char * name) cti_plat_node_name_eq() argument 224 struct fwnode_handle *fwnode = dev_fwnode(dev); cti_plat_check_v8_arch_compatible() local 232 cti_plat_count_sig_elements(const struct fwnode_handle * fwnode,const char * name) cti_plat_count_sig_elements() argument 241 cti_plat_read_trig_group(struct cti_trig_grp * tgrp,const struct fwnode_handle * fwnode,const char * grp_name) cti_plat_read_trig_group() argument 268 cti_plat_read_trig_types(struct cti_trig_grp * tgrp,const struct fwnode_handle * fwnode,const char * type_name) cti_plat_read_trig_types() argument 315 cti_plat_process_filter_sigs(struct cti_drvdata * drvdata,const struct fwnode_handle * fwnode) cti_plat_process_filter_sigs() argument 342 cti_plat_create_connection(struct device * dev,struct cti_drvdata * drvdata,struct fwnode_handle * fwnode) cti_plat_create_connection() argument 461 struct fwnode_handle *fwnode = dev_fwnode(dev); coresight_cti_get_platform_data() local [all...] |
| /linux/drivers/usb/typec/ |
| 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/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; global() member 50 irqchip_fwnode_get_name(const struct fwnode_handle * fwnode) irqchip_fwnode_get_name() argument 57 irqchip_fwnode_get_parent(const struct fwnode_handle * fwnode) irqchip_fwnode_get_parent() argument 130 irq_domain_free_fwnode(struct fwnode_handle * fwnode) irq_domain_free_fwnode() argument 156 alloc_fwnode_name(struct irq_domain * domain,const struct fwnode_handle * fwnode,enum irq_domain_bus_token bus_token,const char * suffix) alloc_fwnode_name() argument 199 const struct fwnode_handle *fwnode = info->fwnode; irq_domain_set_name() local 476 irq_domain_create_simple(struct fwnode_handle * fwnode,unsigned int size,unsigned int first_irq,const struct irq_domain_ops * ops,void * host_data) irq_domain_create_simple() argument 496 irq_domain_create_legacy(struct fwnode_handle * fwnode,unsigned int size,unsigned int first_irq,irq_hw_number_t first_hwirq,const struct irq_domain_ops * ops,void * host_data) irq_domain_create_legacy() argument 527 struct fwnode_handle *fwnode = fwspec->fwnode; irq_find_matching_fwspec() local [all...] |
| /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() argument 636 static int __init imsic_populate_global_acpi(struct fwnode_handle *fwnode, in imsic_populate_global_acpi() argument 651 static int __init imsic_get_parent_hartid(struct fwnode_handle *fwnode, in imsic_get_parent_hartid() argument 681 imsic_get_mmio_resource(struct fwnode_handle * fwnode,u32 index,struct resource * res) imsic_get_mmio_resource() argument 690 imsic_parse_fwnode(struct fwnode_handle * fwnode,struct imsic_global_config * global,u32 * nr_parent_irqs,u32 * nr_mmios,void * opaque) imsic_parse_fwnode() argument 785 imsic_setup_state(struct fwnode_handle * fwnode,void * opaque) imsic_setup_state() argument [all...] |
| H A D | irq-riscv-imsic-early.c | 185 static int __init imsic_early_probe(struct fwnode_handle *fwnode) in imsic_early_probe() 227 struct fwnode_handle *fwnode = &node->fwnode; in imsic_early_dt_init() local
|
| /linux/drivers/gpio/ |
| 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/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/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
|
| H A D | iort.c | 39 struct fwnode_handle *fwnode; member 55 struct fwnode_handle *fwnode) in iort_set_fwnode() 86 struct fwnode_handle *fwnode = NULL; in iort_get_fwnode() local 128 struct fwnode_handle *fwnode) in iort_get_iort_node() 637 u32 iort_msi_xlate(struct device *dev, u32 input_id, struct fwnode_handle **fwnode) in iort_msi_xlate() 679 struct fwnode_handle *fwnode = iort_find_domain_token(its_id); in iort_find_its_base() local 794 struct fwnode_handle *fwnode; in iort_iwb_handle() local 1928 struct fwnode_handle *fwnode; in iort_add_platform_device() local 2048 struct fwnode_handle *fwnode; in iort_init_platform_devices() local
|
| /linux/drivers/reset/ |
| H A D | core.c | 969 static void reset_gpio_add_devlink(struct fwnode_handle *fwnode, in reset_gpio_add_devlink() 1012 static int __reset_add_reset_gpio_device(struct fwnode_handle *fwnode, in __reset_add_reset_gpio_device() 1139 __fwnode_reset_control_get(struct fwnode_handle *fwnode, const char *id, int index, in __fwnode_reset_control_get() 1240 struct fwnode_handle *fwnode = dev_fwnode(dev); in __reset_control_get() local 1479 static int fwnode_reset_control_get_count(struct fwnode_handle *fwnode) in fwnode_reset_control_get_count() 1517 fwnode_reset_control_array_get(struct fwnode_handle *fwnode, in fwnode_reset_control_array_get() 1599 struct fwnode_handle *fwnode = dev_fwnode(dev); in reset_control_get_count() local
|
| /linux/drivers/pinctrl/ |
| H A D | pinconf-generic.c | 223 static int parse_fw_cfg(struct fwnode_handle *fwnode, in parse_fw_cfg() argument 317 struct fwnode_handle *fwnode = of_fwnode_handle(np); pinconf_generic_parse_dt_pinmux() local 385 struct fwnode_handle *fwnode; pinconf_generic_parse_dt_config() local [all...] |
| /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 | 145 struct fwnode_handle *fwnode, int index) in __fwnode_iio_channel_get() 182 static struct iio_channel *fwnode_iio_channel_get(struct fwnode_handle *fwnode, in fwnode_iio_channel_get() 203 __fwnode_iio_channel_get_by_name(struct fwnode_handle *fwnode, const char *name) in __fwnode_iio_channel_get_by_name() 253 struct iio_channel *fwnode_iio_channel_get_by_name(struct fwnode_handle *fwnode, in fwnode_iio_channel_get_by_name() 288 struct fwnode_handle *fwnode = dev_fwnode(dev); in fwnode_iio_channel_get_all() local 424 struct fwnode_handle *fwnode, in devm_fwnode_iio_channel_get_by_name()
|
| /linux/drivers/net/pcs/ |
| H A D | pcs-mtk-lynxi.c | 86 struct fwnode_handle *fwnode; member 127 struct fwnode_handle *fwnode = mpcs->fwnode, *pcs_fwnode; in mtk_pcs_config_polarity() local 311 struct fwnode_handle *fwnode, in mtk_pcs_lynxi_create()
|
| /linux/include/linux/usb/ |
| 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/drivers/staging/media/ipu7/ |
| H A D | ipu7.c | 2110 static int ipu7_isys_check_fwnode_graph(struct fwnode_handle *fwnode) in ipu7_isys_check_fwnode_graph() argument 2132 struct fwnode_handle *fwnode = dev_fwnode(&pdev->dev); in ipu7_isys_init() local 2409 struct fwnode_handle *fwnode = dev_fwnode(&pdev->dev); ipu7_pci_probe() local [all...] |