Lines Matching full:ocs

91 				 struct of_changeset *ocs,  in of_pci_prop_bus_range()  argument
97 return of_changeset_add_prop_u32_array(ocs, np, "bus-range", bus_range, in of_pci_prop_bus_range()
101 static int of_pci_prop_ranges(struct pci_dev *pdev, struct of_changeset *ocs, in of_pci_prop_ranges() argument
150 ret = of_changeset_add_prop_u32_array(ocs, np, "ranges", (u32 *)rp, in of_pci_prop_ranges()
157 static int of_pci_prop_reg(struct pci_dev *pdev, struct of_changeset *ocs, in of_pci_prop_reg() argument
165 return of_changeset_add_prop_u32_array(ocs, np, "reg", (u32 *)&reg, in of_pci_prop_reg()
170 struct of_changeset *ocs, in of_pci_prop_interrupts() argument
183 return of_changeset_add_prop_u32(ocs, np, "interrupts", (u32)pin); in of_pci_prop_interrupts()
186 static int of_pci_prop_intr_map(struct pci_dev *pdev, struct of_changeset *ocs, in of_pci_prop_intr_map() argument
272 ret = of_changeset_add_prop_u32_array(ocs, np, "interrupt-map", int_map, in of_pci_prop_intr_map()
277 ret = of_changeset_add_prop_u32(ocs, np, "#interrupt-cells", 1); in of_pci_prop_intr_map()
281 ret = of_changeset_add_prop_u32_array(ocs, np, "interrupt-map-mask", in of_pci_prop_intr_map()
296 struct of_changeset *ocs, in of_pci_prop_compatible() argument
309 ret = of_changeset_add_prop_string_array(ocs, np, "compatible", in of_pci_prop_compatible()
317 int of_pci_add_properties(struct pci_dev *pdev, struct of_changeset *ocs, in of_pci_add_properties() argument
327 ret = of_changeset_add_prop_string(ocs, np, "device_type", in of_pci_add_properties()
332 ret = of_pci_prop_bus_range(pdev, ocs, np); in of_pci_add_properties()
336 ret = of_pci_prop_intr_map(pdev, ocs, np); in of_pci_add_properties()
341 ret = of_pci_prop_ranges(pdev, ocs, np); in of_pci_add_properties()
345 ret = of_changeset_add_prop_u32(ocs, np, "#address-cells", in of_pci_add_properties()
350 ret = of_changeset_add_prop_u32(ocs, np, "#size-cells", in of_pci_add_properties()
355 ret = of_pci_prop_reg(pdev, ocs, np); in of_pci_add_properties()
359 ret = of_pci_prop_compatible(pdev, ocs, np); in of_pci_add_properties()
363 ret = of_pci_prop_interrupts(pdev, ocs, np); in of_pci_add_properties()