Lines Matching defs:pmu_send
186 static int pmu_send(void *cookie, int cmd, int length, uint8_t *in_msg,
385 pmu_send(sc, PMU_SET_IMASK, 1, ®, 16, resp);
389 pmu_send(sc, PMU_SYSTEM_READY, 1, cmd, 16, resp);
390 pmu_send(sc, PMU_GET_VERSION, 0, cmd, 16, resp);
585 pmu_send(void *cookie, int cmd, int length, uint8_t *in_msg, int rlen,
701 len = pmu_send(sc, PMU_INT_ACK, 0, NULL, 16, resp);
724 pmu_send(sc, PMU_ADB_CMD, 4, cmd, 16, junk);
767 replen = pmu_send(sc, PMU_ADB_CMD, len + 3, packet, 16, resp);
795 pmu_send(sc, PMU_ADB_CMD, 4, cmd, 16, resp);
797 pmu_send(sc, PMU_ADB_POLL_OFF, 0, NULL, 16, resp);
811 pmu_send(sc, PMU_POWER_OFF, 4, cmd, 0, NULL);
813 pmu_send(sc, PMU_RESET_CPU, 0, NULL, 0, NULL);
827 pmu_send(sc, PMU_SET_SLEEPLED, 3, cmd, 0, NULL);
843 len = pmu_send(sc, PMU_POWER_EVENTS, 1, getcmd, 3, resp);
867 pmu_send(sc, PMU_POWER_EVENTS, 3, setcmd, 2, resp);
883 len = pmu_send(sc, PMU_SMART_BATTERY_STATE, 1, ®, 16, resp);
1084 pmu_send(sc, PMU_READ_RTC, 0, NULL, 16, resp);
1103 pmu_send(sc, PMU_SET_RTC, sizeof(sec), (uint8_t *)&sec, 0, NULL);
1124 pmu_send(sc, PMU_CPU_SPEED, 5, sleepcmd, 16, resp);