Home
last modified time | relevance | path

Searched refs:dac_info (Results 1 – 4 of 4) sorted by relevance

/drivers/video/fbdev/
Darkfb.c33 struct dac_info *dac;
302 int (*dac_get_mode)(struct dac_info *info);
303 int (*dac_set_mode)(struct dac_info *info, int mode);
304 int (*dac_get_freq)(struct dac_info *info, int channel);
305 int (*dac_set_freq)(struct dac_info *info, int channel, u32 freq);
306 void (*dac_release)(struct dac_info *info);
312 struct dac_info struct
321 static inline u8 dac_read_reg(struct dac_info *info, u8 reg) in dac_read_reg() argument
328 static inline void dac_read_regs(struct dac_info *info, u8 *code, int count) in dac_read_regs()
333 static inline void dac_write_reg(struct dac_info *info, u8 reg, u8 val) in dac_write_reg()
[all …]
/drivers/gpu/drm/radeon/
Dradeon_combios.c868 uint16_t dac_info; in radeon_combios_get_primary_dac_info() local
880 dac_info = combios_get_table_offset(dev, COMBIOS_CRT_INFO_TABLE); in radeon_combios_get_primary_dac_info()
881 if (dac_info) { in radeon_combios_get_primary_dac_info()
882 rev = RBIOS8(dac_info) & 0x3; in radeon_combios_get_primary_dac_info()
884 bg = RBIOS8(dac_info + 0x2) & 0xf; in radeon_combios_get_primary_dac_info()
885 dac = (RBIOS8(dac_info + 0x2) >> 4) & 0xf; in radeon_combios_get_primary_dac_info()
888 bg = RBIOS8(dac_info + 0x2) & 0xf; in radeon_combios_get_primary_dac_info()
889 dac = RBIOS8(dac_info + 0x3) & 0xf; in radeon_combios_get_primary_dac_info()
1019 uint16_t dac_info; in radeon_combios_get_tv_dac_info() local
1029 dac_info = combios_get_table_offset(dev, COMBIOS_TV_INFO_TABLE); in radeon_combios_get_tv_dac_info()
[all …]
Dradeon_atombios.c1768 struct _COMPASSIONATE_DATA *dac_info; in radeon_atombios_get_primary_dac_info() local
1775 dac_info = (struct _COMPASSIONATE_DATA *) in radeon_atombios_get_primary_dac_info()
1783 bg = dac_info->ucDAC1_BG_Adjustment; in radeon_atombios_get_primary_dac_info()
1784 dac = dac_info->ucDAC1_DAC_Adjustment; in radeon_atombios_get_primary_dac_info()
1954 struct _COMPASSIONATE_DATA *dac_info; in radeon_atombios_get_tv_dac_info() local
1962 dac_info = (struct _COMPASSIONATE_DATA *) in radeon_atombios_get_tv_dac_info()
1970 bg = dac_info->ucDAC2_CRT2_BG_Adjustment; in radeon_atombios_get_tv_dac_info()
1971 dac = dac_info->ucDAC2_CRT2_DAC_Adjustment; in radeon_atombios_get_tv_dac_info()
1974 bg = dac_info->ucDAC2_PAL_BG_Adjustment; in radeon_atombios_get_tv_dac_info()
1975 dac = dac_info->ucDAC2_PAL_DAC_Adjustment; in radeon_atombios_get_tv_dac_info()
[all …]
Datombios_encoders.c360 struct radeon_encoder_atom_dac *dac_info = radeon_encoder->enc_priv; in atombios_dac_setup() local
382 switch (dac_info->tv_std) { in atombios_dac_setup()
412 struct radeon_encoder_atom_dac *dac_info = radeon_encoder->enc_priv; in atombios_tv_setup() local
423 switch (dac_info->tv_std) { in atombios_tv_setup()