Lines Matching refs:afmt

1499 		rdev->mode_info.afmt[i] = NULL;  in radeon_afmt_init()
1532 rdev->mode_info.afmt[i] = kzalloc(sizeof(struct radeon_afmt), GFP_KERNEL); in radeon_afmt_init()
1533 if (rdev->mode_info.afmt[i]) { in radeon_afmt_init()
1534 rdev->mode_info.afmt[i]->offset = eg_offsets[i]; in radeon_afmt_init()
1535 rdev->mode_info.afmt[i]->id = i; in radeon_afmt_init()
1540 rdev->mode_info.afmt[0] = kzalloc(sizeof(struct radeon_afmt), GFP_KERNEL); in radeon_afmt_init()
1541 if (rdev->mode_info.afmt[0]) { in radeon_afmt_init()
1542 rdev->mode_info.afmt[0]->offset = DCE3_HDMI_OFFSET0; in radeon_afmt_init()
1543 rdev->mode_info.afmt[0]->id = 0; in radeon_afmt_init()
1545 rdev->mode_info.afmt[1] = kzalloc(sizeof(struct radeon_afmt), GFP_KERNEL); in radeon_afmt_init()
1546 if (rdev->mode_info.afmt[1]) { in radeon_afmt_init()
1547 rdev->mode_info.afmt[1]->offset = DCE3_HDMI_OFFSET1; in radeon_afmt_init()
1548 rdev->mode_info.afmt[1]->id = 1; in radeon_afmt_init()
1552 rdev->mode_info.afmt[0] = kzalloc(sizeof(struct radeon_afmt), GFP_KERNEL); in radeon_afmt_init()
1553 if (rdev->mode_info.afmt[0]) { in radeon_afmt_init()
1554 rdev->mode_info.afmt[0]->offset = DCE2_HDMI_OFFSET0; in radeon_afmt_init()
1555 rdev->mode_info.afmt[0]->id = 0; in radeon_afmt_init()
1559 rdev->mode_info.afmt[1] = kzalloc(sizeof(struct radeon_afmt), GFP_KERNEL); in radeon_afmt_init()
1560 if (rdev->mode_info.afmt[1]) { in radeon_afmt_init()
1561 rdev->mode_info.afmt[1]->offset = DCE2_HDMI_OFFSET1; in radeon_afmt_init()
1562 rdev->mode_info.afmt[1]->id = 1; in radeon_afmt_init()
1573 kfree(rdev->mode_info.afmt[i]); in radeon_afmt_fini()
1574 rdev->mode_info.afmt[i] = NULL; in radeon_afmt_fini()