/src/sys/arch/macppc/dev/ |
pmu.c | 138 static int pmu_send(void *, int, int, uint8_t *, int, uint8_t *); 330 sc->sc_pmu_ops.do_command = pmu_send; 336 pmu_send(sc, PMU_SYSTEM_READY, 1, cmd, 16, resp); 339 if (pmu_send(sc, PMU_GET_VERSION, 0, cmd, 16, resp) > 1) 391 if (pmu_send(sc, PMU_READ_BRIGHTNESS, 1, cmd, 16, resp) > 1) { 455 pmu_send(sc, PMU_SET_IMASK, 1, &pmu_imask, 16, resp); 509 pmu_send(void *cookie, int cmd, int length, uint8_t *in_msg, int rlen, function in typeref:typename:int 516 DPRINTF("pmu_send: "); 636 len = pmu_send(sc, PMU_INT_ACK, 0, NULL, 16, resp); 727 pmu_send(sc, PMU_READ_RTC, 0, NULL, 16, resp) [all...] |
pmu.c | 138 static int pmu_send(void *, int, int, uint8_t *, int, uint8_t *); 330 sc->sc_pmu_ops.do_command = pmu_send; 336 pmu_send(sc, PMU_SYSTEM_READY, 1, cmd, 16, resp); 339 if (pmu_send(sc, PMU_GET_VERSION, 0, cmd, 16, resp) > 1) 391 if (pmu_send(sc, PMU_READ_BRIGHTNESS, 1, cmd, 16, resp) > 1) { 455 pmu_send(sc, PMU_SET_IMASK, 1, &pmu_imask, 16, resp); 509 pmu_send(void *cookie, int cmd, int length, uint8_t *in_msg, int rlen, function in typeref:typename:int 516 DPRINTF("pmu_send: "); 636 len = pmu_send(sc, PMU_INT_ACK, 0, NULL, 16, resp); 727 pmu_send(sc, PMU_READ_RTC, 0, NULL, 16, resp) [all...] |