Lines Matching refs:np

898 	int np;  in fdt_add_pci_node()  local
903 np = fdt_subnode_offset(blob, par, node); in fdt_add_pci_node()
904 if (np >= 0) in fdt_add_pci_node()
905 return np; in fdt_add_pci_node()
906 np = fdt_add_subnode(blob, par, node); in fdt_add_pci_node()
907 if (np < 0) { in fdt_add_pci_node()
909 return np; in fdt_add_pci_node()
914 fdt_setprop(blob, np, "reg", reg, sizeof(reg)); in fdt_add_pci_node()
916 return np; in fdt_add_pci_node()
923 int k, np; in fdt_add_pci_path() local
926 np = fdt_node_offset_by_compatible(blob, -1, "fsl,imx6q-pcie"); in fdt_add_pci_path()
927 if (np < 0) in fdt_add_pci_path()
928 return np; in fdt_add_pci_path()
938 np = fdt_add_pci_node(blob, np, bridges[k]); in fdt_add_pci_path()
939 if (np < 0) in fdt_add_pci_path()
943 return np; in fdt_add_pci_path()
952 int fdt_fixup_gw16082(void *blob, int np, struct pci_dev *dev) in fdt_fixup_gw16082() argument
1024 fdt_setprop(blob, np, "interrupt-map", imap_new, in fdt_fixup_gw16082()
1030 fdt_setprop(blob, np, "interrupt-map-mask", reg, sizeof(reg)); in fdt_fixup_gw16082()
1031 fdt_setprop_cell(blob, np, "#interrupt-cells", 1); in fdt_fixup_gw16082()
1032 fdt_setprop_string(blob, np, "device_type", "pci"); in fdt_fixup_gw16082()
1033 fdt_setprop_cell(blob, np, "#address-cells", 3); in fdt_fixup_gw16082()
1034 fdt_setprop_cell(blob, np, "#size-cells", 2); in fdt_fixup_gw16082()
1041 int fdt_fixup_sky2(void *blob, int np, struct pci_dev *dev) in fdt_fixup_sky2() argument
1057 fdt_setprop(blob, np, "local-mac-address", mac_addr, in fdt_fixup_sky2()
1073 int i, np; in ft_board_pci_fixup() local
1088 np = fdt_add_pci_path(blob, dev); in ft_board_pci_fixup()
1089 if (np > 0) in ft_board_pci_fixup()
1090 fdt_fixup_gw16082(blob, np, dev); in ft_board_pci_fixup()
1097 np = fdt_add_pci_path(blob, dev); in ft_board_pci_fixup()
1098 if (np > 0) in ft_board_pci_fixup()
1099 fdt_fixup_sky2(blob, np, dev); in ft_board_pci_fixup()