Searched refs:fwnode (Results 126 - 150 of 649) sorted by relevance

1234567891011>>

/linux-master/net/ethernet/
H A Deth.c564 static int fwnode_get_mac_addr(struct fwnode_handle *fwnode, argument
569 ret = fwnode_property_read_u8_array(fwnode, name, addr, ETH_ALEN);
580 * @fwnode: Pointer to the firmware node
600 int fwnode_get_mac_address(struct fwnode_handle *fwnode, char *addr) argument
602 if (!fwnode_get_mac_addr(fwnode, "mac-address", addr) ||
603 !fwnode_get_mac_addr(fwnode, "local-mac-address", addr) ||
604 !fwnode_get_mac_addr(fwnode, "address", addr))
/linux-master/drivers/usb/typec/
H A Danx7411.c1048 struct fwnode_handle *fwnode)
1052 sw_desc.fwnode = fwnode;
1054 sw_desc.name = fwnode_get_name(fwnode);
1068 struct fwnode_handle *fwnode)
1072 mux_desc.fwnode = fwnode;
1074 mux_desc.name = fwnode_get_name(fwnode);
1112 ret = anx7411_register_switch(ctx, dev, &node->fwnode);
1125 ret = anx7411_register_mux(ctx, dev, &node->fwnode);
1046 anx7411_register_switch(struct anx7411_data *ctx, struct device *dev, struct fwnode_handle *fwnode) argument
1066 anx7411_register_mux(struct anx7411_data *ctx, struct device *dev, struct fwnode_handle *fwnode) argument
1145 struct fwnode_handle *fwnode; local
[all...]
/linux-master/drivers/i2c/
H A Di2c-core-of.c53 info->fwnode = of_fwnode_handle(node);
185 rd->dn->fwnode.flags &= ~FWNODE_FLAG_NOT_DEVICE;
/linux-master/drivers/soundwire/
H A Dbus.h25 struct fwnode_handle *fwnode);
27 struct fwnode_handle *fwnode);
/linux-master/include/linux/device/
H A Ddriver.h189 * by fwnode pointer.
191 * @fwnode: fwnode pointer to match.
195 const struct fwnode_handle *fwnode)
197 return driver_find_device(drv, NULL, fwnode, device_match_fwnode);
194 driver_find_device_by_fwnode(struct device_driver *drv, const struct fwnode_handle *fwnode) argument
H A Dclass.h126 * matching the fwnode.
128 * @fwnode: fwnode of the device to match.
131 const struct fwnode_handle *fwnode)
133 return class_find_device(class, NULL, fwnode, device_match_fwnode);
130 class_find_device_by_fwnode(const struct class *class, const struct fwnode_handle *fwnode) argument
/linux-master/drivers/usb/roles/
H A Dintel-xhci-usb-role-switch.c179 sw_desc.fwnode = software_node_fwnode(&intel_xhci_usb_node);
188 fwnode_handle_put(sw_desc.fwnode);
/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-cti.h12 #include <linux/fwnode.h>
233 const char *cti_plat_get_node_name(struct fwnode_handle *fwnode);
/linux-master/drivers/usb/typec/mux/
H A Dgpio-sbu-mux.c116 sw_desc.fwnode = dev_fwnode(dev);
125 mux_desc.fwnode = dev_fwnode(dev);
/linux-master/drivers/bus/fsl-mc/
H A Dfsl-mc-msi.c149 * @fwnode: Optional firmware node of the interrupt controller
159 struct irq_domain *fsl_mc_msi_create_irq_domain(struct fwnode_handle *fwnode, argument
173 domain = msi_create_irq_domain(fwnode, info, parent);
/linux-master/drivers/leds/
H A Dleds-pm8058.c127 init_data.fwnode = of_fwnode_handle(np);
129 state = led_init_default_state_get(init_data.fwnode);
H A Dleds-regulator.c143 init_data.fwnode = dev->fwnode;
H A Dleds-sc27xx-bltc.c48 struct fwnode_handle *fwnode; member in struct:sc27xx_led
263 init_data.fwnode = led->fwnode;
319 priv->leds[reg].fwnode = of_fwnode_handle(child);
H A Dleds-gpio.c82 struct fwnode_handle *fwnode, gpio_blink_set_t blink_set)
123 init_data.fwnode = fwnode;
138 fwnode, ret);
80 create_gpio_led(const struct gpio_led *template, struct gpio_led_data *led_dat, struct device *parent, struct fwnode_handle *fwnode, gpio_blink_set_t blink_set) argument
/linux-master/drivers/irqchip/
H A Dirq-sifive-plic.c437 * Currently, only OF fwnode is supported so extend this
440 if (!is_of_node(dev->fwnode))
443 rc = of_property_read_u32(to_of_node(dev->fwnode), "riscv,ndev", nr_irqs);
449 *nr_contexts = of_irq_count(to_of_node(dev->fwnode));
467 * Currently, only OF fwnode is supported so extend this
470 if (!is_of_node(dev->fwnode))
473 rc = of_irq_parse_one(to_of_node(dev->fwnode), context, &parent);
498 if (is_of_node(dev->fwnode)) {
501 id = of_match_node(plic_match, to_of_node(dev->fwnode));
597 priv->irqdomain = irq_domain_add_linear(to_of_node(dev->fwnode), nr_irq
[all...]
H A Dirq-rda-intc.c94 rda_irq_domain = irq_domain_create_linear(&node->fwnode, RDA_NR_IRQS,
/linux-master/drivers/iio/accel/
H A Dbmc150-accel-i2c.c138 .fwnode = client->dev.fwnode,
/linux-master/drivers/acpi/arm64/
H A Diort.c39 struct fwnode_handle *fwnode; member in struct:iort_fwnode
49 * @fwnode: fwnode associated with the IORT node
55 struct fwnode_handle *fwnode)
66 np->fwnode = fwnode;
76 * iort_get_fwnode() - Retrieve fwnode associated with an IORT node
86 struct fwnode_handle *fwnode = NULL; local
91 fwnode = curr->fwnode;
54 iort_set_fwnode(struct acpi_iort_node *iort_node, struct fwnode_handle *fwnode) argument
127 iort_get_iort_node( struct fwnode_handle *fwnode) argument
1792 struct fwnode_handle *fwnode; local
1912 struct fwnode_handle *fwnode; local
[all...]
/linux-master/include/linux/
H A Dacpi_iort.h11 #include <linux/fwnode.h>
/linux-master/drivers/gpio/
H A Dgpio-altera-a10sr.c93 gpio->gp.fwnode = dev_fwnode(&pdev->dev);
/linux-master/drivers/media/v4l2-core/
H A DMakefile30 obj-$(CONFIG_V4L2_FWNODE) += v4l2-fwnode.o
/linux-master/drivers/net/ethernet/hisilicon/hns/
H A Dhns_enet.h55 const struct fwnode_handle *fwnode; member in struct:hns_nic_priv
/linux-master/drivers/usb/typec/tipd/
H A Dcore.c802 psy_cfg.fwnode = dev_fwnode(tps->dev);
825 tps6598x_register_port(struct tps6598x *tps, struct fwnode_handle *fwnode) argument
840 typec_cap.fwnode = fwnode;
1237 tps25750_register_port(struct tps6598x *tps, struct fwnode_handle *fwnode) argument
1248 ret = fwnode_property_read_string(fwnode, "data-role", &data_role);
1265 typec_cap.fwnode = fwnode;
1294 struct fwnode_handle *fwnode; local
1377 * This fwnode ha
[all...]
/linux-master/tools/testing/cxl/test/
H A Dmock.c44 bool __wrap_is_acpi_device_node(const struct fwnode_handle *fwnode) argument
47 container_of(fwnode, struct acpi_device, fwnode);
56 retval = is_acpi_device_node(fwnode);
/linux-master/drivers/net/mdio/
H A Dof_mdio.c55 struct fwnode_handle *fwnode = of_fwnode_handle(child); local
66 fwnode_handle_get(fwnode);
67 device_set_node(&mdiodev->dev, fwnode);
73 fwnode_handle_put(fwnode);

Completed in 259 milliseconds

1234567891011>>