Searched refs:to_acpi_device_node (Results 1 – 15 of 15) 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()1199 struct acpi_device *adev = to_acpi_device_node(fwnode); in acpi_get_next_subnode()1202 struct acpi_device *child_adev = to_acpi_device_node(child); in acpi_get_next_subnode()1224 adev = to_acpi_device_node(fwnode); in acpi_get_next_subnode()1267 parent = acpi_dev_parent(to_acpi_device_node(fwnode)); in acpi_node_get_parent()1426 return acpi_device_is_present(to_acpi_device_node(fwnode)); in acpi_fwnode_device_is_available()1438 return acpi_dma_supported(to_acpi_device_node(fwnode)); in acpi_fwnode_device_dma_supported()1444 return acpi_get_dma_attr(to_acpi_device_node(fwnode)); in acpi_fwnode_device_get_dma_attr()1518 adev = to_acpi_device_node(fwnode); in acpi_fwnode_get_name()
44 ACPI_COMPANION_SET(&mdio->dev, to_acpi_device_node(fwnode)); in __acpi_mdiobus_register()
88 adev = to_acpi_device_node(args.fwnode); in loongson_card_parse_acpi()102 adev = to_acpi_device_node(args.fwnode); in loongson_card_parse_acpi()
847 adev = to_acpi_device_node(fwnode); in acpi_gpio_property_lookup()855 if (!to_acpi_device_node(args.fwnode)) in acpi_gpio_property_lookup()864 lookup->info.adev = to_acpi_device_node(args.fwnode); in acpi_gpio_property_lookup()981 struct acpi_device *adev = to_acpi_device_node(fwnode); in acpi_find_gpio()
231 adev = to_acpi_device_node(fwnode); in cros_typec_register_switches()
45 #define ACPI_COMPANION(dev) to_acpi_device_node((dev)->fwnode)50 acpi_device_handle(to_acpi_device_node(fwnode))824 static inline struct acpi_device *to_acpi_device_node(const struct fwnode_handle *fwnode) in to_acpi_device_node() function
73 return to_acpi_device_node(connector->fwnode); in drm_connector_acpi_find_companion()
769 if (!to_acpi_device_node(mac_cb->fw_port)) in hns_mac_register_phy()809 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()
517 adev = to_acpi_device_node(fwnode); in i2c_acpi_new_device_by_fwnode()
418 #define to_acpi_device_node(__fwnode) \ macro
790 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()
1456 attr = acpi_get_dma_attr(to_acpi_device_node(dev->fwnode)); in platform_dma_configure()
1654 struct acpi_device *adev = to_acpi_device_node(bridge->fwnode); in pci_dma_configure()