Lines Matching defs:value
347 * got lock again (counter value changed), when
388 /* Keep lock counter value, update the ha->func_num to 0xFF */
699 * value read ANDed with test_mask is equal to test_result.
704 * @test_mask : Mask value read with "test_mask"
705 * @test_result : Compare (value&test_mask) with test_result.
711 uint32_t value;
715 ret_val = qla4_83xx_rd_reg_indirect(ha, addr, &value);
721 if ((value & test_mask) != test_result) {
723 ret_val = qla4_83xx_rd_reg_indirect(ha, addr, &value);
738 __func__, value, test_mask, test_result);
865 * qla4_83xx_read_write_crb_reg - Read from raddr and write value to waddr.
874 uint32_t value;
876 qla4_83xx_rd_reg_indirect(ha, raddr, &value);
877 qla4_83xx_wr_reg_indirect(ha, waddr, value);
883 * This function read value from raddr, AND with test_mask,
884 * Shift Left,Right/OR/XOR with values RMW header and write value to waddr.
895 uint32_t value;
898 value = ha->reset_tmplt.array[p_rmw_hdr->index_a];
900 qla4_83xx_rd_reg_indirect(ha, raddr, &value);
902 value &= p_rmw_hdr->test_mask;
903 value <<= p_rmw_hdr->shl;
904 value >>= p_rmw_hdr->shr;
905 value |= p_rmw_hdr->or_value;
906 value ^= p_rmw_hdr->xor_value;
908 qla4_83xx_wr_reg_indirect(ha, waddr, value);
952 uint32_t value;
975 &value);
977 &value);
1050 uint32_t value;
1072 &value);
1073 ha->reset_tmplt.array[index++] = value;
1550 /* Write any value to Reset Control register */