/linux-4.1.27/drivers/cpufreq/ |
H A D | exynos4210-cpufreq.c | 108 unsigned int new_index) exynos4210_set_frequency() 110 if (old_index > new_index) { exynos4210_set_frequency() 111 exynos4210_set_clkdiv(new_index); exynos4210_set_frequency() 112 exynos4210_set_apll(new_index); exynos4210_set_frequency() 113 } else if (old_index < new_index) { exynos4210_set_frequency() 114 exynos4210_set_apll(new_index); exynos4210_set_frequency() 115 exynos4210_set_clkdiv(new_index); exynos4210_set_frequency() 107 exynos4210_set_frequency(unsigned int old_index, unsigned int new_index) exynos4210_set_frequency() argument
|
H A D | exynos4x12-cpufreq.c | 155 unsigned int new_index) exynos4x12_set_frequency() 157 if (old_index > new_index) { exynos4x12_set_frequency() 158 exynos4x12_set_clkdiv(new_index); exynos4x12_set_frequency() 159 exynos4x12_set_apll(new_index); exynos4x12_set_frequency() 160 } else if (old_index < new_index) { exynos4x12_set_frequency() 161 exynos4x12_set_apll(new_index); exynos4x12_set_frequency() 162 exynos4x12_set_clkdiv(new_index); exynos4x12_set_frequency() 154 exynos4x12_set_frequency(unsigned int old_index, unsigned int new_index) exynos4x12_set_frequency() argument
|
H A D | exynos5250-cpufreq.c | 134 unsigned int new_index) exynos5250_set_frequency() 136 if (old_index > new_index) { exynos5250_set_frequency() 137 set_clkdiv(new_index); exynos5250_set_frequency() 138 set_apll(new_index); exynos5250_set_frequency() 139 } else if (old_index < new_index) { exynos5250_set_frequency() 140 set_apll(new_index); exynos5250_set_frequency() 141 set_clkdiv(new_index); exynos5250_set_frequency() 133 exynos5250_set_frequency(unsigned int old_index, unsigned int new_index) exynos5250_set_frequency() argument
|
H A D | cpufreq_stats.c | 266 int old_index, new_index; cpufreq_stat_notifier_trans() local 284 new_index = freq_table_get_index(stats, freq->new); cpufreq_stat_notifier_trans() 287 if (old_index == -1 || new_index == -1) cpufreq_stat_notifier_trans() 290 if (old_index == new_index) cpufreq_stat_notifier_trans() 295 stats->last_index = new_index; cpufreq_stat_notifier_trans() 297 stats->trans_table[old_index * stats->max_state + new_index]++; cpufreq_stat_notifier_trans()
|
H A D | powernv-cpufreq.c | 341 * the cpufreq table entry indexed by new_index on the cpus in the 345 unsigned int new_index) powernv_cpufreq_target_index() 349 if (unlikely(rebooting) && new_index != get_nominal_index()) powernv_cpufreq_target_index() 355 freq_data.pstate_id = powernv_freqs[new_index].driver_data; powernv_cpufreq_target_index() 344 powernv_cpufreq_target_index(struct cpufreq_policy *policy, unsigned int new_index) powernv_cpufreq_target_index() argument
|
/linux-4.1.27/drivers/cpuidle/ |
H A D | cpuidle-exynos.c | 65 int new_index = index; exynos_enter_lowpower() local 69 new_index = drv->safe_state_index; exynos_enter_lowpower() 71 if (new_index == 0) exynos_enter_lowpower() 72 return arm_cpuidle_simple_enter(dev, drv, new_index); exynos_enter_lowpower() 76 return new_index; exynos_enter_lowpower()
|
/linux-4.1.27/net/core/ |
H A D | flow_dissector.c | 458 int new_index = get_xps_queue(dev, skb); __netdev_pick_tx() local 459 if (new_index < 0) __netdev_pick_tx() 460 new_index = skb_tx_hash(dev, skb); __netdev_pick_tx() 462 if (queue_index != new_index && sk && __netdev_pick_tx() 464 sk_tx_queue_set(sk, new_index); __netdev_pick_tx() 466 queue_index = new_index; __netdev_pick_tx()
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | cpumap.c | 321 int level, new_index, index = root_index; iterate_cpu() local 340 new_index = t->nodes[index].rover; iterate_cpu() 344 index = new_index; iterate_cpu()
|
/linux-4.1.27/drivers/media/usb/tm6000/ |
H A D | tm6000-core.c | 142 u8 new_index; tm6000_set_reg_mask() local 150 new_index = (buf[0] & ~mask) | (index & mask); tm6000_set_reg_mask() 152 if (new_index == buf[0]) tm6000_set_reg_mask() 156 req, value, new_index, NULL, 0); tm6000_set_reg_mask()
|
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/ |
H A D | lib-eq.c | 240 int new_index = eq->eq_deq_seq & (eq->eq_size - 1); lnet_eq_dequeue_event() local 241 lnet_event_t *new_event = &eq->eq_events[new_index]; lnet_eq_dequeue_event()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_tx.c | 393 u16 new_index, ring_index, stamp_index; mlx4_en_process_tx_cq() local 440 new_index = be16_to_cpu(cqe->wqe_index) & size_mask; mlx4_en_process_tx_cq() 461 } while ((++done < budget) && (ring_index != new_index)); mlx4_en_process_tx_cq()
|
H A D | resource_tracker.c | 653 u8 new_index; update_pkey_index() local 659 new_index = priv->virt2phys_pkey[slave][port - 1][orig_index]; update_pkey_index() 660 *(u8 *)(inbox->buf + 35) = new_index; update_pkey_index()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
H A D | phy_lcn.c | 2388 s8 index, delta_brd, delta_temp, new_index, tempcorrx; wlc_lcnphy_tempcompensated_txpwrctrl() local 2433 new_index = wlc_lcnphy_tempcompensated_txpwrctrl() 2435 new_index += tempcorrx; wlc_lcnphy_tempcompensated_txpwrctrl() 2440 if (new_index < 0 || new_index > 126) wlc_lcnphy_tempcompensated_txpwrctrl() 2443 return new_index; wlc_lcnphy_tempcompensated_txpwrctrl()
|
/linux-4.1.27/kernel/trace/ |
H A D | ring_buffer.c | 2479 unsigned long new_index, old_index; rb_try_to_discard() local 2484 new_index = rb_event_index(event); rb_try_to_discard() 2485 old_index = new_index + rb_event_ts_length(event); rb_try_to_discard() 2502 new_index += write_mask; rb_try_to_discard() 2503 index = local_cmpxchg(&bpage->write, old_index, new_index); rb_try_to_discard()
|
/linux-4.1.27/drivers/target/ |
H A D | target_core_transport.c | 204 u32 new_index; scsi_get_new_index() local 209 new_index = ++scsi_mib_index[type]; scsi_get_new_index() 212 return new_index; scsi_get_new_index()
|