Lines Matching refs:GET_MASK

165 #define GET_MASK(fid)	(BIT(rt9455_reg_fields[fid].msb + 1) - \  macro
420 if (v & GET_MASK(F_TSDI)) { in rt9455_charger_get_health()
424 if (v & GET_MASK(F_VINOVPI)) { in rt9455_charger_get_health()
428 if (v & GET_MASK(F_BATAB)) { in rt9455_charger_get_health()
439 if (v & GET_MASK(F_CHBATOVI)) { in rt9455_charger_get_health()
443 if (v & GET_MASK(F_CH32MI)) { in rt9455_charger_get_health()
454 if (v & GET_MASK(F_BSTBUSOVI)) { in rt9455_charger_get_health()
458 if (v & GET_MASK(F_BSTOLI)) { in rt9455_charger_get_health()
462 if (v & GET_MASK(F_BSTLOWVI)) { in rt9455_charger_get_health()
466 if (v & GET_MASK(F_BST32SI)) { in rt9455_charger_get_health()
873 if (irq1 & GET_MASK(F_TSDI)) { in rt9455_irq_handler_check_irq1_register()
878 if (irq1 & GET_MASK(F_VINOVPI)) { in rt9455_irq_handler_check_irq1_register()
883 if (irq1 & GET_MASK(F_BATAB)) { in rt9455_irq_handler_check_irq1_register()
888 if ((mask1 & GET_MASK(F_BATABM)) == 0) { in rt9455_irq_handler_check_irq1_register()
903 if (mask2 & GET_MASK(F_CHTERMIM)) { in rt9455_irq_handler_check_irq1_register()
912 if (mask2 & GET_MASK(F_CHRCHGIM)) { in rt9455_irq_handler_check_irq1_register()
966 if (irq2 & GET_MASK(F_CHRVPI)) { in rt9455_irq_handler_check_irq2_register()
983 if (irq2 & GET_MASK(F_CHBATOVI)) { in rt9455_irq_handler_check_irq2_register()
987 if (irq2 & GET_MASK(F_CHTERMI)) { in rt9455_irq_handler_check_irq2_register()
990 if ((mask2 & GET_MASK(F_CHTERMIM)) == 0) { in rt9455_irq_handler_check_irq2_register()
1001 mask2 = mask2 | GET_MASK(F_CHTERMIM); in rt9455_irq_handler_check_irq2_register()
1007 if (irq2 & GET_MASK(F_CHRCHGI)) { in rt9455_irq_handler_check_irq2_register()
1015 if (mask2 & GET_MASK(F_CHTERMIM)) { in rt9455_irq_handler_check_irq2_register()
1023 mask2 = mask2 & ~GET_MASK(F_CHTERMIM); in rt9455_irq_handler_check_irq2_register()
1038 if (irq2 & GET_MASK(F_CH32MI)) { in rt9455_irq_handler_check_irq2_register()
1042 if (irq2 & GET_MASK(F_CHTREGI)) { in rt9455_irq_handler_check_irq2_register()
1047 if (irq2 & GET_MASK(F_CHMIVRI)) { in rt9455_irq_handler_check_irq2_register()
1078 if (irq3 & GET_MASK(F_BSTBUSOVI)) { in rt9455_irq_handler_check_irq3_register()
1082 if (irq3 & GET_MASK(F_BSTOLI)) { in rt9455_irq_handler_check_irq3_register()
1086 if (irq3 & GET_MASK(F_BSTLOWVI)) { in rt9455_irq_handler_check_irq3_register()
1090 if (irq3 & GET_MASK(F_BST32SI)) { in rt9455_irq_handler_check_irq3_register()
1514 if (irq1 & GET_MASK(F_BATAB)) { in rt9455_batt_presence_work_callback()
1529 if (mask1 & GET_MASK(F_BATABM)) { in rt9455_batt_presence_work_callback()