• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/dev/etherswitch/

Lines Matching defs:target

68  * match up, so that the proxy endpoint can be associated with a target
69 * endpoint. The proxy has to know the device name of the target that it
95 struct rendezvous_endpoint target;
99 * Call the callback routines for both the proxy and the target. If either
109 error = e->target.callback(RENDEZVOUS_ATTACH, e);
121 * indicates the name of the device that is the target endpoint for this
122 * rendezvous. The callback will be invoked as soon as the target is
123 * registered: either immediately if the target registered itself earlier,
124 * or once the target registers. Returns ENXIO if the target has not yet
135 if (strcmp(name, e->target.name) == 0) {
136 /* the target is already attached */
147 e->target.name = name;
153 * Create an entry in the rendezvous list for the target.
165 if (strcmp(name, e->target.name) == 0) {
166 e->target.device = dev;
167 e->target.callback = callback;
168 return (rendezvous_attach(e, &e->target));
172 e->target.name = name;
173 e->target.device = dev;
174 e->target.callback = callback;
190 if (e->target.device == NULL) {
196 e->target.callback(RENDEZVOUS_DETACH, e);
207 * Remove the registration for the target.
216 if (e->target.device == dev) {
223 e->target.callback(RENDEZVOUS_DETACH, e);
225 e->target.device = NULL;
226 e->target.callback = NULL;
245 sc->mdio = device_get_parent(rendezvous->target.device);
268 * the relevant parameters for rendezvous with the MDIO target.
324 * Functions for the MDIO target device driver.
368 * Attach this proxy in place of miibus. The target MDIO must be attached
400 device_printf(miiproxy, "attached to target %s\n", device_get_nameunit(sc->mdio));