Lines Matching refs:emul
122 debug("%s: bus %d, looking for emul=%p: ", __func__, bus->seq, dev);
125 if (state->spi[bus->seq][i].emul == dev)
561 struct udevice *emul;
569 strcat(name, "-emul");
578 ret = device_bind(bus, drv, str, NULL, of_offset, &emul);
581 printf("Cannot create emul device for spec '%s' (err=%d)\n",
585 state->spi[busnum][cs].emul = emul;
594 dev = state->spi[busnum][cs].emul;
597 state->spi[busnum][cs].emul = NULL;
636 if (!info->emul) {
648 *emulp = info->emul;