/drivers/gpu/drm/radeon/ |
D | evergreen_hdmi.c | 407 if (!dig || !dig->afmt) in evergreen_hdmi_enable() 414 WREG32(HDMI_INFOFRAME_CONTROL0 + dig->afmt->offset, in evergreen_hdmi_enable() 419 WREG32_OR(AFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset, in evergreen_hdmi_enable() 422 WREG32(HDMI_INFOFRAME_CONTROL0 + dig->afmt->offset, in evergreen_hdmi_enable() 425 WREG32_AND(AFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset, in evergreen_hdmi_enable() 429 WREG32_AND(AFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset, in evergreen_hdmi_enable() 431 WREG32(HDMI_INFOFRAME_CONTROL0 + dig->afmt->offset, 0); in evergreen_hdmi_enable() 434 dig->afmt->enabled = enable; in evergreen_hdmi_enable() 437 enable ? "En" : "Dis", dig->afmt->offset, radeon_encoder->encoder_id); in evergreen_hdmi_enable() 448 if (!dig || !dig->afmt) in evergreen_dp_enable() [all …]
|
D | r600_hdmi.c | 250 uint32_t offset = dig->afmt->offset; in r600_hdmi_update_audio_infoframe() 268 uint32_t offset = dig->afmt->offset; in r600_hdmi_is_audio_buffer_filled() 282 if (!dig->afmt || !dig->afmt->enabled) in r600_hdmi_buffer_status_changed() 286 result = dig->afmt->last_buffer_filled_status != status; in r600_hdmi_buffer_status_changed() 287 dig->afmt->last_buffer_filled_status = status; in r600_hdmi_buffer_status_changed() 301 uint32_t offset = dig->afmt->offset; in r600_hdmi_audio_workaround() 424 if (!dig->afmt || !dig->afmt->enabled) in r600_hdmi_update_audio_settings() 426 offset = dig->afmt->offset; in r600_hdmi_update_audio_settings() 477 if (!dig || !dig->afmt) in r600_hdmi_enable() 518 WREG32(HDMI0_CONTROL + dig->afmt->offset, hdmi); in r600_hdmi_enable() [all …]
|
D | radeon_audio.c | 542 if (dig && dig->afmt && radeon_encoder->audio && in radeon_audio_set_avi_packet() 544 radeon_encoder->audio->set_avi_packet(rdev, dig->afmt->offset, in radeon_audio_set_avi_packet() 632 if (!dig || !dig->afmt) in radeon_audio_update_acr() 636 radeon_encoder->audio->update_acr(encoder, dig->afmt->offset, acr); in radeon_audio_update_acr() 644 if (!dig || !dig->afmt) in radeon_audio_set_vbi_packet() 648 radeon_encoder->audio->set_vbi_packet(encoder, dig->afmt->offset); in radeon_audio_set_vbi_packet() 657 if (!dig || !dig->afmt) in radeon_hdmi_set_color_depth() 666 radeon_encoder->audio->set_color_depth(encoder, dig->afmt->offset, bpc); in radeon_hdmi_set_color_depth() 674 if (!dig || !dig->afmt) in radeon_audio_set_audio_packet() 678 radeon_encoder->audio->set_audio_packet(encoder, dig->afmt->offset); in radeon_audio_set_audio_packet() [all …]
|
D | dce6_afmt.c | 116 if (!dig || !dig->afmt || !dig->pin) in dce6_afmt_select_pin() 119 WREG32(AFMT_AUDIO_SRC_CONTROL + dig->afmt->offset, in dce6_afmt_select_pin() 132 if (!dig || !dig->afmt || !dig->pin) in dce6_afmt_write_latency_fields() 160 if (!dig || !dig->afmt || !dig->pin) in dce6_afmt_hdmi_write_speaker_allocation() 185 if (!dig || !dig->afmt || !dig->pin) in dce6_afmt_dp_write_speaker_allocation() 224 if (!dig || !dig->afmt || !dig->pin) in dce6_afmt_write_sad_regs()
|
D | radeon_display.c | 1554 rdev->mode_info.afmt[i] = NULL; in radeon_afmt_init() 1587 rdev->mode_info.afmt[i] = kzalloc(sizeof(struct radeon_afmt), GFP_KERNEL); in radeon_afmt_init() 1588 if (rdev->mode_info.afmt[i]) { in radeon_afmt_init() 1589 rdev->mode_info.afmt[i]->offset = eg_offsets[i]; in radeon_afmt_init() 1590 rdev->mode_info.afmt[i]->id = i; in radeon_afmt_init() 1595 rdev->mode_info.afmt[0] = kzalloc(sizeof(struct radeon_afmt), GFP_KERNEL); in radeon_afmt_init() 1596 if (rdev->mode_info.afmt[0]) { in radeon_afmt_init() 1597 rdev->mode_info.afmt[0]->offset = DCE3_HDMI_OFFSET0; in radeon_afmt_init() 1598 rdev->mode_info.afmt[0]->id = 0; in radeon_afmt_init() 1600 rdev->mode_info.afmt[1] = kzalloc(sizeof(struct radeon_afmt), GFP_KERNEL); in radeon_afmt_init() [all …]
|
D | radeon_irq_kms.c | 135 rdev->irq.afmt[i] = false; in radeon_driver_irq_preinstall_kms() 189 rdev->irq.afmt[i] = false; in radeon_driver_irq_uninstall_kms() 471 rdev->irq.afmt[block] = true; in radeon_irq_kms_enable_afmt() 493 rdev->irq.afmt[block] = false; in radeon_irq_kms_disable_afmt()
|
D | radeon_mode.h | 248 struct radeon_afmt *afmt[RADEON_MAX_AFMT_BLOCKS]; member 442 struct radeon_afmt *afmt; member
|
D | atombios_encoders.c | 2499 dig->afmt = rdev->mode_info.afmt[dig->dig_encoder]; in radeon_atom_encoder_prepare() 2502 dig->afmt = rdev->mode_info.afmt[0]; in radeon_atom_encoder_prepare()
|
D | evergreen.c | 4739 if (rdev->irq.afmt[0]) { in evergreen_irq_set() 4743 if (rdev->irq.afmt[1]) { in evergreen_irq_set() 4747 if (rdev->irq.afmt[2]) { in evergreen_irq_set() 4751 if (rdev->irq.afmt[3]) { in evergreen_irq_set() 4755 if (rdev->irq.afmt[4]) { in evergreen_irq_set() 4759 if (rdev->irq.afmt[5]) { in evergreen_irq_set()
|
D | rs600.c | 688 if (rdev->irq.afmt[0]) { in rs600_irq_set()
|
D | r600.c | 3818 if (rdev->irq.afmt[0]) { in r600_irq_set() 3822 if (rdev->irq.afmt[1]) { in r600_irq_set()
|
D | radeon.h | 814 bool afmt[RADEON_MAX_AFMT_BLOCKS]; member
|
/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v10_0.c | 1422 if (!dig || !dig->afmt || !dig->afmt->pin) in dce_v10_0_afmt_audio_select_pin() 1425 tmp = RREG32(mmAFMT_AUDIO_SRC_CONTROL + dig->afmt->offset); in dce_v10_0_afmt_audio_select_pin() 1426 tmp = REG_SET_FIELD(tmp, AFMT_AUDIO_SRC_CONTROL, AFMT_AUDIO_SRC_SELECT, dig->afmt->pin->id); in dce_v10_0_afmt_audio_select_pin() 1427 WREG32(mmAFMT_AUDIO_SRC_CONTROL + dig->afmt->offset, tmp); in dce_v10_0_afmt_audio_select_pin() 1441 if (!dig || !dig->afmt || !dig->afmt->pin) in dce_v10_0_audio_write_latency_fields() 1469 WREG32_AUDIO_ENDPT(dig->afmt->pin->offset, in dce_v10_0_audio_write_latency_fields() 1484 if (!dig || !dig->afmt || !dig->afmt->pin) in dce_v10_0_audio_write_speaker_allocation() 1506 tmp = RREG32_AUDIO_ENDPT(dig->afmt->pin->offset, in dce_v10_0_audio_write_speaker_allocation() 1519 WREG32_AUDIO_ENDPT(dig->afmt->pin->offset, in dce_v10_0_audio_write_speaker_allocation() 1550 if (!dig || !dig->afmt || !dig->afmt->pin) in dce_v10_0_audio_write_sad_regs() [all …]
|
D | dce_v11_0.c | 1410 if (!dig || !dig->afmt || !dig->afmt->pin) in dce_v11_0_afmt_audio_select_pin() 1413 tmp = RREG32(mmAFMT_AUDIO_SRC_CONTROL + dig->afmt->offset); in dce_v11_0_afmt_audio_select_pin() 1414 tmp = REG_SET_FIELD(tmp, AFMT_AUDIO_SRC_CONTROL, AFMT_AUDIO_SRC_SELECT, dig->afmt->pin->id); in dce_v11_0_afmt_audio_select_pin() 1415 WREG32(mmAFMT_AUDIO_SRC_CONTROL + dig->afmt->offset, tmp); in dce_v11_0_afmt_audio_select_pin() 1429 if (!dig || !dig->afmt || !dig->afmt->pin) in dce_v11_0_audio_write_latency_fields() 1457 WREG32_AUDIO_ENDPT(dig->afmt->pin->offset, in dce_v11_0_audio_write_latency_fields() 1472 if (!dig || !dig->afmt || !dig->afmt->pin) in dce_v11_0_audio_write_speaker_allocation() 1494 tmp = RREG32_AUDIO_ENDPT(dig->afmt->pin->offset, in dce_v11_0_audio_write_speaker_allocation() 1507 WREG32_AUDIO_ENDPT(dig->afmt->pin->offset, in dce_v11_0_audio_write_speaker_allocation() 1538 if (!dig || !dig->afmt || !dig->afmt->pin) in dce_v11_0_audio_write_sad_regs() [all …]
|
D | dce_v8_0.c | 1394 if (!dig || !dig->afmt || !dig->afmt->pin) in dce_v8_0_afmt_audio_select_pin() 1397 offset = dig->afmt->offset; in dce_v8_0_afmt_audio_select_pin() 1400 (dig->afmt->pin->id << AFMT_AUDIO_SRC_CONTROL__AFMT_AUDIO_SRC_SELECT__SHIFT)); in dce_v8_0_afmt_audio_select_pin() 1413 if (!dig || !dig->afmt || !dig->afmt->pin) in dce_v8_0_audio_write_latency_fields() 1416 offset = dig->afmt->pin->offset; in dce_v8_0_audio_write_latency_fields() 1472 if (!dig || !dig->afmt || !dig->afmt->pin) in dce_v8_0_audio_write_speaker_allocation() 1475 offset = dig->afmt->pin->offset; in dce_v8_0_audio_write_speaker_allocation() 1536 if (!dig || !dig->afmt || !dig->afmt->pin) in dce_v8_0_audio_write_sad_regs() 1539 offset = dig->afmt->pin->offset; in dce_v8_0_audio_write_sad_regs() 1678 uint32_t offset = dig->afmt->offset; in dce_v8_0_afmt_update_ACR() [all …]
|
D | amdgpu_mode.h | 312 struct amdgpu_afmt *afmt[AMDGPU_MAX_AFMT_BLOCKS]; member 429 struct amdgpu_afmt *afmt; member
|
/drivers/s390/scsi/ |
D | zfcp_fc.c | 253 unsigned int afmt; in zfcp_fc_incoming_rscn() local 280 afmt = page->rscn_page_flags & ELS_RSCN_ADDR_FMT_MASK; in zfcp_fc_incoming_rscn() 281 _zfcp_fc_incoming_rscn(fsf_req, zfcp_fc_rscn_range_mask[afmt], in zfcp_fc_incoming_rscn()
|
/drivers/media/pci/saa7134/ |
D | saa7134.h | 498 unsigned int afmt; member
|