Searched refs:to_acpi_device_node (Results 1 – 14 of 14) sorted by relevance
707 const struct acpi_device *adev = to_acpi_device_node(fwnode); in acpi_device_data_of_node()787 if (!strncmp(acpi_device_bid(to_acpi_device_node(child)), in acpi_fwnode_get_named_child_node()1206 struct acpi_device *adev = to_acpi_device_node(fwnode); in acpi_get_next_subnode()1209 struct acpi_device *child_adev = to_acpi_device_node(child); in acpi_get_next_subnode()1231 adev = to_acpi_device_node(fwnode); in acpi_get_next_subnode()1274 parent = acpi_dev_parent(to_acpi_device_node(fwnode)); in acpi_node_get_parent()1433 return acpi_device_is_present(to_acpi_device_node(fwnode)); in acpi_fwnode_device_is_available()1445 return acpi_dma_supported(to_acpi_device_node(fwnode)); in acpi_fwnode_device_dma_supported()1451 return acpi_get_dma_attr(to_acpi_device_node(fwnode)); in acpi_fwnode_device_get_dma_attr()1525 adev = to_acpi_device_node(fwnode); in acpi_fwnode_get_name()
42 ACPI_COMPANION_SET(&mdio->dev, to_acpi_device_node(fwnode)); in acpi_mdiobus_register()
816 struct acpi_device *adev = to_acpi_device_node(fwnode); in acpi_gpio_property_lookup()829 if (!to_acpi_device_node(args.fwnode)) in acpi_gpio_property_lookup()838 lookup->info.adev = to_acpi_device_node(args.fwnode); in acpi_gpio_property_lookup()982 adev = to_acpi_device_node(fwnode); in acpi_node_get_gpiod()
226 adev = to_acpi_device_node(fwnode); in cros_typec_register_switches()
43 #define ACPI_COMPANION(dev) to_acpi_device_node((dev)->fwnode)48 acpi_device_handle(to_acpi_device_node(fwnode))833 static inline struct acpi_device *to_acpi_device_node(const struct fwnode_handle *fwnode) in to_acpi_device_node() function
70 return to_acpi_device_node(connector->fwnode); in drm_connector_acpi_find_companion()
740 if (!to_acpi_device_node(mac_cb->fw_port)) in hns_mac_register_phy()780 if (!to_acpi_device_node(mac_cb->fw_port) || !mac_cb->phy_dev) in hns_mac_remove_phydev()
362 attr = acpi_get_dma_attr(to_acpi_device_node(dev->fwnode)); in amba_dma_configure()
528 adev = to_acpi_device_node(fwnode); in i2c_acpi_new_device_by_fwnode()
415 #define to_acpi_device_node(__fwnode) \ macro
781 adev = to_acpi_device_node(fwh); in dwc3_qcom_create_urs_usb_platdev()
839 return to_acpi_device_node(args.fwnode); in acpi_phy_find_device()
1450 attr = acpi_get_dma_attr(to_acpi_device_node(dev->fwnode)); in platform_dma_configure()
1640 struct acpi_device *adev = to_acpi_device_node(bridge->fwnode); in pci_dma_configure()