Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/arch/mips/kvm/ !
Dtlb.c311 unsigned long old_index; in kvm_vz_local_flush_guesttlb_all() local
321 old_index = read_gc0_index(); in kvm_vz_local_flush_guesttlb_all()
353 write_gc0_index(old_index); in kvm_vz_local_flush_guesttlb_all()
379 int old_index, i; in kvm_vz_save_guesttlb() local
382 old_index = read_gc0_index(); in kvm_vz_save_guesttlb()
423 write_gc0_index(old_index); in kvm_vz_save_guesttlb()
447 int old_index, i; in kvm_vz_load_guesttlb() local
450 old_index = read_gc0_index(); in kvm_vz_load_guesttlb()
477 write_gc0_index(old_index); in kvm_vz_load_guesttlb()
/linux-6.1.9/security/apparmor/include/ !
Dfile.h116 u16 old_index = (mask >> 10) & 0xf; in dfa_map_xindex() local
126 if (old_index == 1) { in dfa_map_xindex()
128 } else if (old_index == 2) { in dfa_map_xindex()
130 } else if (old_index == 3) { in dfa_map_xindex()
132 } else if (old_index) { in dfa_map_xindex()
134 index |= old_index - 4; in dfa_map_xindex()
/linux-6.1.9/drivers/cpufreq/ !
Dcpufreq_stats.c270 int old_index, new_index; in cpufreq_stats_record_transition() local
278 old_index = stats->last_index; in cpufreq_stats_record_transition()
282 if (unlikely(old_index == -1 || new_index == -1 || old_index == new_index)) in cpufreq_stats_record_transition()
288 stats->trans_table[old_index * stats->max_state + new_index]++; in cpufreq_stats_record_transition()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/ !
Ddcn30_resource.c1599 int old_index) in dcn30_find_split_pipe() argument
1604 if (old_index >= 0 && context->res_ctx.pipe_ctx[old_index].stream == NULL) { in dcn30_find_split_pipe()
1605 pipe = &context->res_ctx.pipe_ctx[old_index]; in dcn30_find_split_pipe()
1606 pipe->pipe_idx = old_index; in dcn30_find_split_pipe()
1781 int old_index = -1; in dcn30_internal_validate_bw() local
1795 old_index = old_pipe->next_odm_pipe->next_odm_pipe->pipe_idx; in dcn30_internal_validate_bw()
1797 old_index = old_pipe->next_odm_pipe->pipe_idx; in dcn30_internal_validate_bw()
1801 old_index = old_pipe->bottom_pipe->bottom_pipe->pipe_idx; in dcn30_internal_validate_bw()
1804 old_index = old_pipe->bottom_pipe->pipe_idx; in dcn30_internal_validate_bw()
1806 hsplit_pipe = dcn30_find_split_pipe(dc, context, old_index); in dcn30_internal_validate_bw()
[all …]
/linux-6.1.9/drivers/clk/qcom/ !
Dclk-krait.h16 u8 old_index; member
Dkrait-cc.c42 mux->old_index = krait_mux_clk_ops.get_parent(&mux->hw); in krait_notifier_cb()
53 mux->old_index); in krait_notifier_cb()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/ !
Ddcn32_fpu.c1343 int old_index) in dcn32_find_split_pipe() argument
1348 if (old_index >= 0 && context->res_ctx.pipe_ctx[old_index].stream == NULL) { in dcn32_find_split_pipe()
1349 pipe = &context->res_ctx.pipe_ctx[old_index]; in dcn32_find_split_pipe()
1350 pipe->pipe_idx = old_index; in dcn32_find_split_pipe()
1647 int old_index = -1; in dcn32_internal_validate_bw() local
1661 old_index = old_pipe->next_odm_pipe->next_odm_pipe->pipe_idx; in dcn32_internal_validate_bw()
1663 old_index = old_pipe->next_odm_pipe->pipe_idx; in dcn32_internal_validate_bw()
1667 old_index = old_pipe->bottom_pipe->bottom_pipe->pipe_idx; in dcn32_internal_validate_bw()
1670 old_index = old_pipe->bottom_pipe->pipe_idx; in dcn32_internal_validate_bw()
1672 hsplit_pipe = dcn32_find_split_pipe(dc, context, old_index); in dcn32_internal_validate_bw()
[all …]
/linux-6.1.9/drivers/net/ethernet/freescale/enetc/ !
Denetc.h178 union enetc_rx_bd **old_rxbd, int *old_index) in enetc_rxbd_next() argument
181 int new_index = *old_index; in enetc_rxbd_next()
196 *old_index = new_index; in enetc_rxbd_next()
/linux-6.1.9/drivers/regulator/ !
Ds5m8767.c297 int old_index, index = 0; in s5m8767_set_voltage_sel() local
325 old_index = s5m8767->buck_gpioindex; in s5m8767_set_voltage_sel()
328 if (index > old_index) in s5m8767_set_voltage_sel()
/linux-6.1.9/drivers/net/ethernet/freescale/ !
Dgianfar_ethtool.c1077 u32 old_index = tab->index; in gfar_convert_to_filer() local
1148 if (tab->index == old_index) { in gfar_convert_to_filer()
1165 if (tab->index > (old_index + 2)) { in gfar_convert_to_filer()
1166 tab->fe[old_index + 1].ctrl |= RQFCR_CLE; in gfar_convert_to_filer()
/linux-6.1.9/drivers/net/ipa/ !
Dgsi.c1370 u32 old_index; in gsi_evt_ring_update() local
1379 old_index = ring->index; in gsi_evt_ring_update()
1380 event = gsi_ring_virt(ring, old_index); in gsi_evt_ring_update()
1385 event_avail = ring->count - old_index % ring->count; in gsi_evt_ring_update()
/linux-6.1.9/drivers/infiniband/ulp/ipoib/ !
Dipoib_ib.c1041 u16 old_index = priv->pkey_index; in update_child_pkey() local
1047 (old_index == priv->pkey_index)) in update_child_pkey()
/linux-6.1.9/kernel/trace/ !
Dring_buffer.c3010 unsigned long new_index, old_index; in rb_try_to_discard() local
3018 old_index = new_index + rb_event_ts_length(event); in rb_try_to_discard()
3032 if (bpage->page == (void *)addr && rb_page_write(bpage) == old_index) { in rb_try_to_discard()
3067 old_index += write_mask; in rb_try_to_discard()
3069 index = local_cmpxchg(&bpage->write, old_index, new_index); in rb_try_to_discard()
3070 if (index == old_index) { in rb_try_to_discard()
/linux-6.1.9/drivers/block/ !
Dnbd.c995 int old_index = index; in nbd_handle_cmd() local
1000 index = old_index; in nbd_handle_cmd()