Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dsbs-battery.c280 client->flags &= ~I2C_CLIENT_PEC; in sbs_update_presence()
305 client->flags &= ~I2C_CLIENT_PEC; in sbs_update_presence()
314 client->flags |= I2C_CLIENT_PEC; in sbs_update_presence()
316 client->flags &= ~I2C_CLIENT_PEC; in sbs_update_presence()
319 && client->flags & I2C_CLIENT_PEC) { in sbs_update_presence()
321 client->flags &= ~I2C_CLIENT_PEC; in sbs_update_presence()
325 str_enabled_disabled(client->flags & I2C_CLIENT_PEC)); in sbs_update_presence()
433 bool pec = client->flags & I2C_CLIENT_PEC; in sbs_read_string_data()
434 client->flags &= ~I2C_CLIENT_PEC; in sbs_read_string_data()
437 client->flags |= I2C_CLIENT_PEC; in sbs_read_string_data()
[all...]
/linux/drivers/iio/temperature/
H A Dmlx90614.c116 * valid PEC on reading. Hence, we cannot set I2C_CLIENT_PEC in in mlx90614_write_word()
126 client->flags | I2C_CLIENT_PEC, in mlx90614_write_word()
136 client->flags | I2C_CLIENT_PEC, in mlx90614_write_word()
485 data->client->flags | I2C_CLIENT_PEC, in mlx90614_sleep()
/linux/drivers/i2c/
H A Di2c-core-smbus.c352 bool wants_pec = ((flags & I2C_CLIENT_PEC) && size != I2C_SMBUS_QUICK in i2c_smbus_xfer_emulated()
527 * @flags: I2C_CLIENT_* flags (usually zero or I2C_CLIENT_PEC)
577 flags &= I2C_M_TEN | I2C_CLIENT_PEC | I2C_CLIENT_SCCB; in __i2c_smbus_xfer()
H A Di2c-dev.c434 client->flags |= I2C_CLIENT_PEC; in i2cdev_ioctl()
436 client->flags &= ~I2C_CLIENT_PEC; in i2cdev_ioctl()
/linux/drivers/i2c/busses/
H A Di2c-amd8111.c199 pec = (flags & I2C_CLIENT_PEC) ? AMD_SMB_PRTCL_PEC : 0; in amd8111_access()
H A Di2c-npcm7xx.c1535 if (client->flags & I2C_CLIENT_PEC) in npcm_i2c_reg_slave()
2315 if (msg0->flags & I2C_CLIENT_PEC) in npcm_i2c_master_xfer()
2331 if (msg1->flags & I2C_CLIENT_PEC) in npcm_i2c_master_xfer()
H A Di2c-stm32f7.c1090 if ((flags & I2C_CLIENT_PEC) && f7_msg->size != I2C_SMBUS_QUICK) { in stm32f7_i2c_smbus_xfer_msg()
1844 if ((flags & I2C_CLIENT_PEC) && size != I2C_SMBUS_QUICK && read_write) { in stm32f7_i2c_smbus_xfer()
1904 if (slave->flags & I2C_CLIENT_PEC) { in stm32f7_i2c_reg_slave()
H A Di2c-aspeed.c564 ((msg->flags & I2C_CLIENT_PEC) ? 2 : 1); in aspeed_i2c_master_irq()
H A Di2c-i801.c900 hwpec = (priv->features & FEATURE_SMBUS_PEC) && (flags & I2C_CLIENT_PEC) in i801_access()
H A Di2c-mlxbf.c2126 if (slave->flags & (I2C_CLIENT_TEN | I2C_CLIENT_PEC)) { in mlxbf_i2c_reg_slave()
/linux/drivers/hwmon/pmbus/
H A Dpmbus_core.c2637 return sysfs_emit(buf, "%d\n", !!(client->flags & I2C_CLIENT_PEC)); in pec_show()
2652 client->flags |= I2C_CLIENT_PEC; in pec_store()
2654 client->flags &= ~I2C_CLIENT_PEC; in pec_store()
2726 client->flags &= ~I2C_CLIENT_PEC; in pmbus_init_common()
2736 client->flags |= I2C_CLIENT_PEC; in pmbus_init_common()
2812 if (client->flags & I2C_CLIENT_PEC) { in pmbus_init_common()
2814 * If I2C_CLIENT_PEC is set here, both the I2C adapter and the in pmbus_init_common()
H A Dadm1266.c120 if (client->flags & I2C_CLIENT_PEC) { in adm1266_pmbus_block_xfer()
/linux/drivers/misc/eeprom/
H A Didt_89hpesx.c1153 client->flags |= I2C_CLIENT_PEC; in idt_create_pdev()
/linux/drivers/hwmon/
H A Dlm90.c783 client->flags & ~I2C_CLIENT_PEC, in lm90_write_no_pec()
796 bool partial_pec = (client->flags & I2C_CLIENT_PEC) && in lm90_read_reg()
/linux/drivers/char/ipmi/
H A Dipmi_ssif.c1871 ssif_info->client->flags |= I2C_CLIENT_PEC; in ssif_probe()