Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/acpi/
Dproperty.c707 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()
/linux-6.1.9/drivers/net/mdio/
Dacpi_mdio.c42 ACPI_COMPANION_SET(&mdio->dev, to_acpi_device_node(fwnode)); in acpi_mdiobus_register()
/linux-6.1.9/drivers/gpio/
Dgpiolib-acpi.c816 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()
/linux-6.1.9/drivers/platform/chrome/
Dcros_typec_switch.c226 adev = to_acpi_device_node(fwnode); in cros_typec_register_switches()
/linux-6.1.9/include/linux/
Dacpi.h43 #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
/linux-6.1.9/drivers/gpu/drm/
Ddrm_sysfs.c70 return to_acpi_device_node(connector->fwnode); in drm_connector_acpi_find_companion()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.c740 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()
/linux-6.1.9/drivers/amba/
Dbus.c362 attr = acpi_get_dma_attr(to_acpi_device_node(dev->fwnode)); in amba_dma_configure()
/linux-6.1.9/drivers/i2c/
Di2c-core-acpi.c528 adev = to_acpi_device_node(fwnode); in i2c_acpi_new_device_by_fwnode()
/linux-6.1.9/include/acpi/
Dacpi_bus.h415 #define to_acpi_device_node(__fwnode) \ macro
/linux-6.1.9/drivers/usb/dwc3/
Ddwc3-qcom.c781 adev = to_acpi_device_node(fwh); in dwc3_qcom_create_urs_usb_platdev()
/linux-6.1.9/drivers/net/ethernet/apm/xgene/
Dxgene_enet_hw.c839 return to_acpi_device_node(args.fwnode); in acpi_phy_find_device()
/linux-6.1.9/drivers/base/
Dplatform.c1450 attr = acpi_get_dma_attr(to_acpi_device_node(dev->fwnode)); in platform_dma_configure()
/linux-6.1.9/drivers/pci/
Dpci-driver.c1640 struct acpi_device *adev = to_acpi_device_node(bridge->fwnode); in pci_dma_configure()