Lines Matching refs:pmdata
308 int data, i, pmdata[3];
318 if (j720ssp_readwrite(ssp, 0, 0x11, &pmdata[i], 100) < 0)
324 pmdata[0] |= (pmdata[2] & 0x3) << 8; /* Main battery. */
325 pmdata[1] |= (pmdata[2] & 0xc) << 6; /* Backup battery (unused). */
328 pmdata[0], pmdata[1], pmdata[2]));
331 if ((pmdata[2] & 3) == 3)
334 return pmdata[0];