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_ctrl(struct pci_dev *pdev, struct of_changeset *ocs, in of_pci_prop_intr_ctrl() argument
199 ret = of_changeset_add_prop_u32(ocs, np, "#interrupt-cells", 1); in of_pci_prop_intr_ctrl()
203 return of_changeset_add_prop_bool(ocs, np, "interrupt-controller"); in of_pci_prop_intr_ctrl()
206 static int of_pci_prop_intr_map(struct pci_dev *pdev, struct of_changeset *ocs, in of_pci_prop_intr_map() argument
292 ret = of_changeset_add_prop_u32_array(ocs, np, "interrupt-map", int_map, in of_pci_prop_intr_map()
297 ret = of_changeset_add_prop_u32(ocs, np, "#interrupt-cells", 1); in of_pci_prop_intr_map()
301 ret = of_changeset_add_prop_u32_array(ocs, np, "interrupt-map-mask", in of_pci_prop_intr_map()
316 struct of_changeset *ocs, in of_pci_prop_compatible() argument
329 ret = of_changeset_add_prop_string_array(ocs, np, "compatible", in of_pci_prop_compatible()
337 int of_pci_add_properties(struct pci_dev *pdev, struct of_changeset *ocs, in of_pci_add_properties() argument
347 ret = of_changeset_add_prop_string(ocs, np, "device_type", in of_pci_add_properties()
352 ret = of_pci_prop_bus_range(pdev, ocs, np); in of_pci_add_properties()
356 ret = of_pci_prop_intr_map(pdev, ocs, np); in of_pci_add_properties()
360 ret = of_pci_prop_intr_ctrl(pdev, ocs, np); in of_pci_add_properties()
365 ret = of_pci_prop_ranges(pdev, ocs, np); in of_pci_add_properties()
369 ret = of_changeset_add_prop_u32(ocs, np, "#address-cells", in of_pci_add_properties()
374 ret = of_changeset_add_prop_u32(ocs, np, "#size-cells", in of_pci_add_properties()
379 ret = of_pci_prop_reg(pdev, ocs, np); in of_pci_add_properties()
383 ret = of_pci_prop_compatible(pdev, ocs, np); in of_pci_add_properties()
387 ret = of_pci_prop_interrupts(pdev, ocs, np); in of_pci_add_properties()