Home
last modified time | relevance | path

Searched refs:rand (Results 1 – 4 of 4) sorted by relevance

/drivers/media/test-drivers/vivid/
Dvivid-touch-cap.c213 unsigned int rand = get_random_int(); in vivid_fill_buff_noise() local
215 if (rand % 10) in vivid_fill_buff_noise()
218 tch_buf[i] = (rand / 10) % 7 - 3; in vivid_fill_buff_noise()
261 unsigned int test_pattern, test_pat_idx, rand; in vivid_fillbuff_tch() local
276 rand = dev->tch_pat_random; in vivid_fillbuff_tch()
281 vivid_tch_buf_set(f, tch_buf, rand % size); in vivid_fillbuff_tch()
285 vivid_tch_buf_set(f, tch_buf, rand % size); in vivid_fillbuff_tch()
289 vivid_tch_buf_set(f, tch_buf, rand % size); in vivid_fillbuff_tch()
293 (rand % f->height) * f->width + in vivid_fillbuff_tch()
/drivers/net/hamradio/
Ddmascc.c259 static unsigned long rand; variable
305 rand = jiffies; in dmascc_init()
1084 rand = rand * 1664525L + 1013904223L; in random()
1085 return (unsigned char) (rand >> 24); in random()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dmac-ctxt.c1139 u32 rand = (prandom_u32() % (64 - 36)) + 36; in iwl_mvm_mac_ctxt_cmd_fill_ap() local
1141 ieee80211_tu_to_usec(data.beacon_int * rand / in iwl_mvm_mac_ctxt_cmd_fill_ap()
/drivers/leds/
Dleds-blinkm.c61 u8 rand:1; /* rand fade mode on = 1 */ member