Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/rc/
Dredrat3.c294 u32 mod_freq = 0; in redrat3_val_to_mod_freq() local
298 mod_freq = (RR3_CLK * be16_to_cpu(irdata->num_periods)) / in redrat3_val_to_mod_freq()
301 return mod_freq; in redrat3_val_to_mod_freq()
344 u32 mod_freq; in redrat3_process_ir_data() local
348 mod_freq = redrat3_val_to_mod_freq(&rr3->irdata); in redrat3_process_ir_data()
349 dev_dbg(dev, "Got mod_freq of %u\n", mod_freq); in redrat3_process_ir_data()
350 if (mod_freq && rr3->wideband) { in redrat3_process_ir_data()
353 .carrier = mod_freq in redrat3_process_ir_data()
726 static u16 mod_freq_to_val(unsigned int mod_freq) in mod_freq_to_val() argument
731 return 65536 - (mult / mod_freq); in mod_freq_to_val()