Expense deductions from LLC and using losses to offset W2 income

What kind of expenses can be deducted from single person or partnership LLC  and overall losses can be used to offset W2 income.

Can retirement contribution, car expense, home mortgage, utility bills  can be used as as expense to reduce taxes. what all can be used as an expense to increase losses in LLC and offset W2 income.

 

Thanks in advance.