CAPM

Why is CAPM considered a linear function of systematic risk, if its risk is compared to standard deviation. Or am I mixing this up with CML ( I think I am) Can someone clarify if possible?

CAPM is based on Beta. Risk Free + Beta (Market Premium) CML and CAL are based on standard deviation

Nevermind I just confused CAPM with CAL…sigh