Searched refs:new_index (Results 1 – 9 of 9) sorted by relevance
/drivers/cpuidle/ |
D | cpuidle-exynos.c | 62 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/ |
D | cpufreq_stats.c | 229 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()
|
D | powernv-cpufreq.c | 740 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/ |
D | nbd.c | 819 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/ |
D | tm6000-core.c | 128 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/ |
D | en_tx.c | 422 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()
|
D | resource_tracker.c | 696 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/ |
D | phy_lcn.c | 2375 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/ |
D | target_core_transport.c | 176 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()
|