Searched refs:led_num (Results 1 – 4 of 4) sorted by relevance
/device/google/contexthub/firmware/os/drivers/leds/ |
D | leds_gpio.c | 115 if (lcfg->led_num >= mTask.num) { in sensorConfigLedsGpio() 116 osLog(LOG_INFO, "Wrong led number %"PRIu32"\n", lcfg->led_num); in sensorConfigLedsGpio() 119 mTask.leds[lcfg->led_num].val = lcfg->value ? 1 : 0; in sensorConfigLedsGpio() 120 gpioSet(mTask.leds[lcfg->led_num].ledid, mTask.leds[lcfg->led_num].val); in sensorConfigLedsGpio() 122 osLog(LOG_INFO, "Set led[%"PRIu32"]=%"PRIu32"\n", lcfg->led_num, lcfg->value); in sensorConfigLedsGpio()
|
D | leds_lp3943.c | 224 if (lcfg->led_num >= mTask.num) { in sensorCfgDataLedsLP3943() 225 osLog(LOG_INFO, "Wrong led number %"PRIu32"\n", lcfg->led_num); in sensorCfgDataLedsLP3943() 228 index = lcfg->led_num >> 2; in sensorCfgDataLedsLP3943() 229 lnum = (lcfg->led_num & 0x3) << 1; in sensorCfgDataLedsLP3943() 240 osLog(LOG_INFO, "Set led[%"PRIu32"]=%"PRIu32"\n", lcfg->led_num, lcfg->value); in sensorCfgDataLedsLP3943()
|
/device/google/contexthub/firmware/os/inc/ |
D | leds_gpio.h | 29 uint32_t led_num; member
|
/device/google/contexthub/util/nanoapp_cmd/ |
D | nanoapp_cmd.c | 93 uint32_t led_num; member 521 mLedsCfg.led_num = atoi(argv[3]); in main()
|