| /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/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 …]
|
| 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() 1018 static struct fwnode_handle *fwnode_links_check_suppliers( in fwnode_links_check_suppliers() 1724 static void fw_devlink_parse_fwnode(struct fwnode_handle *fwnode) in fw_devlink_parse_fwnode() 1733 static void fw_devlink_parse_fwtree(struct fwnode_handle *fwnode) in fw_devlink_parse_fwtree() 1883 static bool fwnode_init_without_drv(struct fwnode_handle *fwnode) in fwnode_init_without_drv() 1898 static bool fwnode_ancestor_init_without_drv(struct fwnode_handle *fwnode) in fwnode_ancestor_init_without_drv() [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()
|
| /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/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() 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-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-acpi-core.c | 765 static int acpi_gpio_property_lookup(struct fwnode_handle *fwnode, const char *propname, in acpi_gpio_property_lookup() 869 static int acpi_get_gpiod_from_data(struct fwnode_handle *fwnode, const char *propname, in acpi_get_gpiod_from_data() 902 __acpi_find_gpio(struct fwnode_handle *fwnode, const char *con_id, unsigned int idx, in __acpi_find_gpio() 944 struct gpio_desc *acpi_find_gpio(struct fwnode_handle *fwnode, in acpi_find_gpio() 999 struct fwnode_handle *fwnode = acpi_fwnode_handle(adev); in acpi_dev_gpio_irq_wake_get_by() local 1212 struct fwnode_handle *fwnode, in acpi_gpiochip_parse_own_gpio() 1383 int acpi_gpio_count(const struct fwnode_handle *fwnode, const char *con_id) 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/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()
|
| /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()
|
| H A D | leds-pwm.c | 65 led_pwm_default_brightness_get(struct fwnode_handle * fwnode,int max_brightness) led_pwm_default_brightness_get() argument 81 led_pwm_add(struct device * dev,struct led_pwm_priv * priv,struct led_pwm * led,struct fwnode_handle * fwnode) led_pwm_add() argument [all...] |
| /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/net/mdio/ |
| H A D | fwnode_mdio.c | 21 fwnode_find_pse_control(struct fwnode_handle *fwnode, in fwnode_find_pse_control() argument 42 fwnode_find_mii_timestamper(struct fwnode_handle *fwnode) in fwnode_find_mii_timestamper() argument [all...] |
| /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/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/rust/helpers/ |
| H A D | property.c | 5 void rust_helper_fwnode_handle_put(struct fwnode_handle *fwnode) in rust_helper_fwnode_handle_put()
|
| H A D | of.c | 5 bool rust_helper_is_of_node(const struct fwnode_handle *fwnode) in rust_helper_is_of_node()
|
| /linux/drivers/leds/flash/ |
| H A D | leds-lm3601x.c | 322 struct fwnode_handle *fwnode) in lm3601x_register_leds() 358 struct fwnode_handle **fwnode) in lm3601x_parse_node() 424 struct fwnode_handle *fwnode; in lm3601x_probe() local
|
| /linux/drivers/acpi/riscv/ |
| H A D | rimt.c | 21 struct fwnode_handle *fwnode; member 44 struct fwnode_handle *fwnode) in rimt_set_fwnode() 227 struct fwnode_handle *fwnode = NULL; in rimt_get_fwnode() local
|