Home
last modified time | relevance | path

Searched refs:primary_idx (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ovpn/
H A Dcrypto.c93 idx = cs->primary_idx; in ovpn_crypto_state_reset()
125 idx = cs->primary_idx; in ovpn_crypto_key_slot_delete()
153 idx = cs->primary_idx; in ovpn_crypto_key_slots_swap()
159 WRITE_ONCE(cs->primary_idx, !cs->primary_idx); in ovpn_crypto_key_slots_swap()
185 idx = cs->primary_idx; in ovpn_crypto_config_get()
188 idx = !cs->primary_idx; in ovpn_crypto_config_get()
H A Dcrypto.h56 u8 primary_idx; member
71 cs->primary_idx = 0; in ovpn_crypto_state_init()
85 idx = READ_ONCE(cs->primary_idx); in ovpn_crypto_key_id_to_slot()
116 ks = rcu_dereference(cs->slots[cs->primary_idx]); in ovpn_crypto_key_slot_primary()
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_rm.c227 static int _dpu_rm_get_lm_peer(struct dpu_rm *rm, int primary_idx) in _dpu_rm_get_lm_peer() argument
231 prim_lm_cfg = to_dpu_hw_mixer(rm->mixer_blks[primary_idx])->cap; in _dpu_rm_get_lm_peer()