Lines Matching refs:afmt
1507 rdev->mode_info.afmt[i] = NULL; in radeon_afmt_init()
1540 rdev->mode_info.afmt[i] = kzalloc(sizeof(struct radeon_afmt), GFP_KERNEL); in radeon_afmt_init()
1541 if (rdev->mode_info.afmt[i]) { in radeon_afmt_init()
1542 rdev->mode_info.afmt[i]->offset = eg_offsets[i]; in radeon_afmt_init()
1543 rdev->mode_info.afmt[i]->id = i; in radeon_afmt_init()
1548 rdev->mode_info.afmt[0] = kzalloc(sizeof(struct radeon_afmt), GFP_KERNEL); in radeon_afmt_init()
1549 if (rdev->mode_info.afmt[0]) { in radeon_afmt_init()
1550 rdev->mode_info.afmt[0]->offset = DCE3_HDMI_OFFSET0; in radeon_afmt_init()
1551 rdev->mode_info.afmt[0]->id = 0; in radeon_afmt_init()
1553 rdev->mode_info.afmt[1] = kzalloc(sizeof(struct radeon_afmt), GFP_KERNEL); in radeon_afmt_init()
1554 if (rdev->mode_info.afmt[1]) { in radeon_afmt_init()
1555 rdev->mode_info.afmt[1]->offset = DCE3_HDMI_OFFSET1; in radeon_afmt_init()
1556 rdev->mode_info.afmt[1]->id = 1; in radeon_afmt_init()
1560 rdev->mode_info.afmt[0] = kzalloc(sizeof(struct radeon_afmt), GFP_KERNEL); in radeon_afmt_init()
1561 if (rdev->mode_info.afmt[0]) { in radeon_afmt_init()
1562 rdev->mode_info.afmt[0]->offset = DCE2_HDMI_OFFSET0; in radeon_afmt_init()
1563 rdev->mode_info.afmt[0]->id = 0; in radeon_afmt_init()
1567 rdev->mode_info.afmt[1] = kzalloc(sizeof(struct radeon_afmt), GFP_KERNEL); in radeon_afmt_init()
1568 if (rdev->mode_info.afmt[1]) { in radeon_afmt_init()
1569 rdev->mode_info.afmt[1]->offset = DCE2_HDMI_OFFSET1; in radeon_afmt_init()
1570 rdev->mode_info.afmt[1]->id = 1; in radeon_afmt_init()
1581 kfree(rdev->mode_info.afmt[i]); in radeon_afmt_fini()
1582 rdev->mode_info.afmt[i] = NULL; in radeon_afmt_fini()