Lines Matching defs:context

90  * mPIPE context's set of open links; all VLANs; and all dMACs.
315 /* A context object used to manage mPIPE hardware resources. */
338 /* Initialize an mPIPE context.
343 * @param context Context object to be initialized.
345 * context.
347 extern int gxio_mpipe_init(gxio_mpipe_context_t *context,
350 /* Destroy an mPIPE context.
356 * will destroy the mPIPE context as part of process teardown.
358 * @param context Context object to be destroyed.
360 extern int gxio_mpipe_destroy(gxio_mpipe_context_t *context);
370 * @param context An initialized mPIPE context.
378 extern int gxio_mpipe_alloc_buffer_stacks(gxio_mpipe_context_t *context,
427 * @param context An initialized mPIPE context.
439 extern int gxio_mpipe_init_buffer_stack(gxio_mpipe_context_t *context,
453 * @param context An initialized mPIPE context.
457 static inline void gxio_mpipe_push_buffer(gxio_mpipe_context_t *context,
478 __gxio_mmio_write(context->mmio_fast_base + offset.word, val.word);
483 * @param context An initialized mPIPE context.
487 static inline void *gxio_mpipe_pop_buffer(gxio_mpipe_context_t *context,
509 __gxio_mmio_read(context->mmio_fast_base +
533 * @param context An initialized mPIPE context.
541 extern int gxio_mpipe_alloc_notif_rings(gxio_mpipe_context_t *context,
547 * @param context An initialized mPIPE context.
558 extern int gxio_mpipe_init_notif_ring(gxio_mpipe_context_t *context,
567 * @param context An initialized mPIPE context.
577 *context, int x, int y,
583 * @param context An initialized mPIPE context.
588 *context, unsigned int ring);
591 * @param context An initialized mPIPE context.
597 extern int gxio_mpipe_register_client_memory(gxio_mpipe_context_t *context,
609 * @param context An initialized mPIPE context.
617 extern int gxio_mpipe_alloc_notif_groups(gxio_mpipe_context_t *context,
638 extern int gxio_mpipe_init_notif_group(gxio_mpipe_context_t *context,
658 * @param context An initialized mPIPE context.
666 extern int gxio_mpipe_alloc_buckets(gxio_mpipe_context_t *context,
726 * @param context An initialized mPIPE context.
731 extern int gxio_mpipe_init_bucket(gxio_mpipe_context_t *context,
747 * @param context An initialized mPIPE context.
760 *context,
771 * @param context An initialized mPIPE context.
776 static inline void gxio_mpipe_credit(gxio_mpipe_context_t *context,
797 __gxio_mmio_write(context->mmio_fast_base + offset.word, val.word);
808 * @param context An initialized mPIPE context.
816 extern int gxio_mpipe_alloc_edma_rings(gxio_mpipe_context_t *context,
822 * @param context An initialized mPIPE context.
825 * associated with the context's set of open links.
835 extern int gxio_mpipe_init_edma_ring(gxio_mpipe_context_t *context,
850 * @param context An initialized mPIPE context.
861 extern int gxio_mpipe_config_edma_ring_blks(gxio_mpipe_context_t *context,
937 /* A set of classifier rules, plus a context. */
940 /* The context. */
941 gxio_mpipe_context_t *context;
954 * @param context An initialized mPIPE context.
957 gxio_mpipe_context_t *context);
994 * Channels added must be associated with links opened by the mPIPE context
1118 /* The context. */
1119 gxio_mpipe_context_t *context;
1151 gxio_mpipe_context_t *context,
1185 * This function is shorthand for "gxio_mpipe_credit(iqueue->context,
1201 gxio_mpipe_credit(iqueue->context, iqueue->ring, idesc->bucket_id, 1);
1217 * "gxio_mpipe_credit(iqueue->context, iqueue->ring, bucket, N)".
1221 * "gxio_mpipe_credit(iqueue->context, iqueue->ring, -1, 1)", to
1305 gxio_mpipe_push_buffer(iqueue->context, idesc->stack_idx, va);
1328 /* The context. */
1329 gxio_mpipe_context_t *context;
1345 * @param context An initialized mPIPE context.
1348 * associated with the context's set of open links.
1359 gxio_mpipe_context_t *context,
1585 return gxio_mpipe_config_edma_ring_blks(equeue->context, equeue->ering,
1719 /* The overall mPIPE context. */
1720 gxio_mpipe_context_t *context;
1738 * context, to configure the link.
1777 * @param context An initialized mPIPE context.
1784 gxio_mpipe_context_t *context,
1827 * @param context An initialized mPIPE context.
1832 extern int gxio_mpipe_get_timestamp(gxio_mpipe_context_t *context,
1837 * @param context An initialized mPIPE context.
1842 extern int gxio_mpipe_set_timestamp(gxio_mpipe_context_t *context,
1847 * @param context An initialized mPIPE context.
1854 extern int gxio_mpipe_adjust_timestamp(gxio_mpipe_context_t *context,
1859 * @param context An initialized mPIPE context.
1868 extern int gxio_mpipe_adjust_timestamp_freq(gxio_mpipe_context_t* context,