Lines Matching refs:num_sinks
111 if (route->sink_pad == xbar->num_sinks - 1 && in __mxc_isi_crossbar_set_routing()
112 route->source_pad != xbar->num_sinks) { in __mxc_isi_crossbar_set_routing()
116 route->source_pad - xbar->num_sinks); in __mxc_isi_crossbar_set_routing()
158 source_pad - xbar->num_sinks); in mxc_isi_crossbar_xlate_streams()
199 route->source_pad = i + xbar->num_sinks; in mxc_isi_crossbar_init_cfg()
220 if (code->pad >= xbar->num_sinks) { in mxc_isi_crossbar_enum_mbus_code()
266 if (fmt->pad >= xbar->num_sinks) in mxc_isi_crossbar_set_fmt()
451 xbar->num_sinks = isi->pdata->num_ports + 1; in mxc_isi_crossbar_init()
453 num_pads = xbar->num_sinks + xbar->num_sources; in mxc_isi_crossbar_init()
459 xbar->inputs = kcalloc(xbar->num_sinks, sizeof(*xbar->inputs), in mxc_isi_crossbar_init()
466 for (i = 0; i < xbar->num_sinks; ++i) in mxc_isi_crossbar_init()
470 xbar->pads[i + xbar->num_sinks].flags = MEDIA_PAD_FL_SOURCE; in mxc_isi_crossbar_init()