Lines Matching defs:drvdata
16 struct cc_drvdata *drvdata;
22 static bool cc_get_tee_fips_status(struct cc_drvdata *drvdata)
26 reg = cc_ioread(drvdata, CC_REG(GPR_HOST));
40 void cc_set_ree_fips_status(struct cc_drvdata *drvdata, bool status)
44 if (drvdata->hw_rev < CC_HW_REV_712)
49 cc_iowrite(drvdata, CC_REG(HOST_GPR0), val);
58 struct cc_drvdata *drvdata = fips_h->drvdata;
59 struct device *dev = drvdata_to_dev(drvdata);
61 cc_set_ree_fips_status(drvdata, false);
67 void cc_fips_fini(struct cc_drvdata *drvdata)
69 struct cc_fips_handle *fips_h = drvdata->fips_handle;
71 if (drvdata->hw_rev < CC_HW_REV_712 || !fips_h)
78 drvdata->fips_handle = NULL;
81 void fips_handler(struct cc_drvdata *drvdata)
83 struct cc_fips_handle *fips_handle_ptr = drvdata->fips_handle;
85 if (drvdata->hw_rev < CC_HW_REV_712)
114 struct cc_drvdata *drvdata = (struct cc_drvdata *)devarg;
117 irq = (drvdata->irq & (CC_GPR0_IRQ_MASK));
120 cc_tee_handle_fips_error(drvdata);
127 cc_iowrite(drvdata, CC_REG(HOST_IMR), val);
147 fips_h->drvdata = p_drvdata;