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()
317 if (!isight->context) in isight_stop_streaming()
320 fw_iso_context_stop(isight->context); in isight_stop_streaming()
321 fw_iso_context_destroy(isight->context); in isight_stop_streaming()
322 isight->context = NULL; in isight_stop_streaming()
348 if (isight->context) { in isight_start_streaming()
367 isight->context = fw_iso_context_create(isight->device->card, in isight_start_streaming()
372 if (IS_ERR(isight->context)) { in isight_start_streaming()
373 err = PTR_ERR(isight->context); in isight_start_streaming()
374 isight->context = NULL; in isight_start_streaming()
379 err = fw_iso_context_queue(isight->context, &audio_packet, in isight_start_streaming()
389 err = fw_iso_context_start(isight->context, -1, 0, in isight_start_streaming()
397 fw_iso_context_destroy(isight->context); in isight_start_streaming()
398 isight->context = NULL; in isight_start_streaming()