Lines Matching refs:freq
73 uint16_t freq; in convert_dt_enum_to_freq() local
77 freq = 0; in convert_dt_enum_to_freq()
80 freq = 1600; in convert_dt_enum_to_freq()
83 freq = 800; in convert_dt_enum_to_freq()
86 freq = 400; in convert_dt_enum_to_freq()
89 freq = 200; in convert_dt_enum_to_freq()
92 freq = 100; in convert_dt_enum_to_freq()
95 freq = 50; in convert_dt_enum_to_freq()
98 freq = 25; in convert_dt_enum_to_freq()
101 freq = 12; in convert_dt_enum_to_freq()
104 freq = 6; in convert_dt_enum_to_freq()
107 freq = 3; in convert_dt_enum_to_freq()
110 freq = 1; in convert_dt_enum_to_freq()
113 freq = 0; in convert_dt_enum_to_freq()
116 return freq; in convert_dt_enum_to_freq()
119 static uint32_t convert_freq_to_bitfield(uint32_t val, uint16_t *freq) in convert_freq_to_bitfield() argument
125 *freq = 1; in convert_freq_to_bitfield()
128 *freq = 3; in convert_freq_to_bitfield()
131 *freq = 6; in convert_freq_to_bitfield()
134 *freq = 12; in convert_freq_to_bitfield()
137 *freq = 25; in convert_freq_to_bitfield()
140 *freq = 50; in convert_freq_to_bitfield()
143 *freq = 100; in convert_freq_to_bitfield()
146 *freq = 200; in convert_freq_to_bitfield()
149 *freq = 400; in convert_freq_to_bitfield()
152 *freq = 800; in convert_freq_to_bitfield()
155 *freq = 1600; in convert_freq_to_bitfield()