Lines Matching full:preset

56  * @preset:		array of preset values
66 unsigned int preset[QUAD8_NUM_COUNTERS]; member
123 /* Preset Register to Counter */
127 /* Transfer Preset Register LSB to FCK Prescaler */
260 const unsigned long preset) in quad8_preset_register_set() argument
265 put_unaligned_le24(preset, value); in quad8_preset_register_set()
295 /* Counter can only be set via Preset Register */ in quad8_count_write()
307 /* Set Preset Register back to original value */ in quad8_count_write()
308 ret = quad8_preset_register_set(priv, count->id, priv->preset[count->id]); in quad8_count_write()
816 struct counter_count *count, u64 *preset) in quad8_count_preset_read() argument
820 *preset = priv->preset[count->id]; in quad8_count_preset_read()
826 struct counter_count *count, u64 preset) in quad8_count_preset_write() argument
832 if (preset > LS7267_CNTR_MAX) in quad8_count_preset_write()
837 priv->preset[count->id] = preset; in quad8_count_preset_write()
838 ret = quad8_preset_register_set(priv, count->id, preset); in quad8_count_preset_write()
853 /* Range Limit and Modulo-N count modes use preset value as ceiling */ in quad8_count_ceiling_read()
857 *ceiling = priv->preset[count->id]; in quad8_count_ceiling_read()
881 /* Range Limit and Modulo-N count modes use preset value as ceiling */ in quad8_count_ceiling_write()
885 priv->preset[count->id] = ceiling; in quad8_count_ceiling_write()
904 /* Preset enable is active low in Input/Output Control register */ in quad8_count_preset_enable_read()
920 /* Preset enable is active low in Input/Output Control register */ in quad8_count_preset_enable_write()
1262 /* Disable A and B inputs; preset on index; FLG1 as Carry */ in quad8_init_counter()