Deductions & credits

What if the duplex is purchased as a primary residence and the 2nd unit was rented out after purchase, would the total amount of these points be deducted from my schedule A or still split between the rental unit and my personal unit proportionately?