Home
last modified time | relevance | path

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

/Linux-v4.19/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 …]
/Linux-v4.19/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
145 static int macio_do_write_reg32(PMF_STD_ARGS, u32 offset, u32 value, u32 mask) in macio_do_write_reg32() argument
156 static int macio_do_read_reg32(PMF_STD_ARGS, u32 offset) in macio_do_read_reg32() argument
168 static int macio_do_write_reg8(PMF_STD_ARGS, u32 offset, u8 value, u8 mask) in macio_do_write_reg8() argument
179 static int macio_do_read_reg8(PMF_STD_ARGS, u32 offset) in macio_do_read_reg8() argument
191 static int macio_do_read_reg32_msrx(PMF_STD_ARGS, u32 offset, u32 mask, in macio_do_read_reg32_msrx() argument
204 static int macio_do_read_reg8_msrx(PMF_STD_ARGS, u32 offset, u32 mask, in macio_do_read_reg8_msrx() argument
217 static int macio_do_write_reg32_slm(PMF_STD_ARGS, u32 offset, u32 shift, in macio_do_write_reg32_slm() argument
[all …]
Dlow_i2c.c1278 static int pmac_i2c_do_read(PMF_STD_ARGS, u32 len) in pmac_i2c_do_read() argument
1287 static int pmac_i2c_do_write(PMF_STD_ARGS, u32 len, const u8 *data) in pmac_i2c_do_write() argument
1316 static int pmac_i2c_do_rmw(PMF_STD_ARGS, u32 masklen, u32 valuelen, in pmac_i2c_do_rmw() argument
1332 static int pmac_i2c_do_read_sub(PMF_STD_ARGS, u8 subaddr, u32 len) in pmac_i2c_do_read_sub() argument
1341 static int pmac_i2c_do_write_sub(PMF_STD_ARGS, u8 subaddr, u32 len, in pmac_i2c_do_write_sub() argument
1350 static int pmac_i2c_do_set_mode(PMF_STD_ARGS, int mode) in pmac_i2c_do_set_mode() argument
1357 static int pmac_i2c_do_rmw_sub(PMF_STD_ARGS, u8 subaddr, u32 masklen, in pmac_i2c_do_rmw_sub() argument
1373 static int pmac_i2c_do_mask_and_comp(PMF_STD_ARGS, u32 len, in pmac_i2c_do_mask_and_comp() argument
1395 static int pmac_i2c_do_delay(PMF_STD_ARGS, u32 duration) in pmac_i2c_do_delay() argument