HomeSort by: relevance | last modified time | path
    Searched refs:sc_ctrl (Results 1 - 15 of 15) sorted by relevancy

  /src/sys/arch/mips/alchemy/dev/
aupscvar.h 56 struct aupsc_controller sc_ctrl; member in struct:aupsc_protocol_device
aupsc.c 144 p.sc_ctrl = ctrl;
209 if (*(sc->sc_ctrl.psc_sel) != AUPSC_SEL_DISABLE) {
215 bus_space_write_4(sc->sc_ctrl.psc_bust, sc->sc_ctrl.psc_bush,
217 bus_space_write_4(sc->sc_ctrl.psc_bust, sc->sc_ctrl.psc_bush,
222 if (bus_space_read_4(sc->sc_ctrl.psc_bust,
223 sc->sc_ctrl.psc_bush, AUPSC_STAT) & AUPSC_STAT_SR)
234 bus_space_write_4(sc->sc_ctrl.psc_bust, sc->sc_ctrl.psc_bush
    [all...]
ausmbus_psc.c 59 struct aupsc_controller sc_ctrl; member in struct:ausmbus_softc
68 bus_space_read_4(sc->sc_ctrl.psc_bust, sc->sc_ctrl.psc_bush, reg)
70 bus_space_write_4(sc->sc_ctrl.psc_bust, sc->sc_ctrl.psc_bush, reg, \
125 sc->sc_ctrl = aa->aupsc_ctrl;
145 sc->sc_ctrl.psc_enable(sc, AUPSC_SEL_SMBUS);
205 sc->sc_ctrl.psc_disable(sc);
  /src/sys/dev/ic/
rs5c313var.h 53 int sc_ctrl[2]; /* ctrl registers */ member in struct:rs5c313_softc
rs5c313.c 69 sc->sc_ctrl[0] = CTRL_24H;
70 sc->sc_ctrl[1] = CTRL2_NTEST;
75 sc->sc_ctrl[0] = 0;
76 sc->sc_ctrl[1] = CTRL2_24H|CTRL2_NTEST;
121 rs5c313_write_reg(sc, RS5C313_CTRL, (sc->sc_ctrl[0] | CTRL_ADJ));
134 rs5c313_write_reg(sc, RS5C313_CTRL, sc->sc_ctrl[0]);
135 rs5c313_write_reg(sc, RS5C313_CTRL2, sc->sc_ctrl[1]);
163 rs5c313_write_reg(sc, RS5C313_CTRL, sc->sc_ctrl[0]);
217 rs5c313_write_reg(sc, RS5C313_CTRL, sc->sc_ctrl[0]);
  /src/sys/dev/acpi/
hpacel_acpi.c 143 uint8_t sc_ctrl[3]; member in struct:hpacel_softc
262 val = sc->sc_ctrl[0];
264 if ((sc->sc_ctrl[0] & CTRL1_Xen) == 0)
267 if ((sc->sc_ctrl[0] & CTRL1_Yen) == 0)
270 if ((sc->sc_ctrl[0] & CTRL1_Zen) == 0)
273 if (val != sc->sc_ctrl[0]) {
281 val = sc->sc_ctrl[1];
283 if ((sc->sc_ctrl[1] & CTRL2_BDU) == 0)
286 if ((sc->sc_ctrl[1] & CTRL2_BLE) != 0)
289 if ((sc->sc_ctrl[1] & CTRL2_DAS) != 0
    [all...]
  /src/sys/dev/i2c/
act8846.c 134 struct act8846_ctrl *sc_ctrl; member in struct:act8846_softc
174 sc->sc_ctrl = kmem_alloc(sizeof(act8846_ctrls), KM_SLEEP);
175 memcpy(sc->sc_ctrl, act8846_ctrls, sizeof(act8846_ctrls));
177 sc->sc_ctrl[n].c_dev = self;
181 act8846_print(&sc->sc_ctrl[n]);
227 c = &sc->sc_ctrl[n];
axp809.c 91 struct axp809_ctrl *sc_ctrl; member in struct:axp809_softc
134 sc->sc_ctrl = kmem_alloc(sizeof(axp809_ctrls), KM_SLEEP);
135 memcpy(sc->sc_ctrl, axp809_ctrls, sizeof(axp809_ctrls));
137 sc->sc_ctrl[n].c_dev = self;
142 axp809_print(&sc->sc_ctrl[n]);
193 c = &sc->sc_ctrl[n];
rkpmic.c 223 const struct rkpmic_ctrl *sc_ctrl; member in struct:rkreg_softc
548 const struct rkpmic_ctrl *c = sc->sc_ctrl;
573 const struct rkpmic_ctrl *c = sc->sc_ctrl;
601 const struct rkpmic_ctrl *c = sc->sc_ctrl;
640 sc->sc_ctrl = raa->reg_ctrl;
axppmic.c 486 const struct axppmic_ctrl *sc_ctrl; member in struct:axpreg_softc
1317 const struct axppmic_ctrl *c = sc->sc_ctrl;
1343 const struct axppmic_ctrl *c = sc->sc_ctrl;
1353 const struct axppmic_ctrl *c = sc->sc_ctrl;
1391 sc->sc_ctrl = aaa->reg_ctrl;
  /src/sys/arch/arm/ep93xx/
epcomvar.h 82 u_int sc_ctrl; member in struct:epcom_softc
epcom.c 416 if (!ISSET(sc->sc_ctrl, Ctrl_TIE)) {
417 SET(sc->sc_ctrl, Ctrl_TIE);
444 CLR(sc->sc_ctrl, (Ctrl_TIE|Ctrl_RTIE|Ctrl_RIE));
518 SET(sc->sc_ctrl, (Ctrl_UARTE|Ctrl_RIE|Ctrl_RTIE));
811 sc->sc_ctrl);
994 SET(sc->sc_ctrl, (Ctrl_RIE|Ctrl_RTIE));
1112 CLR(sc->sc_ctrl, (Ctrl_RIE|Ctrl_RTIE));
1119 CLR(sc->sc_ctrl, (Ctrl_RIE|Ctrl_RTIE));
1135 if (ISSET(sc->sc_ctrl, Ctrl_TIE)) {
1136 CLR(sc->sc_ctrl, Ctrl_TIE)
    [all...]
  /src/sys/arch/acorn32/podulebus/
csa.c 92 volatile uint8_t *sc_ctrl; member in struct:csa_softc
178 sc->sc_ctrl = (uint8_t *)pa->pa_podule->slow_base + CSA_CTRL_OFFSET;
209 *sc->sc_ctrl = 0;
  /src/sys/arch/hppa/dev/
mongoose.c 184 volatile struct mongoose_ctrl *sc_ctrl; member in struct:mongoose_softc
307 imr = &sc->sc_ctrl->imr0;
308 pic = &sc->sc_ctrl->pic0;
310 imr = &sc->sc_ctrl->imr1;
311 pic = &sc->sc_ctrl->pic1;
337 imr = &sc->sc_ctrl->imr0;
339 imr = &sc->sc_ctrl->imr1;
626 sc->sc_ctrl = (struct mongoose_ctrl *)ioh;
631 sc->sc_ctrl->nmi_ext = MONGOOSE_NMI_BUSRESET;
633 sc->sc_ctrl->nmi_ext = 0
    [all...]
  /src/sys/dev/pci/
if_wm.c 696 uint32_t sc_ctrl; /* prototype CTRL register */ member in struct:wm_softc
2939 sc->sc_ctrl |= CTRL_ILOS;
2950 sc->sc_ctrl |=
2953 sc->sc_ctrl |=
2957 sc->sc_ctrl |=
2968 sc->sc_ctrl |= CTRL_ILOS;
2990 CSR_WRITE(sc, WMREG_CTRL, sc->sc_ctrl);
4614 sc->sc_ctrl |= CTRL_VME;
4616 sc->sc_ctrl &= ~CTRL_VME;
4619 CSR_WRITE(sc, WMREG_CTRL, sc->sc_ctrl);
    [all...]

Completed in 23 milliseconds