Home
last modified time | relevance | path

Searched refs:ina (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/hwmon/
Dina3221.c123 static inline bool ina3221_is_enabled(struct ina3221_data *ina, int channel) in ina3221_is_enabled() argument
125 return pm_runtime_active(ina->pm_dev) && in ina3221_is_enabled()
126 (ina->reg_config & INA3221_CONFIG_CHx_EN(channel)); in ina3221_is_enabled()
165 static inline int ina3221_wait_for_data(struct ina3221_data *ina) in ina3221_wait_for_data() argument
169 wait = ina3221_reg_to_interval_us(ina->reg_config); in ina3221_wait_for_data()
172 return regmap_field_read_poll_timeout(ina->fields[F_CVRF], in ina3221_wait_for_data()
176 static int ina3221_read_value(struct ina3221_data *ina, unsigned int reg, in ina3221_read_value() argument
182 ret = regmap_read(ina->regmap, reg, &regval); in ina3221_read_value()
202 struct ina3221_data *ina = dev_get_drvdata(dev); in ina3221_read_chip() local
207 regval = INA3221_CONFIG_AVG(ina->reg_config); in ina3221_read_chip()
[all …]
/Linux-v5.4/drivers/staging/rtl8188eu/core/
Drtw_security.c776 static void bitwise_xor(u8 *ina, u8 *inb, u8 *out);
1076 static void bitwise_xor(u8 *ina, u8 *inb, u8 *out) in bitwise_xor() argument
1081 out[i] = ina[i] ^ inb[i]; in bitwise_xor()
/Linux-v5.4/drivers/staging/rtl8723bs/core/
Drtw_security.c916 static void bitwise_xor(u8 *ina, u8 *inb, u8 *out);
1319 static void bitwise_xor(u8 *ina, u8 *inb, u8 *out) in bitwise_xor() argument
1324 out[i] = ina[i] ^ inb[i]; in bitwise_xor()
/Linux-v5.4/drivers/staging/rtl8712/
Drtl871x_security.c1006 static void bitwise_xor(u8 *ina, u8 *inb, u8 *out) in bitwise_xor() argument
1011 out[i] = ina[i] ^ inb[i]; in bitwise_xor()