Home
last modified time | relevance | path

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

/linux/drivers/counter/
H A Dti-ecap-capture.c101 struct ecap_cnt_dev *ecap_dev = counter_priv(counter); in ecap_cnt_capture_get_evmode() local
105 regmap_read(ecap_dev->regmap, ECAP_ECCTL_REG, &regval); in ecap_cnt_capture_get_evmode()
113 struct ecap_cnt_dev *ecap_dev = counter_priv(counter); in ecap_cnt_capture_set_evmode() local
116 regmap_update_bits(ecap_dev->regmap, ECAP_ECCTL_REG, ECAP_EV_MODE_MASK, ev_mode); in ecap_cnt_capture_set_evmode()
122 struct ecap_cnt_dev *ecap_dev = counter_priv(counter); in ecap_cnt_capture_enable() local
127 regmap_update_bits(ecap_dev->regmap, ECAP_ECINT_EN_FLG_REG, in ecap_cnt_capture_enable()
131 regmap_update_bits(ecap_dev->regmap, ECAP_ECCTL_REG, ECAP_ECCTL_CFG_MASK, in ecap_cnt_capture_enable()
137 struct ecap_cnt_dev *ecap_dev = counter_priv(counter); in ecap_cnt_capture_disable() local
140 regmap_update_bits(ecap_dev->regmap, ECAP_ECCTL_REG, ECAP_ECCTL_EN_MASK, 0); in ecap_cnt_capture_disable()
143 regmap_update_bits(ecap_dev->regmap, ECAP_ECINT_EN_FLG_REG, ECAP_EVT_EN_MASK, 0); in ecap_cnt_capture_disable()
[all …]