Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/iio/accel/
Dmma9553.c70 #define MMA9553_STATUS_TO_BITNUM(bit) (ffs(bit) - 9) macro
71 #define MMA9553_MAX_BITNUM MMA9553_STATUS_TO_BITNUM(BIT(16))
350 bitnum = MMA9553_STATUS_TO_BITNUM(MMA9553_MASK_STATUS_MRGFL); in mma9553_conf_gpio()
352 bitnum = MMA9553_STATUS_TO_BITNUM(MMA9553_MASK_STATUS_STEPCHG); in mma9553_conf_gpio()
354 bitnum = MMA9553_STATUS_TO_BITNUM(MMA9553_MASK_STATUS_ACTCHG); in mma9553_conf_gpio()