Searched refs:clk_params (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | gm20b.c | 1020 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()
|
/linux/drivers/media/i2c/ |
H A D | imx296.c | 201 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() 1053 sensor->clk_params = &imx296_clk_params[i]; in imx296_probe() 1058 if (!sensor->clk_params) { in imx296_probe()
|