Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Drt9455_charger.c166 #define GET_MASK(fid) (BIT(rt9455_reg_fields[fid].msb + 1) - \ macro
419 if (v & GET_MASK(F_TSDI)) { in rt9455_charger_get_health()
423 if (v & GET_MASK(F_VINOVPI)) { in rt9455_charger_get_health()
427 if (v & GET_MASK(F_BATAB)) { in rt9455_charger_get_health()
438 if (v & GET_MASK(F_CHBATOVI)) { in rt9455_charger_get_health()
442 if (v & GET_MASK(F_CH32MI)) { in rt9455_charger_get_health()
453 if (v & GET_MASK(F_BSTBUSOVI)) { in rt9455_charger_get_health()
457 if (v & GET_MASK(F_BSTOLI)) { in rt9455_charger_get_health()
461 if (v & GET_MASK(F_BSTLOWVI)) { in rt9455_charger_get_health()
465 if (v & GET_MASK(F_BST32SI)) { in rt9455_charger_get_health()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/cyttsp5/
H A Dcyttsp5_regs.h205 #define GET_MASK(length) \ macro
208 ((name >> shift) & GET_MASK(length))