Lines Matching +full:drv +full:- +full:2
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
26 * @drv: The controller.
27 * @type: Type of the TCS in this group - active, sleep, wake.
35 * Start: grab drv->lock, set req, set tcs_in_use, drop drv->lock,
38 * grab drv->lock, clear tcs_in_use, drop drv->lock
41 * case that (ncpt < MAX_CMDS_PER_TCS). That is if ncpt = 2 and
42 * MAX_CMDS_PER_TCS = 16 then bit[2] = the first bit in 2nd TCS.
45 struct rsc_drv *drv; member
56 * struct rpmh_request: the message to be sent to rpmh-rsc
93 * struct rsc_drv: the Direct Resource Voter (DRV) of the
97 * @base: Start address of the DRV registers in this controller.
100 * @num_tcs: Number of TCSes in this DRV.
104 * Used when solver mode and "power-domains" is not present.
110 * must hold the lock in this struct (AKA drv->lock) in
113 * lock will also be held, the order is: drv->lock then
117 * @client: Handle to the DRV's client.
139 int rpmh_rsc_send_data(struct rsc_drv *drv, const struct tcs_request *msg);
140 int rpmh_rsc_write_ctrl_data(struct rsc_drv *drv,
142 void rpmh_rsc_invalidate(struct rsc_drv *drv);
143 void rpmh_rsc_write_next_wakeup(struct rsc_drv *drv);