Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/hwmon/
Dina3221.c132 static inline bool ina3221_is_enabled(struct ina3221_data *ina, int channel) in ina3221_is_enabled() argument
136 return ina->summation_shunt_resistor != 0; in ina3221_is_enabled()
138 return pm_runtime_active(ina->pm_dev) && in ina3221_is_enabled()
139 (ina->reg_config & INA3221_CONFIG_CHx_EN(channel)); in ina3221_is_enabled()
151 static inline int ina3221_summation_shunt_resistor(struct ina3221_data *ina) in ina3221_summation_shunt_resistor() argument
153 struct ina3221_input *input = ina->inputs; in ina3221_summation_shunt_resistor()
208 static inline int ina3221_wait_for_data(struct ina3221_data *ina) in ina3221_wait_for_data() argument
212 wait = ina3221_reg_to_interval_us(ina->reg_config); in ina3221_wait_for_data()
215 return regmap_field_read_poll_timeout(ina->fields[F_CVRF], in ina3221_wait_for_data()
219 static int ina3221_read_value(struct ina3221_data *ina, unsigned int reg, in ina3221_read_value() argument
[all …]
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_security.c884 static void bitwise_xor(u8 *ina, u8 *inb, u8 *out);
1285 static void bitwise_xor(u8 *ina, u8 *inb, u8 *out) in bitwise_xor() argument
1290 out[i] = ina[i] ^ inb[i]; in bitwise_xor()
/Linux-v5.10/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()