Lines Matching refs:bm_controls
346 u8 *bm_controls, *tmp; in uvcg_default_processing_bm_controls_store() local
372 tmp = bm_controls = kcalloc(n, sizeof(u8), GFP_KERNEL); in uvcg_default_processing_bm_controls_store()
373 if (!bm_controls) { in uvcg_default_processing_bm_controls_store()
384 pd->bmControls[i] = bm_controls[i]; in uvcg_default_processing_bm_controls_store()
389 kfree(bm_controls); in uvcg_default_processing_bm_controls_store()
425 UVC_ATTR(uvcg_default_processing_, bm_controls, bmControls);
515 u8 *bm_controls, *tmp; in uvcg_default_camera_bm_controls_store() local
542 tmp = bm_controls = kcalloc(n, sizeof(u8), GFP_KERNEL); in uvcg_default_camera_bm_controls_store()
543 if (!bm_controls) { in uvcg_default_camera_bm_controls_store()
554 cd->bmControls[i] = bm_controls[i]; in uvcg_default_camera_bm_controls_store()
559 kfree(bm_controls); in uvcg_default_camera_bm_controls_store()
595 UVC_ATTR(uvcg_default_camera_, bm_controls, bmControls);
1121 u8 *bm_controls, *iter; in uvcg_extension_bm_controls_store() local
1136 iter = bm_controls = kcalloc(n, sizeof(u8), GFP_KERNEL); in uvcg_extension_bm_controls_store()
1137 if (!bm_controls) { in uvcg_extension_bm_controls_store()
1145 kfree(bm_controls); in uvcg_extension_bm_controls_store()
1150 xu->desc.bmControls = bm_controls; in uvcg_extension_bm_controls_store()
1163 UVC_ATTR(uvcg_extension_, bm_controls, bmControls);