Lines Matching refs:evt_array
759 mm_camera_evt_obj_t *evt_array = &my_obj->evt[evt_type]; in mm_camera_reg_event() local
763 if(evt_array->evt[i].user_data == NULL) { in mm_camera_reg_event()
764 evt_array->evt[i].evt_cb = evt_cb; in mm_camera_reg_event()
765 evt_array->evt[i].user_data = user_data; in mm_camera_reg_event()
766 evt_array->reg_count++; in mm_camera_reg_event()
774 if(evt_array->evt[i].user_data == user_data) { in mm_camera_reg_event()
775 evt_array->evt[i].evt_cb = NULL; in mm_camera_reg_event()
776 evt_array->evt[i].user_data = NULL; in mm_camera_reg_event()
777 evt_array->reg_count--; in mm_camera_reg_event()
783 if(rc == MM_CAMERA_OK && evt_array->reg_count <= 1) { in mm_camera_reg_event()
785 rc = mm_camera_evt_sub(my_obj, evt_type, evt_array->reg_count); in mm_camera_reg_event()