Home
last modified time | relevance | path

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

/drivers/clk/ux500/
Dclk-sysctrl.c68 u8 old_index = clk->parent_index; in clk_sysctrl_set_parent() local
71 if (clk->reg_sel[old_index]) { in clk_sysctrl_set_parent()
72 ret = ab8500_sysctrl_clear(clk->reg_sel[old_index], in clk_sysctrl_set_parent()
73 clk->reg_mask[old_index]); in clk_sysctrl_set_parent()
83 if (clk->reg_sel[old_index]) in clk_sysctrl_set_parent()
84 ab8500_sysctrl_write(clk->reg_sel[old_index], in clk_sysctrl_set_parent()
85 clk->reg_mask[old_index], in clk_sysctrl_set_parent()
86 clk->reg_bits[old_index]); in clk_sysctrl_set_parent()
/drivers/cpufreq/
Dcpufreq_stats.c227 int old_index, new_index; in cpufreq_stats_record_transition() local
234 old_index = stats->last_index; in cpufreq_stats_record_transition()
238 if (old_index == -1 || new_index == -1 || old_index == new_index) in cpufreq_stats_record_transition()
244 stats->trans_table[old_index * stats->max_state + new_index]++; in cpufreq_stats_record_transition()
/drivers/regulator/
Ds5m8767.c304 int old_index, index = 0; in s5m8767_set_voltage_sel() local
332 old_index = s5m8767->buck_gpioindex; in s5m8767_set_voltage_sel()
335 if (index > old_index) in s5m8767_set_voltage_sel()
/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1139 u32 old_index = tab->index; in gfar_convert_to_filer() local
1212 if (tab->index == old_index) { in gfar_convert_to_filer()
1229 if (tab->index > (old_index + 2)) { in gfar_convert_to_filer()
1230 tab->fe[old_index + 1].ctrl |= RQFCR_CLE; in gfar_convert_to_filer()
/drivers/infiniband/ulp/ipoib/
Dipoib_ib.c1013 u16 old_index = priv->pkey_index; in update_child_pkey() local
1019 (old_index == priv->pkey_index)) in update_child_pkey()
/drivers/block/
Dnbd.c837 int old_index = index; in nbd_handle_cmd() local
842 index = old_index; in nbd_handle_cmd()