Lines Matching refs:ddw_avail
714 const u32 *ddw_avail; in remove_ddw() local
718 ddw_avail = of_get_property(np, "ibm,ddw-applicable", &len); in remove_ddw()
723 if (!ddw_avail || len < 3 * sizeof(u32) || win64->length < sizeof(*dwp)) in remove_ddw()
739 ret = rtas_call(ddw_avail[2], 1, 1, NULL, liobn); in remove_ddw()
743 np->full_name, ret, ddw_avail[2], liobn); in remove_ddw()
747 np->full_name, ret, ddw_avail[2], liobn); in remove_ddw()
809 static int query_ddw(struct pci_dev *dev, const u32 *ddw_avail, in query_ddw() argument
829 ret = rtas_call(ddw_avail[0], 3, 5, (u32 *)query, in query_ddw()
832 " returned %d\n", ddw_avail[0], cfg_addr, BUID_HI(buid), in query_ddw()
837 static int create_ddw(struct pci_dev *dev, const u32 *ddw_avail, in create_ddw() argument
860 ret = rtas_call(ddw_avail[1], 5, 4, (u32 *)create, cfg_addr, in create_ddw()
865 "(liobn = 0x%x starting addr = %x %x)\n", ddw_avail[1], in create_ddw()
891 const u32 *uninitialized_var(ddw_avail); in enable_ddw()
910 ddw_avail = of_get_property(pdn, "ibm,ddw-applicable", &len); in enable_ddw()
911 if (!ddw_avail || len < 3 * sizeof(u32)) in enable_ddw()
921 ret = query_ddw(dev, ddw_avail, &query); in enable_ddw()
970 ret = create_ddw(dev, ddw_avail, &create, page_shift, len); in enable_ddw()