Lines Matching refs:sci
476 struct send_context_info *sci = in init_send_contexts() local
478 sci->type = i; in init_send_contexts()
479 sci->base = base; in init_send_contexts()
480 sci->credits = scs->size; in init_send_contexts()
498 struct send_context_info *sci; in sc_hw_alloc() local
502 for (index = 0, sci = &dd->send_contexts[0]; in sc_hw_alloc()
503 index < dd->num_send_contexts; index++, sci++) { in sc_hw_alloc()
504 if (sci->type == type && sci->allocated == 0) { in sc_hw_alloc()
505 sci->allocated = 1; in sc_hw_alloc()
525 struct send_context_info *sci; in sc_hw_free() local
527 sci = &dd->send_contexts[sw_index]; in sc_hw_free()
528 if (!sci->allocated) { in sc_hw_free()
532 sci->allocated = 0; in sc_hw_free()
699 struct send_context_info *sci; in sc_alloc() local
736 sci = &dd->send_contexts[sw_index]; in sc_alloc()
737 sci->sc = sc; in sc_alloc()
756 sc->credits = sci->credits; in sc_alloc()
766 reg = ((sci->credits & SC(CTRL_CTXT_DEPTH_MASK)) in sc_alloc()
768 | ((sci->base & SC(CTRL_CTXT_BASE_MASK)) in sc_alloc()
854 sc->sr_size = sci->credits + 1; in sc_alloc()
2165 struct send_context_info *sci) in seqfile_dump_sci() argument
2167 struct send_context *sc = sci->sc; in seqfile_dump_sci()
2171 i, sci->type, sci->base, sci->credits); in seqfile_dump_sci()