Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/cpufreq/
Dexynos5250-cpufreq.c157 unsigned int old_index) in set_apll() argument
198 bool exynos5250_pms_change(unsigned int old_index, unsigned int new_index) in exynos5250_pms_change() argument
200 unsigned int old_pm = (exynos5_apll_pms_table[old_index] >> 8); in exynos5250_pms_change()
206 static void exynos5250_set_frequency(unsigned int old_index, in exynos5250_set_frequency() argument
211 if (old_index > new_index) { in exynos5250_set_frequency()
212 if (!exynos5250_pms_change(old_index, new_index)) { in exynos5250_set_frequency()
226 set_apll(new_index, old_index); in exynos5250_set_frequency()
228 } else if (old_index < new_index) { in exynos5250_set_frequency()
229 if (!exynos5250_pms_change(old_index, new_index)) { in exynos5250_set_frequency()
240 set_apll(new_index, old_index); in exynos5250_set_frequency()
Dexynos4210-cpufreq.c182 bool exynos4210_pms_change(unsigned int old_index, unsigned int new_index) in exynos4210_pms_change() argument
184 unsigned int old_pm = (exynos4210_apll_pms_table[old_index] >> 8); in exynos4210_pms_change()
190 static void exynos4210_set_frequency(unsigned int old_index, in exynos4210_set_frequency() argument
195 if (old_index > new_index) { in exynos4210_set_frequency()
196 if (!exynos4210_pms_change(old_index, new_index)) { in exynos4210_set_frequency()
212 } else if (old_index < new_index) { in exynos4210_set_frequency()
213 if (!exynos4210_pms_change(old_index, new_index)) { in exynos4210_set_frequency()
Dexynos4x12-cpufreq.c370 bool exynos4x12_pms_change(unsigned int old_index, unsigned int new_index) in exynos4x12_pms_change() argument
372 unsigned int old_pm = exynos4x12_apll_pms_table[old_index] >> 8; in exynos4x12_pms_change()
378 static void exynos4x12_set_frequency(unsigned int old_index, in exynos4x12_set_frequency() argument
383 if (old_index > new_index) { in exynos4x12_set_frequency()
384 if (!exynos4x12_pms_change(old_index, new_index)) { in exynos4x12_set_frequency()
400 } else if (old_index < new_index) { in exynos4x12_set_frequency()
401 if (!exynos4x12_pms_change(old_index, new_index)) { in exynos4x12_set_frequency()
Dexynos-cpufreq.c49 unsigned int index, old_index; in exynos_target() local
66 freqs.old, relation, &old_index)) { in exynos_target()
86 if (exynos_info->need_apll_change(old_index, index) && in exynos_target()
88 (freq_table[old_index].frequency < mpll_freq_khz)) in exynos_target()
106 exynos_info->set_freq(old_index, index); in exynos_target()
Dcpufreq_stats.c288 int old_index, new_index; in cpufreq_stat_notifier_trans() local
297 old_index = stat->last_index; in cpufreq_stat_notifier_trans()
301 if (old_index == -1 || new_index == -1) in cpufreq_stat_notifier_trans()
306 if (old_index == new_index) in cpufreq_stat_notifier_trans()
312 stat->trans_table[old_index * stat->max_state + new_index]++; in cpufreq_stat_notifier_trans()
/linux-3.4.99/security/apparmor/include/
Dfile.h104 u16 old_index = (mask >> 10) & 0xf; in dfa_map_xindex() local
114 if (old_index == 1) { in dfa_map_xindex()
116 } else if (old_index == 2) { in dfa_map_xindex()
118 } else if (old_index == 3) { in dfa_map_xindex()
120 } else if (old_index) { in dfa_map_xindex()
122 index |= old_index - 4; in dfa_map_xindex()
/linux-3.4.99/drivers/scsi/aacraid/
Dsrc.c62 u32 old_index = index; in aac_src_intr_message() local
71 } while (index != old_index); in aac_src_intr_message()
/linux-3.4.99/drivers/usb/host/
Dehci-hcd.c251 unsigned int old_index; in handshake_for_broken_root_hub() local
257 old_index = ehci_read_frame_index(ehci); in handshake_for_broken_root_hub()
261 if (error == -ETIMEDOUT && ehci_read_frame_index(ehci) == old_index) in handshake_for_broken_root_hub()
/linux-3.4.99/kernel/trace/
Dring_buffer.c2048 unsigned long new_index, old_index; in rb_try_to_discard() local
2054 old_index = new_index + rb_event_ts_length(event); in rb_try_to_discard()
2060 if (bpage->page == (void *)addr && rb_page_write(bpage) == old_index) { in rb_try_to_discard()
2070 old_index += write_mask; in rb_try_to_discard()
2072 index = local_cmpxchg(&bpage->write, old_index, new_index); in rb_try_to_discard()
2073 if (index == old_index) { in rb_try_to_discard()
/linux-3.4.99/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1063 u32 old_index = tab->index; in gfar_convert_to_filer() local
1132 if (tab->index == old_index) { in gfar_convert_to_filer()
1149 if (tab->index > (old_index + 2)) { in gfar_convert_to_filer()
1150 tab->fe[old_index + 1].ctrl |= RQFCR_CLE; in gfar_convert_to_filer()
/linux-3.4.99/net/core/
Ddev.c2386 int old_index = queue_index; in dev_pick_tx() local
2392 if (queue_index != old_index && sk) { in dev_pick_tx()