| /Linux-v5.15/include/linux/ |
| D | fwnode.h | 79 struct fwnode_handle *fwnode; member 110 struct fwnode_handle *(*get)(struct fwnode_handle *fwnode); 111 void (*put)(struct fwnode_handle *fwnode); 112 bool (*device_is_available)(const struct fwnode_handle *fwnode); 113 const void *(*device_get_match_data)(const struct fwnode_handle *fwnode, 115 bool (*property_present)(const struct fwnode_handle *fwnode, 117 int (*property_read_int_array)(const struct fwnode_handle *fwnode, 125 const char *(*get_name)(const struct fwnode_handle *fwnode); 126 const char *(*get_name_prefix)(const struct fwnode_handle *fwnode); 127 struct fwnode_handle *(*get_parent)(const struct fwnode_handle *fwnode); [all …]
|
| D | property.h | 52 bool fwnode_device_is_available(const struct fwnode_handle *fwnode); 53 bool fwnode_property_present(const struct fwnode_handle *fwnode, 55 int fwnode_property_read_u8_array(const struct fwnode_handle *fwnode, 58 int fwnode_property_read_u16_array(const struct fwnode_handle *fwnode, 61 int fwnode_property_read_u32_array(const struct fwnode_handle *fwnode, 64 int fwnode_property_read_u64_array(const struct fwnode_handle *fwnode, 67 int fwnode_property_read_string_array(const struct fwnode_handle *fwnode, 70 int fwnode_property_read_string(const struct fwnode_handle *fwnode, 72 int fwnode_property_match_string(const struct fwnode_handle *fwnode, 74 int fwnode_property_get_reference_args(const struct fwnode_handle *fwnode, [all …]
|
| D | irqdomain.h | 62 struct fwnode_handle *fwnode; member 167 struct fwnode_handle *fwnode; member 222 return to_of_node(d->fwnode); in irq_domain_get_of_node() 253 void irq_domain_free_fwnode(struct fwnode_handle *fwnode); 254 struct irq_domain *__irq_domain_add(struct fwnode_handle *fwnode, unsigned int size, 258 struct irq_domain *irq_domain_create_simple(struct fwnode_handle *fwnode, 269 struct irq_domain *irq_domain_create_legacy(struct fwnode_handle *fwnode, 286 return node ? &node->fwnode : NULL; in of_node_to_fwnode() 291 static inline bool is_fwnode_irqchip(struct fwnode_handle *fwnode) in is_fwnode_irqchip() argument 293 return fwnode && fwnode->ops == &irqchip_fwnode_ops; in is_fwnode_irqchip() [all …]
|
| D | acpi.h | 43 #define ACPI_COMPANION(dev) to_acpi_device_node((dev)->fwnode) 47 #define ACPI_HANDLE_FWNODE(fwnode) \ argument 48 acpi_device_handle(to_acpi_device_node(fwnode)) 52 struct fwnode_handle *fwnode; in acpi_alloc_fwnode_static() local 54 fwnode = kzalloc(sizeof(struct fwnode_handle), GFP_KERNEL); in acpi_alloc_fwnode_static() 55 if (!fwnode) in acpi_alloc_fwnode_static() 58 fwnode_init(fwnode, &acpi_static_fwnode_ops); in acpi_alloc_fwnode_static() 60 return fwnode; in acpi_alloc_fwnode_static() 63 static inline void acpi_free_fwnode_static(struct fwnode_handle *fwnode) in acpi_free_fwnode_static() argument 65 if (WARN_ON(!is_acpi_static_node(fwnode))) in acpi_free_fwnode_static() [all …]
|
| /Linux-v5.15/drivers/base/ |
| D | property.c | 24 of_fwnode_handle(dev->of_node) : dev->fwnode; in dev_fwnode() 46 bool fwnode_property_present(const struct fwnode_handle *fwnode, in fwnode_property_present() argument 51 ret = fwnode_call_bool_op(fwnode, property_present, propname); in fwnode_property_present() 52 if (ret == false && !IS_ERR_OR_NULL(fwnode) && in fwnode_property_present() 53 !IS_ERR_OR_NULL(fwnode->secondary)) in fwnode_property_present() 54 ret = fwnode_call_bool_op(fwnode->secondary, property_present, in fwnode_property_present() 229 static int fwnode_property_read_int_array(const struct fwnode_handle *fwnode, in fwnode_property_read_int_array() argument 236 ret = fwnode_call_int_op(fwnode, property_read_int_array, propname, in fwnode_property_read_int_array() 238 if (ret == -EINVAL && !IS_ERR_OR_NULL(fwnode) && in fwnode_property_read_int_array() 239 !IS_ERR_OR_NULL(fwnode->secondary)) 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-v5.15/drivers/media/v4l2-core/ |
| D | v4l2-fwnode.c | 118 static int v4l2_fwnode_endpoint_parse_csi2_bus(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_parse_csi2_bus() argument 155 rval = fwnode_property_count_u32(fwnode, "data-lanes"); in v4l2_fwnode_endpoint_parse_csi2_bus() 160 fwnode_property_read_u32_array(fwnode, "data-lanes", array, in v4l2_fwnode_endpoint_parse_csi2_bus() 183 rval = fwnode_property_count_u32(fwnode, "lane-polarities"); in v4l2_fwnode_endpoint_parse_csi2_bus() 194 if (!fwnode_property_read_u32(fwnode, "clock-lanes", &v)) { in v4l2_fwnode_endpoint_parse_csi2_bus() 207 if (fwnode_property_present(fwnode, "clock-noncontinuous")) { in v4l2_fwnode_endpoint_parse_csi2_bus() 237 fwnode_property_read_u32_array(fwnode, in v4l2_fwnode_endpoint_parse_csi2_bus() 262 v4l2_fwnode_endpoint_parse_parallel_bus(struct fwnode_handle *fwnode, in v4l2_fwnode_endpoint_parse_parallel_bus() argument 273 if (!fwnode_property_read_u32(fwnode, "hsync-active", &v)) { in v4l2_fwnode_endpoint_parse_parallel_bus() 281 if (!fwnode_property_read_u32(fwnode, "vsync-active", &v)) { in v4l2_fwnode_endpoint_parse_parallel_bus() [all …]
|
| D | v4l2-async.c | 83 if (sd->fwnode == asd->match.fwnode) in match_fwnode() 90 if (!IS_ERR_OR_NULL(sd->fwnode->secondary) && in match_fwnode() 91 sd->fwnode->secondary == asd->match.fwnode) in match_fwnode() 102 sd_fwnode_is_ep = fwnode_graph_is_endpoint(sd->fwnode); in match_fwnode() 103 asd_fwnode_is_ep = fwnode_graph_is_endpoint(asd->match.fwnode); in match_fwnode() 113 dev_fwnode = fwnode_graph_get_port_parent(sd->fwnode); in match_fwnode() 114 other_fwnode = asd->match.fwnode; in match_fwnode() 116 dev_fwnode = fwnode_graph_get_port_parent(asd->match.fwnode); in match_fwnode() 117 other_fwnode = sd->fwnode; in match_fwnode() 195 return asd_x->match.fwnode == asd_y->match.fwnode; in asd_equal() [all …]
|
| /Linux-v5.15/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-v5.15/drivers/acpi/ |
| D | property.c | 79 fwnode_init(&dn->fwnode, &acpi_data_fwnode_ops); in acpi_nondev_subnode_extract() 99 &dn->fwnode)) in acpi_nondev_subnode_extract() 102 &dn->fwnode)) { in acpi_nondev_subnode_extract() 539 acpi_device_data_of_node(const struct fwnode_handle *fwnode) in acpi_device_data_of_node() argument 541 if (is_acpi_device_node(fwnode)) { in acpi_device_data_of_node() 542 const struct acpi_device *adev = to_acpi_device_node(fwnode); in acpi_device_data_of_node() 544 } else if (is_acpi_data_node(fwnode)) { in acpi_device_data_of_node() 545 const struct acpi_data_node *dn = to_acpi_data_node(fwnode); in acpi_device_data_of_node() 557 int acpi_node_prop_get(const struct fwnode_handle *fwnode, in acpi_node_prop_get() argument 560 return acpi_data_get_property(acpi_device_data_of_node(fwnode), in acpi_node_prop_get() [all …]
|
| D | irq.c | 61 fwspec.fwnode = acpi_gsi_domain_id; in acpi_register_gsi() 118 result = &device->fwnode; in acpi_get_irq_source_fwhandle() 149 static inline void acpi_irq_parse_one_match(struct fwnode_handle *fwnode, in acpi_irq_parse_one_match() argument 154 if (!fwnode) in acpi_irq_parse_one_match() 158 ctx->fwspec->fwnode = fwnode; in acpi_irq_parse_one_match() 188 struct fwnode_handle *fwnode; in acpi_irq_parse_one_cb() local 197 fwnode = acpi_gsi_domain_id; in acpi_irq_parse_one_cb() 198 acpi_irq_parse_one_match(fwnode, irq->interrupts[ctx->index], in acpi_irq_parse_one_cb() 210 fwnode = acpi_get_irq_source_fwhandle(&eirq->resource_source); in acpi_irq_parse_one_cb() 211 acpi_irq_parse_one_match(fwnode, eirq->interrupts[ctx->index], in acpi_irq_parse_one_cb() [all …]
|
| D | viot.c | 32 struct fwnode_handle *fwnode; member 82 struct fwnode_handle *fwnode; in viot_get_pci_iommu_fwnode() local 91 fwnode = pdev->dev.fwnode; in viot_get_pci_iommu_fwnode() 92 if (!fwnode) { in viot_get_pci_iommu_fwnode() 97 fwnode = acpi_alloc_fwnode_static(); in viot_get_pci_iommu_fwnode() 98 if (!fwnode) { in viot_get_pci_iommu_fwnode() 102 set_primary_fwnode(&pdev->dev, fwnode); in viot_get_pci_iommu_fwnode() 104 viommu->fwnode = pdev->dev.fwnode; in viot_get_pci_iommu_fwnode() 124 viommu->fwnode = &adev->fwnode; in viot_get_mmio_iommu_fwnode() 297 if (viommu->fwnode == dev->fwnode) in viot_dev_iommu_init() [all …]
|
| /Linux-v5.15/drivers/platform/x86/intel/int33fe/ |
| D | intel_cht_int33fe_typec.c | 157 struct fwnode_handle *fwnode; in cht_int33fe_setup_dp() local 160 fwnode = software_node_fwnode(&displayport_node); in cht_int33fe_setup_dp() 161 if (!fwnode) in cht_int33fe_setup_dp() 177 fwnode->secondary = ERR_PTR(-ENODEV); in cht_int33fe_setup_dp() 178 data->dp->secondary = fwnode; in cht_int33fe_setup_dp() 248 struct fwnode_handle *fwnode; in cht_int33fe_register_max17047() local 251 fwnode = software_node_fwnode(&max17047_node); in cht_int33fe_register_max17047() 252 if (!fwnode) in cht_int33fe_register_max17047() 258 set_secondary_fwnode(&max17047->dev, fwnode); in cht_int33fe_register_max17047() 269 board_info.fwnode = fwnode; in cht_int33fe_register_max17047() [all …]
|
| /Linux-v5.15/drivers/usb/typec/ |
| D | mux.c | 20 static int switch_fwnode_match(struct device *dev, const void *fwnode) in switch_fwnode_match() argument 25 return dev_fwnode(dev) == fwnode; in switch_fwnode_match() 28 static void *typec_switch_match(struct fwnode_handle *fwnode, const char *id, in typec_switch_match() argument 41 if (id && !fwnode_property_present(fwnode, id)) in typec_switch_match() 49 dev = class_find_device(&typec_mux_class, NULL, fwnode, in typec_switch_match() 64 struct typec_switch *fwnode_typec_switch_get(struct fwnode_handle *fwnode) in fwnode_typec_switch_get() argument 68 sw = fwnode_connection_find_match(fwnode, "orientation-switch", NULL, in fwnode_typec_switch_get() 130 sw->dev.fwnode = desc->fwnode; in typec_switch_register() 185 static int mux_fwnode_match(struct device *dev, const void *fwnode) in mux_fwnode_match() argument 190 return dev_fwnode(dev) == fwnode; in mux_fwnode_match() [all …]
|
| D | qcom-pmic-typec.c | 133 struct fwnode_handle *fwnode; in qcom_pmic_typec_probe() local 162 fwnode = device_get_named_child_node(dev, "connector"); in qcom_pmic_typec_probe() 163 if (!fwnode) in qcom_pmic_typec_probe() 166 ret = fwnode_property_read_string(fwnode, "power-role", &buf); in qcom_pmic_typec_probe() 176 ret = fwnode_property_read_string(fwnode, "data-role", &buf); in qcom_pmic_typec_probe() 187 cap.fwnode = fwnode; in qcom_pmic_typec_probe() 194 fwnode_handle_put(fwnode); in qcom_pmic_typec_probe() 227 fwnode_handle_put(fwnode); in qcom_pmic_typec_probe()
|
| /Linux-v5.15/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 143 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 | 323 struct fwnode_handle *fwnode = led_cdev->dev->fwnode; in led_get_default_pattern() local 327 count = fwnode_property_count_u32(fwnode, "led-pattern"); in led_get_default_pattern() 335 if (fwnode_property_read_u32_array(fwnode, "led-pattern", pattern, count)) { in led_get_default_pattern() 365 struct fwnode_handle *fwnode, in led_parse_fwnode_props() argument 370 if (!fwnode) in led_parse_fwnode_props() 373 if (fwnode_property_present(fwnode, "label")) { in led_parse_fwnode_props() 374 ret = fwnode_property_read_string(fwnode, "label", &props->label); in led_parse_fwnode_props() 380 if (fwnode_property_present(fwnode, "color")) { in led_parse_fwnode_props() 381 ret = fwnode_property_read_u32(fwnode, "color", &props->color); in led_parse_fwnode_props() 391 if (!fwnode_property_present(fwnode, "function")) in led_parse_fwnode_props() [all …]
|
| /Linux-v5.15/drivers/irqchip/ |
| D | irq-gic-v2m.c | 64 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_tree(v2m->fwnode, in gicv2m_allocate_domains() 299 pci_domain = pci_msi_create_irq_domain(v2m->fwnode, in gicv2m_allocate_domains() [all …]
|
| D | irq-ixp4xx.c | 135 if (is_of_node(fwspec->fwnode) && fwspec->param_count == 2) { in ixp4xx_irq_domain_translate() 141 if (is_fwnode_irqchip(fwspec->fwnode)) { in ixp4xx_irq_domain_translate() 257 struct fwnode_handle *fwnode, in ixp4xx_irq_setup() argument 288 ixi->domain = irq_domain_create_linear(fwnode, nr_irqs, in ixp4xx_irq_setup() 311 struct fwnode_handle *fwnode; in ixp4xx_irq_init() local 322 fwnode = irq_domain_alloc_fwnode(&irqbase); in ixp4xx_irq_init() 323 if (!fwnode) { in ixp4xx_irq_init() 327 ret = ixp4xx_irq_setup(ixi, base, fwnode, is_356); in ixp4xx_irq_init() 330 irq_domain_free_fwnode(fwnode); in ixp4xx_irq_init() 347 fwspec.fwnode = fwnode; in ixp4xx_irq_init() [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() 153 if (vpe->fwnode) in its_alloc_vcpu_sgis() 154 irq_domain_free_fwnode(vpe->fwnode); in its_alloc_vcpu_sgis() 163 vm->fwnode = irq_domain_alloc_named_id_fwnode("GICv4-vpe", in its_alloc_vcpu_irqs() 165 if (!vm->fwnode) in its_alloc_vcpu_irqs() 169 vm->fwnode, vpe_domain_ops, in its_alloc_vcpu_irqs() 198 if (vm->fwnode) in its_alloc_vcpu_irqs() 199 irq_domain_free_fwnode(vm->fwnode); in its_alloc_vcpu_irqs() [all …]
|
| /Linux-v5.15/drivers/of/ |
| D | property.c | 860 static struct fwnode_handle *of_fwnode_get(struct fwnode_handle *fwnode) in of_fwnode_get() argument 862 return of_fwnode_handle(of_node_get(to_of_node(fwnode))); in of_fwnode_get() 865 static void of_fwnode_put(struct fwnode_handle *fwnode) in of_fwnode_put() argument 867 of_node_put(to_of_node(fwnode)); in of_fwnode_put() 870 static bool of_fwnode_device_is_available(const struct fwnode_handle *fwnode) in of_fwnode_device_is_available() argument 872 return of_device_is_available(to_of_node(fwnode)); in of_fwnode_device_is_available() 875 static bool of_fwnode_property_present(const struct fwnode_handle *fwnode, in of_fwnode_property_present() argument 878 return of_property_read_bool(to_of_node(fwnode), propname); in of_fwnode_property_present() 881 static int of_fwnode_property_read_int_array(const struct fwnode_handle *fwnode, in of_fwnode_property_read_int_array() argument 886 const struct device_node *node = to_of_node(fwnode); in of_fwnode_property_read_int_array() [all …]
|
| /Linux-v5.15/kernel/irq/ |
| D | irqdomain.c | 31 struct fwnode_handle fwnode; member 45 static const char *irqchip_fwnode_get_name(const struct fwnode_handle *fwnode) in irqchip_fwnode_get_name() argument 47 struct irqchip_fwid *fwid = container_of(fwnode, struct irqchip_fwid, fwnode); in irqchip_fwnode_get_name() 103 fwnode_init(&fwid->fwnode, &irqchip_fwnode_ops); in __irq_domain_alloc_fwnode() 104 return &fwid->fwnode; in __irq_domain_alloc_fwnode() 113 void irq_domain_free_fwnode(struct fwnode_handle *fwnode) in irq_domain_free_fwnode() argument 117 if (WARN_ON(!is_fwnode_irqchip(fwnode))) in irq_domain_free_fwnode() 120 fwid = container_of(fwnode, struct irqchip_fwid, fwnode); in irq_domain_free_fwnode() 139 struct irq_domain *__irq_domain_add(struct fwnode_handle *fwnode, unsigned int size, in __irq_domain_add() argument 154 GFP_KERNEL, of_node_to_nid(to_of_node(fwnode))); in __irq_domain_add() [all …]
|
| /Linux-v5.15/drivers/platform/surface/ |
| D | surface_gpe.c | 264 struct fwnode_handle *fwnode; in surface_gpe_init() local 277 fwnode = fwnode_create_software_node(match->driver_data, NULL); in surface_gpe_init() 278 if (IS_ERR(fwnode)) { in surface_gpe_init() 279 status = PTR_ERR(fwnode); in surface_gpe_init() 289 pdev->dev.fwnode = fwnode; in surface_gpe_init() 301 fwnode_remove_software_node(fwnode); in surface_gpe_init() 310 struct fwnode_handle *fwnode = surface_gpe_device->dev.fwnode; in surface_gpe_exit() local 314 fwnode_remove_software_node(fwnode); in surface_gpe_exit()
|
| /Linux-v5.15/drivers/usb/roles/ |
| D | class.c | 90 static void *usb_role_switch_match(struct fwnode_handle *fwnode, const char *id, in usb_role_switch_match() argument 95 if (id && !fwnode_property_present(fwnode, id)) in usb_role_switch_match() 98 dev = class_find_device_by_fwnode(role_class, fwnode); in usb_role_switch_match() 104 usb_role_switch_is_parent(struct fwnode_handle *fwnode) in usb_role_switch_is_parent() argument 106 struct fwnode_handle *parent = fwnode_get_parent(fwnode); in usb_role_switch_is_parent() 146 struct usb_role_switch *fwnode_usb_role_switch_get(struct fwnode_handle *fwnode) in fwnode_usb_role_switch_get() argument 150 sw = usb_role_switch_is_parent(fwnode); in fwnode_usb_role_switch_get() 152 sw = fwnode_connection_find_match(fwnode, "usb-role-switch", in fwnode_usb_role_switch_get() 184 usb_role_switch_find_by_fwnode(const struct fwnode_handle *fwnode) in usb_role_switch_find_by_fwnode() argument 188 if (!fwnode) in usb_role_switch_find_by_fwnode() [all …]
|
| /Linux-v5.15/drivers/usb/typec/mux/ |
| D | intel_pmc_mux.c | 485 struct fwnode_handle *fwnode) in pmc_usb_register_port() argument 494 ret = fwnode_property_read_u8(fwnode, "usb2-port-number", &port->usb2_port); in pmc_usb_register_port() 498 ret = fwnode_property_read_u8(fwnode, "usb3-port-number", &port->usb3_port); in pmc_usb_register_port() 502 ret = fwnode_property_read_string(fwnode, "sbu-orientation", &str); in pmc_usb_register_port() 506 ret = fwnode_property_read_string(fwnode, "hsl-orientation", &str); in pmc_usb_register_port() 513 sw_desc.fwnode = fwnode; in pmc_usb_register_port() 515 sw_desc.name = fwnode_get_name(fwnode); in pmc_usb_register_port() 522 mux_desc.fwnode = fwnode; in pmc_usb_register_port() 524 mux_desc.name = fwnode_get_name(fwnode); in pmc_usb_register_port() 533 desc.fwnode = fwnode; in pmc_usb_register_port() [all …]
|