Home | History | Annotate | Download | only in isa

Lines Matching refs:self

83 spkr_pcppi_tone(device_t self, u_int xhz, u_int ticks)
86 device_printf(self, "%s: %u %u\n", __func__, xhz, ticks);
88 struct spkr_pcppi_softc *sc = device_private(self);
99 spkr_pcppi_attach(device_t parent, device_t self, void *aux)
102 struct spkr_pcppi_softc *sc = device_private(self);
109 spkr_attach(self, spkr_pcppi_tone);
110 if (!pmf_device_register(self, NULL, NULL))
111 aprint_error_dev(self, "couldn't establish power handler\n");
115 spkr_pcppi_detach(device_t self, int flags)
117 struct spkr_pcppi_softc *sc = device_private(self);
120 if ((error = spkr_detach(self, flags)) != 0)
124 pmf_device_deregister(self);
129 spkr_pcppi_rescan(device_t self, const char *iattr, const int *locators)
132 return spkr_rescan(self, iattr, locators);
136 spkr_pcppi_childdet(device_t self, device_t child)
139 spkr_childdet(self, child);