Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/radeon/
Ddce3_1_afmt.c31 u8 *sadb, int sad_count) in dce3_2_afmt_hdmi_write_speaker_allocation() argument
42 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce3_2_afmt_hdmi_write_speaker_allocation()
49 u8 *sadb, int sad_count) in dce3_2_afmt_dp_write_speaker_allocation() argument
60 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce3_2_afmt_dp_write_speaker_allocation()
Dradeon_audio.h53 u8 *sadb, int sad_count);
87 u8 *sadb, int sad_count);
89 u8 *sadb, int sad_count);
Ddce6_afmt.h40 u8 *sadb, int sad_count);
42 u8 *sadb, int sad_count);
Devergreen_hdmi.h53 u8 *sadb, int sad_count);
55 u8 *sadb, int sad_count);
Ddce6_afmt.c154 u8 *sadb, int sad_count) in dce6_afmt_hdmi_write_speaker_allocation() argument
171 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce6_afmt_hdmi_write_speaker_allocation()
179 u8 *sadb, int sad_count) in dce6_afmt_dp_write_speaker_allocation() argument
196 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce6_afmt_dp_write_speaker_allocation()
Devergreen_hdmi.c121 u8 *sadb, int sad_count) in dce4_afmt_hdmi_write_speaker_allocation() argument
132 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce4_afmt_hdmi_write_speaker_allocation()
139 u8 *sadb, int sad_count) in dce4_afmt_dp_write_speaker_allocation() argument
150 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce4_afmt_dp_write_speaker_allocation()
Dradeon_audio.c329 u8 *sadb = NULL; in radeon_audio_write_speaker_allocation() local
336 &sadb); in radeon_audio_write_speaker_allocation()
344 radeon_encoder->audio->write_speaker_allocation(encoder, sadb, sad_count); in radeon_audio_write_speaker_allocation()
346 kfree(sadb); in radeon_audio_write_speaker_allocation()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec.c714 err = xa_insert_bh(&ipsec->sadb, sa_entry->ipsec_obj_id, sa_entry, in mlx5e_xfrm_add_state()
727 xa_set_mark(&ipsec->sadb, sa_entry->ipsec_obj_id, in mlx5e_xfrm_add_state()
762 old = xa_erase_bh(&ipsec->sadb, sa_entry->ipsec_obj_id); in mlx5e_xfrm_del_state()
813 xa_for_each_marked(&ipsec->sadb, idx, sa_entry, MLX5E_IPSEC_TUNNEL_SA) { in mlx5e_ipsec_netevent_event()
851 xa_init_flags(&ipsec->sadb, XA_FLAGS_ALLOC); in mlx5e_ipsec_init()
Dipsec.h226 struct xarray sadb; member
Dipsec_rxtx.c332 sa_entry = xa_load(&ipsec->sadb, sa_handle); in mlx5e_ipsec_offload_handle_rx_skb()
Dipsec_offload.c490 sa_entry = xa_load(&ipsec->sadb, be32_to_cpu(object->obj_id)); in mlx5e_ipsec_event()
/Linux-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_helpers.c92 uint8_t *sadb = NULL; in dm_helpers_parse_edid_caps() local
130 sadb_count = drm_edid_to_speaker_allocation((struct edid *) edid->raw_edid, &sadb); in dm_helpers_parse_edid_caps()
138 edid_caps->speaker_flags = sadb[0]; in dm_helpers_parse_edid_caps()
145 kfree(sadb); in dm_helpers_parse_edid_caps()
/Linux-v6.6/include/drm/
Ddrm_edid.h386 int drm_edid_to_speaker_allocation(const struct edid *edid, u8 **sadb);
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Ddce_v6_0.c1185 u8 *sadb = NULL; in dce_v6_0_audio_write_speaker_allocation() local
1203 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector_edid(connector), &sadb); in dce_v6_0_audio_write_speaker_allocation()
1226 SPEAKER_ALLOCATION, sadb[0]); in dce_v6_0_audio_write_speaker_allocation()
1234 kfree(sadb); in dce_v6_0_audio_write_speaker_allocation()
Ddce_v8_0.c1236 u8 *sadb = NULL; in dce_v8_0_audio_write_speaker_allocation() local
1258 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector_edid(connector), &sadb); in dce_v8_0_audio_write_speaker_allocation()
1271 tmp |= (sadb[0] << AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER__SPEAKER_ALLOCATION__SHIFT); in dce_v8_0_audio_write_speaker_allocation()
1276 kfree(sadb); in dce_v8_0_audio_write_speaker_allocation()
Ddce_v10_0.c1279 u8 *sadb = NULL; in dce_v10_0_audio_write_speaker_allocation() local
1299 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector_edid(connector), &sadb); in dce_v10_0_audio_write_speaker_allocation()
1315 SPEAKER_ALLOCATION, sadb[0]); in dce_v10_0_audio_write_speaker_allocation()
1322 kfree(sadb); in dce_v10_0_audio_write_speaker_allocation()
Ddce_v11_0.c1311 u8 *sadb = NULL; in dce_v11_0_audio_write_speaker_allocation() local
1331 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector_edid(connector), &sadb); in dce_v11_0_audio_write_speaker_allocation()
1347 SPEAKER_ALLOCATION, sadb[0]); in dce_v11_0_audio_write_speaker_allocation()
1354 kfree(sadb); in dce_v11_0_audio_write_speaker_allocation()
/Linux-v6.6/drivers/gpu/drm/
Ddrm_edid.c5640 u8 **sadb) in _drm_edid_to_speaker_allocation() argument
5650 *sadb = kmemdup(db->data, cea_db_payload_len(db), in _drm_edid_to_speaker_allocation()
5652 if (!*sadb) in _drm_edid_to_speaker_allocation()
5677 int drm_edid_to_speaker_allocation(const struct edid *edid, u8 **sadb) in drm_edid_to_speaker_allocation() argument
5682 sadb); in drm_edid_to_speaker_allocation()