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;
393 const struct uniphier_aio_spec *spec;
395 spec = find_spec(aio, dai->name, i);
396 if (!spec)
399 sub->swm = &spec->swm;
400 sub->spec = spec;
473 if (!sub->spec || !sub->substream)