Lines Matching refs:ports
209 if (rt->ports) {
215 rt->ports = kcalloc(num_ports, sizeof(*port), GFP_KERNEL);
216 if (!rt->ports)
248 port = &rt->ports[i];
351 * This API will enable all the ports and channels associated with
370 stream->ports[i].ch.state = SLIM_CH_STATE_ACTIVE;
381 struct slim_port *port = &stream->ports[i];
388 struct slim_port *port = &stream->ports[i];
404 * This API will disable all the ports and channels associated with
417 if (!stream->ports || !stream->num_ports)
428 slim_deactivate_remove_channel(stream, &stream->ports[i]);
441 * This API will un allocate all the ports and channels associated with
451 if (!stream->ports || !stream->num_ports)
455 slim_disconnect_port(stream, &stream->ports[i]);
457 kfree(stream->ports);
458 stream->ports = NULL;