Taxes mixed use

This appears to be what I was looking for:

Treasury Reg. §1.121-1(e)(1) says:

 

If a taxpayer uses property partly as a personal residence

and partly for another purpose,

the exclusion applies to the entire property,

except for depreciation allowed or allowable after May 6, 1997.