Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/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.12.1/security/apparmor/
Dpolicy_compat.c26 u16 old_index = (mask >> 10) & 0xf; in dfa_map_xindex() local
36 if (old_index == 1) { in dfa_map_xindex()
38 } else if (old_index == 2) { in dfa_map_xindex()
40 } else if (old_index == 3) { in dfa_map_xindex()
42 } else if (old_index) { in dfa_map_xindex()
44 index |= old_index - 4; in dfa_map_xindex()
/linux-6.12.1/drivers/cpufreq/
Dcpufreq_stats.c269 int old_index, new_index; in cpufreq_stats_record_transition() local
277 old_index = stats->last_index; in cpufreq_stats_record_transition()
281 if (unlikely(old_index == -1 || new_index == -1 || old_index == new_index)) in cpufreq_stats_record_transition()
287 stats->trans_table[old_index * stats->max_state + new_index]++; in cpufreq_stats_record_transition()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn30/
Ddcn30_resource.c1586 int old_index) in dcn30_find_split_pipe() argument
1591 if (old_index >= 0 && context->res_ctx.pipe_ctx[old_index].stream == NULL) { in dcn30_find_split_pipe()
1592 pipe = &context->res_ctx.pipe_ctx[old_index]; in dcn30_find_split_pipe()
1593 pipe->pipe_idx = old_index; in dcn30_find_split_pipe()
1772 int old_index = -1; in dcn30_internal_validate_bw() local
1786 old_index = old_pipe->next_odm_pipe->next_odm_pipe->pipe_idx; in dcn30_internal_validate_bw()
1788 old_index = old_pipe->next_odm_pipe->pipe_idx; in dcn30_internal_validate_bw()
1792 old_index = old_pipe->bottom_pipe->bottom_pipe->pipe_idx; in dcn30_internal_validate_bw()
1795 old_index = old_pipe->bottom_pipe->pipe_idx; in dcn30_internal_validate_bw()
1797 hsplit_pipe = dcn30_find_split_pipe(dc, context, old_index); in dcn30_internal_validate_bw()
[all …]
/linux-6.12.1/drivers/clk/qcom/
Dclk-krait.h16 u8 old_index; member
Dkrait-cc.c52 mux->old_index = krait_mux_clk_ops.get_parent(&mux->hw); in krait_notifier_cb()
63 mux->old_index); in krait_notifier_cb()
/linux-6.12.1/drivers/net/ethernet/freescale/enetc/
Denetc.h194 union enetc_rx_bd **old_rxbd, int *old_index) in enetc_rxbd_next() argument
197 int new_index = *old_index; in enetc_rxbd_next()
210 *old_index = new_index; in enetc_rxbd_next()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c1808 int old_index) in dcn32_find_split_pipe() argument
1813 if (old_index >= 0 && context->res_ctx.pipe_ctx[old_index].stream == NULL) { in dcn32_find_split_pipe()
1814 pipe = &context->res_ctx.pipe_ctx[old_index]; in dcn32_find_split_pipe()
1815 pipe->pipe_idx = old_index; in dcn32_find_split_pipe()
2033 int old_index = -1; in dcn32_apply_merge_split_flags_helper() local
2047 old_index = old_pipe->next_odm_pipe->next_odm_pipe->pipe_idx; in dcn32_apply_merge_split_flags_helper()
2049 old_index = old_pipe->next_odm_pipe->pipe_idx; in dcn32_apply_merge_split_flags_helper()
2053 old_index = old_pipe->bottom_pipe->bottom_pipe->pipe_idx; in dcn32_apply_merge_split_flags_helper()
2056 old_index = old_pipe->bottom_pipe->pipe_idx; in dcn32_apply_merge_split_flags_helper()
2058 hsplit_pipe = dcn32_find_split_pipe(dc, context, old_index); in dcn32_apply_merge_split_flags_helper()
[all …]
/linux-6.12.1/drivers/regulator/
Ds5m8767.c298 int old_index, index = 0; in s5m8767_set_voltage_sel() local
326 old_index = s5m8767->buck_gpioindex; in s5m8767_set_voltage_sel()
329 if (index > old_index) in s5m8767_set_voltage_sel()
/linux-6.12.1/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1079 u32 old_index = tab->index; in gfar_convert_to_filer() local
1150 if (tab->index == old_index) { in gfar_convert_to_filer()
1167 if (tab->index > (old_index + 2)) { in gfar_convert_to_filer()
1168 tab->fe[old_index + 1].ctrl |= RQFCR_CLE; in gfar_convert_to_filer()
/linux-6.12.1/drivers/net/ipa/
Dgsi.c1491 u32 old_index; in gsi_evt_ring_update() local
1500 old_index = ring->index; in gsi_evt_ring_update()
1501 event = gsi_ring_virt(ring, old_index); in gsi_evt_ring_update()
1506 event_avail = ring->count - old_index % ring->count; in gsi_evt_ring_update()
/linux-6.12.1/fs/
Dlibfs.c410 long old_index = dentry2offset(old_dentry); in simple_offset_rename_exchange() local
421 ret = simple_offset_replace(old_ctx, new_dentry, old_index); in simple_offset_rename_exchange()
436 (void)simple_offset_replace(old_ctx, old_dentry, old_index); in simple_offset_rename_exchange()
/linux-6.12.1/drivers/infiniband/ulp/ipoib/
Dipoib_ib.c1065 u16 old_index = priv->pkey_index; in update_child_pkey() local
1071 (old_index == priv->pkey_index)) in update_child_pkey()
/linux-6.12.1/kernel/trace/
Dring_buffer.c3598 unsigned long new_index, old_index; in rb_try_to_discard() local
3603 old_index = new_index + rb_event_ts_length(event); in rb_try_to_discard()
3613 if (bpage->page == (void *)addr && rb_page_write(bpage) == old_index) { in rb_try_to_discard()
3645 old_index += write_mask; in rb_try_to_discard()
3649 if (local_try_cmpxchg(&bpage->write, &old_index, new_index)) { in rb_try_to_discard()
/linux-6.12.1/drivers/block/
Dnbd.c1081 int old_index = index; in nbd_handle_cmd() local
1086 index = old_index; in nbd_handle_cmd()