| /src/sys/dev/isa/ |
| mpu_ym.c | 70 struct ym_softc *ssc = device_private(parent); local 73 if (aa->type != AUDIODEV_TYPE_MPU || ssc->sc_mpu_ioh == 0) 76 sc.ioh = ssc->sc_mpu_ioh; 77 sc.iot = ssc->sc_iot; 84 struct ym_softc *ssc = device_private(parent); local 89 sc->ioh = ssc->sc_mpu_ioh; 90 sc->iot = ssc->sc_iot; 93 sc->powerarg = ssc; 95 sc->model = YM_IS_SA3(ssc) ? 98 sc->lock = &ssc->sc_ad1848.sc_ad1848.sc_intr_lock 107 struct ym_softc *ssc = arg; local [all...] |
| mpu_sb.c | 63 struct sbdsp_softc *ssc = device_private(parent); local 69 sc.ioh = ssc->sc_mpu_ioh; 70 sc.iot = ssc->sc_mpu_iot; 77 struct sbdsp_softc *ssc = device_private(parent); local 82 sc->ioh = ssc->sc_mpu_ioh; 83 sc->iot = ssc->sc_mpu_iot; 86 sc->lock = &ssc->sc_intr_lock;
|
| opl_ym.c | 72 struct ym_softc *ssc = device_private(parent); local 74 if (aa->type != AUDIODEV_TYPE_OPL || ssc->sc_opl_ioh == 0) 76 return opl_match(ssc->sc_iot, ssc->sc_opl_ioh, 0); 82 struct ym_softc *ssc = device_private(parent); local 86 sc->ioh = ssc->sc_opl_ioh; 87 sc->iot = ssc->sc_iot; 91 sc->powerarg = ssc; 93 sc->lock = &ssc->sc_ad1848.sc_ad1848.sc_intr_lock; 95 ssc->sc_ad1848.sc_ad1848.chip_name) 104 struct ym_softc *ssc = arg; local [all...] |
| opl_ess.c | 68 struct ess_softc *ssc = device_private(parent); local 72 return opl_match(ssc->sc_iot, ssc->sc_ioh, 0); 78 struct ess_softc *ssc = device_private(parent); local 82 sc->ioh = ssc->sc_ioh; 83 sc->iot = ssc->sc_iot; 86 sc->spkrarg = ssc; 87 sc->lock = &ssc->sc_intr_lock;
|
| opl_sb.c | 66 struct sbdsp_softc *ssc = device_private(parent); local 70 return opl_match(ssc->sc_iot, ssc->sc_ioh, 0); 76 struct sbdsp_softc *ssc = device_private(parent); local 80 sc->ioh = ssc->sc_ioh; 81 sc->iot = ssc->sc_iot; 84 sc->spkrarg = ssc; 85 sc->lock = &ssc->sc_intr_lock;
|
| opl_wss.c | 66 struct wss_softc *ssc = device_private(parent); local 68 if (aa->type != AUDIODEV_TYPE_OPL || ssc->sc_opl_ioh == 0) 70 return opl_match(ssc->sc_iot, ssc->sc_opl_ioh, 0); 76 struct wss_softc *ssc = device_private(parent); local 80 sc->ioh = ssc->sc_opl_ioh; 81 sc->iot = ssc->sc_iot; 83 sc->lock = &ssc->sc_ad1848.sc_ad1848.sc_intr_lock;
|
| /src/sys/arch/ia64/stand/ia64/ski/ |
| skiconsole.c | 46 ssc(0, 0, 0, 0, SSC_CONSOLE_INIT); 53 ssc(c, 0, 0, 0, SSC_PUTCHAR); 70 c = ssc(0, 0, 0, 0, SSC_GETCHAR); 82 c = ssc(0, 0, 0, 0, SSC_GETCHAR);
|
| exit.c | 44 ssc(code, 0, 0, 0, SSC_EXIT);
|
| skifs.c | 62 fd = ssc((u_int64_t) path, 1, 0, 0, SSC_OPEN); 74 ssc((u_int64_t) f->f_fsdata, 0, 0, 0, SSC_CLOSE); 86 ssc((u_int64_t) f->f_fsdata, 1, (u_int64_t) &req, f->f_offset, SSC_READ); 88 ssc((u_int64_t)&stat, 0, 0, 0, SSC_WAIT_COMPLETION);
|
| /src/sys/dev/sdmmc/ |
| if_bwi_sdio.c | 75 #define BWI_SDIO_REG_OFFSET(ssc, reg) \ 76 ((reg) | ((ssc)->sc_sel_regwin & 0x7000)) 159 struct bwi_sdio_softc * const ssc = device_private(self); local 160 struct bwi_softc * const sc = &ssc->sc_base; 185 ssc->sc_sf = sf; 186 mutex_init(&ssc->sc_lock, MUTEX_DEFAULT, IPL_NONE); 188 sdmmc_io_set_blocklen(ssc->sc_sf, 64); 189 if (sdmmc_io_function_enable(ssc->sc_sf) != 0) { 194 bwi_sdio_parse_cis(ssc); 196 ih = sdmmc_intr_establish(parent, bwi_sdio_intr, ssc, 290 struct bwi_sdio_softc * const ssc = priv; local 300 struct bwi_sdio_softc * const ssc = priv; local 320 struct bwi_sdio_softc * const ssc = priv; local 335 struct bwi_sdio_softc * const ssc = priv; local 348 struct bwi_sdio_softc * const ssc = priv; local 360 struct bwi_sdio_softc * const ssc = priv; local 406 struct bwi_sdio_softc * const ssc = priv; local 427 struct bwi_sdio_softc * const ssc = priv; local 442 struct bwi_sdio_softc * const ssc = priv; local [all...] |
| /src/sys/dev/scsipi/ |
| ses.c | 370 struct ses_softc *ssc = device_lookup_private(&ses_cd, SESUNIT(dev)); local 380 SC_DEBUG(ssc->sc_periph, SCSIPI_DB2, ("sesioctl 0x%lx ", cmd)); 385 if ((ssc->ses_flags & SES_FLAG_INITIALIZED) == 0) { 411 error = copyout(&ssc->ses_nobjects, addr, 412 sizeof (ssc->ses_nobjects)); 419 for (uobj = addr, i = 0; i != ssc->ses_nobjects; i++, uobj++) { 421 obj.subencid = ssc->ses_objmap[i].subenclosure; 422 obj.object_type = ssc->ses_objmap[i].enctype; 433 error = (*ssc->ses_vec.get_encstat)(ssc, 1) 830 struct ses_softc *ssc = device_private(self); local [all...] |
| /src/sys/dev/pci/ |
| agp_sis.c | 79 struct agp_sis_softc *ssc; local 83 ssc = malloc(sizeof *ssc, M_AGP, M_WAITOK); 85 sc->as_chipc = ssc; 91 free(ssc, M_AGP); 95 ssc->initial_aperture = AGP_GET_APERTURE(sc); 112 ssc->gatt = gatt; 130 struct agp_sis_softc *ssc = sc->as_chipc; 144 AGP_SET_APERTURE(sc, ssc->initial_aperture); 146 agp_free_gatt(sc, ssc->gatt) 191 struct agp_sis_softc *ssc = sc->as_chipc; local 203 struct agp_sis_softc *ssc = sc->as_chipc; local [all...] |
| mpu_fms.c | 61 struct fms_softc *ssc = device_private(parent); local 67 sc.ioh = ssc->sc_mpu_ioh; 68 sc.iot = ssc->sc_iot; 75 struct fms_softc *ssc = device_private(parent); local 80 sc->ioh = ssc->sc_mpu_ioh; 81 sc->iot = ssc->sc_iot; 84 sc->lock = &ssc->sc_intr_lock;
|
| opl_cmpci.c | 62 struct cmpci_softc *ssc = device_private(parent); local 66 return opl_match(ssc->sc_iot, ssc->sc_ioh, CMPCI_REG_FM_BASE); 72 struct cmpci_softc *ssc = device_private(parent); local 76 sc->ioh = ssc->sc_ioh; 77 sc->iot = ssc->sc_iot; 79 sc->lock = &ssc->sc_intr_lock;
|
| opl_yds.c | 64 struct yds_softc *ssc = device_private(parent); local 68 return opl_match(ssc->sc_opl_iot, ssc->sc_opl_ioh, 0); 74 struct yds_softc *ssc = device_private(parent); local 78 sc->ioh = ssc->sc_opl_ioh; 79 sc->iot = ssc->sc_opl_iot; 81 sc->lock = &ssc->sc_intr_lock;
|
| opl_fms.c | 72 struct fms_softc *ssc = device_private(parent); local 76 sc->ioh = ssc->sc_opl_ioh; 77 sc->iot = ssc->sc_iot; 79 sc->lock = &ssc->sc_intr_lock;
|
| opl_sv.c | 71 struct sv_softc *ssc = device_private(parent); local 75 sc->ioh = ssc->sc_oplioh; 76 sc->iot = ssc->sc_opliot; 78 sc->lock = &ssc->sc_intr_lock;
|
| /src/sys/dev/fdt/ |
| dw_apb_uart.c | 77 struct dw_apb_uart_softc * const ssc = device_private(self); local 78 struct com_softc * const sc = &ssc->ssc_sc; 105 ssc->ssc_clk = fdtbus_clock_get_index(phandle, 0); 106 if (ssc->ssc_clk == NULL) { 110 if (clk_enable(ssc->ssc_clk) != 0) { 115 ssc->ssc_pclk = fdtbus_clock_get(phandle, "apb_pclk"); 116 if (ssc->ssc_pclk != NULL && clk_enable(ssc->ssc_pclk) != 0) { 121 ssc->ssc_rst = fdtbus_reset_get_index(phandle, 0); 122 if (ssc->ssc_rst && fdtbus_reset_deassert(ssc->ssc_rst) != 0) [all...] |
| /src/sys/arch/alpha/sableio/ |
| pckbc_sableio.c | 88 struct pckbc_sableio_softc *ssc = device_private(self); local 89 struct pckbc_softc *sc = &ssc->sc_pckbc; 95 ssc->sc_pc = sa->sa_pc; 100 ssc->sc_irq[PCKBC_KBD_SLOT] = sa->sa_sableirq[0]; 101 ssc->sc_irq[PCKBC_AUX_SLOT] = sa->sa_sableirq[1]; 136 struct pckbc_sableio_softc *ssc = (void *) sc; local 141 alpha_pci_intr_handle_init(&ih, ssc->sc_irq[slot], 0); 143 intrstr = pci_intr_string(ssc->sc_pc, ih, buf, 145 ssc->sc_ih[slot] = pci_intr_establish(ssc->sc_pc, ih [all...] |
| /src/sys/arch/ia64/ia64/ |
| ssc.c | 1 /* $NetBSD: ssc.c,v 1.5 2016/05/13 13:40:55 christos Exp $ */ 33 #include <machine/ssc.h> 51 ssc(uint64_t in0, uint64_t in1, uint64_t in2, uint64_t in3, int which) function 87 ssc(c, 0, 0, 0, SSC_PUTCHAR); 96 c = ssc(0, 0, 0, 0, SSC_GETCHAR); 108 /* XXX: integrate the rest of the ssc.c stuff from FreeBSD to plug into wsdisplay */
|
| /src/sys/arch/ia64/include/ |
| ssc.h | 1 /* $NetBSD: ssc.h,v 1.2 2009/07/20 04:41:37 kiyohara Exp $ */ 20 uint64_t ssc(uint64_t, uint64_t, uint64_t, uint64_t, int);
|
| /src/sys/dev/spi/ |
| mcp23xxxgpio_spi.c | 123 struct mcpgpio_spi_softc *ssc = MCPGPIO_TO_SPI(sc); local 125 mutex_enter(&ssc->sc_mutex); 132 struct mcpgpio_spi_softc *ssc = MCPGPIO_TO_SPI(sc); local 134 mutex_exit(&ssc->sc_mutex); 141 struct mcpgpio_spi_softc *ssc = MCPGPIO_TO_SPI(sc); local 146 buf[0] = OP_READ(ssc->sc_ha[bank]); 149 return spi_send_recv(ssc->sc_sh, 2, buf, 1, valp); 156 struct mcpgpio_spi_softc *ssc = MCPGPIO_TO_SPI(sc); local 161 buf[0] = OP_WRITE(ssc->sc_ha[bank]); 165 return spi_send(ssc->sc_sh, 3, buf) 236 struct mcpgpio_spi_softc *ssc = device_private(self); local [all...] |
| bmx280thpspi.c | 89 struct bmx280_spi_softc *ssc = BMX280_TO_SPI(sc); local 91 return bmx280thpspi_read_reg_direct(ssc->sc_sh, reg, buf, rlen); 121 struct bmx280_spi_softc *ssc = BMX280_TO_SPI(sc); local 123 return bmx280thpspi_write_reg_direct(ssc->sc_sh, buf, slen); 168 struct bmx280_spi_softc *ssc = device_private(self); local 169 struct bmx280_sc *sc = &ssc->sc_bmx280; 176 ssc->sc_sh = sa->sa_handle; 196 struct bmx280_spi_softc *ssc = device_private(self); local 198 return bmx280_detach(&ssc->sc_bmx280, flags);
|
| /src/sys/arch/hp300/dev/ |
| sti_machdep.c | 130 struct sti_softc *ssc = &sc->sc_sti; local 132 ssc->sc_flags |= STI_CONSOLE | STI_ATTACHED; 133 ssc->sc_rom = &sticn_rom; 134 ssc->sc_rom->rom_softc = ssc; 135 ssc->sc_scr = &sticn_scr; 136 ssc->sc_scr->scr_rom = ssc->sc_rom; 137 memcpy(ssc->bases, sticn_bases, sizeof(ssc->bases)) 145 struct sti_softc *ssc = &sc->sc_sti; local 321 struct sti_softc *ssc = rom->rom_softc; local [all...] |
| sti_sgc.c | 71 struct sti_softc *ssc = &sc->sc_sti; local 79 ssc->sc_dev = self; 103 ssc->bases[0] = romh; 105 ssc->bases[i] = base; 107 if (sti_attach_common(ssc, bst, bst, romh,
|