Home
last modified time | relevance | path

Searched refs:PMF_STD_ARGS (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dpmac_pfunc.h52 #define PMF_STD_ARGS struct pmf_function *func, void *instdata, \ macro
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);
68 int (*read_reg32)(PMF_STD_ARGS, u32 offset);
69 int (*write_reg16)(PMF_STD_ARGS, u32 offset, u16 value, u16 mask);
70 int (*read_reg16)(PMF_STD_ARGS, u32 offset);
71 int (*write_reg8)(PMF_STD_ARGS, u32 offset, u8 value, u8 mask);
72 int (*read_reg8)(PMF_STD_ARGS, u32 offset);
74 int (*delay)(PMF_STD_ARGS, u32 duration);
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
Dpfunc_base.c44 static int macio_do_gpio_write(PMF_STD_ARGS, u8 value, u8 mask) in macio_do_gpio_write() argument
66 static int macio_do_gpio_read(PMF_STD_ARGS, u8 mask, int rshift, u8 xor) in macio_do_gpio_read() argument
81 static int macio_do_delay(PMF_STD_ARGS, u32 duration) in macio_do_delay() argument
144 static int macio_do_write_reg32(PMF_STD_ARGS, u32 offset, u32 value, u32 mask) in macio_do_write_reg32() argument
155 static int macio_do_read_reg32(PMF_STD_ARGS, u32 offset) in macio_do_read_reg32() argument
167 static int macio_do_write_reg8(PMF_STD_ARGS, u32 offset, u8 value, u8 mask) in macio_do_write_reg8() argument
178 static int macio_do_read_reg8(PMF_STD_ARGS, u32 offset) in macio_do_read_reg8() argument
190 static int macio_do_read_reg32_msrx(PMF_STD_ARGS, u32 offset, u32 mask, in macio_do_read_reg32_msrx() argument
203 static int macio_do_read_reg8_msrx(PMF_STD_ARGS, u32 offset, u32 mask, in macio_do_read_reg8_msrx() argument
216 static int macio_do_write_reg32_slm(PMF_STD_ARGS, u32 offset, u32 shift, in macio_do_write_reg32_slm() argument
[all …]
Dlow_i2c.c1274 static int pmac_i2c_do_read(PMF_STD_ARGS, u32 len) in pmac_i2c_do_read() argument
1283 static int pmac_i2c_do_write(PMF_STD_ARGS, u32 len, const u8 *data) in pmac_i2c_do_write() argument
1312 static int pmac_i2c_do_rmw(PMF_STD_ARGS, u32 masklen, u32 valuelen, in pmac_i2c_do_rmw() argument
1328 static int pmac_i2c_do_read_sub(PMF_STD_ARGS, u8 subaddr, u32 len) in pmac_i2c_do_read_sub() argument
1337 static int pmac_i2c_do_write_sub(PMF_STD_ARGS, u8 subaddr, u32 len, in pmac_i2c_do_write_sub() argument
1346 static int pmac_i2c_do_set_mode(PMF_STD_ARGS, int mode) in pmac_i2c_do_set_mode() argument
1353 static int pmac_i2c_do_rmw_sub(PMF_STD_ARGS, u8 subaddr, u32 masklen, in pmac_i2c_do_rmw_sub() argument
1369 static int pmac_i2c_do_mask_and_comp(PMF_STD_ARGS, u32 len, in pmac_i2c_do_mask_and_comp() argument
1391 static int pmac_i2c_do_delay(PMF_STD_ARGS, u32 duration) in pmac_i2c_do_delay() argument