Lines Matching refs:sci
434 struct send_context_info *sci = in init_send_contexts() local
436 sci->type = i; in init_send_contexts()
437 sci->base = base; in init_send_contexts()
438 sci->credits = scs->size; in init_send_contexts()
456 struct send_context_info *sci; in sc_hw_alloc() local
460 for (index = 0, sci = &dd->send_contexts[0]; in sc_hw_alloc()
461 index < dd->num_send_contexts; index++, sci++) { in sc_hw_alloc()
462 if (sci->type == type && sci->allocated == 0) { in sc_hw_alloc()
463 sci->allocated = 1; in sc_hw_alloc()
483 struct send_context_info *sci; in sc_hw_free() local
485 sci = &dd->send_contexts[sw_index]; in sc_hw_free()
486 if (!sci->allocated) { in sc_hw_free()
490 sci->allocated = 0; in sc_hw_free()
657 struct send_context_info *sci; in sc_alloc() local
694 sci = &dd->send_contexts[sw_index]; in sc_alloc()
695 sci->sc = sc; in sc_alloc()
714 sc->credits = sci->credits; in sc_alloc()
724 reg = ((sci->credits & SC(CTRL_CTXT_DEPTH_MASK)) in sc_alloc()
726 | ((sci->base & SC(CTRL_CTXT_BASE_MASK)) in sc_alloc()
812 sc->sr_size = sci->credits + 1; in sc_alloc()
2123 struct send_context_info *sci) in seqfile_dump_sci() argument
2125 struct send_context *sc = sci->sc; in seqfile_dump_sci()
2129 i, sci->type, sci->base, sci->credits); in seqfile_dump_sci()