Lines Matching refs:ctrl_buf
104 pdev->ctrl_buf, recv_count, USB_CTRL_GET_TIMEOUT); in recv_control_msg()
116 memcpy(pdev->ctrl_buf, buf, buflen); in send_video_command()
122 pdev->ctrl_buf, buflen, USB_CTRL_SET_TIMEOUT); in send_video_command()
409 *data = pdev->ctrl_buf[0]; in pwc_get_u8_ctrl()
417 pdev->ctrl_buf[0] = data; in pwc_set_u8_ctrl()
418 ret = send_control_msg(pdev, request, value, pdev->ctrl_buf, 1); in pwc_set_u8_ctrl()
433 *data = ((s8 *)pdev->ctrl_buf)[0]; in pwc_get_s8_ctrl()
445 *data = (pdev->ctrl_buf[1] << 8) | pdev->ctrl_buf[0]; in pwc_get_u16_ctrl()
453 pdev->ctrl_buf[0] = data & 0xff; in pwc_set_u16_ctrl()
454 pdev->ctrl_buf[1] = data >> 8; in pwc_set_u16_ctrl()
455 ret = send_control_msg(pdev, request, value, pdev->ctrl_buf, 2); in pwc_set_u16_ctrl()
485 pdev->ctrl_buf[0] = 0x00; /* active */ in pwc_camera_power()
487 pdev->ctrl_buf[0] = 0xFF; /* power save */ in pwc_camera_power()
489 SET_POWER_SAVE_MODE_FORMATTER, pdev->ctrl_buf, 1); in pwc_camera_power()
512 pdev->ctrl_buf[0] = on_value; in pwc_set_leds()
513 pdev->ctrl_buf[1] = off_value; in pwc_set_leds()
516 SET_STATUS_CTL, LED_FORMATTER, pdev->ctrl_buf, 2); in pwc_set_leds()
539 *sensor = pdev->ctrl_buf[0] | 0x100; in pwc_get_cmos_sensor()
541 *sensor = pdev->ctrl_buf[0]; in pwc_get_cmos_sensor()