Home
last modified time | relevance | path

Searched refs:sc_id (Results 1 – 25 of 76) sorted by relevance

1234

/netbsd/src/sys/dev/hil/
Dhilid.c46 uint8_t sc_id[16]; member
84 memset(sc->sc_id, 0, sizeof(sc->sc_id)); in hilidattach()
85 len = sizeof(sc->sc_id); in hilidattach()
89 HIL_SECURITY, sc->sc_id, &len) == 0) { in hilidattach()
90 for (i = 0; i < sizeof(sc->sc_id); i++) in hilidattach()
91 printf(" %02x", sc->sc_id[i]); in hilidattach()
/netbsd/src/sys/dev/hpc/
Dbutton.c58 long sc_id; member
97 sc->sc_id = loc[HPCIOIFCF_ID]; in button_attach()
100 sc->sc_port, sc->sc_id, sc->sc_active ? "high" : "low"); in button_attach()
134 sc->sc_id == HPCIOIFCF_ID_DEFAULT) in button_attach()
140 sc->sc_ghook_tag = config_hook(CONFIG_HOOK_GET, sc->sc_id, in button_attach()
150 if (type != CONFIG_HOOK_GET || id != sc->sc_id) in button_state()
171 config_hook_call(CONFIG_HOOK_BUTTONEVENT, sc->sc_id, (void*)on); in button_intr()
Dpwctl.c75 long sc_id; member
119 sc->sc_id = loc[HPCIOIFCF_ID]; in pwctl_attach()
125 sc->sc_port, sc->sc_id, sc->sc_on, in pwctl_attach()
130 sc->sc_id == HPCIOIFCF_ID_DEFAULT) { in pwctl_attach()
134 sc->sc_id, CONFIG_HOOK_SHARE, pwctl_hook, sc); in pwctl_attach()
136 sc->sc_id, CONFIG_HOOK_SHARE, pwctl_ghook, sc); in pwctl_attach()
Dhpcin.c60 #define sc_id sc_hma.hma_id macro
100 sc->sc_ct = config_connect(sc->sc_type, sc->sc_id); in hpcin_attach()
114 sc->sc_type, sc->sc_id); in hpcin_intr()
115 config_hook_call(sc->sc_type, sc->sc_id, (void *)on); in hpcin_intr()
Dhpcout.c58 #define sc_id sc_hma.hma_id macro
93 config_hook(sc->sc_type, sc->sc_id, CONFIG_HOOK_SHARE, in hpcout_attach()
/netbsd/src/sys/dev/pcmcia/
Dxirc.c91 u_int16_t sc_id; member
178 rv = pcmcia_scan_cis(parent, xirc_manfid_ciscallback, &sc->sc_id); in xirc_attach()
185 switch (sc->sc_id & 0x100f) { in xirc_attach()
208 sc->sc_id); in xirc_attach()
212 aprint_normal_dev(self, "id=%04x\n", sc->sc_id); in xirc_attach()
214 if (sc->sc_id & (XIMEDIA_MODEM << 8)) { in xirc_attach()
217 if (cfe && sc->sc_id & (XIMEDIA_ETHER << 8)) { in xirc_attach()
236 if (sc->sc_id & (XIMEDIA_MODEM << 8)) { in xirc_attach()
245 if (sc->sc_id & (XIMEDIA_ETHER << 8)) { in xirc_attach()
255 sc->sc_id & (XIMEDIA_MODEM|XIMEDIA_ETHER)); in xirc_attach()
[all …]
/netbsd/src/sys/arch/arm/iomd/
Diomd.c79 int sc_id; /* IOMD id */ member
163 sc->sc_id = bus_space_read_1(iot, ioh, IOMD_ID0) in iomdattach()
168 switch (sc->sc_id) { in iomdattach()
185 aprint_normal("Unknown IOMD ID=%04x ", sc->sc_id); in iomdattach()
238 switch (sc->sc_id) { in iomdattach()
275 switch (sc->sc_id) { in iomdattach()
Diomdkbc.c65 struct iomdkbc_internal *sc_id; member
146 sc->sc_id = t; in iomdkbc_attach()
164 sc->sc_id = t; in iomdkbc_attach()
/netbsd/src/sys/dev/pci/
Dpiixpm.c54 (PCI_VENDOR((sc)->sc_id) == PCI_VENDOR_SERVERWORKS && \
55 PCI_PRODUCT((sc)->sc_id) == PCI_PRODUCT_SERVERWORKS_CSB5)
60 ((PCI_VENDOR((sc)->sc_id) == PCI_VENDOR_ATI) && \
61 ((PCI_PRODUCT((sc)->sc_id) == PCI_PRODUCT_ATI_SB600_SMB) && \
65 ((PCI_VENDOR((sc)->sc_id) == PCI_VENDOR_AMD) && \
66 (PCI_PRODUCT((sc)->sc_id) == PCI_PRODUCT_AMD_HUDSON_SMB))
69 ((PCI_VENDOR((sc)->sc_id) == PCI_VENDOR_AMD) && \
70 (PCI_PRODUCT((sc)->sc_id) == PCI_PRODUCT_AMD_KERNCZ_SMB))
97 pcireg_t sc_id; member
201 sc->sc_id = pa->pa_id; in piixpm_attach()
Dhdaudio_pci.c60 pcireg_t sc_id; member
65 (PCI_VENDOR(sc->sc_id) == PCI_VENDOR_INTEL)
67 (PCI_VENDOR(sc->sc_id) == PCI_VENDOR_NVIDIA)
137 sc->sc_id = pa->pa_id; in hdaudio_pci_attach()
/netbsd/src/sys/net/
Dif_pppoe.c174 uint64_t sc_id; /* id of this softc, our hunique */ member
332 if (sc->sc_id == rndid) in pppoe_softc_genid()
355 pppoe_softc_genid(&sc->sc_id); in pppoe_clone_create()
539 CTASSERT(sizeof(t) == sizeof(sc->sc_id)); in pppoe_find_softc_by_hunique()
547 if (len != sizeof(sc->sc_id)) { in pppoe_find_softc_by_hunique()
555 if (sc->sc_id == t && sc->sc_eth_if != NULL) { in pppoe_find_softc_by_hunique()
1484 len += sizeof(struct pppoetag) + sizeof(sc->sc_id); in pppoe_send_padi()
1512 PPPOE_ADD_16(p, sizeof(sc->sc_id)); in pppoe_send_padi()
1513 memcpy(p, &sc->sc_id, sizeof(sc->sc_id)); in pppoe_send_padi()
1514 p += sizeof(sc->sc_id); in pppoe_send_padi()
[all …]
/netbsd/src/sys/arch/newsmips/apbus/
Dspifi.c87 int sc_id; /* my SCSI ID */ member
169 sc->sc_id = 7; /* XXX */ in spifi_attach()
181 sc->sc_id, device_xname(dma->sc_dev)); in spifi_attach()
203 sc->sc_channel.chan_id = sc->sc_id; in spifi_attach()
470 DPRINTF("msg = 0x%x\n", reg->cmbuf[sc->sc_id].cdb[0]); in spifi_intr()
604 int id = sc->sc_id; in spifi_sendmsg()
660 reg->cmbuf[sc->sc_id].cdb[i] = *cmdp++; in spifi_command()
769 int id = sc->sc_id; in spifi_reset()
/netbsd/src/sys/dev/isa/
Desp_isa.c218 epd->sc_id = (jmp & NCRJMP_J3) ? 7 : 6; in esp_isa_find()
261 sc->sc_id = epd->sc_id; in esp_isa_init()
272 sc->sc_cfg1 = sc->sc_id; in esp_isa_init()
Desp_isavar.h93 int sc_id; member
/netbsd/src/sys/dev/sbus/
Desp_sbus.c168 sc->sc_id = prom_getpropint(sa->sa_node, "initiator-id", 7); in espattach_sbus()
176 __func__, sc->sc_id, sc->sc_freq); in espattach_sbus()
358 sc->sc_id = prom_getpropint(sa->sa_node, "initiator-id", 7); in espattach_dma()
423 sc->sc_cfg1 = sc->sc_id | NCRCFG1_PARENB; in espattach()
/netbsd/src/sys/arch/vax/vsa/
Dasc_vsbus.c246 sc->sc_id = (clk_page[0xbc / 2] >> clk_tweak) & 7; in asc_vsbus_attach()
249 sc->sc_id = 6; /* XXX need to get this from VMB */ in asc_vsbus_attach()
269 sc->sc_cfg1 = sc->sc_id | NCRCFG1_PARENB; in asc_vsbus_attach()
/netbsd/src/sys/arch/sun3/dev/
Desp.c147 sc->sc_id = 7; in espattach()
167 sc->sc_cfg1 = sc->sc_id | NCRCFG1_PARENB; in espattach()
/netbsd/src/sys/arch/sparc/dev/
Desp_obio.c135 sc->sc_id = 7; in espattach_obio()
175 sc->sc_cfg1 = sc->sc_id | NCRCFG1_PARENB; in espattach_obio()
/netbsd/src/sys/dev/bluetooth/
Dbthidev.h49 int sc_id; /* report id */ member
/netbsd/src/sys/dev/ic/
Dlan9118var.h62 uint16_t sc_id; member
Dlan9118.c174 sc->sc_id = LAN9118_ID_REV_ID(val); in lan9118_attach()
181 LAN9xxx_ID(sc->sc_id), sc->sc_rev); in lan9118_attach()
250 if (sc->sc_id == LAN9118_ID_9115 || sc->sc_id == LAN9118_ID_9117 || in lan9118_attach()
251 sc->sc_id == LAN9218_ID_9215 || sc->sc_id == LAN9218_ID_9217) { in lan9118_attach()
/netbsd/src/sys/arch/macppc/dev/
Dmesh.c113 int sc_id; /* our SCSI ID */ member
231 sc->sc_id = 7; in mesh_attach()
244 sc->sc_irq, sc->sc_freq, sc->sc_id); in mesh_attach()
259 sc->sc_channel.chan_id = sc->sc_id; in mesh_attach()
498 mesh_set_reg(sc, MESH_DEST_ID, sc->sc_id); in mesh_select()
866 mesh_set_reg(sc, MESH_SOURCE_ID, sc->sc_id); in mesh_reset()
/netbsd/src/sys/dev/tc/
Dasc_tc.c147 sc->sc_id = 7; in asc_tc_attach()
162 sc->sc_cfg1 = sc->sc_id | NCRCFG1_PARENB; in asc_tc_attach()
/netbsd/src/sys/dev/mca/
Desp_mca.c216 sc->sc_id = scsi_id; in esp_mca_attach()
221 sc->sc_cfg1 = sc->sc_id | NCRCFG1_PARENB; //| NCRCFG1_SLOW; in esp_mca_attach()
/netbsd/src/sys/arch/sgimips/mace/
Dmacekbc.c64 struct macekbc_internal *sc_id; member
151 sc->sc_id = t; in macekbc_attach()

1234