Lines Matching defs:chip
1111 "%s%d: Write to chip (IOC_SETRAW) failed",
1128 "%s%d: Read of chip (IOC_GETRAW) failed",
1293 * The interrupt routine got called but the interrupt chip
2358 envctrl_get_dskled(struct envctrlunit *unitp, struct envctrl_chip *chip)
2364 if (chip->chip_num != EHC_DEV7 ||
2365 chip->type != ENVCTRL_PCF8574A) {
2370 0, &chip->val, 1);
2375 chip->val = ~chip->val;
2381 envctrl_set_dskled(struct envctrlunit *unitp, struct envctrl_chip *chip)
2397 if (chip->chip_num != EHC_DEV7)
2400 if (chip->type != ENVCTRL_PCF8574A)
2412 if ((chip->val & 0x3F) == 0) {
2443 envctrl_update_disk_kstats(unitp, val, ~(chip->val));
2452 confirm_val_hold = chip->val;
2454 chip->val = ~(chip->val);
2458 0, &chip->val, 1);
2471 confirm_chip.type = chip->type;
2472 confirm_chip.chip_num = chip->chip_num;
2473 confirm_chip.index = chip->index;