Lines Matching defs:chip
318 * Address map of this chip
1821 * value of the chip. This means that the i2c bus got wedged.
2512 * is a clock calendar chip on the envctrl bus.
2513 * We use this chip as a watchdog timer for the
2514 * fan control. At reset this chip pulses the interrupt
2895 struct envctrl_pcf8574_chip chip;
2899 chip.val = ENVCTRL_FSP_OFF; /* init all values to off */
2900 chip.chip_num = ENVCTRL_PCF8574_DEV6; /* 0x01 port 1 */
2901 chip.type = PCF8574A;
2906 chip.val = (~(ENVCTRL_FSP_KEYMASK | ENVCTRL_FSP_POMASK) & (*val));
2908 chip.val = ~chip.val;
2909 (void) envctrl_xmit(unitp, (caddr_t *)(void *)&chip, PCF8574);
2914 envctrl_get_dskled(struct envctrlunit *unitp, struct envctrl_pcf8574_chip *chip)
2920 if (chip->chip_num > ENVCTRL_PCF8574_DEV2 ||
2921 chip->type != ENVCTRL_ENCL_BACKPLANE4 &&
2922 chip->type != ENVCTRL_ENCL_BACKPLANE8) {
2925 oldtype = chip->type;
2926 chip->type = PCF8574;
2927 envctrl_recv(unitp, (caddr_t *)(void *)chip, PCF8574);
2928 chip->type = oldtype;
2929 chip->val = ~chip->val;
2934 envctrl_set_dskled(struct envctrlunit *unitp, struct envctrl_pcf8574_chip *chip)
2952 if (chip->chip_num > ENVCTRL_PCF8574_DEV2 ||
2953 chip->val > ENVCTRL_DISK8LED_ALLOFF ||
2954 chip->val < ENVCTRL_CHAR_ZERO) {
2958 if (chip->type != ENVCTRL_ENCL_BACKPLANE4 &&
2959 chip->type != ENVCTRL_ENCL_BACKPLANE8) {
2976 if (chip->chip_num == controller_addr[i]) {
2977 if (chip->val != ENVCTRL_CHAR_ZERO)
3007 if (chip->chip_num == backaddrs[i]) {
3012 switch (chip->type) {
3015 instance, chip->val);
3019 instance, chip->val);
3024 chip->type = PCF8574;
3031 chip->val = ~(chip->val);
3032 (void) envctrl_xmit(unitp, (caddr_t *)(void *)chip, PCF8574);
3189 struct envctrl_pcf8574_chip chip;
3211 chip.type = PCF8574A;
3212 chip.chip_num = ENVCTRL_PCF8574_DEV6; /* 0x01 port 1 */
3213 envctrl_recv(unitp, (caddr_t *)(void *)&chip, PCF8574);
3216 chip.val & 0xFF);
3231 chip.type = PCF8574;
3234 chip.chip_num = backaddrs[i];
3236 envctrl_recv(unitp, (caddr_t *)(void *)&chip, PCF8574);
3238 i, ~chip.val);
3242 envctrl_recv(unitp, (caddr_t *)(void *)&chip, PCF8574);
3244 i, ~chip.val);
3633 * Write to the TDA8444 chip.
3634 * byteaddress = chip type base address | chip offset address.
3685 * Read from PCF8574A chip.
3686 * byteaddress = chip type base address | chip offset address.
3740 * Write to the PCF8574A chip.
3741 * byteaddress = chip type base address | chip offset address.
3787 * Read from the PCF8574 chip.
3788 * byteaddress = chip type base address | chip offset address.
3842 * Write to the PCF8574 chip.
3843 * byteaddress = chip type base address | chip offset address.
3889 * byteaddress = chip type base address | chip offset address.
3942 * Write to the PCF8583 chip.
3943 * byteaddress = chip type base address | chip offset address.
3986 * Read from the PCF8581 chip.
3987 * byteaddress = chip type base address | chip offset address.