Lines Matching refs:rsc_drv
64 static u32 read_tcs_reg(struct rsc_drv *drv, int reg, int tcs_id, int cmd_id) in read_tcs_reg()
70 static void write_tcs_cmd(struct rsc_drv *drv, int reg, int tcs_id, int cmd_id, in write_tcs_cmd()
77 static void write_tcs_reg(struct rsc_drv *drv, int reg, int tcs_id, u32 data) in write_tcs_reg()
82 static void write_tcs_reg_sync(struct rsc_drv *drv, int reg, int tcs_id, in write_tcs_reg_sync()
94 static bool tcs_is_free(struct rsc_drv *drv, int tcs_id) in tcs_is_free()
100 static struct tcs_group *get_tcs_of_type(struct rsc_drv *drv, int type) in get_tcs_of_type()
105 static int tcs_invalidate(struct rsc_drv *drv, int type) in tcs_invalidate()
137 int rpmh_rsc_invalidate(struct rsc_drv *drv) in rpmh_rsc_invalidate()
148 static struct tcs_group *get_tcs_for_msg(struct rsc_drv *drv, in get_tcs_for_msg()
189 static const struct tcs_request *get_req_from_tcs(struct rsc_drv *drv, in get_req_from_tcs()
209 struct rsc_drv *drv = p; in tcs_tx_done()
255 static void __tcs_buffer_write(struct rsc_drv *drv, int tcs_id, int cmd_id, in __tcs_buffer_write()
288 static void __tcs_trigger(struct rsc_drv *drv, int tcs_id) in __tcs_trigger()
310 static int check_for_req_inflight(struct rsc_drv *drv, struct tcs_group *tcs, in check_for_req_inflight()
348 static int tcs_write(struct rsc_drv *drv, const struct tcs_request *msg) in tcs_write()
400 int rpmh_rsc_send_data(struct rsc_drv *drv, const struct tcs_request *msg) in rpmh_rsc_send_data()
480 static int tcs_ctrl_write(struct rsc_drv *drv, const struct tcs_request *msg) in tcs_ctrl_write()
509 int rpmh_rsc_write_ctrl_data(struct rsc_drv *drv, const struct tcs_request *msg) in rpmh_rsc_write_ctrl_data()
525 struct rsc_drv *drv) in rpmh_probe_tcs_config()
622 struct rsc_drv *drv; in rpmh_rsc_probe()