/linux-6.6.21/include/linux/ |
D | fwnode.h | 93 struct fwnode_handle *fwnode; member 124 struct fwnode_handle *(*get)(struct fwnode_handle *fwnode); 125 void (*put)(struct fwnode_handle *fwnode); 126 bool (*device_is_available)(const struct fwnode_handle *fwnode); 127 const void *(*device_get_match_data)(const struct fwnode_handle *fwnode, 129 bool (*device_dma_supported)(const struct fwnode_handle *fwnode); 131 (*device_get_dma_attr)(const struct fwnode_handle *fwnode); 132 bool (*property_present)(const struct fwnode_handle *fwnode, 134 int (*property_read_int_array)(const struct fwnode_handle *fwnode, 142 const char *(*get_name)(const struct fwnode_handle *fwnode); [all …]
|
D | property.h | 58 bool fwnode_property_present(const struct fwnode_handle *fwnode, 60 int fwnode_property_read_u8_array(const struct fwnode_handle *fwnode, 63 int fwnode_property_read_u16_array(const struct fwnode_handle *fwnode, 66 int fwnode_property_read_u32_array(const struct fwnode_handle *fwnode, 69 int fwnode_property_read_u64_array(const struct fwnode_handle *fwnode, 72 int fwnode_property_read_string_array(const struct fwnode_handle *fwnode, 75 int fwnode_property_read_string(const struct fwnode_handle *fwnode, 77 int fwnode_property_match_string(const struct fwnode_handle *fwnode, 80 bool fwnode_device_is_available(const struct fwnode_handle *fwnode); 83 bool fwnode_device_is_compatible(const struct fwnode_handle *fwnode, const char *compat) in fwnode_device_is_compatible() argument [all …]
|
D | irqdomain.h | 64 struct fwnode_handle *fwnode; member 161 struct fwnode_handle *fwnode; member 221 return to_of_node(d->fwnode); in irq_domain_get_of_node() 259 void irq_domain_free_fwnode(struct fwnode_handle *fwnode); 260 struct irq_domain *__irq_domain_add(struct fwnode_handle *fwnode, unsigned int size, 264 struct irq_domain *irq_domain_create_simple(struct fwnode_handle *fwnode, 275 struct irq_domain *irq_domain_create_legacy(struct fwnode_handle *fwnode, 291 return node ? &node->fwnode : NULL; in of_node_to_fwnode() 296 static inline bool is_fwnode_irqchip(struct fwnode_handle *fwnode) in is_fwnode_irqchip() argument 298 return fwnode && fwnode->ops == &irqchip_fwnode_ops; in is_fwnode_irqchip() [all …]
|
/linux-6.6.21/drivers/base/ |
D | property.c | 23 of_fwnode_handle(dev->of_node) : dev->fwnode; in __dev_fwnode() 30 of_fwnode_handle(dev->of_node) : dev->fwnode; in __dev_fwnode_const() 56 bool fwnode_property_present(const struct fwnode_handle *fwnode, in fwnode_property_present() argument 61 if (IS_ERR_OR_NULL(fwnode)) in fwnode_property_present() 64 ret = fwnode_call_bool_op(fwnode, property_present, propname); in fwnode_property_present() 68 return fwnode_call_bool_op(fwnode->secondary, property_present, propname); in fwnode_property_present() 256 static int fwnode_property_read_int_array(const struct fwnode_handle *fwnode, in fwnode_property_read_int_array() argument 263 if (IS_ERR_OR_NULL(fwnode)) in fwnode_property_read_int_array() 266 ret = fwnode_call_int_op(fwnode, property_read_int_array, propname, in fwnode_property_read_int_array() 271 return fwnode_call_int_op(fwnode->secondary, property_read_int_array, propname, in fwnode_property_read_int_array() [all …]
|
D | swnode.c | 18 struct fwnode_handle fwnode; member 39 bool is_software_node(const struct fwnode_handle *fwnode) in is_software_node() argument 41 return !IS_ERR_OR_NULL(fwnode) && fwnode->ops == &software_node_ops; in is_software_node() 51 struct swnode, fwnode) : NULL; \ 56 struct fwnode_handle *fwnode = dev_fwnode(dev); in dev_to_swnode() local 58 if (!fwnode) in dev_to_swnode() 61 if (!is_software_node(fwnode)) in dev_to_swnode() 62 fwnode = fwnode->secondary; in dev_to_swnode() 64 return to_swnode(fwnode); in dev_to_swnode() 90 const struct software_node *to_software_node(const struct fwnode_handle *fwnode) in to_software_node() argument [all …]
|
/linux-6.6.21/drivers/media/v4l2-core/ |
D | v4l2-fwnode.c | 124 static int v4l2_fwnode_endpoint_parse_csi2_bus(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_parse_csi2_bus() argument 161 rval = fwnode_property_count_u32(fwnode, "data-lanes"); in v4l2_fwnode_endpoint_parse_csi2_bus() 166 fwnode_property_read_u32_array(fwnode, "data-lanes", array, in v4l2_fwnode_endpoint_parse_csi2_bus() 189 rval = fwnode_property_count_u32(fwnode, "lane-polarities"); in v4l2_fwnode_endpoint_parse_csi2_bus() 200 if (!fwnode_property_read_u32(fwnode, "clock-lanes", &v)) { in v4l2_fwnode_endpoint_parse_csi2_bus() 213 if (fwnode_property_present(fwnode, "clock-noncontinuous")) { in v4l2_fwnode_endpoint_parse_csi2_bus() 241 fwnode_property_read_u32_array(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() argument 277 if (!fwnode_property_read_u32(fwnode, "hsync-active", &v)) { in v4l2_fwnode_endpoint_parse_parallel_bus() 285 if (!fwnode_property_read_u32(fwnode, "vsync-active", &v)) { in v4l2_fwnode_endpoint_parse_parallel_bus() [all …]
|
D | v4l2-async.c | 102 sd_fwnode, match->fwnode); in match_fwnode_one() 104 if (sd_fwnode == match->fwnode) { in match_fwnode_one() 110 if (!fwnode_graph_is_endpoint(match->fwnode)) { in match_fwnode_one() 116 asd_dev_fwnode = fwnode_graph_get_port_parent(match->fwnode); in match_fwnode_one() 135 dev_fwnode(notifier_dev(notifier)), sd->fwnode); in match_fwnode() 142 match->fwnode); in match_fwnode() 146 bool matched = ase->endpoint == match->fwnode; in match_fwnode() 161 if (match_fwnode_one(notifier, sd, sd->fwnode, match)) in match_fwnode() 165 if (IS_ERR_OR_NULL(sd->fwnode->secondary)) in match_fwnode() 171 return match_fwnode_one(notifier, sd, sd->fwnode->secondary, match); in match_fwnode() [all …]
|
/linux-6.6.21/drivers/hwtracing/coresight/ |
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 76 if (is_of_node(fwnode)) in cti_plat_get_cpu_at_node() 77 return of_cti_get_cpu_at_node(to_of_node(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() argument 83 if (is_of_node(fwnode)) in cti_plat_get_node_name() 84 return of_node_full_name(to_of_node(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() argument 98 *csdev = coresight_find_csdev_by_fwnode(fwnode); in cti_plat_get_csdev_or_node_name() 102 name = cti_plat_get_node_name(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() argument [all …]
|
/linux-6.6.21/drivers/acpi/ |
D | property.c | 84 fwnode_init(&dn->fwnode, &acpi_data_fwnode_ops); in acpi_nondev_subnode_extract() 104 &dn->fwnode)) in acpi_nondev_subnode_extract() 107 &dn->fwnode)) { in acpi_nondev_subnode_extract() 704 acpi_device_data_of_node(const struct fwnode_handle *fwnode) in acpi_device_data_of_node() argument 706 if (is_acpi_device_node(fwnode)) { in acpi_device_data_of_node() 707 const struct acpi_device *adev = to_acpi_device_node(fwnode); in acpi_device_data_of_node() 710 if (is_acpi_data_node(fwnode)) { in acpi_device_data_of_node() 711 const struct acpi_data_node *dn = to_acpi_data_node(fwnode); in acpi_device_data_of_node() 723 int acpi_node_prop_get(const struct fwnode_handle *fwnode, in acpi_node_prop_get() argument 726 return acpi_data_get_property(acpi_device_data_of_node(fwnode), in acpi_node_prop_get() [all …]
|
D | irq.c | 62 fwspec.fwnode = acpi_get_gsi_domain_id(gsi); in acpi_register_gsi() 63 if (WARN_ON(!fwspec.fwnode)) { in acpi_register_gsi() 131 result = &device->fwnode; in acpi_get_irq_source_fwhandle() 163 static inline void acpi_irq_parse_one_match(struct fwnode_handle *fwnode, in acpi_irq_parse_one_match() argument 169 if (!fwnode) in acpi_irq_parse_one_match() 173 ctx->fwspec->fwnode = fwnode; in acpi_irq_parse_one_match() 203 struct fwnode_handle *fwnode; in acpi_irq_parse_one_cb() local 212 fwnode = acpi_get_gsi_domain_id(irq->interrupts[ctx->index]); in acpi_irq_parse_one_cb() 213 acpi_irq_parse_one_match(fwnode, irq->interrupts[ctx->index], in acpi_irq_parse_one_cb() 225 fwnode = acpi_get_irq_source_fwhandle(&eirq->resource_source, in acpi_irq_parse_one_cb() [all …]
|
D | viot.c | 31 struct fwnode_handle *fwnode; member 81 struct fwnode_handle *fwnode; in viot_get_pci_iommu_fwnode() local 90 fwnode = dev_fwnode(&pdev->dev); in viot_get_pci_iommu_fwnode() 91 if (!fwnode) { in viot_get_pci_iommu_fwnode() 96 fwnode = acpi_alloc_fwnode_static(); in viot_get_pci_iommu_fwnode() 97 if (!fwnode) { in viot_get_pci_iommu_fwnode() 101 set_primary_fwnode(&pdev->dev, fwnode); in viot_get_pci_iommu_fwnode() 103 viommu->fwnode = dev_fwnode(&pdev->dev); in viot_get_pci_iommu_fwnode() 123 viommu->fwnode = &adev->fwnode; in viot_get_mmio_iommu_fwnode() 316 if (device_match_fwnode(dev, viommu->fwnode)) in viot_dev_iommu_init() [all …]
|
/linux-6.6.21/drivers/gpio/ |
D | gpiolib-swnode.c | 39 static struct gpio_chip *swnode_get_chip(struct fwnode_handle *fwnode) in swnode_get_chip() argument 44 chip_node = to_software_node(fwnode); in swnode_get_chip() 52 struct gpio_desc *swnode_find_gpio(struct fwnode_handle *fwnode, in swnode_find_gpio() argument 63 swnode = to_software_node(fwnode); in swnode_find_gpio() 73 error = fwnode_property_get_reference_args(fwnode, propname, NULL, 2, idx, &args); in swnode_find_gpio() 76 __func__, propname, fwnode, idx); in swnode_find_gpio() 80 chip = swnode_get_chip(args.fwnode); in swnode_find_gpio() 81 fwnode_handle_put(args.fwnode); in swnode_find_gpio() 89 __func__, propname, fwnode, idx, PTR_ERR_OR_ZERO(desc)); in swnode_find_gpio() 104 int swnode_gpio_count(const struct fwnode_handle *fwnode, const char *con_id) in swnode_gpio_count() argument [all …]
|
/linux-6.6.21/drivers/platform/x86/intel/ |
D | chtwc_int33fe.c | 163 struct fwnode_handle *fwnode; in cht_int33fe_setup_dp() local 166 fwnode = software_node_fwnode(&displayport_node); in cht_int33fe_setup_dp() 167 if (!fwnode) in cht_int33fe_setup_dp() 183 fwnode->secondary = ERR_PTR(-ENODEV); in cht_int33fe_setup_dp() 184 data->dp->secondary = fwnode; in cht_int33fe_setup_dp() 254 struct fwnode_handle *fwnode; in cht_int33fe_register_max17047() local 257 fwnode = software_node_fwnode(&max17047_node); in cht_int33fe_register_max17047() 258 if (!fwnode) in cht_int33fe_register_max17047() 264 set_secondary_fwnode(&max17047->dev, fwnode); in cht_int33fe_register_max17047() 275 board_info.fwnode = fwnode; in cht_int33fe_register_max17047() [all …]
|
/linux-6.6.21/drivers/platform/chrome/ |
D | cros_typec_switch.c | 181 struct fwnode_handle *fwnode) in cros_typec_register_mode_switch() argument 184 .fwnode = fwnode, in cros_typec_register_mode_switch() 186 .name = fwnode_get_name(fwnode), in cros_typec_register_mode_switch() 195 static int cros_typec_register_retimer(struct cros_typec_port *port, struct fwnode_handle *fwnode) in cros_typec_register_retimer() argument 198 .fwnode = fwnode, in cros_typec_register_retimer() 200 .name = fwnode_get_name(fwnode), in cros_typec_register_retimer() 213 struct fwnode_handle *fwnode; in cros_typec_register_switches() local 224 device_for_each_child_node(dev, fwnode) { in cros_typec_register_switches() 231 adev = to_acpi_device_node(fwnode); in cros_typec_register_switches() 233 dev_err(fwnode->dev, "Couldn't get ACPI device handle\n"); in cros_typec_register_switches() [all …]
|
/linux-6.6.21/drivers/leds/ |
D | leds-pwm.c | 62 struct led_pwm *led, struct fwnode_handle *fwnode) in led_pwm_add() argument 65 struct led_init_data init_data = { .fwnode = fwnode }; in led_pwm_add() 74 led_data->pwm = devm_fwnode_pwm_get(dev, fwnode, NULL); in led_pwm_add() 137 struct fwnode_handle *fwnode; in led_pwm_create_fwnode() local 141 device_for_each_child_node(dev, fwnode) { in led_pwm_create_fwnode() 144 ret = fwnode_property_read_string(fwnode, "label", &led.name); in led_pwm_create_fwnode() 145 if (ret && is_of_node(fwnode)) in led_pwm_create_fwnode() 146 led.name = to_of_node(fwnode)->name; in led_pwm_create_fwnode() 153 led.active_low = fwnode_property_read_bool(fwnode, in led_pwm_create_fwnode() 155 fwnode_property_read_u32(fwnode, "max-brightness", in led_pwm_create_fwnode() [all …]
|
D | led-core.c | 378 struct fwnode_handle *fwnode = led_cdev->dev->fwnode; in led_get_default_pattern() local 382 count = fwnode_property_count_u32(fwnode, "led-pattern"); in led_get_default_pattern() 390 if (fwnode_property_read_u32_array(fwnode, "led-pattern", pattern, count)) { in led_get_default_pattern() 420 struct fwnode_handle *fwnode, in led_parse_fwnode_props() argument 425 if (!fwnode) in led_parse_fwnode_props() 428 if (fwnode_property_present(fwnode, "label")) { in led_parse_fwnode_props() 429 ret = fwnode_property_read_string(fwnode, "label", &props->label); in led_parse_fwnode_props() 435 if (fwnode_property_present(fwnode, "color")) { in led_parse_fwnode_props() 436 ret = fwnode_property_read_u32(fwnode, "color", &props->color); in led_parse_fwnode_props() 446 if (!fwnode_property_present(fwnode, "function")) in led_parse_fwnode_props() [all …]
|
/linux-6.6.21/drivers/of/ |
D | property.c | 866 static struct fwnode_handle *of_fwnode_get(struct fwnode_handle *fwnode) in of_fwnode_get() argument 868 return of_fwnode_handle(of_node_get(to_of_node(fwnode))); in of_fwnode_get() 871 static void of_fwnode_put(struct fwnode_handle *fwnode) in of_fwnode_put() argument 873 of_node_put(to_of_node(fwnode)); in of_fwnode_put() 876 static bool of_fwnode_device_is_available(const struct fwnode_handle *fwnode) in of_fwnode_device_is_available() argument 878 return of_device_is_available(to_of_node(fwnode)); in of_fwnode_device_is_available() 881 static bool of_fwnode_device_dma_supported(const struct fwnode_handle *fwnode) in of_fwnode_device_dma_supported() argument 887 of_fwnode_device_get_dma_attr(const struct fwnode_handle *fwnode) in of_fwnode_device_get_dma_attr() argument 889 if (of_dma_is_coherent(to_of_node(fwnode))) in of_fwnode_device_get_dma_attr() 895 static bool of_fwnode_property_present(const struct fwnode_handle *fwnode, in of_fwnode_property_present() argument [all …]
|
/linux-6.6.21/drivers/irqchip/ |
D | irq-gic-v2m.c | 65 struct fwnode_handle *fwnode; member 143 if (is_of_node(domain->parent->fwnode)) { in gicv2m_irq_gic_domain_alloc() 144 fwspec.fwnode = domain->parent->fwnode; in gicv2m_irq_gic_domain_alloc() 149 } else if (is_fwnode_irqchip(domain->parent->fwnode)) { in gicv2m_irq_gic_domain_alloc() 150 fwspec.fwnode = domain->parent->fwnode; in gicv2m_irq_gic_domain_alloc() 274 of_node_put(to_of_node(v2m->fwnode)); in gicv2m_teardown() 275 if (is_fwnode_irqchip(v2m->fwnode)) in gicv2m_teardown() 276 irq_domain_free_fwnode(v2m->fwnode); in gicv2m_teardown() 290 inner_domain = irq_domain_create_hierarchy(parent, 0, 0, v2m->fwnode, in gicv2m_allocate_domains() 298 pci_domain = pci_msi_create_irq_domain(v2m->fwnode, in gicv2m_allocate_domains() [all …]
|
D | irq-gic-v4.c | 130 vpe->fwnode = irq_domain_alloc_named_id_fwnode(name, idx); in its_alloc_vcpu_sgis() 131 if (!vpe->fwnode) in its_alloc_vcpu_sgis() 137 vpe->sgi_domain = irq_domain_create_linear(vpe->fwnode, 16, in its_alloc_vcpu_sgis() 151 if (vpe->fwnode) in its_alloc_vcpu_sgis() 152 irq_domain_free_fwnode(vpe->fwnode); in its_alloc_vcpu_sgis() 161 vm->fwnode = irq_domain_alloc_named_id_fwnode("GICv4-vpe", in its_alloc_vcpu_irqs() 163 if (!vm->fwnode) in its_alloc_vcpu_irqs() 167 vm->fwnode, vpe_domain_ops, in its_alloc_vcpu_irqs() 195 if (vm->fwnode) in its_alloc_vcpu_irqs() 196 irq_domain_free_fwnode(vm->fwnode); in its_alloc_vcpu_irqs() [all …]
|
/linux-6.6.21/drivers/usb/typec/ |
D | retimer.c | 20 static int retimer_fwnode_match(struct device *dev, const void *fwnode) in retimer_fwnode_match() argument 22 return is_typec_retimer(dev) && device_match_fwnode(dev, 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() argument 29 if (id && !fwnode_property_present(fwnode, id)) in typec_retimer_match() 32 dev = class_find_device(&retimer_class, NULL, fwnode, in typec_retimer_match() 47 struct typec_retimer *fwnode_typec_retimer_get(struct fwnode_handle *fwnode) in fwnode_typec_retimer_get() argument 51 retimer = fwnode_connection_find_match(fwnode, "retimer-switch", NULL, typec_retimer_match); in fwnode_typec_retimer_get() 121 retimer->dev.fwnode = desc->fwnode; in typec_retimer_register()
|
D | mux.c | 27 static int switch_fwnode_match(struct device *dev, const void *fwnode) in switch_fwnode_match() argument 32 return device_match_fwnode(dev, fwnode); in switch_fwnode_match() 35 static void *typec_switch_match(const struct fwnode_handle *fwnode, in typec_switch_match() argument 48 if (id && !fwnode_property_present(fwnode, id)) in typec_switch_match() 56 dev = class_find_device(&typec_mux_class, NULL, fwnode, in typec_switch_match() 71 struct typec_switch *fwnode_typec_switch_get(struct fwnode_handle *fwnode) in fwnode_typec_switch_get() argument 83 count = fwnode_connection_find_matches(fwnode, "orientation-switch", NULL, in fwnode_typec_switch_get() 182 sw_dev->dev.fwnode = desc->fwnode; in typec_switch_register() 257 static int mux_fwnode_match(struct device *dev, const void *fwnode) in mux_fwnode_match() argument 262 return device_match_fwnode(dev, fwnode); in mux_fwnode_match() [all …]
|
/linux-6.6.21/kernel/irq/ |
D | irqdomain.c | 34 struct fwnode_handle fwnode; member 48 static const char *irqchip_fwnode_get_name(const struct fwnode_handle *fwnode) in irqchip_fwnode_get_name() argument 50 struct irqchip_fwid *fwid = container_of(fwnode, struct irqchip_fwid, fwnode); in irqchip_fwnode_get_name() 106 fwnode_init(&fwid->fwnode, &irqchip_fwnode_ops); in __irq_domain_alloc_fwnode() 107 return &fwid->fwnode; in __irq_domain_alloc_fwnode() 116 void irq_domain_free_fwnode(struct fwnode_handle *fwnode) in irq_domain_free_fwnode() argument 120 if (!fwnode || WARN_ON(!is_fwnode_irqchip(fwnode))) in irq_domain_free_fwnode() 123 fwid = container_of(fwnode, struct irqchip_fwid, fwnode); in irq_domain_free_fwnode() 129 static struct irq_domain *__irq_domain_create(struct fwnode_handle *fwnode, in __irq_domain_create() argument 147 GFP_KERNEL, of_node_to_nid(to_of_node(fwnode))); in __irq_domain_create() [all …]
|
/linux-6.6.21/drivers/acpi/arm64/ |
D | apmt.c | 76 struct fwnode_handle *fwnode) in apmt_add_platform_device() argument 102 pdev->dev.fwnode = fwnode; in apmt_add_platform_device() 121 struct fwnode_handle *fwnode; in apmt_init_platform_devices() local 137 fwnode = acpi_alloc_fwnode_static(); in apmt_init_platform_devices() 138 if (!fwnode) in apmt_init_platform_devices() 141 ret = apmt_add_platform_device(apmt_node, fwnode); in apmt_init_platform_devices() 143 acpi_free_fwnode_static(fwnode); in apmt_init_platform_devices()
|
/linux-6.6.21/drivers/usb/roles/ |
D | class.c | 97 static void *usb_role_switch_match(const struct fwnode_handle *fwnode, const char *id, in usb_role_switch_match() argument 102 if (id && !fwnode_property_present(fwnode, id)) in usb_role_switch_match() 105 dev = class_find_device_by_fwnode(&role_class, fwnode); in usb_role_switch_match() 111 usb_role_switch_is_parent(struct fwnode_handle *fwnode) in usb_role_switch_is_parent() argument 113 struct fwnode_handle *parent = fwnode_get_parent(fwnode); in usb_role_switch_is_parent() 156 struct usb_role_switch *fwnode_usb_role_switch_get(struct fwnode_handle *fwnode) in fwnode_usb_role_switch_get() argument 160 sw = usb_role_switch_is_parent(fwnode); in fwnode_usb_role_switch_get() 162 sw = fwnode_connection_find_match(fwnode, "usb-role-switch", in fwnode_usb_role_switch_get() 194 usb_role_switch_find_by_fwnode(const struct fwnode_handle *fwnode) in usb_role_switch_find_by_fwnode() argument 199 if (!fwnode) in usb_role_switch_find_by_fwnode() [all …]
|
/linux-6.6.21/drivers/leds/rgb/ |
D | leds-pwm-multicolor.c | 69 struct fwnode_handle *fwnode; in iterate_subleds() local 75 fwnode_for_each_child_node(mcnode, fwnode) { in iterate_subleds() 77 pwmled->pwm = devm_fwnode_pwm_get(dev, fwnode, NULL); in iterate_subleds() 83 pwmled->active_low = fwnode_property_read_bool(fwnode, "active-low"); in iterate_subleds() 85 ret = fwnode_property_read_u32(fwnode, "color", &color); in iterate_subleds() 98 fwnode_handle_put(fwnode); in iterate_subleds() 104 struct fwnode_handle *mcnode, *fwnode; in led_pwm_mc_probe() local 118 fwnode_for_each_child_node(mcnode, fwnode) in led_pwm_mc_probe() 147 init_data.fwnode = mcnode; in led_pwm_mc_probe()
|