Searched refs:pec (Results 1 – 4 of 4) sorted by relevance
194 unsigned char protocol, len, pec, temp[2]; in amd8111_access() local199 pec = (flags & I2C_CLIENT_PEC) ? AMD_SMB_PRTCL_PEC : 0; in amd8111_access()244 protocol |= AMD_SMB_PRTCL_WORD_DATA | pec; in amd8111_access()265 protocol |= AMD_SMB_PRTCL_BLOCK_DATA | pec; in amd8111_access()300 protocol = AMD_SMB_PRTCL_PROC_CALL | pec; in amd8111_access()319 protocol = AMD_SMB_PRTCL_BLOCK_PROC_CALL | pec; in amd8111_access()
183 unsigned char protocol, pec; in nforce2_access() local189 pec = (flags & I2C_CLIENT_PEC) ? NVIDIA_SMB_PRTCL_PEC : 0; in nforce2_access()216 protocol |= NVIDIA_SMB_PRTCL_WORD_DATA | pec; in nforce2_access()234 protocol |= NVIDIA_SMB_PRTCL_BLOCK_DATA | pec; in nforce2_access()
51 static u8 i2c_smbus_msg_pec(u8 pec, struct i2c_msg *msg) in i2c_smbus_msg_pec() argument55 pec = i2c_smbus_pec(pec, &addr, 1); in i2c_smbus_msg_pec()58 return i2c_smbus_pec(pec, msg->buf, msg->len); in i2c_smbus_msg_pec()
975 static DEVICE_ATTR_RW(pec);