Home
last modified time | relevance | path

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

/drivers/soc/qcom/
Dramp_controller.c75 static int rc_wait_for_update(struct qcom_ramp_controller *qrc) in rc_wait_for_update() argument
77 const struct qcom_ramp_controller_desc *d = qrc->desc; in rc_wait_for_update()
78 struct regmap *r = qrc->regmap; in rc_wait_for_update()
97 static int rc_set_cfg_update(struct qcom_ramp_controller *qrc, u8 ce) in rc_set_cfg_update() argument
99 const struct qcom_ramp_controller_desc *d = qrc->desc; in rc_set_cfg_update()
100 struct regmap *r = qrc->regmap; in rc_set_cfg_update()
148 static int rc_write_cfg(struct qcom_ramp_controller *qrc, in rc_write_cfg() argument
156 ret = rc_wait_for_update(qrc); in rc_write_cfg()
161 ret = regmap_multi_reg_write(qrc->regmap, seq, nsids); in rc_write_cfg()
167 ret = rc_set_cfg_update(qrc, (u8)ce - i); in rc_write_cfg()
[all …]
/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c142 long qrc; in ibmvscsis_unregister_command_q() local
147 qrc = h_free_crq(vscsi->dds.unit_id); in ibmvscsis_unregister_command_q()
148 switch (qrc) { in ibmvscsis_unregister_command_q()
158 qrc); in ibmvscsis_unregister_command_q()
190 qrc); in ibmvscsis_unregister_command_q()
199 if (ticks > 300000 && qrc != H_SUCCESS) { in ibmvscsis_unregister_command_q()
203 } while (qrc != H_SUCCESS && rc == ADAPT_SUCCESS); in ibmvscsis_unregister_command_q()
205 dev_dbg(&vscsi->dev, "Freeing CRQ: phyp rc %ld, rc %ld\n", qrc, rc); in ibmvscsis_unregister_command_q()