Lines Matching refs:cd
792 struct uvc_camera_terminal_descriptor *cd; in uvc_alloc_inst() local
804 cd = &opts->uvc_camera_terminal; in uvc_alloc_inst()
805 cd->bLength = UVC_DT_CAMERA_TERMINAL_SIZE(3); in uvc_alloc_inst()
806 cd->bDescriptorType = USB_DT_CS_INTERFACE; in uvc_alloc_inst()
807 cd->bDescriptorSubType = UVC_VC_INPUT_TERMINAL; in uvc_alloc_inst()
808 cd->bTerminalID = 1; in uvc_alloc_inst()
809 cd->wTerminalType = cpu_to_le16(0x0201); in uvc_alloc_inst()
810 cd->bAssocTerminal = 0; in uvc_alloc_inst()
811 cd->iTerminal = 0; in uvc_alloc_inst()
812 cd->wObjectiveFocalLengthMin = cpu_to_le16(0); in uvc_alloc_inst()
813 cd->wObjectiveFocalLengthMax = cpu_to_le16(0); in uvc_alloc_inst()
814 cd->wOcularFocalLength = cpu_to_le16(0); in uvc_alloc_inst()
815 cd->bControlSize = 3; in uvc_alloc_inst()
816 cd->bmControls[0] = 2; in uvc_alloc_inst()
817 cd->bmControls[1] = 0; in uvc_alloc_inst()
818 cd->bmControls[2] = 0; in uvc_alloc_inst()
853 ctl_cls[1] = (struct uvc_descriptor_header *)cd; in uvc_alloc_inst()
863 ctl_cls[1] = (struct uvc_descriptor_header *)cd; in uvc_alloc_inst()