Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/cpufreq/
Dexynos4210-cpufreq.c108 unsigned int new_index) in exynos4210_set_frequency() argument
110 if (old_index > new_index) { in exynos4210_set_frequency()
111 exynos4210_set_clkdiv(new_index); in exynos4210_set_frequency()
112 exynos4210_set_apll(new_index); in exynos4210_set_frequency()
113 } else if (old_index < new_index) { in exynos4210_set_frequency()
114 exynos4210_set_apll(new_index); in exynos4210_set_frequency()
115 exynos4210_set_clkdiv(new_index); in exynos4210_set_frequency()
Dexynos5250-cpufreq.c134 unsigned int new_index) in exynos5250_set_frequency() argument
136 if (old_index > new_index) { in exynos5250_set_frequency()
137 set_clkdiv(new_index); in exynos5250_set_frequency()
138 set_apll(new_index); in exynos5250_set_frequency()
139 } else if (old_index < new_index) { in exynos5250_set_frequency()
140 set_apll(new_index); in exynos5250_set_frequency()
141 set_clkdiv(new_index); in exynos5250_set_frequency()
Dexynos4x12-cpufreq.c155 unsigned int new_index) in exynos4x12_set_frequency() argument
157 if (old_index > new_index) { in exynos4x12_set_frequency()
158 exynos4x12_set_clkdiv(new_index); in exynos4x12_set_frequency()
159 exynos4x12_set_apll(new_index); in exynos4x12_set_frequency()
160 } else if (old_index < new_index) { in exynos4x12_set_frequency()
161 exynos4x12_set_apll(new_index); in exynos4x12_set_frequency()
162 exynos4x12_set_clkdiv(new_index); in exynos4x12_set_frequency()
Dcpufreq_stats.c266 int old_index, new_index; in cpufreq_stat_notifier_trans() local
284 new_index = freq_table_get_index(stats, freq->new); in cpufreq_stat_notifier_trans()
287 if (old_index == -1 || new_index == -1) in cpufreq_stat_notifier_trans()
290 if (old_index == new_index) in cpufreq_stat_notifier_trans()
295 stats->last_index = new_index; in cpufreq_stat_notifier_trans()
297 stats->trans_table[old_index * stats->max_state + new_index]++; in cpufreq_stat_notifier_trans()
Dpowernv-cpufreq.c345 unsigned int new_index) in powernv_cpufreq_target_index() argument
349 if (unlikely(rebooting) && new_index != get_nominal_index()) in powernv_cpufreq_target_index()
355 freq_data.pstate_id = powernv_freqs[new_index].driver_data; in powernv_cpufreq_target_index()
/linux-4.1.27/drivers/cpuidle/
Dcpuidle-exynos.c65 int new_index = index; in exynos_enter_lowpower() local
69 new_index = drv->safe_state_index; in exynos_enter_lowpower()
71 if (new_index == 0) in exynos_enter_lowpower()
72 return arm_cpuidle_simple_enter(dev, drv, new_index); in exynos_enter_lowpower()
76 return new_index; in exynos_enter_lowpower()
/linux-4.1.27/net/core/
Dflow_dissector.c458 int new_index = get_xps_queue(dev, skb); in __netdev_pick_tx() local
459 if (new_index < 0) in __netdev_pick_tx()
460 new_index = skb_tx_hash(dev, skb); in __netdev_pick_tx()
462 if (queue_index != new_index && sk && in __netdev_pick_tx()
464 sk_tx_queue_set(sk, new_index); in __netdev_pick_tx()
466 queue_index = new_index; in __netdev_pick_tx()
/linux-4.1.27/arch/sparc/kernel/
Dcpumap.c321 int level, new_index, index = root_index; in iterate_cpu() local
340 new_index = t->nodes[index].rover; in iterate_cpu()
344 index = new_index; in iterate_cpu()
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/
Dlib-eq.c240 int new_index = eq->eq_deq_seq & (eq->eq_size - 1); in lnet_eq_dequeue_event() local
241 lnet_event_t *new_event = &eq->eq_events[new_index]; in lnet_eq_dequeue_event()
/linux-4.1.27/drivers/media/usb/tm6000/
Dtm6000-core.c142 u8 new_index; in tm6000_set_reg_mask() local
150 new_index = (buf[0] & ~mask) | (index & mask); in tm6000_set_reg_mask()
152 if (new_index == buf[0]) in tm6000_set_reg_mask()
156 req, value, new_index, NULL, 0); in tm6000_set_reg_mask()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c393 u16 new_index, ring_index, stamp_index; in mlx4_en_process_tx_cq() local
440 new_index = be16_to_cpu(cqe->wqe_index) & size_mask; in mlx4_en_process_tx_cq()
461 } while ((++done < budget) && (ring_index != new_index)); in mlx4_en_process_tx_cq()
Dresource_tracker.c653 u8 new_index; in update_pkey_index() local
659 new_index = priv->virt2phys_pkey[slave][port - 1][orig_index]; in update_pkey_index()
660 *(u8 *)(inbox->buf + 35) = new_index; in update_pkey_index()
/linux-4.1.27/kernel/trace/
Dring_buffer.c2479 unsigned long new_index, old_index; in rb_try_to_discard() local
2484 new_index = rb_event_index(event); in rb_try_to_discard()
2485 old_index = new_index + rb_event_ts_length(event); in rb_try_to_discard()
2502 new_index += write_mask; in rb_try_to_discard()
2503 index = local_cmpxchg(&bpage->write, old_index, new_index); in rb_try_to_discard()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_lcn.c2388 s8 index, delta_brd, delta_temp, new_index, tempcorrx; in wlc_lcnphy_tempcompensated_txpwrctrl() local
2433 new_index = in wlc_lcnphy_tempcompensated_txpwrctrl()
2435 new_index += tempcorrx; in wlc_lcnphy_tempcompensated_txpwrctrl()
2440 if (new_index < 0 || new_index > 126) in wlc_lcnphy_tempcompensated_txpwrctrl()
2443 return new_index; in wlc_lcnphy_tempcompensated_txpwrctrl()
/linux-4.1.27/drivers/target/
Dtarget_core_transport.c204 u32 new_index; in scsi_get_new_index() local
209 new_index = ++scsi_mib_index[type]; in scsi_get_new_index()
212 return new_index; in scsi_get_new_index()