Lines Matching refs:self
75 ipmi_acpi_attach(device_t parent, device_t self, void *opaque)
77 ipmi_acpi_softc_t *sc = device_private(self);
91 sc->sc_dev = self;
111 rv = acpi_resource_parse(self, aa->aa_node->ad_handle, "_CRS",
115 aprint_error_dev(self, "no resources\n");
122 aprint_error_dev(self, "no resources\n");
128 aprint_normal_dev(self, "IRQ %d type %d\n",
131 aprint_error_dev(self, "no interrupt\n");
159 config_found(self, ia, NULL, CFARGS_NONE);
166 aprint_error_dev(self, "no resources\n");
171 aprint_error_dev(self, "i2c address out of range\n");
180 aprint_error_dev(self, "unknown interface type\n");
186 if (!pmf_device_register(self, NULL, NULL))
187 aprint_error_dev(self, "couldn't establish power handler\n");
191 ipmi_acpi_detach(device_t self, int flags)
193 struct ipmi_acpi_softc *sc = device_private(self);
199 rc = config_detach_children(self, flags);
203 pmf_device_deregister(self);