Searched refs:npu_node (Results 1 – 1 of 1) sorted by relevance
/kernel/linux/linux-5.10/drivers/vfio/pci/ |
D | vfio_pci_nvlink2.c | 215 struct device_node *npu_node, *mem_node; in vfio_pci_nvdia_v100_nvlink2_init() local 229 npu_node = pci_device_to_OF_node(npu_dev); in vfio_pci_nvdia_v100_nvlink2_init() 230 if (!npu_node) in vfio_pci_nvdia_v100_nvlink2_init() 233 if (of_property_read_u32(npu_node, "memory-region", &mem_phandle)) in vfio_pci_nvdia_v100_nvlink2_init() 245 if (of_property_read_u64(npu_node, "ibm,device-tgt-addr", &tgt)) { in vfio_pci_nvdia_v100_nvlink2_init() 398 struct device_node *npu_node = pci_device_to_OF_node(npdev); in vfio_pci_ibm_npu2_init() local 411 if (of_property_read_u32(npu_node, "memory-region", &mem_phandle)) in vfio_pci_ibm_npu2_init() 438 if (of_property_read_u64(npu_node, "ibm,device-tgt-addr", &tgt)) { in vfio_pci_ibm_npu2_init() 443 if (of_property_read_u32(npu_node, "ibm,nvlink-speed", &link_speed)) { in vfio_pci_ibm_npu2_init()
|