Lines Matching refs:context
58 struct fw_iso_context *context; member
171 static void isight_packet(struct fw_iso_context *context, u32 cycle, in isight_packet() argument
202 err = fw_iso_context_queue(isight->context, &audio_packet, in isight_packet()
211 fw_iso_context_queue_flush(isight->context); in isight_packet()
323 if (!isight->context) in isight_stop_streaming()
326 fw_iso_context_stop(isight->context); in isight_stop_streaming()
327 fw_iso_context_destroy(isight->context); in isight_stop_streaming()
328 isight->context = NULL; in isight_stop_streaming()
354 if (isight->context) { in isight_start_streaming()
373 isight->context = fw_iso_context_create(isight->device->card, in isight_start_streaming()
378 if (IS_ERR(isight->context)) { in isight_start_streaming()
379 err = PTR_ERR(isight->context); in isight_start_streaming()
380 isight->context = NULL; in isight_start_streaming()
385 err = fw_iso_context_queue(isight->context, &audio_packet, in isight_start_streaming()
395 err = fw_iso_context_start(isight->context, -1, 0, in isight_start_streaming()
403 fw_iso_context_destroy(isight->context); in isight_start_streaming()
404 isight->context = NULL; in isight_start_streaming()