Home
last modified time | relevance | path

Searched refs:ast_device (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/gpu/drm/ast/
H A Dast_drv.h164 struct ast_device { struct
215 static inline struct ast_device *to_ast_device(struct drm_device *dev) in to_ast_device() argument
217 return container_of(dev, struct ast_device, base); in to_ast_device()
228 static inline unsigned long __ast_gen(struct ast_device *ast) in __ast_gen()
234 static inline bool __ast_gen_is_eq(struct ast_device *ast, unsigned long gen) in __ast_gen_is_eq()
294 static inline u32 ast_read32(struct ast_device *ast, u32 reg) in ast_read32()
299 static inline void ast_write32(struct ast_device *ast, u32 reg, u32 val) in ast_write32()
304 static inline u8 ast_io_read8(struct ast_device *ast, u32 reg) in ast_io_read8()
309 static inline void ast_io_write8(struct ast_device *ast, u32 reg, u8 val) in ast_io_write8()
314 static inline u8 ast_get_index_reg(struct ast_device *ast, u32 base, u8 index) in ast_get_index_reg()
[all …]
H A Dast_dp501.c18 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 Dast_dp.c16 static bool ast_astdp_is_connected(struct ast_device *ast) in ast_astdp_is_connected()
25 struct ast_device *ast = data; in ast_astdp_read_edid_block()
127 int ast_dp_launch(struct ast_device *ast) in ast_dp_launch()
152 static bool ast_dp_get_phy_sleep(struct ast_device *ast) in ast_dp_get_phy_sleep()
159 static void ast_dp_set_phy_sleep(struct ast_device *ast, bool sleep) in ast_dp_set_phy_sleep()
171 static void ast_dp_link_training(struct ast_device *ast) in ast_dp_link_training()
189 static bool __ast_dp_wait_enable(struct ast_device *ast, bool enabled) in __ast_dp_wait_enable()
210 static void ast_dp_set_enable(struct ast_device *ast, bool enabled) in ast_dp_set_enable()
226 struct ast_device *ast = to_ast_device(crtc->dev); in ast_dp_set_mode()
298 static void ast_wait_for_vretrace(struct ast_device *ast) in ast_wait_for_vretrace()
[all …]
H A Dast_ddc.c34 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 Dast_post.c37 static void ast_post_chip_2300(struct ast_device *ast);
38 static void ast_post_chip_2500(struct ast_device *ast);
43 static void ast_set_def_ext_reg(struct ast_device *ast) in ast_set_def_ext_reg()
106 u32 ast_mindwm(struct ast_device *ast, u32 r) in ast_mindwm()
111 void ast_moutdwm(struct ast_device *ast, u32 r, u32 v) in ast_moutdwm()
144 static u32 mmctestburst2_ast2150(struct ast_device *ast, u32 datagen) in mmctestburst2_ast2150()
174 static u32 mmctestsingle2_ast2150(struct ast_device *ast, u32 datagen)
194 static int cbrtest_ast2150(struct ast_device *ast) in cbrtest_ast2150()
204 static int cbrscan_ast2150(struct ast_device *ast, int busw) in cbrscan_ast2150()
221 static void cbrdlli_ast2150(struct ast_device *ast, int busw) in cbrdlli_ast2150()
[all …]
H A Dast_mode.c53 static inline void ast_load_palette_index(struct ast_device *ast, in ast_load_palette_index()
67 static void ast_crtc_set_gamma_linear(struct ast_device *ast, in ast_crtc_set_gamma_linear()
86 static void ast_crtc_set_gamma(struct ast_device *ast, in ast_crtc_set_gamma()
234 static void ast_set_vbios_color_reg(struct ast_device *ast, in ast_set_vbios_color_reg()
265 static void ast_set_vbios_mode_reg(struct ast_device *ast, in ast_set_vbios_mode_reg()
289 static void ast_set_std_reg(struct ast_device *ast, in ast_set_std_reg()
337 static void ast_set_crtc_reg(struct ast_device *ast, in ast_set_crtc_reg()
452 static void ast_set_offset_reg(struct ast_device *ast, in ast_set_offset_reg()
462 static void ast_set_dclk_reg(struct ast_device *ast, in ast_set_dclk_reg()
480 static void ast_set_color_reg(struct ast_device *ast, in ast_set_color_reg()
[all …]
H A Dast_main.c39 static void ast_detect_widescreen(struct ast_device *ast) in ast_detect_widescreen()
69 static void ast_detect_tx_chip(struct ast_device *ast, bool need_post) in ast_detect_tx_chip()
151 static int ast_get_dram_info(struct ast_device *ast) in ast_get_dram_info()
280 struct ast_device *ast; in ast_device_create()
283 ast = devm_drm_dev_alloc(&pdev->dev, drv, struct ast_device, base); in ast_device_create()
H A Dast_ddc.h6 struct ast_device;
9 struct i2c_adapter *ast_ddc_create(struct ast_device *ast);
H A Dast_mm.c36 static u32 ast_get_vram_size(struct ast_device *ast) in ast_get_vram_size()
74 int ast_mm_init(struct ast_device *ast) in ast_mm_init()
H A Dast_vga.c80 int ast_vga_output_init(struct ast_device *ast) in ast_vga_output_init()
H A Dast_sil164.c80 int ast_sil164_output_init(struct ast_device *ast) in ast_sil164_output_init()
H A Dast_drv.c396 struct ast_device *ast = to_ast_device(dev); in ast_drm_thaw()