/src/sys/arch/hpcmips/dev/ |
ucbio.c | 99 struct hpcio_chip *hc = &sc->sc_hc; local in function:ucbio_attach 105 hc->hc_sc = sc; 106 hc->hc_chipid = 2; 107 hc->hc_name = "UCB1200"; 108 hc->hc_portread = betty_in; 109 hc->hc_portwrite = betty_out; 110 hc->hc_intr_establish = betty_intr_establish; 111 hc->hc_intr_disestablish = betty_intr_disestablish; 112 hc->hc_update = betty_update; 113 hc->hc_dump = betty_dump [all...] |
optpoint.c | 29 * OptOpint on Telios HC-AJ2 119 /* Specific SPI settings for OptPoint of HC-AJ2 */ 202 struct hpcio_chip *hc = sc->sc_hc; local in function:optpoint_enable 218 (*hc->hc_portwrite)(hc, TELIOS_MFIO_OPTP_C_REQ, 1); 219 (*hc->hc_portwrite)(hc, TELIOS_MFIO_OPTP_T_RDY, 1); 233 struct hpcio_chip *hc = sc->sc_hc; local in function:optpoint_disable 239 (*hc->hc_portwrite)(hc, TELIOS_MFIO_OPTP_C_REQ, 0) 266 struct hpcio_chip *hc = sc->sc_hc; local in function:optpoint_initialize 292 struct hpcio_chip *hc = sc->sc_hc; local in function:optpoint_send 302 struct hpcio_chip *hc = sc->sc_hc; local in function:optpoint_recv [all...] |
/src/sys/arch/cesfic/cesfic/ |
dp8570a.h | 17 u_int8_t s100c, sc, minc, hc, dmc, mc, yc, jc, j100c, dwc; member in struct:dp8570reg
|
/src/usr.sbin/iopctl/ |
iopctl.c | 425 int hc, lc, i, nit; local in function:i2ostrvis 429 hc = 0; 443 if (hc) 446 hc = 1;
|
/src/sys/dev/hpc/ |
hpckbd.c | 200 hpckbd_initcore(struct hpckbd_core *hc, struct hpckbd_ic_if *ic, int console) 202 hc->hc_polling = 0; 203 hc->hc_console = console; 204 hc->hc_ic = ic; 207 hc->hc_head = hc->hc_tail = hc->hc_eventq; 208 hc->hc_nevents = 0; 210 hpckbd_keymap_lookup(hc); 214 hpckbd_initif(struct hpckbd_core *hc) 388 struct hpckbd_core *hc = arg; local in function:__hpckbd_input 456 struct hpckbd_core *hc = &hpckbd_consdata; local in function:hpckbd_cnattach 472 struct hpckbd_core *hc = arg; local in function:hpckbd_cngetc 484 struct hpckbd_core *hc = arg; local in function:hpckbd_cnpollc 492 struct hpckbd_core *hc = arg; local in function:hpckbd_enable 518 struct hpckbd_core *hc = arg; local in function:hpckbd_ioctl [all...] |
/src/sys/dev/ic/ |
mvsatavar.h | 34 int hc; member in struct:mvsata_product 100 int hc; member in struct:mvsata_hc
|
mvsata.c | 77 #define MVSATA_HC_READ_4(hc, reg) \ 78 bus_space_read_4((hc)->hc_iot, (hc)->hc_ioh, (reg)) 79 #define MVSATA_HC_WRITE_4(hc, reg, val) \ 80 bus_space_write_4((hc)->hc_iot, (hc)->hc_ioh, (reg), (val)) 280 int hc, port, channel; local in function:mvsata_attach 282 aprint_normal_dev(MVSATA_DEV(sc), "Gen%s, %dhc, %dport/hc\n", 285 product->hc, product->port); 318 sc->sc_hc = product->hc; 3107 int hc, port, rv, i; local in function:mvsata_wdc_reg_init 3623 struct mvsata_hc *hc = mvport->port_hc; local in function:mvsata_read_preamps_gen1 [all...] |
/src/sys/dev/marvell/ |
mvsdio.c | 528 uint32_t tm, c, hc, aacc, nisie, wait; local in function:mvsdio_exec_command 590 hc = bus_space_read_4(sc->sc_iot, sc->sc_ioh, MVSDIO_HC); 591 hc |= (HC_TIMEOUTVALUE_MAX | HC_TIMEOUTEN); 592 bus_space_write_4(sc->sc_iot, sc->sc_ioh, MVSDIO_HC, hc); 648 DPRINTF(2, ("%s: TM=0x%x, C=0x%x, HC=0x%x\n", __func__, tm, c, hc));
|
/src/sys/dev/pci/ |
mvsata_pci.c | 70 #define MVSATA_PCI_MAINIRQ_SATAERR(hc, port) \ 71 (1 << (((port) << 1) + (hc) * 9)) 72 #define MVSATA_PCI_MAINIRQ_SATADONE(hc, port) \ 73 (1 << (((port) << 1) + (hc) * 9 + 1)) 74 #define MVSATA_PCI_MAINIRQ_SATACOALDONE(hc) (1 << ((hc) * 9 + 8)) 157 int read_pre_amps, hc, port, rv, i; local in function:mvsata_pci_attach 229 for (hc = 0; hc < sc->sc_hc; hc++ 259 int hc, port, handled = 0; local in function:mvsata_pci_intr 506 int hc = mvport->port_hc->hc, port = mvport->port; local in function:mvsata_pci_enable_intr [all...] |
/src/sys/arch/xen/xen/ |
privcmd.c | 814 privcmd_hypercall_t *hc = ap->a_data; local in function:privcmd_ioctl 815 if (hc->op >= (PAGE_SIZE >> 5)) 849 : "0" ((unsigned int)hc->op), 850 "1" (hc->arg[0]), 851 "2" (hc->arg[1]), 852 "3" (hc->arg[2]), 853 "g" (hc->arg[3]), 854 "g" (hc->arg[4]) 863 hc->retval = error; 868 hc->retval = 0 [all...] |
/src/usr.sbin/bta2dpd/bta2dpd/ |
bta2dpd.c | 214 static int hc; /* avdtp control/command channel */ variable in typeref:typename:int 272 sc = hc = -1; 674 sc = hc = -1; 742 avdtpSendCommand(hc, AVDTP_DISCOVER, 0, 965 if ((hc = accept(orighc,(struct sockaddr*)&addr, &len)) < 0) 969 avdtpSendCommand(hc, AVDTP_DISCOVER, 0, NULL, 0); 971 event_set(&ctl_ev, hc, EV_READ | EV_PERSIST, do_ctlreq, NULL); 1061 hc = orighc; 1062 avdtpSendCommand(hc, AVDTP_DISCOVER, 0, NULL, 0); 1064 event_set(&ctl_ev, hc, EV_READ | EV_PERSIST, do_ctlreq, NULL) [all...] |
/src/sys/dev/i2o/ |
iop.c | 2308 int hc, lc, i, nit; local in function:iop_strvis 2312 hc = 0; 2326 if (hc) 2329 hc = 1;
|
/src/sys/arch/x86/x86/ |
hyperv.c | 623 uint64_t hc; local in function:hyperv_detach 626 hc = rdmsr(MSR_HV_HYPERCALL); 627 wrmsr(MSR_HV_HYPERCALL, hc & MSR_HV_HYPERCALL_RSVD_MASK); 696 uint64_t hc, hc_orig; local in function:hyperv_init_hypercall 710 hc = (atop(hyperv_hypercall_ctx.hc_paddr) << MSR_HV_HYPERCALL_PGSHIFT) | 713 wrmsr(MSR_HV_HYPERCALL, hc); 718 hc = rdmsr(MSR_HV_HYPERCALL); 719 if (!(hc & MSR_HV_HYPERCALL_ENABLE)) {
|
/src/sys/arch/arm/broadcom/ |
bcm283x_platform.c | 1048 bus_space_handle_t hc; local in function:rpi_fb_init 1059 BUS_SPACE_MAP_LINEAR|BUS_SPACE_MAP_PREFETCHABLE, &hc) != 0) { 1064 cmem = bus_space_vaddr(faa->faa_bst, hc);
|