Lines Matching +full:platform +full:- +full:data
1 /* SPDX-License-Identifier: GPL-2.0 */
20 * Arguments to a platform function call.
41 * returns an instance data to be passed around subsequent calls, and
43 * locking policy or per-function instance data.
81 int (*write_i2c)(PMF_STD_ARGS, u32 len, const u8 *data);
86 int (*write_cfg)(PMF_STD_ARGS, u32 offset, u32 len, const u8 *data);
91 int (*write_i2c_sub)(PMF_STD_ARGS, u8 subaddr, u32 len, const u8 *data);
116 * Drivers who expose platform functions register at init time, this
117 * causes the platform functions for that device node to be parsed in
118 * advance and associated with the device. The data structures are
119 * partially public so a driver can walk the list of platform functions
128 /* Function node & driver data */
135 /* The name is the "xxx" in "platform-do-xxx", this is how
136 * platform functions are identified by this code. Some functions
149 const void *data; member
160 * For platform functions that are interrupts, one can register
167 void (*handler)(void *data);
168 void *data; member
176 * Register/Unregister a function-capable driver and its handlers
201 * Low level call to platform functions.
223 * High level call to a platform function.
225 * This one looks for the platform-xxx first so you should call it to the
226 * actual target if any. It will fallback to platform-do-xxx if it can't
236 * For low latency interrupt usage, you can lookup for on-demand functions
250 /* Suspend/resume code called by via-pmu directly for now */