Home
last modified time | relevance | path

Searched refs:I2C_CLIENT_PEC (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/drivers/power/supply/
Dsbs-battery.c245 client->flags &= ~I2C_CLIENT_PEC; in sbs_update_presence()
269 client->flags &= ~I2C_CLIENT_PEC; in sbs_update_presence()
278 client->flags |= I2C_CLIENT_PEC; in sbs_update_presence()
280 client->flags &= ~I2C_CLIENT_PEC; in sbs_update_presence()
283 && client->flags & I2C_CLIENT_PEC) { in sbs_update_presence()
285 client->flags &= ~I2C_CLIENT_PEC; in sbs_update_presence()
288 dev_dbg(&client->dev, "PEC: %s\n", (client->flags & I2C_CLIENT_PEC) ? in sbs_update_presence()
397 bool pec = client->flags & I2C_CLIENT_PEC; in sbs_read_string_data()
398 client->flags &= ~I2C_CLIENT_PEC; in sbs_read_string_data()
401 client->flags |= I2C_CLIENT_PEC; in sbs_read_string_data()
/kernel/linux/linux-5.10/drivers/hwmon/
Dlm90.c534 client->flags & ~I2C_CLIENT_PEC, in adm1032_write_byte()
548 if (client->flags & I2C_CLIENT_PEC) { in lm90_read_reg()
995 return sprintf(buf, "%d\n", !!(client->flags & I2C_CLIENT_PEC)); in pec_show()
1011 client->flags &= ~I2C_CLIENT_PEC; in pec_store()
1014 client->flags |= I2C_CLIENT_PEC; in pec_store()
1518 info->flags |= I2C_CLIENT_PEC; in lm90_detect()
1862 client->flags &= ~I2C_CLIENT_PEC; in lm90_probe()
1936 if (client->flags & I2C_CLIENT_PEC) { in lm90_probe()
/kernel/linux/linux-5.10/drivers/iio/temperature/
Dmlx90614.c113 client->flags | I2C_CLIENT_PEC, in mlx90614_write_word()
123 client->flags | I2C_CLIENT_PEC, in mlx90614_write_word()
415 data->client->flags | I2C_CLIENT_PEC, in mlx90614_sleep()
/kernel/linux/linux-5.10/drivers/i2c/
Di2c-core-smbus.c449 i = ((flags & I2C_CLIENT_PEC) && size != I2C_SMBUS_QUICK in i2c_smbus_xfer_emulated()
573 flags &= I2C_M_TEN | I2C_CLIENT_PEC | I2C_CLIENT_SCCB; in __i2c_smbus_xfer()
Di2c-dev.c427 client->flags |= I2C_CLIENT_PEC; in i2cdev_ioctl()
429 client->flags &= ~I2C_CLIENT_PEC; in i2cdev_ioctl()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-nforce2.c189 pec = (flags & I2C_CLIENT_PEC) ? NVIDIA_SMB_PRTCL_PEC : 0; in nforce2_access()
Di2c-amd8111.c199 pec = (flags & I2C_CLIENT_PEC) ? AMD_SMB_PRTCL_PEC : 0; in amd8111_access()
Di2c-xlp9xx.c358 priv->client_pec = msg->flags & I2C_CLIENT_PEC; in xlp9xx_i2c_xfer_msg()
Di2c-npcm7xx.c1263 if (client->flags & I2C_CLIENT_PEC) in npcm_i2c_reg_slave()
2093 if (msg0->flags & I2C_CLIENT_PEC) in npcm_i2c_master_xfer()
2109 if (msg1->flags & I2C_CLIENT_PEC) in npcm_i2c_master_xfer()
Di2c-designware-master.c399 len += (flags & I2C_CLIENT_PEC) ? 2 : 1; in i2c_dw_recv_len()
Di2c-stm32f7.c1043 if ((flags & I2C_CLIENT_PEC) && f7_msg->size != I2C_SMBUS_QUICK) { in stm32f7_i2c_smbus_xfer_msg()
1753 if ((flags & I2C_CLIENT_PEC) && size != I2C_SMBUS_QUICK && read_write) { in stm32f7_i2c_smbus_xfer()
1813 if (slave->flags & I2C_CLIENT_PEC) { in stm32f7_i2c_reg_slave()
Di2c-ismt.c424 if ((flags & I2C_CLIENT_PEC) && (size != I2C_SMBUS_QUICK) in ismt_access()
Di2c-aspeed.c542 ((msg->flags & I2C_CLIENT_PEC) ? 2 : 1); in aspeed_i2c_master_irq()
Di2c-i801.c858 hwpec = (priv->features & FEATURE_SMBUS_PEC) && (flags & I2C_CLIENT_PEC) in i801_access()
Di2c-mlxbf.c2167 if (slave->flags & (I2C_CLIENT_TEN | I2C_CLIENT_PEC)) in mlxbf_i2c_reg_slave()
/kernel/linux/linux-5.10/drivers/char/ipmi/
Dipmb_dev_int.c130 i2c_msg.flags = client->flags & I2C_CLIENT_PEC; in ipmb_i2c_write()
Dipmi_ssif.c1893 ssif_info->client->flags |= I2C_CLIENT_PEC; in ssif_probe()
/kernel/linux/linux-5.10/drivers/hwmon/pmbus/
Dadm1266.c120 if (client->flags & I2C_CLIENT_PEC) { in adm1266_pmbus_block_xfer()
Dpmbus_core.c2214 client->flags |= I2C_CLIENT_PEC; in pmbus_init_common()
2381 *val = !!(client->flags & I2C_CLIENT_PEC); in pmbus_debugfs_get_pec()
2392 client->flags &= ~I2C_CLIENT_PEC; in pmbus_debugfs_set_pec()
2406 client->flags |= I2C_CLIENT_PEC; in pmbus_debugfs_set_pec()
/kernel/linux/linux-5.10/include/linux/
Di2c.h316 #define I2C_CLIENT_PEC 0x04 /* Use Packet Error Checking */ macro
/kernel/linux/linux-5.10/drivers/staging/kpc2000/
Dkpc2000_i2c.c446 (flags & I2C_CLIENT_PEC) && in i801_access()
/kernel/linux/linux-5.10/drivers/misc/eeprom/
Didt_89hpesx.c1200 client->flags |= I2C_CLIENT_PEC; in idt_create_pdev()