Searched refs:lfsr_value (Results 1 – 2 of 2) sorted by relevance
84 static unsigned int lfsr_value = 0xF00D; in lfsr_random() local88 bit = ((lfsr_value >> 0) ^ in lfsr_random()89 (lfsr_value >> 2) ^ in lfsr_random()90 (lfsr_value >> 3) ^ in lfsr_random()91 (lfsr_value >> 5)) & 0x0001; in lfsr_random()94 lfsr_value = (lfsr_value >> 1) | (bit << 15); in lfsr_random()96 return lfsr_value; in lfsr_random()
1137 unsigned int lfsr_value; in cell_global_stop_spu_cycles() local1156 lfsr_value = 0x8f100000; in cell_global_stop_spu_cycles()1160 lfsr_value); in cell_global_stop_spu_cycles()1244 unsigned int lfsr_value; in cell_global_start_spu_cycles() local1282 lfsr_value = calculate_lfsr(MAX_SPU_COUNT-1); in cell_global_start_spu_cycles()1284 lfsr_value = calculate_lfsr(spu_cycle_reset); in cell_global_start_spu_cycles()1287 if (lfsr_value == 0) in cell_global_start_spu_cycles()1288 lfsr_value = calculate_lfsr(1); in cell_global_start_spu_cycles()1290 lfsr_value = lfsr_value << 8; /* shift lfsr to correct in cell_global_start_spu_cycles()1307 cbe_cpu_to_node(cpu), lfsr_value); in cell_global_start_spu_cycles()