Lines Matching defs:nhi
19 struct tb_nhi *nhi = data;
31 if (dev_fwnode(&nhi->pdev->dev) != fwnode)
80 link = device_link_add(&pdev->dev, &nhi->pdev->dev,
85 dev_dbg(&nhi->pdev->dev, "created link from %s\n",
89 dev_warn(&nhi->pdev->dev, "device link creation from %s failed\n",
103 * @nhi: Pointer to NHI
106 * @nhi ACPI node. For each reference a device link is added. The link
111 bool tb_acpi_add_links(struct tb_nhi *nhi)
116 if (!has_acpi_companion(&nhi->pdev->dev))
124 tb_acpi_add_link, NULL, nhi, (void **)&ret);
126 dev_warn(&nhi->pdev->dev, "failed to enumerate tunneled ports\n");
323 struct tb_nhi *nhi = sw->tb->nhi;
326 parent_adev = ACPI_COMPANION(&nhi->pdev->dev);