Home
last modified time | relevance | path

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

/linux/drivers/media/test-drivers/vimc/
H A Dvimc-lens.c36 struct vimc_lens_device *vlens = in vimc_lens_s_ctrl() local
39 vlens->focus_absolute = ctrl->val; in vimc_lens_s_ctrl()
53 struct vimc_lens_device *vlens; in vimc_lens_add() local
57 vlens = kzalloc(sizeof(*vlens), GFP_KERNEL); in vimc_lens_add()
58 if (!vlens) in vimc_lens_add()
61 v4l2_ctrl_handler_init(&vlens->hdl, 1); in vimc_lens_add()
63 v4l2_ctrl_new_std(&vlens->hdl, &vimc_lens_ctrl_ops, in vimc_lens_add()
66 vlens->sd.ctrl_handler = &vlens->hdl; in vimc_lens_add()
67 if (vlens->hdl.error) { in vimc_lens_add()
68 ret = vlens->hdl.error; in vimc_lens_add()
[all …]