Home
last modified time | relevance | path

Searched refs:pec (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/net/mctp/
H A Dmctp-i3c.c108 u8 pec, addr; in mctp_i3c_read() local
147 pec = i2c_smbus_pec(0, &addr, 1); in mctp_i3c_read()
148 pec = i2c_smbus_pec(pec, xfer.data.in, xfer.len - 1); in mctp_i3c_read()
149 if (pec != ((u8 *)xfer.data.in)[xfer.len - 1]) { in mctp_i3c_read()
368 u8 addr, pec; in mctp_i3c_xmit() local
407 pec = i2c_smbus_pec(0, &addr, 1); in mctp_i3c_xmit()
408 pec = i2c_smbus_pec(pec, data, data_len); in mctp_i3c_xmit()
409 data[data_len] = pec; in mctp_i3c_xmit()
H A Dmctp-i2c.c278 u8 pec, calc_pec; in mctp_i2c_recv() local
301 pec = midev->rx_buffer[midev->rx_pos - 1]; in mctp_i2c_recv()
303 if (pec != calc_pec) { in mctp_i2c_recv()
/linux/drivers/i2c/busses/
H A Di2c-amd8111.c194 unsigned char protocol, len, pec, temp[2]; in amd8111_access() local
199 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()
/linux/drivers/i2c/
H A Di2c-core-smbus.c60 static u8 i2c_smbus_msg_pec(u8 pec, struct i2c_msg *msg) in i2c_smbus_msg_pec() argument
64 pec = i2c_smbus_pec(pec, &addr, 1); in i2c_smbus_msg_pec()
67 return i2c_smbus_pec(pec, msg->buf, msg->len); in i2c_smbus_msg_pec()
/linux/arch/s390/include/asm/
H A Dctlreg.h204 unsigned long pec : 1; /* PAI extension control */ member
/linux/drivers/power/supply/
H A Dsbs-battery.c433 bool pec = client->flags & I2C_CLIENT_PEC; in sbs_read_string_data()
436 if (pec) in sbs_read_string_data()
432 bool pec = client->flags & I2C_CLIENT_PEC; sbs_read_string_data() local
/linux/drivers/hwmon/
H A Dhwmon.c391 static DEVICE_ATTR_RW(pec);
/linux/Documentation/hwmon/
H A Dlm90.rst640 can be enabled through sysfs. Just write 1 to the "pec" file and PEC will be
/linux/Documentation/ABI/testing/
H A Dsysfs-class-hwmon1068 What: /sys/class/hwmon/hwmonX/device/pec
/linux/drivers/hwmon/pmbus/
H A Dpmbus_core.c2664 static DEVICE_ATTR_RW(pec);