Searched refs:QUAD8_CONTROL (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/counter/ |
H A D | 104-quad-8.c | 42 #define QUAD8_CONTROL(_channel) (QUAD8_DATA(_channel) + 1) macro 212 return regmap_write(map, QUAD8_CONTROL(channel), buf[channel]); in quad8_control_register_update() 245 ret = regmap_write(priv->map, QUAD8_CONTROL(count->id), in quad8_count_read() 267 ret = regmap_write(priv->map, QUAD8_CONTROL(id), SELECT_RLD | RESET_BP); in quad8_preset_register_set() 280 return regmap_write(priv->map, QUAD8_CONTROL(id), SELECT_RLD | RESET_E); in quad8_flag_register_reset() 418 ret = regmap_read(priv->map, QUAD8_CONTROL(count->id), &flag); in quad8_direction_read() 807 ret = regmap_read(priv->map, QUAD8_CONTROL(count->id), &flag); in quad8_error_noise_get() 1017 ret = regmap_write(priv->map, QUAD8_CONTROL(id), SELECT_RLD | RESET_BP); in quad8_filter_clock_prescaler_set() 1258 ret = regmap_write(priv->map, QUAD8_CONTROL(channel), priv->cmr[channel]); in quad8_init_counter() 1265 ret = regmap_write(priv->map, QUAD8_CONTROL(channel), priv->ior[channel]); in quad8_init_counter() [all …]
|