Lines Matching refs:rsc_drv

142 tcs_reg_addr(const struct rsc_drv *drv, int reg, int tcs_id)  in tcs_reg_addr()
148 tcs_cmd_addr(const struct rsc_drv *drv, int reg, int tcs_id, int cmd_id) in tcs_cmd_addr()
153 static u32 read_tcs_cmd(const struct rsc_drv *drv, int reg, int tcs_id, in read_tcs_cmd()
159 static u32 read_tcs_reg(const struct rsc_drv *drv, int reg, int tcs_id) in read_tcs_reg()
164 static void write_tcs_cmd(const struct rsc_drv *drv, int reg, int tcs_id, in write_tcs_cmd()
170 static void write_tcs_reg(const struct rsc_drv *drv, int reg, int tcs_id, in write_tcs_reg()
176 static void write_tcs_reg_sync(const struct rsc_drv *drv, int reg, int tcs_id, in write_tcs_reg_sync()
207 static bool tcs_is_free(struct rsc_drv *drv, int tcs_id) in tcs_is_free()
224 static void tcs_invalidate(struct rsc_drv *drv, int type) in tcs_invalidate()
248 void rpmh_rsc_invalidate(struct rsc_drv *drv) in rpmh_rsc_invalidate()
264 static struct tcs_group *get_tcs_for_msg(struct rsc_drv *drv, in get_tcs_for_msg()
314 static const struct tcs_request *get_req_from_tcs(struct rsc_drv *drv, in get_req_from_tcs()
346 static void __tcs_set_trigger(struct rsc_drv *drv, int tcs_id, bool trigger) in __tcs_set_trigger()
379 static void enable_tcs_irq(struct rsc_drv *drv, int tcs_id, bool enable) in enable_tcs_irq()
403 struct rsc_drv *drv = p; in tcs_tx_done()
475 static void __tcs_buffer_write(struct rsc_drv *drv, int tcs_id, int cmd_id, in __tcs_buffer_write()
528 static int check_for_req_inflight(struct rsc_drv *drv, struct tcs_group *tcs, in check_for_req_inflight()
590 static int claim_tcs_for_req(struct rsc_drv *drv, struct tcs_group *tcs, in claim_tcs_for_req()
628 int rpmh_rsc_send_data(struct rsc_drv *drv, const struct tcs_request *msg) in rpmh_rsc_send_data()
725 int rpmh_rsc_write_ctrl_data(struct rsc_drv *drv, const struct tcs_request *msg) in rpmh_rsc_write_ctrl_data()
758 static bool rpmh_rsc_ctrlr_is_busy(struct rsc_drv *drv) in rpmh_rsc_ctrlr_is_busy()
800 struct rsc_drv *drv = container_of(nfb, struct rsc_drv, rsc_pm); in rpmh_rsc_cpu_pm_callback()
862 struct rsc_drv *drv, void __iomem *base) in rpmh_probe_tcs_config()
936 struct rsc_drv *drv; in rpmh_rsc_probe()