Lines Matching full:devs
2691 struct cras_iodev_info *devs,
2707 memcpy(devs, state->output_devs, avail_devs * sizeof(*devs));
2721 struct cras_iodev_info *devs,
2737 memcpy(devs, state->input_devs, avail_devs * sizeof(*devs));
2791 struct cras_iodev_info *devs = NULL;
2799 devs = (struct cras_iodev_info *)
2800 malloc(CRAS_MAX_IODEVS * sizeof(*devs));
2801 if (!devs)
2811 rc = cras_client_get_output_devices(client, devs, nodes, &ndevs,
2817 if (!strncmp(dev_name, devs[i].name, strlen(dev_name)))
2824 if (nodes[j].iodev_idx == devs[i].idx &&
2831 *dev_info = devs[i];
2836 free(devs);
2847 struct cras_iodev_info *devs = NULL;
2857 devs = (struct cras_iodev_info *)
2858 malloc(CRAS_MAX_IODEVS * sizeof(*devs));
2859 if (!devs) {
2874 rc = cras_client_get_input_devices(client, devs, nodes,
2877 rc = cras_client_get_output_devices(client, devs, nodes,
2893 free(devs);