/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/ |
H A D | compare6.c | 6 signed char sc; variable 11 if (sc == 10000) return; /* { dg-warning "always false" "signed" } */
|
/openbsd-current/sys/dev/usb/ |
H A D | umass_scsi.h | 34 int umass_scsi_attach(struct umass_softc *sc); 35 int umass_scsi_detach(struct umass_softc *sc, int flags);
|
H A D | uoak_subr.c | 50 uoak_check_device_ready(struct uoak_softc *sc) argument 54 actlen = uhidev_get_report(sc->sc_hdev->sc_parent, UHID_FEATURE_REPORT, 55 sc->sc_hdev->sc_report_id, &sc->sc_buf, sc->sc_flen); 56 if (actlen != sc->sc_flen) 59 if (sc->sc_buf[0] != 0xff) 66 uoak_set_cmd(struct uoak_softc *sc) argument 69 sc->sc_rcmd.dir = OAK_SET; 71 while (uoak_check_device_ready(sc) < 83 uoak_get_cmd(struct uoak_softc *sc) argument 111 uoak_get_device_name(struct uoak_softc *sc, enum uoak_target target) argument 127 uoak_get_report_mode(struct uoak_softc *sc, enum uoak_target target) argument 142 uoak_get_report_rate(struct uoak_softc *sc, enum uoak_target target) argument 160 uoak_get_sample_rate(struct uoak_softc *sc, enum uoak_target target) argument 178 uoak_set_sample_rate(struct uoak_softc *sc, enum uoak_target target, int rate) argument 202 uoak_led_status(struct uoak_softc *sc, enum uoak_target target, uint8_t *mode) argument 217 uoak_led_ctrl(struct uoak_softc *sc, enum uoak_target target, uint8_t mode) argument 231 uoak_get_devinfo(struct uoak_softc *sc) argument 238 uoak_get_setting(struct uoak_softc *sc, enum uoak_target target) argument 254 uoak_print_devinfo(struct uoak_softc *sc) argument 260 uoak_print_setting(struct uoak_softc *sc, enum uoak_target target) argument 286 uoak_sensor_attach(struct uoak_softc *sc, struct uoak_sensor *s, enum sensor_type type) argument 312 uoak_sensor_detach(struct uoak_softc *sc, struct uoak_sensor *s) argument [all...] |
/openbsd-current/sys/arch/armv7/omap/ |
H A D | omohci.c | 100 struct ohci_softc sc; member in struct:omohci_softc 131 struct omohci_softc *sc = (struct omohci_softc *)self; local 135 sc->sc.iot = aa->aa_iot; 136 sc->sc.sc_bus.dmatag = aa->aa_dmat; 137 sc->sc_ih0 = NULL; 138 sc->sc_ih1 = NULL; 139 sc->sc_ihc0 = NULL; 140 sc 232 struct omohci_softc *sc = (struct omohci_softc *)self; local 273 struct omohci_softc *sc = (struct omohci_softc *)self; local 299 omohci_enable(struct omohci_softc *sc) argument 335 omohci_disable(struct omohci_softc *sc) argument [all...] |
/openbsd-current/sys/dev/acpi/ |
H A D | ohci_acpi.c | 40 struct ohci_softc sc; member in struct:ohci_acpi_softc 67 struct ohci_acpi_softc *sc = (struct ohci_acpi_softc *)self; local 70 sc->sc_acpi = (struct acpi_softc *)parent; 71 sc->sc_node = aaa->aaa_node; 72 printf(" %s", sc->sc_node->name); 77 sc->sc.iot = aaa->aaa_bst[0]; 78 sc->sc.sc_size = aaa->aaa_size[0]; 79 sc 133 struct ohci_acpi_softc *sc = (struct ohci_acpi_softc *)self; local [all...] |
H A D | acpibat.c | 76 struct acpibat_softc *sc = (struct acpibat_softc *)self; local 80 sc->sc_acpi = (struct acpi_softc *)parent; 81 sc->sc_devnode = aa->aaa_node; 83 if (aml_evalinteger(sc->sc_acpi, sc->sc_devnode, "_STA", 0, NULL, &sta)) { 84 dnprintf(10, "%s: no _STA\n", DEVNAME(sc)); 89 sc->sc_bat_present = 1; 90 acpibat_getbix(sc); 91 acpibat_getbst(sc); 93 printf(": %s", sc 122 struct acpibat_softc *sc = (struct acpibat_softc *)self; local 145 acpibat_monitor(struct acpibat_softc *sc) argument 222 struct acpibat_softc *sc = arg; local 352 acpibat_getbix(struct acpibat_softc *sc) argument 459 acpibat_getbst(struct acpibat_softc *sc) argument 510 struct acpibat_softc *sc = arg; local [all...] |
H A D | acpi_x86.c | 33 struct acpi_softc *sc = v; local 37 sc->sc_state = ACPI_STATE_S3; 40 sc->sc_state = ACPI_STATE_S4; 46 if (sc->sc_sleeptype[sc->sc_state].slp_typa == -1 || 47 sc->sc_sleeptype[sc->sc_state].slp_typb == -1) { 48 if (sc->sc_state == ACPI_STATE_S4) { 49 sc->sc_state = ACPI_STATE_S5; /* No S4, use S5 */ 51 sc 69 struct acpi_softc *sc = v; local 81 struct acpi_softc *sc = v; local 107 struct acpi_softc *sc = v; local 115 struct acpi_softc *sc = v; local 130 checklids(struct acpi_softc *sc) argument 145 struct acpi_softc *sc = v; local [all...] |
H A D | acpiec.c | 40 void acpiec_burst_enable(struct acpiec_softc *sc); 41 void acpiec_burst_disable(struct acpiec_softc *sc); 91 acpiec_wait(struct acpiec_softc *sc, uint8_t mask, uint8_t val) argument 97 DEVNAME(sc), (int)mask, 100 while (((stat = acpiec_status(sc)) & mask) != val) { 102 sc->sc_gotsci = 1; 109 dnprintf(40, "%s: EC wait_ns, stat: %b\n", DEVNAME(sc), (int)stat, 114 acpiec_status(struct acpiec_softc *sc) argument 116 return (bus_space_read_1(sc->sc_cmd_bt, sc 120 acpiec_write_data(struct acpiec_softc *sc, uint8_t val) argument 128 acpiec_write_cmd(struct acpiec_softc *sc, uint8_t val) argument 136 acpiec_read_data(struct acpiec_softc *sc) argument 149 acpiec_sci_event(struct acpiec_softc *sc) argument 169 acpiec_read_1(struct acpiec_softc *sc, uint8_t addr) argument 185 acpiec_write_1(struct acpiec_softc *sc, uint8_t addr, uint8_t data) argument 196 acpiec_burst_enable(struct acpiec_softc *sc) argument 206 acpiec_burst_disable(struct acpiec_softc *sc) argument 216 acpiec_read(struct acpiec_softc *sc, uint8_t addr, int len, uint8_t *buffer) argument 235 acpiec_write(struct acpiec_softc *sc, uint8_t addr, int len, uint8_t *buffer) argument 275 struct acpiec_softc *sc = (struct acpiec_softc *)self; local 332 acpiec_get_events(struct acpiec_softc *sc) argument 349 struct acpiec_softc *sc = arg; local 384 struct acpiec_softc *sc = arg; local 423 acpiec_getcrs(struct acpiec_softc *sc, struct acpi_attach_args *aa) argument 506 acpiec_reg(struct acpiec_softc *sc) argument [all...] |
H A D | acpihpet.c | 107 struct acpihpet_softc *sc = (struct acpihpet_softc *) self; local 114 bus_space_write_4(sc->sc_iot, sc->sc_ioh, 115 HPET_CONFIGURATION, sc->sc_conf); 117 sc->sc_save.configuration = acpihpet_r(sc->sc_iot, 118 sc->sc_ioh, HPET_CONFIGURATION); 119 sc->sc_save.interrupt_status = acpihpet_r(sc->sc_iot, 120 sc 206 struct acpihpet_softc *sc = (struct acpihpet_softc *) self; local 288 struct acpihpet_softc *sc = hpet_timecounter.tc_priv; local 305 struct acpihpet_softc *sc = tc->tc_priv; local [all...] |
/openbsd-current/sys/dev/pci/ |
H A D | uhci_pci.c | 60 struct uhci_softc sc; member in struct:uhci_pci_softc 87 struct uhci_pci_softc *sc = (struct uhci_pci_softc *)self; local 89 if (sc->sc.sc_size == 0) 95 pci_conf_write(sc->sc_pc, sc->sc_tag, 97 bus_space_barrier(sc->sc.iot, sc->sc 109 struct uhci_pci_softc *sc = (struct uhci_pci_softc *)self; local 203 struct uhci_pci_softc *sc = (struct uhci_pci_softc *)self; local 232 struct uhci_pci_softc *sc = (struct uhci_pci_softc *)self; local [all...] |
H A D | ohci_pci.c | 66 struct ohci_softc sc; member in struct:ohci_pci_softc 92 struct ohci_pci_softc *sc = (struct ohci_pci_softc *)self; local 99 char *devname = sc->sc.sc_bus.bdev.dv_xname; 103 &sc->sc.iot, &sc->sc.ioh, NULL, &sc->sc 177 struct ohci_pci_softc *sc = (struct ohci_pci_softc *)self; local 203 struct ohci_pci_softc *sc = (struct ohci_pci_softc *)self; local [all...] |
H A D | com_pci.c | 65 #define HREAD4(sc, reg) \ 66 (bus_space_read_4((sc)->sc.sc_iot, (sc)->sc.sc_ioh, (reg))) 67 #define HWRITE4(sc, reg, val) \ 68 bus_space_write_4((sc)->sc.sc_iot, (sc)->sc 81 struct com_softc sc; member in struct:com_pci_softc 112 struct com_pci_softc *sc = (struct com_pci_softc *)self; local 187 struct com_pci_softc *sc = (struct com_pci_softc *)self; local 208 struct com_pci_softc *sc = (struct com_pci_softc *)self; local 236 struct com_softc *sc = cookie; local [all...] |
/openbsd-current/sys/arch/loongson/dev/ |
H A D | ohci_voyager.c | 71 struct ohci_softc sc; member in struct:ohci_voyager_softc 93 struct ohci_voyager_softc *sc = (struct ohci_voyager_softc *)self; local 98 char *devname = sc->sc.sc_bus.bdev.dv_xname; 101 sc->sc.sc_size = VOYAGER_OHCI_SIZE; 102 sc->sc.iot = vaa->vaa_mmiot; 104 VOYAGER_OHCI_BASE, VOYAGER_OHCI_SIZE, &sc->sc 162 struct ohci_voyager_softc *sc = (struct ohci_voyager_softc *)self; local [all...] |
/openbsd-current/sys/dev/ic/ |
H A D | lsi64854var.h | 66 #define L64854_GCSR(sc) \ 67 (bus_space_read_4((sc)->sc_bustag, (sc)->sc_regs, L64854_REG_CSR)) 69 #define L64854_SCSR(sc, csr) \ 70 bus_space_write_4((sc)->sc_bustag, (sc)->sc_regs, L64854_REG_CSR, csr) 76 #define DMA_RESET(sc) (((sc)->reset)(sc)) 77 #define DMA_INTR(sc) (((s [all...] |
H A D | i82596.c | 209 i82596_probe(sc) 210 struct ie_softc *sc; 214 sc->scp = sc->sc_msize - IE_SCP_SZ; 215 sc->iscp = 0; 216 sc->scb = 32; 218 (sc->ie_bus_write16)(sc, IE_ISCP_BUSY(sc->iscp), 1); 219 (sc 269 i82596_attach(struct ie_softc *sc, const char *name, u_int8_t *etheraddr, uint64_t *media, int nmedia, uint64_t defmedia) argument 334 struct ie_softc *sc = ifp->if_softc; local 459 i82596_count_errors(struct ie_softc *sc) argument 477 i82596_rx_errors(struct ie_softc *sc, int fn, int status) argument 490 register struct ie_softc *sc = v; local 962 i82596_get(struct ie_softc *sc, int head, int totlen) argument 1205 struct ie_softc *sc = ifp->if_softc; local 1850 struct ie_softc *sc = ifp->if_softc; local 1972 struct ie_softc *sc = ifp->if_softc; local 1987 struct ie_softc *sc = ifp->if_softc; local [all...] |
H A D | imxiic.c | 62 #define HREAD1(sc, reg) \ 63 imxiic_read_1((sc), (reg)) 64 #define HWRITE1(sc, reg, val) \ 65 imxiic_write_1((sc), (reg), (val)) 66 #define HSET1(sc, reg, bits) \ 67 HWRITE1((sc), (reg), HREAD1((sc), (reg)) | (bits)) 68 #define HCLR1(sc, reg, bits) \ 69 HWRITE1((sc), (reg), HREAD1((sc), (re 76 imxiic_enable(struct imxiic_softc *sc, int on) argument 97 imxiic_clear_iodone(struct imxiic_softc *sc) argument 110 imxiic_setspeed(struct imxiic_softc *sc, u_int speed) argument 132 imxiic_wait_state(struct imxiic_softc *sc, uint32_t mask, uint32_t value) argument 145 imxiic_read(struct imxiic_softc *sc, int addr, const void *cmd, int cmdlen, void *data, int len) argument 195 imxiic_write(struct imxiic_softc *sc, int addr, const void *cmd, int cmdlen, const void *data, int len) argument 232 struct imxiic_softc *sc = cookie; local 251 struct imxiic_softc *sc = cookie; local 262 struct imxiic_softc *sc = cookie; local 297 imxiic_read_1(struct imxiic_softc *sc, int reg) argument 305 imxiic_write_1(struct imxiic_softc *sc, int reg, uint8_t val) argument [all...] |
H A D | dwiic.c | 43 struct dwiic_softc *sc = (struct dwiic_softc *)self; local 48 dwiic_enable(sc, 0); 51 dwiic_write(sc, DW_IC_INTR_MASK, 0); 52 dwiic_read(sc, DW_IC_CLR_INTR); 56 dwiic_acpi_power(sc, 0); 62 dwiic_acpi_power(sc, 1); 64 dwiic_init(sc); 88 dwiic_read(struct dwiic_softc *sc, int offset) argument 90 u_int32_t b = bus_space_read_4(sc->sc_iot, sc 98 dwiic_write(struct dwiic_softc *sc, int offset, uint32_t val) argument 109 struct dwiic_softc *sc = cookie; local 120 struct dwiic_softc *sc = cookie; local 129 dwiic_init(struct dwiic_softc *sc) argument 194 dwiic_enable(struct dwiic_softc *sc, int enable) argument 214 struct dwiic_softc *sc = cookie; local 490 dwiic_read_clear_intrbits(struct dwiic_softc *sc) argument 523 struct dwiic_softc *sc = arg; local [all...] |
H A D | qlw.c | 70 void qlw_host_cmd(struct qlw_softc *sc, u_int16_t); 127 #define qlw_dump_iocb(sc, h, fl) do { /* nothing */ } while (0) 128 #define qlw_dump_iocb_segs(sc, h, fl) do { /* nothing */ } while (0) 132 qlw_xs_bus(struct qlw_softc *sc, struct scsi_xfer *xs) argument 140 if ((sc->sc_scsibus[0] == NULL) || 141 (xs->sc_link->bus == sc->sc_scsibus[0])) 148 qlw_swap16(struct qlw_softc *sc, u_int16_t value) argument 150 if (sc->sc_isp_gen == QLW_GEN_ISP1000) 157 qlw_swap32(struct qlw_softc *sc, u_int32_t value) argument 159 if (sc 166 qlw_queue_read(struct qlw_softc *sc, bus_size_t offset) argument 172 qlw_queue_write(struct qlw_softc *sc, bus_size_t offset, u_int16_t value) argument 182 qlw_attach(struct qlw_softc *sc) argument 434 qlw_detach(struct qlw_softc *sc, int flags) argument 440 qlw_config_bus(struct qlw_softc *sc, int bus) argument 462 qlw_config_target(struct qlw_softc *sc, int bus, int target) argument 494 qlw_update_bus(struct qlw_softc *sc, int bus) argument 503 qlw_update_target(struct qlw_softc *sc, int bus, int target) argument 554 struct qlw_softc *sc = xsc; local 562 qlw_handle_resp(struct qlw_softc *sc, u_int16_t id) argument 712 qlw_handle_intr(struct qlw_softc *sc, u_int16_t isr, u_int16_t info) argument 788 struct qlw_softc *sc = xsc; local 803 struct qlw_softc *sc = link->bus->sb_adapter_softc; local 951 qlw_read(struct qlw_softc *sc, bus_size_t offset) argument 961 qlw_write(struct qlw_softc *sc, bus_size_t offset, u_int16_t value) argument 969 qlw_read_mbox(struct qlw_softc *sc, int mbox) argument 976 qlw_write_mbox(struct qlw_softc *sc, int mbox, u_int16_t value) argument 982 qlw_host_cmd(struct qlw_softc *sc, u_int16_t cmd) argument 990 qlw_mbox(struct qlw_softc *sc, int maskin, int maskout) argument 1064 qlw_set_ints(struct qlw_softc *sc, int enabled) argument 1071 qlw_read_isr(struct qlw_softc *sc, u_int16_t *isr, u_int16_t *info) argument 1093 qlw_clear_isr(struct qlw_softc *sc, u_int16_t isr) argument 1107 qlw_softreset(struct qlw_softc *sc) argument 1161 qlw_dma_burst_enable(struct qlw_softc *sc) argument 1184 qlw_update(struct qlw_softc *sc, int task) argument 1190 qlw_async(struct qlw_softc *sc, u_int16_t info) argument 1233 qlw_dump_iocb(struct qlw_softc *sc, void *buf, int flags) argument 1252 qlw_dump_iocb_segs(struct qlw_softc *sc, void *segs, int n) argument 1279 qlw_get_header(struct qlw_softc *sc, struct qlw_iocb_hdr *hdr, int *type, int *flags) argument 1292 qlw_put_header(struct qlw_softc *sc, struct qlw_iocb_hdr *hdr, int type, int count) argument 1309 qlw_put_data_seg(struct qlw_softc *sc, struct qlw_iocb_seg *seg, bus_dmamap_t dmap, int num) argument 1317 qlw_put_marker(struct qlw_softc *sc, int bus, void *buf) argument 1330 qlw_put_cmd(struct qlw_softc *sc, void *buf, struct scsi_xfer *xs, struct qlw_ccb *ccb) argument 1391 qlw_put_cont(struct qlw_softc *sc, void *buf, struct scsi_xfer *xs, struct qlw_ccb *ccb, int seg0) argument 1409 qlw_load_firmware_words(struct qlw_softc *sc, const u_int16_t *src, u_int16_t dest) argument 1436 qlw_load_firmware(struct qlw_softc *sc) argument 1444 qlw_read_nvram(struct qlw_softc *sc) argument 1533 qlw_parse_nvram_1040(struct qlw_softc *sc, int bus) argument 1564 qlw_parse_nvram_1080(struct qlw_softc *sc, int bus) argument 1599 qlw_init_defaults(struct qlw_softc *sc, int bus) argument 1640 qlw_dmamem_alloc(struct qlw_softc *sc, size_t size) argument 1682 qlw_dmamem_free(struct qlw_softc *sc, struct qlw_dmamem *m) argument 1692 qlw_alloc_ccbs(struct qlw_softc *sc) argument 1758 qlw_free_ccbs(struct qlw_softc *sc) argument 1773 struct qlw_softc *sc = xsc; local 1788 struct qlw_softc *sc = xsc; local [all...] |
/openbsd-current/sys/arch/octeon/dev/ |
H A D | cn30xxasx.c | 42 struct cn30xxasx_softc *sc; local 45 sc = malloc(sizeof(*sc), M_DEVBUF, M_WAITOK | M_ZERO); 46 if (sc == NULL) 49 sc->sc_port = aa->aa_port; 50 sc->sc_regt = aa->aa_regt; 52 status = bus_space_map(sc->sc_regt, ASX0_BASE, ASX0_SIZE, 0, 53 &sc->sc_regh); 57 *rsc = sc; 60 #define _ASX_RD8(sc, of 69 cn30xxasx_enable(struct cn30xxasx_softc *sc, int enable) argument 77 cn30xxasx_enable_tx(struct cn30xxasx_softc *sc, int enable) argument 91 cn30xxasx_enable_rx(struct cn30xxasx_softc *sc, int enable) argument 105 cn30xxasx_clk_set(struct cn30xxasx_softc *sc, int tx_setting, int rx_setting) argument [all...] |
/openbsd-current/sys/dev/hil/ |
H A D | hil.c | 103 int send_device_cmd(struct hil_softc *sc, u_int device, u_int cmd); 110 #define hil_process_pending(sc) wakeup(&(sc)->sc_pending) 113 hilwait(struct hil_softc *sc) argument 119 if ((bus_space_read_1(sc->sc_bst, sc->sc_bsh, HILP_STAT) & 128 hildatawait(struct hil_softc *sc) argument 134 if ((bus_space_read_1(sc->sc_bst, sc->sc_bsh, HILP_STAT) & 147 hil_attach(struct hil_softc *sc, in argument 199 struct hil_softc *sc = v; local 279 struct hil_softc *sc = v; local 307 hil_process_int(struct hil_softc *sc, u_int8_t stat, u_int8_t c) argument 369 hil_process_poll(struct hil_softc *sc, u_int8_t stat, u_int8_t c) argument 446 struct hil_softc *sc = arg; local 489 hilconfig(struct hil_softc *sc, u_int knowndevs) argument 584 hilempty(struct hil_softc *sc) argument 648 send_hil_cmd(struct hil_softc *sc, u_int cmd, u_int8_t *data, u_int dlen, u_int8_t *rdata) argument 700 send_device_cmd(struct hil_softc *sc, u_int device, u_int cmd) argument 761 struct hil_softc *sc = (struct hil_softc *)dev->sc_dev.dv_parent; local 784 polloff(struct hil_softc *sc) argument 826 pollon(struct hil_softc *sc) argument 856 hil_set_poll(struct hil_softc *sc, int on) argument 869 struct hil_softc *sc = (struct hil_softc *)dev->sc_dev.dv_parent; local [all...] |
/openbsd-current/sys/dev/fdt/ |
H A D | ohci_fdt.c | 44 struct ohci_softc sc; member in struct:ohci_fdt_softc 74 struct ohci_fdt_softc *sc = (struct ohci_fdt_softc *)self; local 76 char *devname = sc->sc.sc_bus.bdev.dv_xname; 83 sc->sc_node = faa->fa_node; 84 sc->sc.iot = faa->fa_iot; 85 sc->sc.sc_bus.dmatag = faa->fa_dmat; 86 sc 151 struct ohci_fdt_softc *sc = (struct ohci_fdt_softc *)self; local 180 struct ohci_fdt_softc *sc = (struct ohci_fdt_softc *)self; local [all...] |
H A D | xhci_fdt.c | 43 struct xhci_softc sc; member in struct:xhci_fdt_softc 85 struct xhci_fdt_softc *sc = (struct xhci_fdt_softc *)self; local 102 sc->sc_otg_base = faa->fa_reg[idx].addr; 103 sc->sc_otg_size = faa->fa_reg[idx].size; 114 sc->sc_node = faa->fa_node; 115 sc->sc.iot = faa->fa_iot; 116 sc->sc.sc_size = faa->fa_reg[idx].size; 117 sc 178 struct xhci_fdt_softc *sc = (struct xhci_fdt_softc *)self; local 213 xhci_cdns_attach(struct xhci_fdt_softc *sc) argument 262 struct xhci_fdt_softc *sc = arg; local 270 struct xhci_fdt_softc *sc = cookie; local 282 xhci_snps_attach(struct xhci_fdt_softc *sc) argument 303 xhci_snps_init(struct xhci_fdt_softc *sc) argument 380 xhci_init_phy(struct xhci_fdt_softc *sc, uint32_t *cells) argument 398 xhci_phy_enable(struct xhci_fdt_softc *sc, char *name) argument 430 xhci_init_phys(struct xhci_fdt_softc *sc) argument 471 exynos5_usbdrd_init(struct xhci_fdt_softc *sc, uint32_t *cells) argument 551 imx8mp_usb_init(struct xhci_fdt_softc *sc, uint32_t *cells) argument 607 imx8mq_usb_init(struct xhci_fdt_softc *sc, uint32_t *cells) argument 652 nop_xceiv_init(struct xhci_fdt_softc *sc, uint32_t *cells) argument [all...] |
/openbsd-current/sys/dev/onewire/ |
H A D | owsbm.c | 107 struct owsbm_softc *sc = (struct owsbm_softc *)self; local 110 sc->sc_onewire = oa->oa_onewire; 111 sc->sc_rom = oa->oa_rom; 114 strlcpy(sc->sc_sensordev.xname, sc->sc_dev.dv_xname, 115 sizeof(sc->sc_sensordev.xname)); 116 sc->sc_temp.type = SENSOR_TEMP; 117 snprintf(sc->sc_temp.desc, sizeof(sc->sc_temp.desc), "sn %012llx", 119 sensor_attach(&sc 151 struct owsbm_softc *sc = (struct owsbm_softc *)self; local 171 struct owsbm_softc *sc = arg; local [all...] |
/openbsd-current/sys/dev/cardbus/ |
H A D | ehci_cardbus.c | 57 struct ehci_softc sc; member in struct:ehci_cardbus_softc 88 struct ehci_cardbus_softc *sc = (struct ehci_cardbus_softc *)self; local 97 const char *devname = sc->sc.sc_bus.bdev.dv_xname; 101 &sc->sc.iot, &sc->sc.ioh, NULL, &sc->sc 160 struct ehci_cardbus_softc *sc = (struct ehci_cardbus_softc *)self; local [all...] |
/openbsd-current/sys/arch/alpha/isa/ |
H A D | isapnp_machdep.c | 64 isapnp_map(sc) 65 struct isapnp_softc *sc; 69 error = alpha_bus_space_map_noacct(sc->sc_iot, ISAPNP_ADDR, 1, 0, 70 &sc->sc_addr_ioh); 74 error = alpha_bus_space_map_noacct(sc->sc_iot, ISAPNP_WRDATA, 1, 0, 75 &sc->sc_wrdata_ioh); 77 alpha_bus_space_unmap_noacct(sc->sc_iot, sc->sc_addr_ioh, 1); 88 isapnp_unmap(sc) 89 struct isapnp_softc *sc; [all...] |