AVS_PSTATE_MAX
table = devm_kcalloc(dev, AVS_PSTATE_MAX + 1 + 1, sizeof(*table),
for (i = AVS_PSTATE_P0; i <= AVS_PSTATE_MAX; i++) {