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.c97 idx = cs->primary_idx; in ovpn_crypto_state_reset()
129 idx = cs->primary_idx; in ovpn_crypto_key_slot_delete()
157 idx = cs->primary_idx; in ovpn_crypto_key_slots_swap()
163 WRITE_ONCE(cs->primary_idx, !cs->primary_idx); in ovpn_crypto_key_slots_swap()
189 idx = cs->primary_idx; in ovpn_crypto_config_get()
192 idx = !cs->primary_idx; in ovpn_crypto_config_get()
H A Dcrypto.h54 u8 primary_idx; member
69 cs->primary_idx = 0; in ovpn_crypto_state_init()
83 idx = READ_ONCE(cs->primary_idx); in ovpn_crypto_key_id_to_slot()
114 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()