Lines Matching defs:ctx
665 static inline dma_addr_t ar_buffer_bus(struct ar_context *ctx, unsigned int i) in ar_buffer_bus()
670 static void ar_context_link_page(struct ar_context *ctx, unsigned int index) in ar_context_link_page()
688 static void ar_context_release(struct ar_context *ctx) in ar_context_release()
703 static void ar_context_abort(struct ar_context *ctx, const char *error_msg) in ar_context_abort()
721 static inline unsigned int ar_first_buffer_index(struct ar_context *ctx) in ar_first_buffer_index()
730 static unsigned int ar_search_last_active_buffer(struct ar_context *ctx, in ar_search_last_active_buffer()
787 static void ar_sync_buffers_for_cpu(struct ar_context *ctx, in ar_sync_buffers_for_cpu()
813 static __le32 *handle_ar_packet(struct ar_context *ctx, __le32 *buffer) in handle_ar_packet()
911 static void *handle_ar_packets(struct ar_context *ctx, void *p, void *end) in handle_ar_packets()
925 static void ar_recycle_buffers(struct ar_context *ctx, unsigned int end_buffer) in ar_recycle_buffers()
941 struct ar_context *ctx = (struct ar_context *)data; in ar_context_tasklet() local
985 static int ar_context_init(struct ar_context *ctx, struct fw_ohci *ohci, in ar_context_init()
1041 static void ar_context_run(struct ar_context *ctx) in ar_context_run()
1069 struct context *ctx = (struct context *) data; in context_tasklet() local
1114 static int context_add_buffer(struct context *ctx) in context_add_buffer()
1143 static int context_init(struct context *ctx, struct fw_ohci *ohci, in context_init()
1176 static void context_release(struct context *ctx) in context_release()
1188 static struct descriptor *context_get_descriptors(struct context *ctx, in context_get_descriptors()
1219 static void context_run(struct context *ctx, u32 extra) in context_run()
1231 static void context_append(struct context *ctx, in context_append()
1267 static void context_stop(struct context *ctx) in context_stop()
1297 static int at_context_queue_packet(struct context *ctx, in at_context_queue_packet()
1427 static void at_context_flush(struct context *ctx) in at_context_flush()
1600 static void handle_local_request(struct context *ctx, struct fw_packet *packet) in handle_local_request()
1639 static void at_context_transmit(struct context *ctx, struct fw_packet *packet) in at_context_transmit()
2556 struct context *ctx = &ohci->at_request_ctx; in ohci_cancel_packet() local
2734 static void flush_iso_completions(struct iso_context *ctx) in flush_iso_completions()
2742 static void copy_iso_headers(struct iso_context *ctx, const u32 *dma_hdr) in copy_iso_headers()
2773 struct iso_context *ctx = in handle_ir_packet_per_buffer() local
2808 struct iso_context *ctx = in handle_ir_buffer_fill() local
2842 static void flush_ir_buffer_fill(struct iso_context *ctx) in flush_ir_buffer_fill()
2896 struct iso_context *ctx = in handle_it_packet() local
3042 struct iso_context *ctx = container_of(base, struct iso_context, base); in ohci_start_iso() local
3092 struct iso_context *ctx = container_of(base, struct iso_context, base); in ohci_stop_iso() local
3117 struct iso_context *ctx = container_of(base, struct iso_context, base); in ohci_free_iso_context() local
3185 struct iso_context *ctx; in ohci_resume_iso_dma() local
3201 static int queue_iso_transmit(struct iso_context *ctx, in queue_iso_transmit()
3305 static int queue_iso_packet_per_buffer(struct iso_context *ctx, in queue_iso_packet_per_buffer()
3386 static int queue_iso_buffer_fill(struct iso_context *ctx, in queue_iso_buffer_fill()
3447 struct iso_context *ctx = container_of(base, struct iso_context, base); in ohci_queue_iso() local
3470 struct context *ctx = in ohci_flush_queue_iso() local
3478 struct iso_context *ctx = container_of(base, struct iso_context, base); in ohci_flush_iso_completions() local