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

/linux-4.4.14/drivers/power/
H A Drt9455_charger.c175 #define GET_MASK(fid) (BIT(rt9455_reg_fields[fid].msb + 1) - \ macro
428 if (v & GET_MASK(F_TSDI)) { rt9455_charger_get_health()
432 if (v & GET_MASK(F_VINOVPI)) { rt9455_charger_get_health()
436 if (v & GET_MASK(F_BATAB)) { rt9455_charger_get_health()
447 if (v & GET_MASK(F_CHBATOVI)) { rt9455_charger_get_health()
451 if (v & GET_MASK(F_CH32MI)) { rt9455_charger_get_health()
462 if (v & GET_MASK(F_BSTBUSOVI)) { rt9455_charger_get_health()
466 if (v & GET_MASK(F_BSTOLI)) { rt9455_charger_get_health()
470 if (v & GET_MASK(F_BSTLOWVI)) { rt9455_charger_get_health()
474 if (v & GET_MASK(F_BST32SI)) { rt9455_charger_get_health()
881 if (irq1 & GET_MASK(F_TSDI)) { rt9455_irq_handler_check_irq1_register()
886 if (irq1 & GET_MASK(F_VINOVPI)) { rt9455_irq_handler_check_irq1_register()
891 if (irq1 & GET_MASK(F_BATAB)) { rt9455_irq_handler_check_irq1_register()
896 if ((mask1 & GET_MASK(F_BATABM)) == 0) { rt9455_irq_handler_check_irq1_register()
911 if (mask2 & GET_MASK(F_CHTERMIM)) { rt9455_irq_handler_check_irq1_register()
920 if (mask2 & GET_MASK(F_CHRCHGIM)) { rt9455_irq_handler_check_irq1_register()
974 if (irq2 & GET_MASK(F_CHRVPI)) { rt9455_irq_handler_check_irq2_register()
991 if (irq2 & GET_MASK(F_CHBATOVI)) { rt9455_irq_handler_check_irq2_register()
995 if (irq2 & GET_MASK(F_CHTERMI)) { rt9455_irq_handler_check_irq2_register()
998 if ((mask2 & GET_MASK(F_CHTERMIM)) == 0) { rt9455_irq_handler_check_irq2_register()
1009 mask2 = mask2 | GET_MASK(F_CHTERMIM); rt9455_irq_handler_check_irq2_register()
1015 if (irq2 & GET_MASK(F_CHRCHGI)) { rt9455_irq_handler_check_irq2_register()
1023 if (mask2 & GET_MASK(F_CHTERMIM)) { rt9455_irq_handler_check_irq2_register()
1031 mask2 = mask2 & ~GET_MASK(F_CHTERMIM); rt9455_irq_handler_check_irq2_register()
1046 if (irq2 & GET_MASK(F_CH32MI)) { rt9455_irq_handler_check_irq2_register()
1050 if (irq2 & GET_MASK(F_CHTREGI)) { rt9455_irq_handler_check_irq2_register()
1055 if (irq2 & GET_MASK(F_CHMIVRI)) { rt9455_irq_handler_check_irq2_register()
1086 if (irq3 & GET_MASK(F_BSTBUSOVI)) { rt9455_irq_handler_check_irq3_register()
1090 if (irq3 & GET_MASK(F_BSTOLI)) { rt9455_irq_handler_check_irq3_register()
1094 if (irq3 & GET_MASK(F_BSTLOWVI)) { rt9455_irq_handler_check_irq3_register()
1098 if (irq3 & GET_MASK(F_BST32SI)) { rt9455_irq_handler_check_irq3_register()
1522 if (irq1 & GET_MASK(F_BATAB)) { rt9455_batt_presence_work_callback()
1537 if (mask1 & GET_MASK(F_BATABM)) { rt9455_batt_presence_work_callback()

Completed in 84 milliseconds