Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/radeon/
H A Ddce3_1_afmt.c32 u8 *sadb, int sad_count) in dce3_2_afmt_hdmi_write_speaker_allocation() argument
43 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce3_2_afmt_hdmi_write_speaker_allocation()
50 u8 *sadb, int sad_count) in dce3_2_afmt_dp_write_speaker_allocation() argument
61 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce3_2_afmt_dp_write_speaker_allocation()
H A Dradeon_audio.h53 u8 *sadb, int sad_count);
87 u8 *sadb, int sad_count);
89 u8 *sadb, int sad_count);
H A Ddce6_afmt.h40 u8 *sadb, int sad_count);
42 u8 *sadb, int sad_count);
H A Devergreen_hdmi.h53 u8 *sadb, int sad_count);
55 u8 *sadb, int sad_count);
H A Ddce6_afmt.c155 u8 *sadb, int sad_count) in dce6_afmt_hdmi_write_speaker_allocation() argument
172 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce6_afmt_hdmi_write_speaker_allocation()
180 u8 *sadb, int sad_count) in dce6_afmt_dp_write_speaker_allocation() argument
197 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce6_afmt_dp_write_speaker_allocation()
H A Devergreen_hdmi.c122 u8 *sadb, int sad_count) in dce4_afmt_hdmi_write_speaker_allocation() argument
133 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce4_afmt_hdmi_write_speaker_allocation()
140 u8 *sadb, int sad_count) in dce4_afmt_dp_write_speaker_allocation() argument
151 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce4_afmt_dp_write_speaker_allocation()
H A Dradeon_audio.c332 u8 *sadb = NULL; in radeon_audio_write_speaker_allocation() local
338 sad_count = drm_edid_to_speaker_allocation(radeon_connector->edid, &sadb); in radeon_audio_write_speaker_allocation()
346 radeon_encoder->audio->write_speaker_allocation(encoder, sadb, sad_count); in radeon_audio_write_speaker_allocation()
348 kfree(sadb); in radeon_audio_write_speaker_allocation()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c856 err = xa_insert_bh(&ipsec->sadb, sa_entry->ipsec_obj_id, sa_entry, in mlx5e_xfrm_add_state()
868 xa_lock_bh(&ipsec->sadb); in mlx5e_xfrm_add_state()
869 __xa_set_mark(&ipsec->sadb, sa_entry->ipsec_obj_id, in mlx5e_xfrm_add_state()
871 xa_unlock_bh(&ipsec->sadb); in mlx5e_xfrm_add_state()
915 old = xa_erase_bh(&ipsec->sadb, sa_entry->ipsec_obj_id); in mlx5e_xfrm_del_state()
958 xa_for_each_marked(&ipsec->sadb, idx, sa_entry, MLX5E_IPSEC_TUNNEL_SA) { in mlx5e_ipsec_netevent_event()
994 xa_init_flags(&ipsec->sadb, XA_FLAGS_ALLOC); in mlx5e_ipsec_init()
H A Dipsec.h243 struct xarray sadb; member
H A Dipsec_rxtx.c326 sa_entry = xa_load(&ipsec->sadb, sa_handle); in mlx5e_ipsec_offload_handle_rx_skb()
H A Dipsec_offload.c494 sa_entry = xa_load(&ipsec->sadb, be32_to_cpu(object->obj_id)); in mlx5e_ipsec_event()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_helpers.c117 uint8_t *sadb = NULL; in dm_helpers_parse_edid_caps() local
161 sadb_count = drm_edid_to_speaker_allocation((struct edid *) edid->raw_edid, &sadb); in dm_helpers_parse_edid_caps()
169 edid_caps->speaker_flags = sadb[0]; in dm_helpers_parse_edid_caps()
174 kfree(sadb); in dm_helpers_parse_edid_caps()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Ddce_v8_0.c1252 u8 *sadb = NULL; in dce_v8_0_audio_write_speaker_allocation() local
1274 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector->edid, &sadb); in dce_v8_0_audio_write_speaker_allocation()
1287 tmp |= (sadb[0] << AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER__SPEAKER_ALLOCATION__SHIFT); in dce_v8_0_audio_write_speaker_allocation()
1292 kfree(sadb); in dce_v8_0_audio_write_speaker_allocation()
H A Ddce_v6_0.c1250 u8 *sadb = NULL; in dce_v6_0_audio_write_speaker_allocation() local
1268 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector->edid, &sadb); in dce_v6_0_audio_write_speaker_allocation()
1291 SPEAKER_ALLOCATION, sadb[0]); in dce_v6_0_audio_write_speaker_allocation()
1299 kfree(sadb); in dce_v6_0_audio_write_speaker_allocation()
H A Ddce_v10_0.c1281 u8 *sadb = NULL; in dce_v10_0_audio_write_speaker_allocation() local
1301 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector->edid, &sadb); in dce_v10_0_audio_write_speaker_allocation()
1317 SPEAKER_ALLOCATION, sadb[0]); in dce_v10_0_audio_write_speaker_allocation()
1324 kfree(sadb); in dce_v10_0_audio_write_speaker_allocation()
/linux/drivers/gpu/drm/
H A Ddrm_edid.c5803 u8 **sadb) in _drm_edid_to_speaker_allocation() argument
5813 *sadb = kmemdup(db->data, cea_db_payload_len(db), in _drm_edid_to_speaker_allocation()
5815 if (!*sadb) in _drm_edid_to_speaker_allocation()
5840 int drm_edid_to_speaker_allocation(const struct edid *edid, u8 **sadb) in drm_edid_to_speaker_allocation() argument
5845 sadb); in drm_edid_to_speaker_allocation()