Searched refs:sk_devs (Results 1 – 2 of 2) sorted by relevance
142 static const struct sk_type sk_devs[] = { variable1147 const struct sk_type *t = sk_devs; in skc_probe()1706 sc->sk_devs[SK_PORT_A] = device_add_child(dev, "sk", -1); in skc_attach()1707 if (sc->sk_devs[SK_PORT_A] == NULL) { in skc_attach()1720 device_set_ivars(sc->sk_devs[SK_PORT_A], port); in skc_attach()1723 sc->sk_devs[SK_PORT_B] = device_add_child(dev, "sk", -1); in skc_attach()1724 if (sc->sk_devs[SK_PORT_B] == NULL) { in skc_attach()1737 device_set_ivars(sc->sk_devs[SK_PORT_B], port); in skc_attach()1822 if (sc->sk_devs[SK_PORT_A] != NULL) { in skc_detach()1823 free(device_get_ivars(sc->sk_devs[SK_PORT_A]), M_DEVBUF); in skc_detach()[all …]
1459 device_t sk_devs[2]; member