Lines Matching refs:cd
762 struct uvc_camera_terminal_descriptor *cd; in uvc_alloc_inst() local
774 cd = &opts->uvc_camera_terminal; in uvc_alloc_inst()
775 cd->bLength = UVC_DT_CAMERA_TERMINAL_SIZE(3); in uvc_alloc_inst()
776 cd->bDescriptorType = USB_DT_CS_INTERFACE; in uvc_alloc_inst()
777 cd->bDescriptorSubType = UVC_VC_INPUT_TERMINAL; in uvc_alloc_inst()
778 cd->bTerminalID = 1; in uvc_alloc_inst()
779 cd->wTerminalType = cpu_to_le16(0x0201); in uvc_alloc_inst()
780 cd->bAssocTerminal = 0; in uvc_alloc_inst()
781 cd->iTerminal = 0; in uvc_alloc_inst()
782 cd->wObjectiveFocalLengthMin = cpu_to_le16(0); in uvc_alloc_inst()
783 cd->wObjectiveFocalLengthMax = cpu_to_le16(0); in uvc_alloc_inst()
784 cd->wOcularFocalLength = cpu_to_le16(0); in uvc_alloc_inst()
785 cd->bControlSize = 3; in uvc_alloc_inst()
786 cd->bmControls[0] = 2; in uvc_alloc_inst()
787 cd->bmControls[1] = 0; in uvc_alloc_inst()
788 cd->bmControls[2] = 0; in uvc_alloc_inst()
823 ctl_cls[1] = (struct uvc_descriptor_header *)cd; in uvc_alloc_inst()
833 ctl_cls[1] = (struct uvc_descriptor_header *)cd; in uvc_alloc_inst()