Lines Matching defs:index
64 uint16_t index = 0;
72 for (index = 0; index < valiSize - 2; index++) {
73 checksum += regTab[index];
77 * needs to be divided by 2 when calculating the real checksum's index.
79 index = (valiSize / REG_TAB_INDEX_HALF) - 1;
80 return (checksum == ((uint16_t *)regTab)[index]) ? HDF_SUCCESS : HDF_FAILURE;
87 for (uint8_t index = 0; index < HDF_ARRAY_SIZE(g_ppgModeTab); index++) {
88 if (g_ppgModeTab[index].mode == mode) {
89 ret = validateTab((uint8_t *)(g_ppgModeTab[index].regTab), sizeof(*g_ppgModeTab[index].regTab));
94 *configTab = g_ppgModeTab[index].regTab;