Lines Matching defs:spec
64 static bool match_spec(const struct uniphier_aio_spec *spec,
68 spec->swm.dir != PORT_DIR_OUTPUT) {
73 spec->swm.dir != PORT_DIR_INPUT) {
77 if (spec->name && strcmp(spec->name, name) == 0)
80 if (spec->gname && strcmp(spec->gname, name) == 0)
109 const struct uniphier_aio_spec *spec = &chip_spec->specs[i];
111 if (match_spec(spec, name, direction))
112 return spec;
365 const struct uniphier_aio_spec *spec;
367 spec = find_spec(aio, dai->name, i);
368 if (!spec)
371 sub->swm = &spec->swm;
372 sub->spec = spec;
575 if (!sub->spec || !sub->substream)