/linux-2.6.39/drivers/net/wireless/ath/ath5k/ |
D | attach.c | 47 u32 cur_val; in ath5k_hw_post() local 59 cur_val = ath5k_hw_reg_read(ah, cur_reg); in ath5k_hw_post() 61 if (cur_val != var_pattern) { in ath5k_hw_post() 74 cur_val = ath5k_hw_reg_read(ah, cur_reg); in ath5k_hw_post() 76 if (cur_val != var_pattern) { in ath5k_hw_post()
|
/linux-2.6.39/sound/soc/codecs/ |
D | wm9081.c | 953 int ret, i, best, best_val, cur_val; in wm9081_hw_params() local 1014 cur_val = abs((wm9081->sysclk_rate / in wm9081_hw_params() 1016 if (cur_val < best_val) { in wm9081_hw_params() 1018 best_val = cur_val; in wm9081_hw_params() 1031 cur_val = abs(wm9081->fs - sample_rates[i].rate); in wm9081_hw_params() 1032 if (cur_val < best_val) { in wm9081_hw_params() 1034 best_val = cur_val; in wm9081_hw_params() 1046 cur_val = ((wm9081->sysclk_rate * 10) / bclk_divs[i].div) in wm9081_hw_params() 1048 if (cur_val < 0) /* Table is sorted */ in wm9081_hw_params() 1050 if (cur_val < best_val) { in wm9081_hw_params() [all …]
|
D | wm8993.c | 1178 int ret, i, best, best_val, cur_val; in wm8993_hw_params() local 1233 cur_val = abs((wm8993->sysclk_rate / in wm8993_hw_params() 1235 if (cur_val < best_val) { in wm8993_hw_params() 1237 best_val = cur_val; in wm8993_hw_params() 1250 cur_val = abs(wm8993->fs - sample_rates[i].rate); in wm8993_hw_params() 1251 if (cur_val < best_val) { in wm8993_hw_params() 1253 best_val = cur_val; in wm8993_hw_params() 1265 cur_val = ((wm8993->sysclk_rate * 10) / bclk_divs[i].div) in wm8993_hw_params() 1267 if (cur_val < 0) /* Table is sorted */ in wm8993_hw_params() 1269 if (cur_val < best_val) { in wm8993_hw_params() [all …]
|
D | wm8903.c | 1455 int cur_val; in wm8903_hw_params() local 1475 cur_val = abs(sample_rates[i].rate - fs); in wm8903_hw_params() 1476 if (cur_val <= best_val) { in wm8903_hw_params() 1478 best_val = cur_val; in wm8903_hw_params() 1520 cur_val = abs((wm8903->sysclk / in wm8903_hw_params() 1524 if (cur_val <= best_val) { in wm8903_hw_params() 1526 best_val = cur_val; in wm8903_hw_params() 1559 cur_val = ((clk_sys * 10) / bclk_divs[i].ratio) - bclk; in wm8903_hw_params() 1560 if (cur_val < 0) /* BCLK table is sorted */ in wm8903_hw_params() 1563 best_val = cur_val; in wm8903_hw_params()
|
D | wm8904.c | 1544 int ret, i, best, best_val, cur_val; in wm8904_hw_params() local 1591 cur_val = abs((wm8904->sysclk_rate / in wm8904_hw_params() 1593 if (cur_val < best_val) { in wm8904_hw_params() 1595 best_val = cur_val; in wm8904_hw_params() 1608 cur_val = abs(wm8904->fs - sample_rates[i].rate); in wm8904_hw_params() 1609 if (cur_val < best_val) { in wm8904_hw_params() 1611 best_val = cur_val; in wm8904_hw_params() 1627 cur_val = ((wm8904->sysclk_rate * 10) / bclk_divs[i].div) in wm8904_hw_params() 1629 if (cur_val < 0) /* Table is sorted */ in wm8904_hw_params() 1631 if (cur_val < best_val) { in wm8904_hw_params() [all …]
|
D | wm8995.c | 1116 int i, rate_val, best, best_val, cur_val; in wm8995_hw_params() local 1193 cur_val = abs((fs_ratios[i] * params_rate(params)) in wm8995_hw_params() 1195 if (cur_val >= best_val) in wm8995_hw_params() 1198 best_val = cur_val; in wm8995_hw_params() 1214 cur_val = (wm8995->aifclk[dai->id] * 10 / bclk_divs[i]) - bclk_rate; in wm8995_hw_params() 1215 if (cur_val < 0) /* BCLK table is sorted */ in wm8995_hw_params()
|
D | wm8994.c | 2340 int i, cur_val, best_val, bclk_rate, best; in wm8994_hw_params() local 2428 cur_val = abs((fs_ratios[i] * params_rate(params)) in wm8994_hw_params() 2430 if (cur_val >= best_val) in wm8994_hw_params() 2433 best_val = cur_val; in wm8994_hw_params() 2446 cur_val = (wm8994->aifclk[id] * 10 / bclk_divs[i]) - bclk_rate; in wm8994_hw_params() 2447 if (cur_val < 0) /* BCLK table is sorted */ in wm8994_hw_params()
|
/linux-2.6.39/arch/mips/txx9/generic/ |
D | setup.c | 698 u8 cur_val; member 709 return data->cur_val & (1 << offset); in txx9_iocled_get() 720 data->cur_val |= 1 << offset; in txx9_iocled_set() 722 data->cur_val &= ~(1 << offset); in txx9_iocled_set() 723 writeb(data->cur_val, data->mmioaddr); in txx9_iocled_set()
|
/linux-2.6.39/drivers/power/ |
D | s3c_adc_battery.c | 110 static int calc_full_volt(int volt_val, int cur_val, int impedance) in calc_full_volt() argument 112 return volt_val + cur_val * impedance / 1000; in calc_full_volt()
|
/linux-2.6.39/drivers/staging/westbridge/astoria/arch/arm/mach-omap2/ |
D | cyashalomap_kernel.c | 252 u16 cur_val, wr_val, rdback_val; in omap_cfg_reg_L() local 284 cur_val = IORD16(reg_vma); in omap_cfg_reg_L()
|
/linux-2.6.39/sound/pci/hda/ |
D | hda_local.h | 236 unsigned int *cur_val);
|
D | hda_codec.c | 4087 unsigned int *cur_val) in snd_hda_input_mux_put() argument 4096 if (*cur_val == idx) in snd_hda_input_mux_put() 4100 *cur_val = idx; in snd_hda_input_mux_put()
|
D | patch_realtek.c | 489 unsigned int *cur_val = &spec->cur_mux[adc_idx]; in alc_mux_enum_put() local 495 if (*cur_val == idx) in alc_mux_enum_put() 503 *cur_val = idx; in alc_mux_enum_put()
|