Lines Matching defs:temp
943 unsigned short temp, temp2, temp3, temp4, temp5, temp6;
1019 temp = (unsigned short)pCurrNvRam->niSyncTbl[id];
1020 temp = ((temp & 0x03) + ((temp << 4) & 0xc0)) +
1021 (((temp << 4) & 0x0300) + ((temp << 8) & 0xc000));
1023 temp =
1028 for (i = 0; i < 2; temp >>= 8, i++) {
1035 switch (temp & 0x3) {
1049 if (temp & DISC_ENABLE_BIT)
1052 if (temp & WIDE_NEGO_BIT)
1133 temp = FPT_utilEERead(ioport, (MODEL_NUMB_0 / 2));
1134 pCardInfo->si_card_model[0] = (unsigned char)(temp >> 8);
1135 temp = FPT_utilEERead(ioport, (MODEL_NUMB_2 / 2));
1137 pCardInfo->si_card_model[1] = (unsigned char)(temp & 0x00FF);
1138 pCardInfo->si_card_model[2] = (unsigned char)(temp >> 8);
1145 temp = RD_HARPOON(ioport + hp_xfer_pad);
1146 WR_HARPOON(ioport + hp_xfer_pad, (temp & ~BIT(4)));
1149 WR_HARPOON(ioport + hp_xfer_pad, (temp | BIT(4)));
1152 WR_HARPOON(ioport + hp_xfer_pad, temp);
1154 temp = RD_HARPOON(ioport + hp_ee_ctrl);
1156 WR_HARPOON(ioport + hp_ee_ctrl, (temp | SEE_CS));
1166 WR_HARPOON(ioport + hp_ee_ctrl, temp);
1219 unsigned short temp, sync_bit_map, id;
1328 temp = pCardInfo->si_per_targ_no_disc;
1332 if (temp & id)
1341 temp = (unsigned short)pCurrNvRam->niSyncTbl[id];
1342 temp = ((temp & 0x03) + ((temp << 4) & 0xc0)) +
1343 (((temp << 4) & 0x0300) + ((temp << 8) & 0xc000));
1345 temp =
1350 for (i = 0; i < 2; temp >>= 8, i++) {
1356 (unsigned char)temp;
1365 (unsigned char)(temp & ~EE_SYNC_MASK);
1996 unsigned char temp, ScamFlg;
2027 temp = (unsigned char)(RD_HARPOON(p_port + hp_ee_ctrl) &
2030 ((unsigned char)temp | SEE_MS | SEE_CS));
2031 WR_HARPOON(p_port + hp_ee_ctrl, temp);
6514 unsigned short index, temp, max_wd_cnt;
6521 temp = FPT_utilEERead(p_port, FW_SIGNATURE / 2);
6523 if (temp == 0x4641) {
6527 temp += FPT_utilEERead(p_port, index);
6531 if (temp == FPT_utilEERead(p_port, EEPROM_CHECK_SUM / 2)) {
6544 temp = 0;
6547 temp += 0x4641;
6549 temp += 0x3920;
6551 temp += 0x3033;
6553 temp += 0x2020;
6555 temp += 0x70D3;
6557 temp += 0x0010;
6559 temp += 0x0003;
6561 temp += 0x0007;
6564 temp += 0x0000;
6566 temp += 0x0000;
6568 temp += 0x0000;
6571 temp += 0x4242;
6573 temp += 0x4242;
6575 temp += 0x4242;
6577 temp += 0x4242;
6579 temp += 0x4242;
6581 temp += 0x4242;
6583 temp += 0x4242;
6585 temp += 0x4242;
6588 temp += 0x6C46;
6590 temp += 0x7361;
6592 temp += 0x5068;
6594 temp += 0x696F;
6596 temp += 0x746E;
6598 temp += 0x4C20;
6600 temp += 0x2054;
6602 temp += 0x2020;
6606 temp += (0x0700 + TYPE_CODE0);
6609 temp += 0x5542; /* BUSLOGIC */
6612 temp += 0x4C53;
6615 temp += 0x474F;
6618 temp += 0x4349;
6621 temp += 0x5442; /* BT- 930 */
6624 temp += 0x202D;
6627 temp += 0x3339;
6630 temp += 0x2030;
6633 temp += 0x5453;
6636 temp += 0x5645;
6639 temp += 0x2045;
6642 temp += 0x202F;
6645 temp += 0x4F4A;
6648 temp += 0x204E;
6651 temp += 0x3539;
6653 FPT_utilEEWrite(p_port, temp, EEPROM_CHECK_SUM / 2);