Home
last modified time | relevance | path

Searched refs:to_acpi_device_node (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/drivers/acpi/
Dproperty.c539 const struct acpi_device *adev = to_acpi_device_node(fwnode); in acpi_device_data_of_node()
1017 const struct acpi_device *adev = to_acpi_device_node(fwnode); in acpi_get_next_subnode()
1033 adev = to_acpi_device_node(child); in acpi_get_next_subnode()
1059 adev = to_acpi_device_node(fwnode); in acpi_get_next_subnode()
1100 handle = to_acpi_device_node(fwnode)->handle; in acpi_node_get_parent()
1264 return acpi_device_is_present(to_acpi_device_node(fwnode)); in acpi_fwnode_device_is_available()
/Linux-v5.4/drivers/gpio/
Dgpiolib-acpi.c657 struct acpi_device *adev = to_acpi_device_node(fwnode); in acpi_gpio_property_lookup()
670 if (!to_acpi_device_node(args.fwnode)) in acpi_gpio_property_lookup()
679 lookup->info.adev = to_acpi_device_node(args.fwnode); in acpi_gpio_property_lookup()
823 adev = to_acpi_device_node(fwnode); in acpi_node_get_gpiod()
/Linux-v5.4/include/linux/
Dacpi.h43 #define ACPI_COMPANION(dev) to_acpi_device_node((dev)->fwnode)
48 acpi_device_handle(to_acpi_device_node(fwnode))
699 static inline struct acpi_device *to_acpi_device_node(struct fwnode_handle *fwnode) in to_acpi_device_node() function
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.c739 if (!to_acpi_device_node(mac_cb->fw_port)) in hns_mac_register_phy()
779 if (!to_acpi_device_node(mac_cb->fw_port) || !mac_cb->phy_dev) in hns_mac_remove_phydev()
/Linux-v5.4/include/acpi/
Dacpi_bus.h407 #define to_acpi_device_node(__fwnode) \ macro
/Linux-v5.4/drivers/pwm/
Dcore.c796 acpi = to_acpi_device_node(args.fwnode); in acpi_pwm_get()
/Linux-v5.4/drivers/net/ethernet/apm/xgene/
Dxgene_enet_hw.c839 return to_acpi_device_node(args.fwnode); in acpi_phy_find_device()
/Linux-v5.4/drivers/base/
Dplatform.c1258 attr = acpi_get_dma_attr(to_acpi_device_node(dev->fwnode)); in platform_dma_configure()
/Linux-v5.4/drivers/acpi/arm64/
Diort.c266 struct acpi_device *adev = to_acpi_device_node(dev->fwnode); in iort_match_node_callback()
/Linux-v5.4/drivers/pci/
Dpci-driver.c1633 struct acpi_device *adev = to_acpi_device_node(bridge->fwnode); in pci_dma_configure()
/Linux-v5.4/kernel/irq/
Dirqdomain.c172 handle = acpi_device_handle(to_acpi_device_node(fwnode)); in __irq_domain_add()