Home
last modified time | relevance | path

Searched refs:fw_node (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/drivers/firewire/
H A Dcore-topology.c102 struct fw_node *node; in fw_node_create()
159 static inline struct fw_node *fw_node(struct list_head *l) in fw_node() function
221 child = fw_node(h); in build_tree()
310 struct fw_node * node,
348 struct fw_node *node, struct fw_node *parent) in report_lost_node()
358 struct fw_node *node, struct fw_node *parent) in report_found_node()
387 static void move_tree(struct fw_node *node0, struct fw_node *node1, int port) in move_tree()
389 struct fw_node *tree; in move_tree()
418 node0 = fw_node(list0.next); in update_tree()
419 node1 = fw_node(list1.next); in update_tree()
[all …]
H A Dcore.h24 struct fw_node;
153 void fw_node_event(struct fw_card *card, struct fw_node *node, int event);
174 struct fw_node { struct
194 struct fw_node *ports[]; argument
197 static inline struct fw_node *fw_node_get(struct fw_node *node) in fw_node_get()
204 static inline void fw_node_put(struct fw_node *node) in fw_node_put()
H A Dcore-device.c888 struct fw_node *current_node = new->node; in lookup_existing_device()
889 struct fw_node *obsolete_node = old->node; in lookup_existing_device()
1197 void fw_node_event(struct fw_card *card, struct fw_node *node, int event) in fw_node_event()
H A Dcore-card.c291 struct fw_node *root_node; in bm_work()
/openbmc/linux/drivers/input/touchscreen/
H A Draspberrypi-ts.c125 struct device_node *fw_node; in rpi_ts_probe() local
131 fw_node = of_get_parent(np); in rpi_ts_probe()
132 if (!fw_node) { in rpi_ts_probe()
137 fw = devm_rpi_firmware_get(&pdev->dev, fw_node); in rpi_ts_probe()
138 of_node_put(fw_node); in rpi_ts_probe()
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-mac.c372 dpmac_node = mac->fw_node; in dpaa2_mac_connect()
470 struct fwnode_handle *fw_node; in dpaa2_mac_open() local
498 fw_node = dpaa2_mac_get_node(&mac->mc_dev->dev, mac->attr.id); in dpaa2_mac_open()
499 if (IS_ERR(fw_node)) { in dpaa2_mac_open()
500 err = PTR_ERR(fw_node); in dpaa2_mac_open()
504 mac->fw_node = fw_node; in dpaa2_mac_open()
505 net_dev->dev.of_node = to_of_node(mac->fw_node); in dpaa2_mac_open()
519 if (mac->fw_node) in dpaa2_mac_close()
520 fwnode_handle_put(mac->fw_node); in dpaa2_mac_close()
H A Ddpaa2-mac.h28 struct fwnode_handle *fw_node; member
/openbmc/linux/drivers/gpio/
H A Dgpio-raspberrypi-exp.c201 struct device_node *fw_node; in rpi_exp_gpio_probe() local
205 fw_node = of_get_parent(np); in rpi_exp_gpio_probe()
206 if (!fw_node) { in rpi_exp_gpio_probe()
211 fw = devm_rpi_firmware_get(&pdev->dev, fw_node); in rpi_exp_gpio_probe()
212 of_node_put(fw_node); in rpi_exp_gpio_probe()
/openbmc/linux/include/linux/
H A Dfirewire.h81 struct fw_node;
108 struct fw_node *local_node;
109 struct fw_node *root_node;
110 struct fw_node *irm_node;
187 struct fw_node *node;
H A Dacpi_iort.h27 struct fwnode_handle *fw_node);
/openbmc/linux/sound/hda/
H A Dintel-sdw-acpi.c26 static bool is_link_enabled(struct fwnode_handle *fw_node, u8 idx) in is_link_enabled() argument
36 link = fwnode_get_named_child_node(fw_node, name); in is_link_enabled()
/openbmc/linux/drivers/acpi/arm64/
H A Diort.c31 struct fwnode_handle *fw_node; member
164 struct fwnode_handle *fw_node) in iort_register_domain_token() argument
172 its_msi_chip->fw_node = fw_node; in iort_register_domain_token()
212 struct fwnode_handle *fw_node = NULL; in iort_find_domain_token() local
218 fw_node = its_msi_chip->fw_node; in iort_find_domain_token()
224 return fw_node; in iort_find_domain_token()
/openbmc/linux/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_arm.c1796 struct device_node *fw_node; in vchiq_probe() local
1806 fw_node = of_find_compatible_node(NULL, NULL, in vchiq_probe()
1808 if (!fw_node) { in vchiq_probe()
1813 drvdata->fw = devm_rpi_firmware_get(&pdev->dev, fw_node); in vchiq_probe()
1814 of_node_put(fw_node); in vchiq_probe()
/openbmc/linux/drivers/net/ethernet/apm/xgene/
H A Dxgene_enet_hw.c828 struct fwnode_handle *fw_node; in acpi_phy_find_device() local
831 fw_node = acpi_fwnode_handle(ACPI_COMPANION(dev)); in acpi_phy_find_device()
832 status = acpi_node_get_property_reference(fw_node, "phy-handle", 0, in acpi_phy_find_device()
/openbmc/linux/sound/soc/amd/ps/
H A Dpci-ps.c402 struct fwnode_handle *fw_node, in acp63_fill_platform_dev_info() argument
416 pdevinfo->fwnode = fw_node; in acp63_fill_platform_dev_info()