tpg_alloc
EXPORT_SYMBOL_GPL(tpg_alloc);
ret = tpg_alloc(&vsensor->tpg, VIMC_FRAME_MAX_WIDTH);
ret = tpg_alloc(&ctx->tpg, width);
if (tpg_alloc(&dev->tpg, array_size(MAX_WIDTH, MAX_ZOOM)))
int tpg_alloc(struct tpg_data *tpg, unsigned max_w);