Lines Matching refs:gpu
7 #include <soc/aml-common/aml-gpu.h>
10 zx_status_t aml_gp0_init(aml_gpu_t* gpu) {
11 gpu->hiu_dev = calloc(1, sizeof(*gpu->hiu_dev));
12 gpu->gp0_pll_dev = calloc(1, sizeof(*gpu->gp0_pll_dev));
14 zx_status_t status = s905d2_hiu_init(gpu->bti, gpu->hiu_dev);
20 status = s905d2_pll_init(gpu->hiu_dev, gpu->gp0_pll_dev, GP0_PLL);
26 status = s905d2_pll_set_rate(gpu->gp0_pll_dev, 846000000);
31 status = s905d2_pll_ena(gpu->gp0_pll_dev);
39 void aml_gp0_release(aml_gpu_t* gpu) {
41 free(gpu->gp0_pll_dev);
42 free(gpu->hiu_dev);