Lines Matching refs:context
58 struct fw_iso_context *context; member
165 static void isight_packet(struct fw_iso_context *context, u32 cycle, in isight_packet() argument
196 err = fw_iso_context_queue(isight->context, &audio_packet, in isight_packet()
205 fw_iso_context_queue_flush(isight->context); in isight_packet()
311 if (!isight->context) in isight_stop_streaming()
314 fw_iso_context_stop(isight->context); in isight_stop_streaming()
315 fw_iso_context_destroy(isight->context); in isight_stop_streaming()
316 isight->context = NULL; in isight_stop_streaming()
342 if (isight->context) { in isight_start_streaming()
361 isight->context = fw_iso_context_create(isight->device->card, in isight_start_streaming()
366 if (IS_ERR(isight->context)) { in isight_start_streaming()
367 err = PTR_ERR(isight->context); in isight_start_streaming()
368 isight->context = NULL; in isight_start_streaming()
373 err = fw_iso_context_queue(isight->context, &audio_packet, in isight_start_streaming()
383 err = fw_iso_context_start(isight->context, -1, 0, in isight_start_streaming()
391 fw_iso_context_destroy(isight->context); in isight_start_streaming()
392 isight->context = NULL; in isight_start_streaming()