Lines Matching refs:value
171 static char *dlfb_set_register_16(char *wrptr, u8 reg, u16 value)
173 wrptr = dlfb_set_register(wrptr, reg, value >> 8);
174 return dlfb_set_register(wrptr, reg+1, value);
181 static char *dlfb_set_register_16be(char *wrptr, u8 reg, u16 value)
183 wrptr = dlfb_set_register(wrptr, reg, value);
184 return dlfb_set_register(wrptr, reg+1, value >> 8);
191 * provided value into the lfsr16 value by counting backwards to get
192 * the value that needs to be set in the hardware comparator to get the
198 u32 lv = 0xFFFF; /* This is the lfsr value that the hw starts with */
210 * This does LFSR conversion on the value that is to be written.
213 static char *dlfb_set_register_lfsr16(char *wrptr, u8 reg, u16 value)
215 return dlfb_set_register_16(wrptr, reg, dlfb_lfsr16(value));
903 * Reset to normal value when all clients have closed this fb.