Lines Matching full:ocs

95 				 struct of_changeset *ocs,  in of_pci_prop_bus_range()  argument
101 return of_changeset_add_prop_u32_array(ocs, np, "bus-range", bus_range, in of_pci_prop_bus_range()
105 static int of_pci_prop_ranges(struct pci_dev *pdev, struct of_changeset *ocs, in of_pci_prop_ranges() argument
154 ret = of_changeset_add_prop_u32_array(ocs, np, "ranges", (u32 *)rp, in of_pci_prop_ranges()
161 static int of_pci_prop_reg(struct pci_dev *pdev, struct of_changeset *ocs, in of_pci_prop_reg() argument
169 return of_changeset_add_prop_u32_array(ocs, np, "reg", (u32 *)&reg, in of_pci_prop_reg()
174 struct of_changeset *ocs, in of_pci_prop_interrupts() argument
187 return of_changeset_add_prop_u32(ocs, np, "interrupts", (u32)pin); in of_pci_prop_interrupts()
190 static int of_pci_prop_intr_ctrl(struct pci_dev *pdev, struct of_changeset *ocs, in of_pci_prop_intr_ctrl() argument
203 ret = of_changeset_add_prop_u32(ocs, np, "#interrupt-cells", 1); in of_pci_prop_intr_ctrl()
207 return of_changeset_add_prop_bool(ocs, np, "interrupt-controller"); in of_pci_prop_intr_ctrl()
210 static int of_pci_prop_intr_map(struct pci_dev *pdev, struct of_changeset *ocs, in of_pci_prop_intr_map() argument
296 ret = of_changeset_add_prop_u32_array(ocs, np, "interrupt-map", int_map, in of_pci_prop_intr_map()
301 ret = of_changeset_add_prop_u32(ocs, np, "#interrupt-cells", 1); in of_pci_prop_intr_map()
305 ret = of_changeset_add_prop_u32_array(ocs, np, "interrupt-map-mask", in of_pci_prop_intr_map()
320 struct of_changeset *ocs, in of_pci_prop_compatible() argument
333 ret = of_changeset_add_prop_string_array(ocs, np, "compatible", in of_pci_prop_compatible()
341 int of_pci_add_properties(struct pci_dev *pdev, struct of_changeset *ocs, in of_pci_add_properties() argument
351 ret = of_changeset_add_prop_string(ocs, np, "device_type", in of_pci_add_properties()
356 ret = of_pci_prop_bus_range(pdev, ocs, np); in of_pci_add_properties()
360 ret = of_pci_prop_intr_map(pdev, ocs, np); in of_pci_add_properties()
364 ret = of_pci_prop_intr_ctrl(pdev, ocs, np); in of_pci_add_properties()
369 ret = of_pci_prop_ranges(pdev, ocs, np); in of_pci_add_properties()
373 ret = of_changeset_add_prop_u32(ocs, np, "#address-cells", in of_pci_add_properties()
378 ret = of_changeset_add_prop_u32(ocs, np, "#size-cells", in of_pci_add_properties()
383 ret = of_pci_prop_reg(pdev, ocs, np); in of_pci_add_properties()
387 ret = of_pci_prop_compatible(pdev, ocs, np); in of_pci_add_properties()
391 ret = of_pci_prop_interrupts(pdev, ocs, np); in of_pci_add_properties()
411 struct of_changeset *ocs, in of_pci_host_bridge_prop_ranges() argument
468 ret = of_changeset_add_prop_u32_array(ocs, np, "ranges", ranges, in of_pci_host_bridge_prop_ranges()
475 struct of_changeset *ocs, in of_pci_add_host_bridge_properties() argument
480 ret = of_changeset_add_prop_string(ocs, np, "device_type", "pci"); in of_pci_add_host_bridge_properties()
484 ret = of_changeset_add_prop_u32(ocs, np, "#address-cells", in of_pci_add_host_bridge_properties()
489 ret = of_changeset_add_prop_u32(ocs, np, "#size-cells", in of_pci_add_host_bridge_properties()
494 ret = of_pci_host_bridge_prop_ranges(bridge, ocs, np); in of_pci_add_host_bridge_properties()