Home
last modified time | relevance | path

Searched refs:sc_param (Results 1 – 10 of 10) sorted by relevance

/netbsd/src/sys/arch/hpcmips/vr/
Dvrc4172pwm.c241 if (sc->sc_param == NULL) in vrc4172pwmattach()
268 sc->sc_param = vrc4172pwm_getparam(); in vrc4172pwm_init_brightness()
274 " duty=0x%x, blightness=%d light=%d\n", (int)sc->sc_param, in vrc4172pwm_init_brightness()
318 if (sc->sc_param == NULL) in vrc4172pwm_set_brightness()
324 if (val > sc->sc_param->n_brightness) in vrc4172pwm_set_brightness()
325 val = sc->sc_param->n_brightness; in vrc4172pwm_set_brightness()
339 if (sc->sc_param == NULL) in vrc4172pwm_get_brightness()
353 if (sc->sc_param == NULL) in vrc4172pwm_rawduty2brightness()
355 for (i = 0; i < sc->sc_param->n_brightness; i++) { in vrc4172pwm_rawduty2brightness()
356 if (sc->sc_raw_duty <= sc->sc_param->bvalues[i]) in vrc4172pwm_rawduty2brightness()
[all …]
Dvrc4172pwmvar.h56 struct vrc4172pwm_param *sc_param; member
/netbsd/src/sys/arch/newsmips/dev/
Dsc_wrap.c431 scop_rsense(int intr, struct scsi *sc_param, int lun, int ie, int count,
435 memset(sc_param, 0, sizeof(struct scsi));
436 sc_param->identify = MSG_IDENT | sc_disconnect | (lun & IDT_DRMASK);
437 sc_param->sc_lun = lun;
439 sc_param->sc_cpoint = (uint8_t *)param;
440 sc_param->sc_ctrnscnt = count;
443 sc_param->sc_opcode = SCOP_RSENSE;
444 sc_param->sc_count = count;
446 sc_go(intr, sc_param, ie, sc_param);
/netbsd/src/sys/arch/hpcmips/tx/
Dtx39sib.c124 struct tx39sib_param sc_param; member
153 sc->sc_param = tx39sib_param_default_3912; in tx39sib_attach()
156 sc->sc_param = tx39sib_param_default_3922; in tx39sib_attach()
185 struct tx39sib_param *param = &sc->sc_param; in tx39sib_enable1()
267 return (TX39_CLK2X / sibsclk_divide_table[sc->sc_param.sp_clock]); in tx39sib_clock()
278 sa.sa_snd_rate = sc->sc_param.sp_snd_rate; in tx39sib_search()
279 sa.sa_tel_rate = sc->sc_param.sp_tel_rate; in tx39sib_search()
/netbsd/src/sys/dev/tprof/
Dtprof.c481 tprof_param_t *sc_param; in tprof_configure_event() local
516 sc_param = &sc->sc_count[c].ctr_param; in tprof_configure_event()
517 memcpy(sc_param, param, sizeof(*sc_param)); /* save copy of param */ in tprof_configure_event()
534 if (sc_param->p_value2 == 0) in tprof_configure_event()
541 inum = sc_param->p_value2 >> 32; in tprof_configure_event()
542 dnum = sc_param->p_value2 & __BITS(31, 0); in tprof_configure_event()
550 if (sc_param->p_value2 == 0) in tprof_configure_event()
551 sc_param->p_value2 = 1; in tprof_configure_event()
552 if (sc_param->p_value2 > in tprof_configure_event()
554 sc_param->p_value2 = in tprof_configure_event()
[all …]
/netbsd/src/sys/arch/hp300/dev/
Dppi.c91 struct ppiparam sc_param; member
92 #define sc_burst sc_param.burst
93 #define sc_timo sc_param.timo
94 #define sc_delay sc_param.delay
462 pp = &sc->sc_param; in ppiioctl()
469 pp = &sc->sc_param; in ppiioctl()
/netbsd/src/sys/dev/gpib/
Dppi.c93 struct ppiparam sc_param; member
94 #define sc_burst sc_param.burst
95 #define sc_timo sc_param.timo
96 #define sc_delay sc_param.delay
442 pp = &sc->sc_param; in ppiioctl()
449 pp = &sc->sc_param; in ppiioctl()
/netbsd/src/sys/arch/x68k/dev/
Dpar.c67 struct parparam sc_param; member
68 #define sc_burst sc_param.burst
69 #define sc_timo sc_param.timo
70 #define sc_delay sc_param.delay
424 pp = &sc->sc_param; in parioctl()
432 pp = &sc->sc_param; in parioctl()
/netbsd/src/sys/arch/amiga/dev/
Dpar.c63 struct parparam sc_param; member
64 #define sc_burst sc_param.burst
65 #define sc_timo sc_param.timo
66 #define sc_delay sc_param.delay
455 pp = &sc->sc_param; in parioctl()
463 pp = &sc->sc_param; in parioctl()
/netbsd/src/sys/dev/i2c/
Dtps65217pmic.c99 struct tps_reg_param *sc_param; member
985 struct tps_reg_param *regulator = sc->sc_param; in tps65217reg_enable()
1012 struct tps_reg_param *regulator = sc->sc_param; in tps65217reg_set_voltage()
1030 struct tps_reg_param *regulator = sc->sc_param; in tps65217reg_get_voltage()
1060 sc->sc_param = raa->reg_param; in tps65217reg_attach()