afmt              321 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h 	struct amdgpu_afmt *afmt[AMDGPU_MAX_AFMT_BLOCKS];
afmt              447 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h 	struct amdgpu_afmt *afmt;
afmt             1211 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	if (!dig || !dig->afmt || !dig->afmt->pin)
afmt             1214 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = RREG32(mmAFMT_AUDIO_SRC_CONTROL + dig->afmt->offset);
afmt             1215 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = REG_SET_FIELD(tmp, AFMT_AUDIO_SRC_CONTROL, AFMT_AUDIO_SRC_SELECT, dig->afmt->pin->id);
afmt             1216 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmAFMT_AUDIO_SRC_CONTROL + dig->afmt->offset, tmp);
afmt             1230 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	if (!dig || !dig->afmt || !dig->afmt->pin)
afmt             1258 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32_AUDIO_ENDPT(dig->afmt->pin->offset,
afmt             1273 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	if (!dig || !dig->afmt || !dig->afmt->pin)
afmt             1295 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = RREG32_AUDIO_ENDPT(dig->afmt->pin->offset,
afmt             1308 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32_AUDIO_ENDPT(dig->afmt->pin->offset,
afmt             1339 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	if (!dig || !dig->afmt || !dig->afmt->pin)
afmt             1390 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 		WREG32_AUDIO_ENDPT(dig->afmt->pin->offset, eld_reg_to_type[i][0], tmp);
afmt             1474 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = RREG32(mmHDMI_ACR_32_0 + dig->afmt->offset);
afmt             1476 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmHDMI_ACR_32_0 + dig->afmt->offset, tmp);
afmt             1477 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = RREG32(mmHDMI_ACR_32_1 + dig->afmt->offset);
afmt             1479 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmHDMI_ACR_32_1 + dig->afmt->offset, tmp);
afmt             1481 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = RREG32(mmHDMI_ACR_44_0 + dig->afmt->offset);
afmt             1483 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmHDMI_ACR_44_0 + dig->afmt->offset, tmp);
afmt             1484 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = RREG32(mmHDMI_ACR_44_1 + dig->afmt->offset);
afmt             1486 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmHDMI_ACR_44_1 + dig->afmt->offset, tmp);
afmt             1488 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = RREG32(mmHDMI_ACR_48_0 + dig->afmt->offset);
afmt             1490 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmHDMI_ACR_48_0 + dig->afmt->offset, tmp);
afmt             1491 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = RREG32(mmHDMI_ACR_48_1 + dig->afmt->offset);
afmt             1493 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmHDMI_ACR_48_1 + dig->afmt->offset, tmp);
afmt             1510 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmAFMT_AVI_INFO0 + dig->afmt->offset,
afmt             1512 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmAFMT_AVI_INFO1 + dig->afmt->offset,
afmt             1514 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmAFMT_AVI_INFO2 + dig->afmt->offset,
afmt             1516 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmAFMT_AVI_INFO3 + dig->afmt->offset,
afmt             1531 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	if (!dig || !dig->afmt)
afmt             1564 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	if (!dig || !dig->afmt)
afmt             1568 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	if (!dig->afmt->enabled)
afmt             1578 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	dig->afmt->pin = dce_v10_0_audio_get_pin(adev);
afmt             1579 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	dce_v10_0_audio_enable(adev, dig->afmt->pin, false);
afmt             1583 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = RREG32(mmHDMI_VBI_PACKET_CONTROL + dig->afmt->offset);
afmt             1585 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmHDMI_VBI_PACKET_CONTROL + dig->afmt->offset, tmp); /* send null packets when required */
afmt             1587 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmAFMT_AUDIO_CRC_CONTROL + dig->afmt->offset, 0x1000);
afmt             1589 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = RREG32(mmHDMI_CONTROL + dig->afmt->offset);
afmt             1614 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmHDMI_CONTROL + dig->afmt->offset, tmp);
afmt             1616 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = RREG32(mmHDMI_VBI_PACKET_CONTROL + dig->afmt->offset);
afmt             1620 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmHDMI_VBI_PACKET_CONTROL + dig->afmt->offset, tmp);
afmt             1622 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = RREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset);
afmt             1627 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset, tmp);
afmt             1629 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = RREG32(mmAFMT_INFOFRAME_CONTROL0 + dig->afmt->offset);
afmt             1632 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmAFMT_INFOFRAME_CONTROL0 + dig->afmt->offset, tmp);
afmt             1634 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = RREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset);
afmt             1637 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset, tmp);
afmt             1639 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmHDMI_GC + dig->afmt->offset, 0); /* unset HDMI_GC_AVMUTE */
afmt             1641 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = RREG32(mmHDMI_AUDIO_PACKET_CONTROL + dig->afmt->offset);
afmt             1646 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmHDMI_AUDIO_PACKET_CONTROL + dig->afmt->offset, tmp);
afmt             1648 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = RREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset);
afmt             1651 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset, tmp);
afmt             1653 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = RREG32(mmHDMI_ACR_PACKET_CONTROL + dig->afmt->offset);
afmt             1662 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmHDMI_ACR_PACKET_CONTROL + dig->afmt->offset, tmp);
afmt             1666 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = RREG32(mmAFMT_60958_0 + dig->afmt->offset);
afmt             1668 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmAFMT_60958_0 + dig->afmt->offset, tmp);
afmt             1670 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = RREG32(mmAFMT_60958_1 + dig->afmt->offset);
afmt             1672 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmAFMT_60958_1 + dig->afmt->offset, tmp);
afmt             1674 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = RREG32(mmAFMT_60958_2 + dig->afmt->offset);
afmt             1681 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmAFMT_60958_2 + dig->afmt->offset, tmp);
afmt             1685 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmAFMT_AUDIO_PACKET_CONTROL2 + dig->afmt->offset,
afmt             1706 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = RREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset);
afmt             1711 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset, tmp);
afmt             1713 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = RREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset);
afmt             1715 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset, tmp);
afmt             1717 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	tmp = RREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset);
afmt             1720 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset, tmp);
afmt             1722 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmAFMT_RAMP_CONTROL0 + dig->afmt->offset, 0x00FFFFFF);
afmt             1723 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmAFMT_RAMP_CONTROL1 + dig->afmt->offset, 0x007FFFFF);
afmt             1724 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmAFMT_RAMP_CONTROL2 + dig->afmt->offset, 0x00000001);
afmt             1725 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	WREG32(mmAFMT_RAMP_CONTROL3 + dig->afmt->offset, 0x00000001);
afmt             1728 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	dce_v10_0_audio_enable(adev, dig->afmt->pin, true);
afmt             1738 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	if (!dig || !dig->afmt)
afmt             1742 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	if (enable && dig->afmt->enabled)
afmt             1744 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	if (!enable && !dig->afmt->enabled)
afmt             1747 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	if (!enable && dig->afmt->pin) {
afmt             1748 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 		dce_v10_0_audio_enable(adev, dig->afmt->pin, false);
afmt             1749 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 		dig->afmt->pin = NULL;
afmt             1752 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	dig->afmt->enabled = enable;
afmt             1755 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 		  enable ? "En" : "Dis", dig->afmt->offset, amdgpu_encoder->encoder_id);
afmt             1763 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 		adev->mode_info.afmt[i] = NULL;
afmt             1767 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 		adev->mode_info.afmt[i] = kzalloc(sizeof(struct amdgpu_afmt), GFP_KERNEL);
afmt             1768 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 		if (adev->mode_info.afmt[i]) {
afmt             1769 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 			adev->mode_info.afmt[i]->offset = dig_offsets[i];
afmt             1770 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 			adev->mode_info.afmt[i]->id = i;
afmt             1774 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 				kfree(adev->mode_info.afmt[j]);
afmt             1775 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 				adev->mode_info.afmt[j] = NULL;
afmt             1788 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 		kfree(adev->mode_info.afmt[i]);
afmt             1789 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 		adev->mode_info.afmt[i] = NULL;
afmt             3337 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 				dig->afmt = adev->mode_info.afmt[dig->dig_encoder];
afmt             1237 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	if (!dig || !dig->afmt || !dig->afmt->pin)
afmt             1240 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = RREG32(mmAFMT_AUDIO_SRC_CONTROL + dig->afmt->offset);
afmt             1241 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = REG_SET_FIELD(tmp, AFMT_AUDIO_SRC_CONTROL, AFMT_AUDIO_SRC_SELECT, dig->afmt->pin->id);
afmt             1242 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmAFMT_AUDIO_SRC_CONTROL + dig->afmt->offset, tmp);
afmt             1256 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	if (!dig || !dig->afmt || !dig->afmt->pin)
afmt             1284 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32_AUDIO_ENDPT(dig->afmt->pin->offset,
afmt             1299 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	if (!dig || !dig->afmt || !dig->afmt->pin)
afmt             1321 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = RREG32_AUDIO_ENDPT(dig->afmt->pin->offset,
afmt             1334 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32_AUDIO_ENDPT(dig->afmt->pin->offset,
afmt             1365 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	if (!dig || !dig->afmt || !dig->afmt->pin)
afmt             1416 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		WREG32_AUDIO_ENDPT(dig->afmt->pin->offset, eld_reg_to_type[i][0], tmp);
afmt             1516 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = RREG32(mmHDMI_ACR_32_0 + dig->afmt->offset);
afmt             1518 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmHDMI_ACR_32_0 + dig->afmt->offset, tmp);
afmt             1519 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = RREG32(mmHDMI_ACR_32_1 + dig->afmt->offset);
afmt             1521 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmHDMI_ACR_32_1 + dig->afmt->offset, tmp);
afmt             1523 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = RREG32(mmHDMI_ACR_44_0 + dig->afmt->offset);
afmt             1525 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmHDMI_ACR_44_0 + dig->afmt->offset, tmp);
afmt             1526 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = RREG32(mmHDMI_ACR_44_1 + dig->afmt->offset);
afmt             1528 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmHDMI_ACR_44_1 + dig->afmt->offset, tmp);
afmt             1530 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = RREG32(mmHDMI_ACR_48_0 + dig->afmt->offset);
afmt             1532 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmHDMI_ACR_48_0 + dig->afmt->offset, tmp);
afmt             1533 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = RREG32(mmHDMI_ACR_48_1 + dig->afmt->offset);
afmt             1535 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmHDMI_ACR_48_1 + dig->afmt->offset, tmp);
afmt             1552 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmAFMT_AVI_INFO0 + dig->afmt->offset,
afmt             1554 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmAFMT_AVI_INFO1 + dig->afmt->offset,
afmt             1556 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmAFMT_AVI_INFO2 + dig->afmt->offset,
afmt             1558 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmAFMT_AVI_INFO3 + dig->afmt->offset,
afmt             1573 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	if (!dig || !dig->afmt)
afmt             1606 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	if (!dig || !dig->afmt)
afmt             1610 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	if (!dig->afmt->enabled)
afmt             1620 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	dig->afmt->pin = dce_v11_0_audio_get_pin(adev);
afmt             1621 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	dce_v11_0_audio_enable(adev, dig->afmt->pin, false);
afmt             1625 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = RREG32(mmHDMI_VBI_PACKET_CONTROL + dig->afmt->offset);
afmt             1627 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmHDMI_VBI_PACKET_CONTROL + dig->afmt->offset, tmp); /* send null packets when required */
afmt             1629 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmAFMT_AUDIO_CRC_CONTROL + dig->afmt->offset, 0x1000);
afmt             1631 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = RREG32(mmHDMI_CONTROL + dig->afmt->offset);
afmt             1656 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmHDMI_CONTROL + dig->afmt->offset, tmp);
afmt             1658 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = RREG32(mmHDMI_VBI_PACKET_CONTROL + dig->afmt->offset);
afmt             1662 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmHDMI_VBI_PACKET_CONTROL + dig->afmt->offset, tmp);
afmt             1664 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = RREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset);
afmt             1669 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset, tmp);
afmt             1671 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = RREG32(mmAFMT_INFOFRAME_CONTROL0 + dig->afmt->offset);
afmt             1674 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmAFMT_INFOFRAME_CONTROL0 + dig->afmt->offset, tmp);
afmt             1676 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = RREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset);
afmt             1679 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset, tmp);
afmt             1681 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmHDMI_GC + dig->afmt->offset, 0); /* unset HDMI_GC_AVMUTE */
afmt             1683 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = RREG32(mmHDMI_AUDIO_PACKET_CONTROL + dig->afmt->offset);
afmt             1688 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmHDMI_AUDIO_PACKET_CONTROL + dig->afmt->offset, tmp);
afmt             1690 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = RREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset);
afmt             1693 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset, tmp);
afmt             1695 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = RREG32(mmHDMI_ACR_PACKET_CONTROL + dig->afmt->offset);
afmt             1704 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmHDMI_ACR_PACKET_CONTROL + dig->afmt->offset, tmp);
afmt             1708 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = RREG32(mmAFMT_60958_0 + dig->afmt->offset);
afmt             1710 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmAFMT_60958_0 + dig->afmt->offset, tmp);
afmt             1712 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = RREG32(mmAFMT_60958_1 + dig->afmt->offset);
afmt             1714 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmAFMT_60958_1 + dig->afmt->offset, tmp);
afmt             1716 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = RREG32(mmAFMT_60958_2 + dig->afmt->offset);
afmt             1723 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmAFMT_60958_2 + dig->afmt->offset, tmp);
afmt             1727 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmAFMT_AUDIO_PACKET_CONTROL2 + dig->afmt->offset,
afmt             1748 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = RREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset);
afmt             1753 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset, tmp);
afmt             1755 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = RREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset);
afmt             1757 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset, tmp);
afmt             1759 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	tmp = RREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset);
afmt             1762 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset, tmp);
afmt             1764 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmAFMT_RAMP_CONTROL0 + dig->afmt->offset, 0x00FFFFFF);
afmt             1765 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmAFMT_RAMP_CONTROL1 + dig->afmt->offset, 0x007FFFFF);
afmt             1766 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmAFMT_RAMP_CONTROL2 + dig->afmt->offset, 0x00000001);
afmt             1767 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	WREG32(mmAFMT_RAMP_CONTROL3 + dig->afmt->offset, 0x00000001);
afmt             1770 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	dce_v11_0_audio_enable(adev, dig->afmt->pin, true);
afmt             1780 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	if (!dig || !dig->afmt)
afmt             1784 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	if (enable && dig->afmt->enabled)
afmt             1786 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	if (!enable && !dig->afmt->enabled)
afmt             1789 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	if (!enable && dig->afmt->pin) {
afmt             1790 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		dce_v11_0_audio_enable(adev, dig->afmt->pin, false);
afmt             1791 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		dig->afmt->pin = NULL;
afmt             1794 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	dig->afmt->enabled = enable;
afmt             1797 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		  enable ? "En" : "Dis", dig->afmt->offset, amdgpu_encoder->encoder_id);
afmt             1805 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		adev->mode_info.afmt[i] = NULL;
afmt             1809 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		adev->mode_info.afmt[i] = kzalloc(sizeof(struct amdgpu_afmt), GFP_KERNEL);
afmt             1810 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		if (adev->mode_info.afmt[i]) {
afmt             1811 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 			adev->mode_info.afmt[i]->offset = dig_offsets[i];
afmt             1812 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 			adev->mode_info.afmt[i]->id = i;
afmt             1816 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 				kfree(adev->mode_info.afmt[j]);
afmt             1817 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 				adev->mode_info.afmt[j] = NULL;
afmt             1830 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		kfree(adev->mode_info.afmt[i]);
afmt             1831 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		adev->mode_info.afmt[i] = NULL;
afmt             3463 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 				dig->afmt = adev->mode_info.afmt[dig->dig_encoder];
afmt             1116 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	if (!dig || !dig->afmt || !dig->afmt->pin)
afmt             1119 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32(mmAFMT_AUDIO_SRC_CONTROL + dig->afmt->offset,
afmt             1121 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		             dig->afmt->pin->id));
afmt             1161 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32_AUDIO_ENDPT(dig->afmt->pin->offset,
afmt             1195 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	tmp = RREG32_AUDIO_ENDPT(dig->afmt->pin->offset,
afmt             1216 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32_AUDIO_ENDPT(dig->afmt->pin->offset,
afmt             1294 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		WREG32_AUDIO_ENDPT(dig->afmt->pin->offset, eld_reg_to_type[i][0], tmp);
afmt             1383 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	tmp = RREG32(mmHDMI_VBI_PACKET_CONTROL + dig->afmt->offset);
afmt             1387 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32(mmHDMI_VBI_PACKET_CONTROL + dig->afmt->offset, tmp);
afmt             1400 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	tmp = RREG32(mmHDMI_ACR_PACKET_CONTROL + dig->afmt->offset);
afmt             1404 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32(mmHDMI_ACR_PACKET_CONTROL + dig->afmt->offset, tmp);
afmt             1406 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	tmp = RREG32(mmHDMI_ACR_32_0 + dig->afmt->offset);
afmt             1408 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32(mmHDMI_ACR_32_0 + dig->afmt->offset, tmp);
afmt             1409 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	tmp = RREG32(mmHDMI_ACR_32_1 + dig->afmt->offset);
afmt             1411 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32(mmHDMI_ACR_32_1 + dig->afmt->offset, tmp);
afmt             1413 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	tmp = RREG32(mmHDMI_ACR_44_0 + dig->afmt->offset);
afmt             1415 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32(mmHDMI_ACR_44_0 + dig->afmt->offset, tmp);
afmt             1416 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	tmp = RREG32(mmHDMI_ACR_44_1 + dig->afmt->offset);
afmt             1418 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32(mmHDMI_ACR_44_1 + dig->afmt->offset, tmp);
afmt             1420 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	tmp = RREG32(mmHDMI_ACR_48_0 + dig->afmt->offset);
afmt             1422 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32(mmHDMI_ACR_48_0 + dig->afmt->offset, tmp);
afmt             1423 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	tmp = RREG32(mmHDMI_ACR_48_1 + dig->afmt->offset);
afmt             1425 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32(mmHDMI_ACR_48_1 + dig->afmt->offset, tmp);
afmt             1455 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32(mmAFMT_AVI_INFO0 + dig->afmt->offset,
afmt             1457 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32(mmAFMT_AVI_INFO1 + dig->afmt->offset,
afmt             1459 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32(mmAFMT_AVI_INFO2 + dig->afmt->offset,
afmt             1461 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32(mmAFMT_AVI_INFO3 + dig->afmt->offset,
afmt             1464 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	tmp = RREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset);
afmt             1468 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset, tmp);
afmt             1513 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	tmp = RREG32(mmAFMT_INFOFRAME_CONTROL0 + dig->afmt->offset);
afmt             1515 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32(mmAFMT_INFOFRAME_CONTROL0 + dig->afmt->offset, tmp);
afmt             1517 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	tmp = RREG32(mmAFMT_60958_0 + dig->afmt->offset);
afmt             1519 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32(mmAFMT_60958_0 + dig->afmt->offset, tmp);
afmt             1521 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	tmp = RREG32(mmAFMT_60958_1 + dig->afmt->offset);
afmt             1523 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32(mmAFMT_60958_1 + dig->afmt->offset, tmp);
afmt             1525 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	tmp = RREG32(mmAFMT_60958_2 + dig->afmt->offset);
afmt             1532 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32(mmAFMT_60958_2 + dig->afmt->offset, tmp);
afmt             1534 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	tmp = RREG32(mmAFMT_AUDIO_PACKET_CONTROL2 + dig->afmt->offset);
afmt             1536 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32(mmAFMT_AUDIO_PACKET_CONTROL2 + dig->afmt->offset, tmp);
afmt             1538 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	tmp = RREG32(mmHDMI_AUDIO_PACKET_CONTROL + dig->afmt->offset);
afmt             1541 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32(mmHDMI_AUDIO_PACKET_CONTROL + dig->afmt->offset, tmp);
afmt             1543 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	tmp = RREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset);
afmt             1546 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset, tmp);
afmt             1557 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	tmp = RREG32(mmHDMI_GC + dig->afmt->offset);
afmt             1559 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	WREG32(mmHDMI_GC + dig->afmt->offset, tmp);
afmt             1571 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		tmp = RREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset);
afmt             1576 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		WREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset, tmp);
afmt             1578 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		tmp = RREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset);
afmt             1580 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		WREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset, tmp);
afmt             1582 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		tmp = RREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset);
afmt             1584 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		WREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset, tmp);
afmt             1586 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		tmp = RREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset);
afmt             1591 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		WREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset, tmp);
afmt             1593 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		tmp = RREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset);
afmt             1595 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		WREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset, tmp);
afmt             1608 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		tmp = RREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset);
afmt             1610 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		WREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset, tmp);
afmt             1612 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		tmp = RREG32(mmDP_SEC_TIMESTAMP + dig->afmt->offset);
afmt             1614 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		WREG32(mmDP_SEC_TIMESTAMP + dig->afmt->offset, tmp);
afmt             1616 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		tmp = RREG32(mmDP_SEC_CNTL + dig->afmt->offset);
afmt             1621 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		WREG32(mmDP_SEC_CNTL + dig->afmt->offset, tmp);
afmt             1623 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		WREG32(mmDP_SEC_CNTL + dig->afmt->offset, 0);
afmt             1639 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	if (!dig || !dig->afmt)
afmt             1654 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	if (!dig->afmt->enabled)
afmt             1657 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	dig->afmt->pin = dce_v6_0_audio_get_pin(adev);
afmt             1658 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	if (!dig->afmt->pin)
afmt             1667 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	dce_v6_0_audio_enable(adev, dig->afmt->pin, false);
afmt             1691 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	dce_v6_0_audio_enable(adev, dig->afmt->pin, true);
afmt             1701 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	if (!dig || !dig->afmt)
afmt             1705 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	if (enable && dig->afmt->enabled)
afmt             1708 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	if (!enable && !dig->afmt->enabled)
afmt             1711 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	if (!enable && dig->afmt->pin) {
afmt             1712 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		dce_v6_0_audio_enable(adev, dig->afmt->pin, false);
afmt             1713 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		dig->afmt->pin = NULL;
afmt             1716 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	dig->afmt->enabled = enable;
afmt             1719 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		  enable ? "En" : "Dis", dig->afmt->offset, amdgpu_encoder->encoder_id);
afmt             1727 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		adev->mode_info.afmt[i] = NULL;
afmt             1731 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		adev->mode_info.afmt[i] = kzalloc(sizeof(struct amdgpu_afmt), GFP_KERNEL);
afmt             1732 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		if (adev->mode_info.afmt[i]) {
afmt             1733 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 			adev->mode_info.afmt[i]->offset = dig_offsets[i];
afmt             1734 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 			adev->mode_info.afmt[i]->id = i;
afmt             1737 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 				kfree(adev->mode_info.afmt[j]);
afmt             1738 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 				adev->mode_info.afmt[j] = NULL;
afmt             1752 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		kfree(adev->mode_info.afmt[i]);
afmt             1753 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		adev->mode_info.afmt[i] = NULL;
afmt             3136 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 				dig->afmt = adev->mode_info.afmt[dig->dig_encoder];
afmt             1148 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	if (!dig || !dig->afmt || !dig->afmt->pin)
afmt             1151 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	offset = dig->afmt->offset;
afmt             1154 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	       (dig->afmt->pin->id << AFMT_AUDIO_SRC_CONTROL__AFMT_AUDIO_SRC_SELECT__SHIFT));
afmt             1167 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	if (!dig || !dig->afmt || !dig->afmt->pin)
afmt             1170 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	offset = dig->afmt->pin->offset;
afmt             1226 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	if (!dig || !dig->afmt || !dig->afmt->pin)
afmt             1229 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	offset = dig->afmt->pin->offset;
afmt             1290 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	if (!dig || !dig->afmt || !dig->afmt->pin)
afmt             1293 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	offset = dig->afmt->pin->offset;
afmt             1435 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	uint32_t offset = dig->afmt->offset;
afmt             1457 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	uint32_t offset = dig->afmt->offset;
afmt             1481 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	if (!dig || !dig->afmt)
afmt             1511 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	if (!dig || !dig->afmt)
afmt             1515 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	if (!dig->afmt->enabled)
afmt             1518 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	offset = dig->afmt->offset;
afmt             1527 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	dig->afmt->pin = dce_v8_0_audio_get_pin(adev);
afmt             1528 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	dce_v8_0_audio_enable(adev, dig->afmt->pin, false);
afmt             1657 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	dce_v8_0_audio_enable(adev, dig->afmt->pin, true);
afmt             1667 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	if (!dig || !dig->afmt)
afmt             1671 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	if (enable && dig->afmt->enabled)
afmt             1673 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	if (!enable && !dig->afmt->enabled)
afmt             1676 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	if (!enable && dig->afmt->pin) {
afmt             1677 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 		dce_v8_0_audio_enable(adev, dig->afmt->pin, false);
afmt             1678 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 		dig->afmt->pin = NULL;
afmt             1681 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	dig->afmt->enabled = enable;
afmt             1684 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 		  enable ? "En" : "Dis", dig->afmt->offset, amdgpu_encoder->encoder_id);
afmt             1692 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 		adev->mode_info.afmt[i] = NULL;
afmt             1696 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 		adev->mode_info.afmt[i] = kzalloc(sizeof(struct amdgpu_afmt), GFP_KERNEL);
afmt             1697 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 		if (adev->mode_info.afmt[i]) {
afmt             1698 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 			adev->mode_info.afmt[i]->offset = dig_offsets[i];
afmt             1699 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 			adev->mode_info.afmt[i]->id = i;
afmt             1703 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 				kfree(adev->mode_info.afmt[j]);
afmt             1704 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 				adev->mode_info.afmt[j] = NULL;
afmt             1717 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 		kfree(adev->mode_info.afmt[i]);
afmt             1718 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 		adev->mode_info.afmt[i] = NULL;
afmt             3225 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 				dig->afmt = adev->mode_info.afmt[dig->dig_encoder];
afmt             1701 drivers/gpu/drm/i2c/tda998x_drv.c 		u8 afmt = be32_to_cpup(&port_data[2*i]);
afmt             1704 drivers/gpu/drm/i2c/tda998x_drv.c 		switch (afmt) {
afmt             1713 drivers/gpu/drm/i2c/tda998x_drv.c 				"Bad audio format %u\n", afmt);
afmt             2504 drivers/gpu/drm/radeon/atombios_encoders.c 					dig->afmt = rdev->mode_info.afmt[dig->dig_encoder];
afmt             2507 drivers/gpu/drm/radeon/atombios_encoders.c 					dig->afmt = rdev->mode_info.afmt[0];
afmt              116 drivers/gpu/drm/radeon/dce6_afmt.c 	if (!dig || !dig->afmt || !dig->pin)
afmt              119 drivers/gpu/drm/radeon/dce6_afmt.c 	WREG32(AFMT_AUDIO_SRC_CONTROL +  dig->afmt->offset,
afmt              132 drivers/gpu/drm/radeon/dce6_afmt.c 	if (!dig || !dig->afmt || !dig->pin)
afmt              160 drivers/gpu/drm/radeon/dce6_afmt.c 	if (!dig || !dig->afmt || !dig->pin)
afmt              185 drivers/gpu/drm/radeon/dce6_afmt.c 	if (!dig || !dig->afmt || !dig->pin)
afmt              224 drivers/gpu/drm/radeon/dce6_afmt.c 	if (!dig || !dig->afmt || !dig->pin)
afmt             4602 drivers/gpu/drm/radeon/evergreen.c 		    rdev->irq.afmt[i], "HDMI", i);
afmt              407 drivers/gpu/drm/radeon/evergreen_hdmi.c 	if (!dig || !dig->afmt)
afmt              414 drivers/gpu/drm/radeon/evergreen_hdmi.c 			WREG32(HDMI_INFOFRAME_CONTROL0 + dig->afmt->offset,
afmt              419 drivers/gpu/drm/radeon/evergreen_hdmi.c 			WREG32_OR(AFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset,
afmt              422 drivers/gpu/drm/radeon/evergreen_hdmi.c 			WREG32(HDMI_INFOFRAME_CONTROL0 + dig->afmt->offset,
afmt              425 drivers/gpu/drm/radeon/evergreen_hdmi.c 			WREG32_AND(AFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset,
afmt              429 drivers/gpu/drm/radeon/evergreen_hdmi.c 		WREG32_AND(AFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset,
afmt              431 drivers/gpu/drm/radeon/evergreen_hdmi.c 		WREG32(HDMI_INFOFRAME_CONTROL0 + dig->afmt->offset, 0);
afmt              434 drivers/gpu/drm/radeon/evergreen_hdmi.c 	dig->afmt->enabled = enable;
afmt              437 drivers/gpu/drm/radeon/evergreen_hdmi.c 		  enable ? "En" : "Dis", dig->afmt->offset, radeon_encoder->encoder_id);
afmt              448 drivers/gpu/drm/radeon/evergreen_hdmi.c 	if (!dig || !dig->afmt)
afmt              458 drivers/gpu/drm/radeon/evergreen_hdmi.c 		WREG32_OR(AFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset,
afmt              461 drivers/gpu/drm/radeon/evergreen_hdmi.c 		WREG32(EVERGREEN_DP_SEC_TIMESTAMP + dig->afmt->offset,
afmt              466 drivers/gpu/drm/radeon/evergreen_hdmi.c 			val = RREG32(EVERGREEN_DP_SEC_AUD_N + dig->afmt->offset);
afmt              474 drivers/gpu/drm/radeon/evergreen_hdmi.c 			WREG32(EVERGREEN_DP_SEC_AUD_N + dig->afmt->offset, val);
afmt              477 drivers/gpu/drm/radeon/evergreen_hdmi.c 		WREG32(EVERGREEN_DP_SEC_CNTL + dig->afmt->offset,
afmt              483 drivers/gpu/drm/radeon/evergreen_hdmi.c 		WREG32(EVERGREEN_DP_SEC_CNTL + dig->afmt->offset, 0);
afmt              484 drivers/gpu/drm/radeon/evergreen_hdmi.c 		WREG32_AND(AFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset,
afmt              488 drivers/gpu/drm/radeon/evergreen_hdmi.c 	dig->afmt->enabled = enable;
afmt             3867 drivers/gpu/drm/radeon/r600.c 	if (rdev->irq.afmt[0]) {
afmt             3871 drivers/gpu/drm/radeon/r600.c 	if (rdev->irq.afmt[1]) {
afmt              250 drivers/gpu/drm/radeon/r600_hdmi.c 	uint32_t offset = dig->afmt->offset;
afmt              268 drivers/gpu/drm/radeon/r600_hdmi.c 	uint32_t offset = dig->afmt->offset;
afmt              282 drivers/gpu/drm/radeon/r600_hdmi.c 	if (!dig->afmt || !dig->afmt->enabled)
afmt              286 drivers/gpu/drm/radeon/r600_hdmi.c 	result = dig->afmt->last_buffer_filled_status != status;
afmt              287 drivers/gpu/drm/radeon/r600_hdmi.c 	dig->afmt->last_buffer_filled_status = status;
afmt              301 drivers/gpu/drm/radeon/r600_hdmi.c 	uint32_t offset = dig->afmt->offset;
afmt              424 drivers/gpu/drm/radeon/r600_hdmi.c 	if (!dig->afmt || !dig->afmt->enabled)
afmt              426 drivers/gpu/drm/radeon/r600_hdmi.c 	offset = dig->afmt->offset;
afmt              477 drivers/gpu/drm/radeon/r600_hdmi.c 	if (!dig || !dig->afmt)
afmt              518 drivers/gpu/drm/radeon/r600_hdmi.c 		WREG32(HDMI0_CONTROL + dig->afmt->offset, hdmi);
afmt              525 drivers/gpu/drm/radeon/r600_hdmi.c 			radeon_irq_kms_enable_afmt(rdev, dig->afmt->id);
afmt              527 drivers/gpu/drm/radeon/r600_hdmi.c 			radeon_irq_kms_disable_afmt(rdev, dig->afmt->id);
afmt              530 drivers/gpu/drm/radeon/r600_hdmi.c 	dig->afmt->enabled = enable;
afmt              533 drivers/gpu/drm/radeon/r600_hdmi.c 		  enable ? "En" : "Dis", dig->afmt->offset, radeon_encoder->encoder_id);
afmt              800 drivers/gpu/drm/radeon/radeon.h 	bool				afmt[RADEON_MAX_AFMT_BLOCKS];
afmt              538 drivers/gpu/drm/radeon/radeon_audio.c 	if (dig && dig->afmt && radeon_encoder->audio &&
afmt              540 drivers/gpu/drm/radeon/radeon_audio.c 		radeon_encoder->audio->set_avi_packet(rdev, dig->afmt->offset,
afmt              628 drivers/gpu/drm/radeon/radeon_audio.c 	if (!dig || !dig->afmt)
afmt              632 drivers/gpu/drm/radeon/radeon_audio.c 		radeon_encoder->audio->update_acr(encoder, dig->afmt->offset, acr);
afmt              640 drivers/gpu/drm/radeon/radeon_audio.c 	if (!dig || !dig->afmt)
afmt              644 drivers/gpu/drm/radeon/radeon_audio.c 		radeon_encoder->audio->set_vbi_packet(encoder, dig->afmt->offset);
afmt              653 drivers/gpu/drm/radeon/radeon_audio.c 	if (!dig || !dig->afmt)
afmt              662 drivers/gpu/drm/radeon/radeon_audio.c 		radeon_encoder->audio->set_color_depth(encoder, dig->afmt->offset, bpc);
afmt              670 drivers/gpu/drm/radeon/radeon_audio.c 	if (!dig || !dig->afmt)
afmt              674 drivers/gpu/drm/radeon/radeon_audio.c 		radeon_encoder->audio->set_audio_packet(encoder, dig->afmt->offset);
afmt              682 drivers/gpu/drm/radeon/radeon_audio.c 	if (!dig || !dig->afmt)
afmt              686 drivers/gpu/drm/radeon/radeon_audio.c 		radeon_encoder->audio->set_mute(encoder, dig->afmt->offset, mute);
afmt              699 drivers/gpu/drm/radeon/radeon_audio.c 	if (!dig || !dig->afmt)
afmt              739 drivers/gpu/drm/radeon/radeon_audio.c 	if (!dig || !dig->afmt)
afmt             1498 drivers/gpu/drm/radeon/radeon_display.c 		rdev->mode_info.afmt[i] = NULL;
afmt             1531 drivers/gpu/drm/radeon/radeon_display.c 			rdev->mode_info.afmt[i] = kzalloc(sizeof(struct radeon_afmt), GFP_KERNEL);
afmt             1532 drivers/gpu/drm/radeon/radeon_display.c 			if (rdev->mode_info.afmt[i]) {
afmt             1533 drivers/gpu/drm/radeon/radeon_display.c 				rdev->mode_info.afmt[i]->offset = eg_offsets[i];
afmt             1534 drivers/gpu/drm/radeon/radeon_display.c 				rdev->mode_info.afmt[i]->id = i;
afmt             1539 drivers/gpu/drm/radeon/radeon_display.c 		rdev->mode_info.afmt[0] = kzalloc(sizeof(struct radeon_afmt), GFP_KERNEL);
afmt             1540 drivers/gpu/drm/radeon/radeon_display.c 		if (rdev->mode_info.afmt[0]) {
afmt             1541 drivers/gpu/drm/radeon/radeon_display.c 			rdev->mode_info.afmt[0]->offset = DCE3_HDMI_OFFSET0;
afmt             1542 drivers/gpu/drm/radeon/radeon_display.c 			rdev->mode_info.afmt[0]->id = 0;
afmt             1544 drivers/gpu/drm/radeon/radeon_display.c 		rdev->mode_info.afmt[1] = kzalloc(sizeof(struct radeon_afmt), GFP_KERNEL);
afmt             1545 drivers/gpu/drm/radeon/radeon_display.c 		if (rdev->mode_info.afmt[1]) {
afmt             1546 drivers/gpu/drm/radeon/radeon_display.c 			rdev->mode_info.afmt[1]->offset = DCE3_HDMI_OFFSET1;
afmt             1547 drivers/gpu/drm/radeon/radeon_display.c 			rdev->mode_info.afmt[1]->id = 1;
afmt             1551 drivers/gpu/drm/radeon/radeon_display.c 		rdev->mode_info.afmt[0] = kzalloc(sizeof(struct radeon_afmt), GFP_KERNEL);
afmt             1552 drivers/gpu/drm/radeon/radeon_display.c 		if (rdev->mode_info.afmt[0]) {
afmt             1553 drivers/gpu/drm/radeon/radeon_display.c 			rdev->mode_info.afmt[0]->offset = DCE2_HDMI_OFFSET0;
afmt             1554 drivers/gpu/drm/radeon/radeon_display.c 			rdev->mode_info.afmt[0]->id = 0;
afmt             1558 drivers/gpu/drm/radeon/radeon_display.c 			rdev->mode_info.afmt[1] = kzalloc(sizeof(struct radeon_afmt), GFP_KERNEL);
afmt             1559 drivers/gpu/drm/radeon/radeon_display.c 			if (rdev->mode_info.afmt[1]) {
afmt             1560 drivers/gpu/drm/radeon/radeon_display.c 				rdev->mode_info.afmt[1]->offset = DCE2_HDMI_OFFSET1;
afmt             1561 drivers/gpu/drm/radeon/radeon_display.c 				rdev->mode_info.afmt[1]->id = 1;
afmt             1572 drivers/gpu/drm/radeon/radeon_display.c 		kfree(rdev->mode_info.afmt[i]);
afmt             1573 drivers/gpu/drm/radeon/radeon_display.c 		rdev->mode_info.afmt[i] = NULL;
afmt              138 drivers/gpu/drm/radeon/radeon_irq_kms.c 		rdev->irq.afmt[i] = false;
afmt              192 drivers/gpu/drm/radeon/radeon_irq_kms.c 		rdev->irq.afmt[i] = false;
afmt              478 drivers/gpu/drm/radeon/radeon_irq_kms.c 	rdev->irq.afmt[block] = true;
afmt              500 drivers/gpu/drm/radeon/radeon_irq_kms.c 	rdev->irq.afmt[block] = false;
afmt              248 drivers/gpu/drm/radeon/radeon_mode.h 	struct radeon_afmt *afmt[RADEON_MAX_AFMT_BLOCKS];
afmt              442 drivers/gpu/drm/radeon/radeon_mode.h 	struct radeon_afmt *afmt;
afmt              697 drivers/gpu/drm/radeon/rs600.c 	if (rdev->irq.afmt[0]) {
afmt              500 drivers/media/pci/saa7134/saa7134.h 	unsigned int               afmt;
afmt              254 drivers/s390/scsi/zfcp_fc.c 	unsigned int afmt;
afmt              282 drivers/s390/scsi/zfcp_fc.c 		afmt = page->rscn_page_flags & ELS_RSCN_ADDR_FMT_MASK;
afmt              283 drivers/s390/scsi/zfcp_fc.c 		_zfcp_fc_incoming_rscn(fsf_req, zfcp_fc_rscn_range_mask[afmt],
afmt             1230 sound/oss/dmasound/dmasound_core.c static char *get_afmt_string(int afmt)
afmt             1232 sound/oss/dmasound/dmasound_core.c         switch(afmt) {