Searched refs:fd_pfsm (Results 1 – 1 of 1) sorted by relevance
33 int i, ret, fd_rtc, fd_pfsm[PMIC_NB] = { 0 }; in main() local45 fd_pfsm[i] = open(dev_pfsm[i], O_RDWR); in main()46 if (fd_pfsm[i] < 0) { in main()96 ret = ioctl(fd_pfsm[i], PMIC_SET_RETENTION_STATE, &pmic_opt); in main()114 ioctl(fd_pfsm[0], PMIC_SET_ACTIVE_STATE, 0); in main()118 if (fd_pfsm[i]) in main()119 close(fd_pfsm[i]); in main()