Lines Matching refs:self
158 i2s_probe(device_t self)
164 name = ofw_bus_get_name(self);
176 subchild = OF_child(OF_child(ofw_bus_get_node(self)));
181 device_set_desc(self, "Apple I2S Audio Controller");
189 i2s_attach(device_t self)
199 sc->aoa.sc_dev = self;
200 sc->node = ofw_bus_get_node(self);
213 sc->reg = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid, RF_ACTIVE);
219 sc->aoa.sc_odma = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid,
226 dbdma_irq = bus_alloc_resource_any(self, SYS_RES_IRQ,
236 snd_setup_intr(self, dbdma_irq, INTR_MPSAFE, aoa_interrupt,
302 device_t self = cookie;
305 sc = device_get_softc(self);
307 if (macgpio_read(self) & GPIO_LEVEL_RO)
740 device_t self;
743 self = sc->aoa.sc_dev;
750 mixer_init(self, i2s_mixer_class, i2s_mixer);