Deductions & credits

All pre-tax deductions (HSA, HDHP, 401(k), or otherwise) are deducted from Box 1. Is the Box 12, code W amount your pre-tax HSA contributions (correct), or the HDHP premium (incorrect)?