/src/sys/arch/ia64/stand/ia64/ski/ |
ssc.c | 1 /* $NetBSD: ssc.c,v 1.4 2020/01/14 16:23:07 scole Exp $ */ 30 /* __FBSDID("$FreeBSD: src/sys/boot/ia64/libski/ssc.c,v 1.4 2003/09/08 09:11:32 obrien Exp $"); */ 41 * PSR.dt across the SSC call. We do this by saving and restoring psr.l 47 ssc(u_int64_t in0, u_int64_t in1, u_int64_t in2, u_int64_t in3, int which) function in typeref:typename:u_int64_t
|
/src/sys/dev/isa/ |
mpu_sb.c | 63 struct sbdsp_softc *ssc = device_private(parent); local in function:mpu_sb_match 69 sc.ioh = ssc->sc_mpu_ioh; 70 sc.iot = ssc->sc_mpu_iot; 77 struct sbdsp_softc *ssc = device_private(parent); local in function:mpu_sb_attach 82 sc->ioh = ssc->sc_mpu_ioh; 83 sc->iot = ssc->sc_mpu_iot; 86 sc->lock = &ssc->sc_intr_lock;
|
opl_ess.c | 68 struct ess_softc *ssc = device_private(parent); local in function:opl_ess_match 72 return opl_match(ssc->sc_iot, ssc->sc_ioh, 0); 78 struct ess_softc *ssc = device_private(parent); local in function:opl_ess_attach 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 in function:opl_sb_match 70 return opl_match(ssc->sc_iot, ssc->sc_ioh, 0); 76 struct sbdsp_softc *ssc = device_private(parent); local in function:opl_sb_attach 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 in function:opl_wss_match 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 in function:opl_wss_attach 80 sc->ioh = ssc->sc_opl_ioh; 81 sc->iot = ssc->sc_iot; 83 sc->lock = &ssc->sc_ad1848.sc_ad1848.sc_intr_lock;
|
mpu_ym.c | 70 struct ym_softc *ssc = device_private(parent); local in function:mpu_ym_match 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 in function:mpu_ym_attach 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 in function:mpu_ym_power_ctl [all...] |
opl_ym.c | 72 struct ym_softc *ssc = device_private(parent); local in function:opl_ym_match 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 in function:opl_ym_attach 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 in function:opl_ym_power_ctl [all...] |
/src/sys/dev/pci/ |
mpu_fms.c | 61 struct fms_softc *ssc = device_private(parent); local in function:mpu_fms_match 67 sc.ioh = ssc->sc_mpu_ioh; 68 sc.iot = ssc->sc_iot; 75 struct fms_softc *ssc = device_private(parent); local in function:mpu_fms_attach 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 in function:opl_cmpci_match 66 return opl_match(ssc->sc_iot, ssc->sc_ioh, CMPCI_REG_FM_BASE); 72 struct cmpci_softc *ssc = device_private(parent); local in function:opl_cmpci_attach 76 sc->ioh = ssc->sc_ioh; 77 sc->iot = ssc->sc_iot; 79 sc->lock = &ssc->sc_intr_lock;
|
opl_fms.c | 72 struct fms_softc *ssc = device_private(parent); local in function:opl_fms_attach 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 in function:opl_sv_attach 75 sc->ioh = ssc->sc_oplioh; 76 sc->iot = ssc->sc_opliot; 78 sc->lock = &ssc->sc_intr_lock;
|
opl_yds.c | 64 struct yds_softc *ssc = device_private(parent); local in function:opl_yds_match 68 return opl_match(ssc->sc_opl_iot, ssc->sc_opl_ioh, 0); 74 struct yds_softc *ssc = device_private(parent); local in function:opl_yds_attach 78 sc->ioh = ssc->sc_opl_ioh; 79 sc->iot = ssc->sc_opl_iot; 81 sc->lock = &ssc->sc_intr_lock;
|
agp_sis.c | 79 struct agp_sis_softc *ssc; local in function:agp_sis_attach 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 in function:agp_sis_bind_page 203 struct agp_sis_softc *ssc = sc->as_chipc; local in function:agp_sis_unbind_page [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 in typeref:typename:uint64_t 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/alpha/sableio/ |
com_sableio.c | 89 struct com_sableio_softc *ssc = device_private(self); local in function:com_sableio_attach 90 struct com_softc *sc = &ssc->sc_com; 113 ssc->sc_ih = pci_intr_establish(sa->sa_pc, ih, IPL_SERIAL, 115 if (ssc->sc_ih == NULL) {
|
lpt_sableio.c | 89 struct lpt_sableio_softc *ssc = device_private(self); local in function:lpt_sableio_attach 90 struct lpt_softc *sc = &ssc->sc_lpt; 113 ssc->sc_ih = pci_intr_establish(sa->sa_pc, ih, IPL_TTY, lptintr, sc); 114 if (ssc->sc_ih == NULL) {
|
pckbc_sableio.c | 88 struct pckbc_sableio_softc *ssc = device_private(self); local in function:pckbc_sableio_attach 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 in function:pckbc_sableio_intr_establish 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/hp300/dev/ |
sti_dio.c | 77 struct sti_softc *ssc = &sc->sc_sti; local in function:sti_dio_attach 85 ssc->sc_dev = self; 115 ssc->bases[0] = romh; 117 ssc->bases[i] = base; 119 if (sti_attach_common(ssc, bst, bst, romh,
|
sti_sgc.c | 71 struct sti_softc *ssc = &sc->sc_sti; local in function:sti_sgc_attach 79 ssc->sc_dev = self; 103 ssc->bases[0] = romh; 105 ssc->bases[i] = base; 107 if (sti_attach_common(ssc, bst, bst, romh,
|
/src/sys/arch/arm/ti/ |
ti_com.c | 76 struct ti_com_softc * const ssc = device_private(self); local in function:ti_com_attach 77 struct com_softc * const sc = &ssc->ssc_sc; 122 ssc->ssc_ih = fdtbus_intr_establish_xname(phandle, 0, IPL_SERIAL, 124 if (ssc->ssc_ih == NULL) {
|
/src/sys/dev/fdt/ |
dw_apb_uart.c | 77 struct dw_apb_uart_softc * const ssc = device_private(self); local in function:dw_apb_uart_attach 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/dev/spi/ |
bmx280thpspi.c | 89 struct bmx280_spi_softc *ssc = BMX280_TO_SPI(sc); local in function:bmx280thpspi_read_reg 91 return bmx280thpspi_read_reg_direct(ssc->sc_sh, reg, buf, rlen); 121 struct bmx280_spi_softc *ssc = BMX280_TO_SPI(sc); local in function:bmx280thpspi_write_reg 123 return bmx280thpspi_write_reg_direct(ssc->sc_sh, buf, slen); 168 struct bmx280_spi_softc *ssc = device_private(self); local in function:bmx280thpspi_attach 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 in function:bmx280thpspi_detach 198 return bmx280_detach(&ssc->sc_bmx280, flags);
|
mcp23xxxgpio_spi.c | 123 struct mcpgpio_spi_softc *ssc = MCPGPIO_TO_SPI(sc); local in function:mcpgpio_spi_lock 125 mutex_enter(&ssc->sc_mutex); 132 struct mcpgpio_spi_softc *ssc = MCPGPIO_TO_SPI(sc); local in function:mcpgpio_spi_unlock 134 mutex_exit(&ssc->sc_mutex); 141 struct mcpgpio_spi_softc *ssc = MCPGPIO_TO_SPI(sc); local in function:mcpgpio_spi_read 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 in function:mcpgpio_spi_write 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 in function:mcpgpio_spi_attach [all...] |
/src/sys/dev/acpi/ |
apei_erst.c | 216 struct apei_erst_softc *ssc = &sc->sc_erst; local in function:apei_erst_attach 257 ssc->ssc_interp = apei_interp_create("ERST", 268 apei_interp_pass1_load(ssc->ssc_interp, i, &entry->WheaHeader); 271 apei_interp_pass2_verify(ssc->ssc_interp, i, 274 apei_interp_pass3_alloc(ssc->ssc_interp); 277 apei_interp_pass4_assemble(ssc->ssc_interp, i, 280 apei_interp_pass5_verify(ssc->ssc_interp); 315 struct apei_erst_softc *ssc = &sc->sc_erst; local in function:apei_erst_detach 317 if (ssc->ssc_interp) { 318 apei_interp_destroy(ssc->ssc_interp) 533 struct apei_erst_softc *const ssc = &sc->sc_erst; local in function:apei_erst_act [all...] |
/src/sys/dev/qbus/ |
rl.c | 189 struct rlc_softc ssc, *sc = &ssc; local in function:rlcmatch
|