Deductions & credits

Yes, but as I said before, it seems like you are talking about 'regular' Basis (you mentioned the equity), not At-Risk Basis.

 

You may consider going to a tax professional.