Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/counter/
Dti-ecap-capture.c42 #define ECAP_CAPPOL_BIT(i) BIT((i) << 1) macro
243 bitval = regmap_test_bits(ecap_dev->regmap, ECAP_ECCTL_REG, ECAP_CAPPOL_BIT(idx)); in ecap_cnt_pol_read()
259 regmap_set_bits(ecap_dev->regmap, ECAP_ECCTL_REG, ECAP_CAPPOL_BIT(idx)); in ecap_cnt_pol_write()
261 regmap_clear_bits(ecap_dev->regmap, ECAP_ECCTL_REG, ECAP_CAPPOL_BIT(idx)); in ecap_cnt_pol_write()