Lines Matching refs:ctrl
151 static int adp1653_get_ctrl(struct v4l2_ctrl *ctrl) in adp1653_get_ctrl() argument
154 container_of(ctrl->handler, struct adp1653_flash, ctrls); in adp1653_get_ctrl()
161 ctrl->cur.val = 0; in adp1653_get_ctrl()
164 ctrl->cur.val |= V4L2_FLASH_FAULT_SHORT_CIRCUIT; in adp1653_get_ctrl()
166 ctrl->cur.val |= V4L2_FLASH_FAULT_OVER_TEMPERATURE; in adp1653_get_ctrl()
168 ctrl->cur.val |= V4L2_FLASH_FAULT_TIMEOUT; in adp1653_get_ctrl()
170 ctrl->cur.val |= V4L2_FLASH_FAULT_OVER_VOLTAGE; in adp1653_get_ctrl()
177 static int adp1653_set_ctrl(struct v4l2_ctrl *ctrl) in adp1653_set_ctrl() argument
180 container_of(ctrl->handler, struct adp1653_flash, ctrls); in adp1653_set_ctrl()
189 (ctrl->id == V4L2_CID_FLASH_STROBE || in adp1653_set_ctrl()
190 ctrl->id == V4L2_CID_FLASH_TORCH_INTENSITY || in adp1653_set_ctrl()
191 ctrl->id == V4L2_CID_FLASH_LED_MODE)) in adp1653_set_ctrl()
194 switch (ctrl->id) { in adp1653_set_ctrl()