Home
last modified time | relevance | path

Searched refs:sc_device (Results 1 – 14 of 14) sorted by relevance

/openbsd/sys/dev/acpi/
H A Dpchgpio.c84 const struct pchgpio_device *sc_device; member
521 KASSERT(sc->sc_device); in pchgpio_attach()
527 bar = sc->sc_device->groups[i].bar; in pchgpio_attach()
533 sc->sc_npins = sc->sc_device->npins; in pchgpio_attach()
591 sc->sc_device->groups[i].base; in pchgpio_find_group()
595 return &sc->sc_device->groups[i]; in pchgpio_find_group()
678 sc->sc_device->gpi_ie + bank * 4); in pchgpio_intr_establish()
704 sc->sc_device->gpi_ie + bank * 4); in pchgpio_intr_enable()
730 sc->sc_device->gpi_ie + bank * 4); in pchgpio_intr_disable()
743 bar = sc->sc_device->groups[group].bar; in pchgpio_intr_handle()
[all …]
/openbsd/sys/dev/pci/
H A Dtrm_pci.c119 unit = sc->sc_device.dv_unit; in trm_pci_attach()
129 printf("%s: unable to map registers\n", sc->sc_device.dv_xname); in trm_pci_attach()
141 printf("%s: trm_init failed", sc->sc_device.dv_xname); in trm_pci_attach()
149 printf("%s: couldn't map interrupt\n", sc->sc_device.dv_xname); in trm_pci_attach()
155 sc->sc_device.dv_xname) == NULL) { in trm_pci_attach()
156 printf("\n%s: couldn't establish interrupt", sc->sc_device.dv_xname); in trm_pci_attach()
174 config_found(&sc->sc_device, &saa, scsiprint); in trm_pci_attach()
/openbsd/sys/dev/hid/
H A Dhidmt.c120 mt->sc_device = self; in hidmt_setup()
132 if (mt->hidev_get_report(mt->sc_device, in hidmt_setup()
269 a.accesscookie = mt->sc_device; in hidmt_attach()
270 mt->sc_wsmousedev = config_found(mt->sc_device, &a, wsmousedevprint); in hidmt_attach()
291 return mt->hidev_set_report(mt->sc_device, in hidmt_set_input_mode()
306 mt->sc_device->dv_xname, __func__, len, in hidmt_input()
349 mt->sc_device->dv_xname, __func__)); in hidmt_input()
446 mt->sc_device->dv_xname, __func__, in hidmt_input()
511 mt->sc_device->dv_xname, wsmode); in hidmt_ioctl()
515 DPRINTF(("%s: changing mode to %s\n", mt->sc_device->dv_xname, in hidmt_ioctl()
H A Dhidkbd.c270 kbd->sc_device = self; in hidkbd_attach()
301 a.accesscookie = kbd->sc_device; in hidkbd_attach_wskbd()
302 kbd->sc_wskbddev = config_found(kbd->sc_device, &a, wskbddevprint); in hidkbd_attach_wskbd()
310 DPRINTF(("hidkbd_detach: sc=%p flags=%d\n", kbd->sc_device, flags)); in hidkbd_detach()
321 kbd->sc_device->dv_xname); in hidkbd_detach()
483 p->unit = kbd->sc_device->dv_unit; in hidkbd_decode()
H A Dhidmtvar.h41 struct device *sc_device; member
H A Dhidmsvar.h46 struct device *sc_device; member
H A Dhidkbdsc.h76 struct device *sc_device; member
H A Dhidms.c255 ms->sc_device = self; in hidms_setup()
513 a.accesscookie = ms->sc_device; in hidms_attach()
514 ms->sc_wsmousedev = config_found(ms->sc_device, &a, wsmousedevprint); in hidms_attach()
/openbsd/sys/dev/cardbus/
H A Dcardbus.c113 sc->sc_device = 0; in cardbusattach()
118 printf(": bus %d device %d", sc->sc_bus, sc->sc_device); in cardbusattach()
400 tag = pci_make_tag(pc, sc->sc_bus, sc->sc_device, function); in cardbus_attach_card()
430 tag = pci_make_tag(pc, sc->sc_bus, sc->sc_device, in cardbus_attach_card()
491 ct->ct_dev = sc->sc_device; in cardbus_attach_card()
508 ca.ca_device = sc->sc_device; in cardbus_attach_card()
710 tag = pci_make_tag(pc, sc->sc_bus, sc->sc_device, func); in cardbus_function_enable()
H A Dcardbus_map.c84 sc->sc_device, func); in cardbus_mapreg_map()
159 cardbustag = pci_make_tag(pc, sc->sc_bus, sc->sc_device, func); in cardbus_mapreg_unmap()
H A Dcardbusvar.h118 int sc_device; /* cardbus device number */ member
/openbsd/sys/dev/ic/
H A Dtrm.c657 sc->sc_device.dv_xname, sc, pDCB, pSRB); in trm_StartSRB()
1469 sc->sc_device.dv_xname, in trm_MsgInPhase0()
1490 sc->sc_device.dv_xname); in trm_MsgInPhase0()
1830 sc->sc_device.dv_xname, target, lun); in trm_Reselect()
1840 sc->sc_device.dv_xname, target, lun); in trm_Reselect()
1902 sc->sc_device.dv_xname, sc, pSRB); in trm_FinishSRB()
2318 sc->sc_device.dv_xname); in trm_linkSRB()
2834 sc->sc_device.dv_xname, error); in trm_init()
2844 sc->sc_device.dv_xname, error); in trm_init()
2853 sc->sc_device.dv_xname, error); in trm_init()
[all …]
H A Dtrm.h181 struct device sc_device; member
/openbsd/sys/dev/usb/
H A Duwacom.c131 ms->sc_device = self; in uwacom_attach()