| /linux/drivers/gpu/drm/ast/ |
| H A D | ast_drv.h | 187 struct ast_device { struct 239 static inline struct ast_device *to_ast_device(struct drm_device *dev) in to_ast_device() argument 241 return container_of(dev, struct ast_device, base); in to_ast_device() 244 static inline unsigned long __ast_gen(struct ast_device *ast) in __ast_gen() 250 static inline bool __ast_gen_is_eq(struct ast_device *ast, unsigned long gen) in __ast_gen_is_eq() 310 static inline u32 ast_read32(struct ast_device *ast, u32 reg) in ast_read32() 315 static inline void ast_write32(struct ast_device *ast, u32 reg, u32 val) in ast_write32() 320 static inline u8 ast_io_read8(struct ast_device *ast, u32 reg) in ast_io_read8() 325 static inline void ast_io_write8(struct ast_device *ast, u32 reg, u8 val) in ast_io_write8() 330 static inline u8 ast_get_index_reg(struct ast_device *ast, u32 base, u8 index) in ast_get_index_reg() [all …]
|
| H A D | ast_dp501.c | 18 struct ast_device *ast = data; in ast_release_firmware() 24 static int ast_load_dp501_microcode(struct ast_device *ast) in ast_load_dp501_microcode() 36 static void send_ack(struct ast_device *ast) in send_ack() 44 static void send_nack(struct ast_device *ast) in send_nack() 52 static bool wait_ack(struct ast_device *ast) in wait_ack() 68 static bool wait_nack(struct ast_device *ast) in wait_nack() 84 static void set_cmd_trigger(struct ast_device *ast) in set_cmd_trigger() 89 static void clear_cmd_trigger(struct ast_device *ast) in clear_cmd_trigger() 95 static bool wait_fw_ready(struct ast_device *ast) 112 static bool ast_write_cmd(struct ast_device *ast, u8 data) in ast_write_cmd() [all …]
|
| H A D | ast_2100.c | 41 static enum ast_dram_layout ast_2100_get_dram_layout_p2a(struct ast_device *ast) in ast_2100_get_dram_layout_p2a() 208 static u32 mmctestburst2_ast2150(struct ast_device *ast, u32 datagen) in mmctestburst2_ast2150() 237 static int cbrtest_ast2150(struct ast_device *ast) in cbrtest_ast2150() 247 static int cbrscan_ast2150(struct ast_device *ast, int busw) in cbrscan_ast2150() 263 static void cbrdlli_ast2150(struct ast_device *ast, int busw) in cbrdlli_ast2150() 300 static void ast_post_chip_2100(struct ast_device *ast) in ast_post_chip_2100() 377 int ast_2100_post(struct ast_device *ast) in ast_2100_post() 398 bool __ast_2100_detect_wsxga_p(struct ast_device *ast) in __ast_2100_detect_wsxga_p() 411 bool __ast_2100_detect_wuxga(struct ast_device *ast) in __ast_2100_detect_wuxga() 424 static void ast_2100_detect_widescreen(struct ast_device *ast) in ast_2100_detect_widescreen() [all …]
|
| H A D | ast_2500.c | 144 static bool mmc_test_single_2500(struct ast_device *ast, u32 datagen) in mmc_test_single_2500() 149 static bool cbr_test_2500(struct ast_device *ast) in cbr_test_2500() 160 static bool ddr_test_2500(struct ast_device *ast) in ddr_test_2500() 177 static void ddr_init_common_2500(struct ast_device *ast) in ddr_init_common_2500() 200 static void ddr_phy_init_2500(struct ast_device *ast) in ddr_phy_init_2500() 234 static void check_dram_size_2500(struct ast_device *ast, u32 tRFC) in check_dram_size_2500() 265 static void enable_cache_2500(struct ast_device *ast) in enable_cache_2500() 278 static void set_mpll_2500(struct ast_device *ast) in set_mpll_2500() 305 static void reset_mmc_2500(struct ast_device *ast) in reset_mmc_2500() 316 static void ddr3_init_2500(struct ast_device *ast, const u32 *ddr_table) in ddr3_init_2500() [all …]
|
| H A D | ast_dp.c | 71 static bool ast_astdp_is_connected(struct ast_device *ast) in ast_astdp_is_connected() 86 struct ast_device *ast = data; in ast_astdp_read_edid_block() 188 int ast_dp_launch(struct ast_device *ast) in ast_dp_launch() 213 static bool ast_dp_get_phy_sleep(struct ast_device *ast) in ast_dp_get_phy_sleep() 220 static void ast_dp_set_phy_sleep(struct ast_device *ast, bool sleep) in ast_dp_set_phy_sleep() 232 static void ast_dp_link_training(struct ast_device *ast) in ast_dp_link_training() 250 static bool __ast_dp_wait_enable(struct ast_device *ast, bool enabled) in __ast_dp_wait_enable() 271 static void ast_dp_set_enable(struct ast_device *ast, bool enabled) in ast_dp_set_enable() 285 static void ast_wait_for_vretrace(struct ast_device *ast) in ast_wait_for_vretrace() 321 struct ast_device *ast = to_ast_device(dev); in ast_astdp_encoder_helper_atomic_mode_set() [all …]
|
| H A D | ast_mode.c | 62 static unsigned long ast_fb_vram_size(struct ast_device *ast) in ast_fb_vram_size() 79 struct ast_device *ast = to_ast_device(dev); in ast_set_gamma_lut() 98 static void ast_crtc_fill_gamma(struct ast_device *ast, in ast_crtc_fill_gamma() 121 static void ast_crtc_load_gamma(struct ast_device *ast, in ast_crtc_load_gamma() 145 static void ast_set_vbios_color_reg(struct ast_device *ast, in ast_set_vbios_color_reg() 176 static void ast_set_vbios_mode_reg(struct ast_device *ast, in ast_set_vbios_mode_reg() 200 static void ast_set_std_reg(struct ast_device *ast, in ast_set_std_reg() 245 static void ast_set_crtc_reg(struct ast_device *ast, struct drm_display_mode *mode, in ast_set_crtc_reg() 358 static void ast_set_offset_reg(struct ast_device *ast, in ast_set_offset_reg() 368 static void ast_set_dclk_reg(struct ast_device *ast, in ast_set_dclk_reg() [all …]
|
| H A D | ast_ddc.c | 34 struct ast_device *ast; 43 struct ast_device *ast = ddc->ast; in ast_ddc_algo_bit_data_setsda() 59 struct ast_device *ast = ddc->ast; in ast_ddc_algo_bit_data_setscl() 75 struct ast_device *ast = ddc->ast; in ast_ddc_algo_bit_data_pre_xfer() 89 struct ast_device *ast = ddc->ast; in ast_ddc_algo_bit_data_post_xfer() 97 struct ast_device *ast = ddc->ast; in ast_ddc_algo_bit_data_getsda() 119 struct ast_device *ast = ddc->ast; in ast_ddc_algo_bit_data_getscl() 145 struct i2c_adapter *ast_ddc_create(struct ast_device *ast) in ast_ddc_create()
|
| H A D | ast_post.h | 9 struct ast_device; 41 bool mmc_test(struct ast_device *ast, u32 datagen, u8 test_ctl); 42 bool mmc_test_burst(struct ast_device *ast, u32 datagen); 45 void ast_2000_set_def_ext_reg(struct ast_device *ast); 48 void ast_2300_set_def_ext_reg(struct ast_device *ast);
|
| H A D | ast_2000.c | 41 void ast_2000_set_def_ext_reg(struct ast_device *ast) in ast_2000_set_def_ext_reg() 99 static void ast_post_chip_2000(struct ast_device *ast) in ast_post_chip_2000() 138 int ast_2000_post(struct ast_device *ast) in ast_2000_post() 192 void ast_2000_detect_tx_chip(struct ast_device *ast, bool need_post) in ast_2000_detect_tx_chip() 228 struct ast_device *ast; in ast_2000_device_create() 231 ast = devm_drm_dev_alloc(&pdev->dev, drv, struct ast_device, base); in ast_2000_device_create()
|
| H A D | ast_post.c | 65 u32 ast_mindwm(struct ast_device *ast, u32 r) in ast_mindwm() 70 void ast_moutdwm(struct ast_device *ast, u32 r, u32 v) in ast_moutdwm() 75 int ast_post_gpu(struct ast_device *ast) in ast_post_gpu() 106 bool mmc_test(struct ast_device *ast, u32 datagen, u8 test_ctl) in mmc_test() 126 bool mmc_test_burst(struct ast_device *ast, u32 datagen) in mmc_test_burst()
|
| H A D | ast_2600.c | 40 int ast_2600_post(struct ast_device *ast) in ast_2600_post() 54 static void ast_2600_detect_widescreen(struct ast_device *ast) in ast_2600_detect_widescreen() 78 struct ast_device *ast; in ast_2600_device_create() 81 ast = devm_drm_dev_alloc(&pdev->dev, drv, struct ast_device, base); in ast_2600_device_create()
|
| H A D | ast_2300.c | 44 void ast_2300_set_def_ext_reg(struct ast_device *ast) in ast_2300_set_def_ext_reg() 128 static u32 mmc_test2(struct ast_device *ast, u32 datagen, u8 test_ctl) in mmc_test2() 148 static u32 mmc_test_burst2(struct ast_device *ast, u32 datagen) in mmc_test_burst2() 153 static bool mmc_test_single(struct ast_device *ast, u32 datagen) in mmc_test_single() 158 static u32 mmc_test_single2(struct ast_device *ast, u32 datagen) in mmc_test_single2() 163 static int cbr_test(struct ast_device *ast) in cbr_test() 183 static int cbr_scan(struct ast_device *ast) in cbr_scan() 205 static u32 cbr_test2(struct ast_device *ast) in cbr_test2() 219 static u32 cbr_scan2(struct ast_device *ast) in cbr_scan2() 241 static bool cbr_test3(struct ast_device *ast) in cbr_test3() [all …]
|
| H A D | ast_2200.c | 35 static void ast_2200_detect_widescreen(struct ast_device *ast) in ast_2200_detect_widescreen() 60 struct ast_device *ast; in ast_2200_device_create() 63 ast = devm_drm_dev_alloc(&pdev->dev, drv, struct ast_device, base); in ast_2200_device_create()
|
| H A D | ast_2400.c | 37 static void ast_2400_detect_widescreen(struct ast_device *ast) in ast_2400_detect_widescreen() 61 struct ast_device *ast; in ast_2400_device_create() 64 ast = devm_drm_dev_alloc(&pdev->dev, drv, struct ast_device, base); in ast_2400_device_create()
|
| H A D | ast_ddc.h | 6 struct ast_device; 9 struct i2c_adapter *ast_ddc_create(struct ast_device *ast);
|
| H A D | ast_mm.c | 36 static u32 ast_get_vram_size(struct ast_device *ast) in ast_get_vram_size() 73 int ast_mm_init(struct ast_device *ast) in ast_mm_init()
|
| H A D | ast_vbios.h | 30 struct ast_device; 105 const struct ast_vbios_enhtable *ast_vbios_find_mode(const struct ast_device *ast,
|
| H A D | ast_vbios.c | 196 static const struct ast_vbios_enhtable *ast_vbios_find_mode_table(const struct ast_device *ast, in ast_vbios_find_mode_table() 214 const struct ast_vbios_enhtable *ast_vbios_find_mode(const struct ast_device *ast, in ast_vbios_find_mode()
|
| H A D | ast_drv.c | 50 void ast_device_init(struct ast_device *ast, in ast_device_init() 64 void __ast_device_set_tx_chip(struct ast_device *ast, enum ast_tx_chip tx_chip) in __ast_device_set_tx_chip() 458 struct ast_device *ast = to_ast_device(dev); in ast_drm_thaw()
|
| H A D | ast_sil164.c | 80 int ast_sil164_output_init(struct ast_device *ast) in ast_sil164_output_init()
|
| H A D | ast_vga.c | 80 int ast_vga_output_init(struct ast_device *ast) in ast_vga_output_init()
|