Home
last modified time | relevance | path

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

/drivers/cpuidle/
Dcpuidle-exynos.c62 int new_index = index; in exynos_enter_lowpower() local
66 new_index = drv->safe_state_index; in exynos_enter_lowpower()
68 if (new_index == 0) in exynos_enter_lowpower()
69 return arm_cpuidle_simple_enter(dev, drv, new_index); in exynos_enter_lowpower()
73 return new_index; in exynos_enter_lowpower()
/drivers/cpufreq/
Dcpufreq_stats.c229 int old_index, new_index; in cpufreq_stats_record_transition() local
237 new_index = freq_table_get_index(stats, new_freq); in cpufreq_stats_record_transition()
240 if (old_index == -1 || new_index == -1 || old_index == new_index) in cpufreq_stats_record_transition()
246 stats->last_index = new_index; in cpufreq_stats_record_transition()
247 stats->trans_table[old_index * stats->max_state + new_index]++; in cpufreq_stats_record_transition()
Dpowernv-cpufreq.c740 unsigned int new_index) in powernv_cpufreq_target_index() argument
746 if (unlikely(rebooting) && new_index != get_nominal_index()) in powernv_cpufreq_target_index()
760 freq_data.pstate_id = idx_to_pstate(new_index); in powernv_cpufreq_target_index()
769 gpstate_idx = new_index; in powernv_cpufreq_target_index()
770 gpstates->highest_lpstate_idx = new_index; in powernv_cpufreq_target_index()
774 if (gpstates->last_gpstate_idx < new_index) { in powernv_cpufreq_target_index()
785 gpstates->highest_lpstate_idx = new_index; in powernv_cpufreq_target_index()
786 gpstate_idx = new_index; in powernv_cpufreq_target_index()
791 new_index); in powernv_cpufreq_target_index()
795 gpstates->highest_lpstate_idx = new_index; in powernv_cpufreq_target_index()
[all …]
/drivers/block/
Dnbd.c819 int new_index = -1; in find_fallback() local
824 return new_index; in find_fallback()
829 return new_index; in find_fallback()
844 new_index = i; in find_fallback()
848 nsock->fallback_index = new_index; in find_fallback()
849 if (new_index < 0) { in find_fallback()
852 return new_index; in find_fallback()
855 new_index = nsock->fallback_index; in find_fallback()
856 return new_index; in find_fallback()
1826 int new_index; in nbd_genl_connect() local
[all …]
/drivers/media/usb/tm6000/
Dtm6000-core.c128 u8 new_index; in tm6000_set_reg_mask() local
136 new_index = (buf[0] & ~mask) | (index & mask); in tm6000_set_reg_mask()
138 if (new_index == buf[0]) in tm6000_set_reg_mask()
142 req, value, new_index, NULL, 0); in tm6000_set_reg_mask()
/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c422 u16 new_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()
463 } while ((++done < budget) && (ring_index != new_index)); in mlx4_en_process_tx_cq()
Dresource_tracker.c696 u8 new_index; in update_pkey_index() local
702 new_index = priv->virt2phys_pkey[slave][port - 1][orig_index]; in update_pkey_index()
703 *(u8 *)(inbox->buf + 35) = new_index; in update_pkey_index()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c2375 s8 index, delta_brd, delta_temp, new_index, tempcorrx; in wlc_lcnphy_tempcompensated_txpwrctrl() local
2420 new_index = in wlc_lcnphy_tempcompensated_txpwrctrl()
2422 new_index += tempcorrx; in wlc_lcnphy_tempcompensated_txpwrctrl()
2427 if (new_index < 0 || new_index > 126) in wlc_lcnphy_tempcompensated_txpwrctrl()
2430 return new_index; in wlc_lcnphy_tempcompensated_txpwrctrl()
/drivers/target/
Dtarget_core_transport.c176 u32 new_index; in scsi_get_new_index() local
181 new_index = ++scsi_mib_index[type]; in scsi_get_new_index()
184 return new_index; in scsi_get_new_index()