Home
last modified time | relevance | path

Searched refs:rsc_drv (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/soc/qcom/
Drpmh-internal.h20 struct rsc_drv;
45 struct rsc_drv *drv;
114 struct rsc_drv { struct
128 int rpmh_rsc_send_data(struct rsc_drv *drv, const struct tcs_request *msg); argument
129 int rpmh_rsc_write_ctrl_data(struct rsc_drv *drv,
131 void rpmh_rsc_invalidate(struct rsc_drv *drv);
Drpmh-rsc.c142 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()
[all …]
Dtrace-rpmh.h17 TP_PROTO(struct rsc_drv *d, int m, const struct tcs_request *r, int e),
44 TP_PROTO(struct rsc_drv *d, int m, int n, u32 h,
Drpmh.c41 #define ctrlr_to_drv(ctrlr) container_of(ctrlr, struct rsc_drv, client)
74 struct rsc_drv *drv = dev_get_drvdata(dev->parent); in get_rpmh_ctrlr()