Lines Matching refs:id
73 int id;
281 reg = FCU_RPM_SET(fan->id);
313 if ((avail & (1 << fan->id)) == 0) {
315 "RPM Fan not available ID: %d\n", fan->id);
322 if ((fail & (1 << fan->id)) != 0) {
324 "RPM Fan failed ID: %d\n", fan->id);
331 if ((active & (1 << fan->id)) == 0) {
333 fan->id);
336 reg = FCU_RPM_READ(fan->id);
366 reg = FCU_PWM_SGET(fan->id);
399 if ((avail & (1 << fan->id)) == 0) {
401 fan->id);
408 if ((fail & (1 << fan->id)) != 0) {
409 device_printf(dev, "PWM Fan failed ID: %d\n", fan->id);
416 if ((active & (1 << fan->id)) == 0) {
418 fan->id);
421 reg = FCU_PWM_SGET(fan->id);
434 reg = FCU_PWM_RPM(fan->id);
452 u_int id[8];
491 prop_len = OF_getprop(child, "hwctrl-id", id, sizeof(id));
493 sc->sc_fans[j].id = ((id[j] >> 8) & 0x0f) % 8;
496 prop_len = OF_getprop(child, "hwctrl-zone", id, sizeof(id));
498 sc->sc_fans[j].fan.zone = id[j];
631 /* I use i to pass the fan id. */
651 /* I use i to pass the fan id or'ed with the type
671 sc->sc_fans[i].type, sc->sc_fans[i].id,