Hi,
On 5/15/2018 11:52 PM, Doug Anderson wrote:
Hi,
On Tue, May 15, 2018 at 10:47 AM, Lina Iyer wrote:
On Fri, May 11 2018 at 14:17 -0600, Doug Anderson wrote:
Hi,
On Wed, May 9, 2018 at 10:01 AM, Lina Iyer wrote:
+int rpmh_write(const struct device *dev, enum rpmh_state state,
+
Hi,
On Tue, May 15, 2018 at 10:47 AM, Lina Iyer wrote:
> On Fri, May 11 2018 at 14:17 -0600, Doug Anderson wrote:
>>
>> Hi,
>>
>> On Wed, May 9, 2018 at 10:01 AM, Lina Iyer wrote:
>>>
>>> +int rpmh_write(const struct device *dev, enum rpmh_state state,
>>> + const struct tcs_cmd *cm
On Fri, May 11 2018 at 14:17 -0600, Doug Anderson wrote:
Hi,
On Wed, May 9, 2018 at 10:01 AM, Lina Iyer wrote:
+int rpmh_write(const struct device *dev, enum rpmh_state state,
+ const struct tcs_cmd *cmd, u32 n)
+{
+ DECLARE_COMPLETION_ONSTACK(compl);
+ DEFINE_RPMH_MSG
Hi,
On Wed, May 9, 2018 at 10:01 AM, Lina Iyer wrote:
> +int rpmh_write(const struct device *dev, enum rpmh_state state,
> + const struct tcs_cmd *cmd, u32 n)
> +{
> + DECLARE_COMPLETION_ONSTACK(compl);
> + DEFINE_RPMH_MSG_ONSTACK(dev, state, &compl, rpm_msg);
> + i
Sending RPMH requests and waiting for response from the controller
through a callback is common functionality across all platform drivers.
To simplify drivers, add a library functions to create RPMH client and
send resource state requests.
rpmh_write() is a synchronous blocking call that can be us
5 matches
Mail list logo