Home
last modified time | relevance | path

Searched refs:p_drvdata (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/ccree/
Dcc_fips.c103 void cc_tee_handle_fips_error(struct cc_drvdata *p_drvdata) in cc_tee_handle_fips_error() argument
105 struct device *dev = drvdata_to_dev(p_drvdata); in cc_tee_handle_fips_error()
107 if (!cc_get_tee_fips_status(p_drvdata)) in cc_tee_handle_fips_error()
131 int cc_fips_init(struct cc_drvdata *p_drvdata) in cc_fips_init() argument
134 struct device *dev = drvdata_to_dev(p_drvdata); in cc_fips_init()
136 if (p_drvdata->hw_rev < CC_HW_REV_712) in cc_fips_init()
143 p_drvdata->fips_handle = fips_h; in cc_fips_init()
146 tasklet_init(&fips_h->tasklet, fips_dsr, (unsigned long)p_drvdata); in cc_fips_init()
147 fips_h->drvdata = p_drvdata; in cc_fips_init()
151 cc_tee_handle_fips_error(p_drvdata); in cc_fips_init()
Dcc_fips.h17 int cc_fips_init(struct cc_drvdata *p_drvdata);
21 void cc_tee_handle_fips_error(struct cc_drvdata *p_drvdata);
25 static inline int cc_fips_init(struct cc_drvdata *p_drvdata) in cc_fips_init() argument
34 static inline void cc_tee_handle_fips_error(struct cc_drvdata *p_drvdata) {} in cc_tee_handle_fips_error() argument