Lines Matching +full:function +full:- +full:mask
1 /* SPDX-License-Identifier: GPL-2.0 */
20 * Arguments to a platform function call.
40 * Interpreting a given function always start with a begin() call which
43 * locking policy or per-function instance data.
64 int (*write_gpio)(PMF_STD_ARGS, u8 value, u8 mask);
65 int (*read_gpio)(PMF_STD_ARGS, u8 mask, int rshift, u8 xor);
67 int (*write_reg32)(PMF_STD_ARGS, u32 offset, u32 value, u32 mask);
69 int (*write_reg16)(PMF_STD_ARGS, u32 offset, u16 value, u16 mask);
71 int (*write_reg8)(PMF_STD_ARGS, u32 offset, u8 value, u8 mask);
76 int (*wait_reg32)(PMF_STD_ARGS, u32 offset, u32 value, u32 mask);
77 int (*wait_reg16)(PMF_STD_ARGS, u32 offset, u16 value, u16 mask);
78 int (*wait_reg8)(PMF_STD_ARGS, u32 offset, u8 value, u8 mask);
97 int (*read_reg32_msrx)(PMF_STD_ARGS, u32 offset, u32 mask, u32 shift,
99 int (*read_reg16_msrx)(PMF_STD_ARGS, u32 offset, u32 mask, u32 shift,
101 int (*read_reg8_msrx)(PMF_STD_ARGS, u32 offset, u32 mask, u32 shift,
104 int (*write_reg32_slm)(PMF_STD_ARGS, u32 offset, u32 shift, u32 mask);
105 int (*write_reg16_slm)(PMF_STD_ARGS, u32 offset, u32 shift, u32 mask);
106 int (*write_reg8_slm)(PMF_STD_ARGS, u32 offset, u32 shift, u32 mask);
128 /* Function node & driver data */
135 /* The name is the "xxx" in "platform-do-xxx", this is how
143 /* The flags for that function. You can have several functions
148 /* The actual tokenized function blob */
176 * Register/Unregister a function-capable driver and its handlers
207 * The args array contains as many arguments as is required by the function,
208 * this is dependent on the function you are calling, unfortunately Apple
213 * You can also pass NULL to the name. This will match any function that has
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 */