Lines Matching defs:self
158 pcppi_isa_attach(device_t parent, device_t self, void *aux)
160 struct pcppi_softc *sc = device_private(self);
164 sc->sc_dv = self;
177 pcppi_childdet(device_t self, device_t child)
184 pcppi_detach(device_t self, int flags)
187 struct pcppi_softc *sc = device_private(self);
196 pmf_device_deregister(self);
218 device_t self = sc->sc_dv;
233 if (!pmf_device_register(self, NULL, NULL))
234 aprint_error_dev(self, "couldn't establish power handler\n");
236 pcppi_rescan(self, NULL, NULL);
240 pcppi_rescan(device_t self, const char *ifattr, const int *locators)
242 struct pcppi_softc *sc = device_private(self);
276 pcppi_attach_speaker(device_t self)
278 struct pcppi_softc *sc = device_private(self);
281 aprint_error_dev(self, "could not find any available timer\n");
284 device_xname(self));
290 pcppi_bell(pcppi_tag_t self, int pitch, int period, int slp)
294 pcppi_bell_locked(self, pitch, period, slp);
299 pcppi_bell_locked(pcppi_tag_t self, int pitch, int period, int slp)
301 struct pcppi_softc *sc = self;