Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/block/
Dumem.c792 unsigned char batt_status; in mm_pci_probe() local
927 batt_status = readb(card->csr_remap + MEMCTRLSTATUS_BATTERY); in mm_pci_probe()
929 card->battery[0].good = !(batt_status & BATTERY_1_FAILURE); in mm_pci_probe()
930 card->battery[1].good = !(batt_status & BATTERY_2_FAILURE); in mm_pci_probe()
940 batt_status & BATTERY_1_DISABLED ? "Disabled" : "Enabled", in mm_pci_probe()
942 batt_status & BATTERY_2_DISABLED ? "Disabled" : "Enabled", in mm_pci_probe()