Lines Matching refs:num_formats
71 endp->num_formats = 0; in nhlt_add_endpoint()
117 if (endp->num_formats >= MAX_FORMATS) in nhlt_add_format()
120 fmt = &endp->formats[endp->num_formats]; in nhlt_add_format()
138 endp->num_formats++; in nhlt_add_format()
151 size_t num_formats) in nhlt_endpoint_add_formats() argument
158 for (i = 0; i < num_formats; i++) { in nhlt_endpoint_add_formats()
236 sz += sizeof(endp->num_formats); in calc_endpoint_size()
238 for (i = 0; i < endp->num_formats; i++) in calc_endpoint_size()
277 for (j = 0; j < endp->num_formats; j++) { in nhlt_free_resources()
366 ser8(cur, endp->num_formats); in serialise_endpoint()
368 for (i = 0; i < endp->num_formats; i++) in serialise_endpoint()
447 ret = nhlt_endpoint_add_formats(endp, epd->formats, epd->num_formats); in _nhlt_add_single_endpoint()