Lines Matching defs:dev
651 echo_dev * card, *dev;
667 LIST_FOREACH(dev, &devices, next) {
668 if (dev->index == card->index) {
670 dev = LIST_FIRST(&devices);
919 echo_dev *dev;
921 LIST_FOREACH(dev, &devices, next) {
922 echo_shutdown(dev);
947 echo_dev *dev;
953 LIST_FOREACH(dev, &devices, next) {
954 if (dev->plugged == true) {
955 names[ix] = dev->name;
977 echo_dev *dev;
978 LIST_FOREACH(dev, &devices, next) {
979 if (!strcmp(dev->name, name)) {