Home
last modified time | relevance | path

Searched refs:clk_params (Results 1 – 3 of 3) sorted by relevance

/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dgm20b.c1020 struct gk20a_clk_pllg_params *clk_params; in gm20b_clk_new() local
1028 clk = kzalloc(sizeof(*clk) + sizeof(*clk_params), GFP_KERNEL); in gm20b_clk_new()
1035 clk_params = (void *) (clk + 1); in gm20b_clk_new()
1036 *clk_params = gm20b_pllg_params; in gm20b_clk_new()
1037 ret = gk20a_clk_ctor(device, type, inst, &gm20b_clk, clk_params, &clk->base); in gm20b_clk_new()
1045 clk_params->max_m = clk_params->min_m = DIV_ROUND_UP(clk_params->max_u, in gm20b_clk_new()
1047 if (clk_params->max_m == 0) { in gm20b_clk_new()
/drivers/media/i2c/
Dimx296.c201 const struct imx296_clk_params *clk_params; member
562 for (i = 0; i < ARRAY_SIZE(sensor->clk_params->incksel); ++i) in imx296_setup()
564 sensor->clk_params->incksel[i], &ret); in imx296_setup()
566 imx296_write(sensor, IMX296_CTRL418C, sensor->clk_params->ctrl418c, in imx296_setup()
1059 sensor->clk_params = &imx296_clk_params[i]; in imx296_probe()
1064 if (!sensor->clk_params) { in imx296_probe()
Dimx415.c354 const struct imx415_clk_params *clk_params; member
691 reg = &sensor->clk_params->regs[i]; in imx415_set_mode()
1147 sensor->clk_params = &imx415_clk_params[i]; in imx415_parse_hw_config()