Home
last modified time | relevance | path

Searched refs:ast (Results 1 – 25 of 38) sorted by relevance

12

/linux/drivers/gpu/drm/ast/
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() argument
50 ast_set_index_reg(ast, AST_IO_VGACRI, i, 0x00); in ast_set_def_ext_reg()
52 if (IS_AST_GEN4(ast) || IS_AST_GEN5(ast) || IS_AST_GEN6(ast)) in ast_set_def_ext_reg()
59 ast_set_index_reg_mask(ast, AST_IO_VGACRI, index, 0x00, *ext_reg_info); in ast_set_def_ext_reg()
68 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x8c, 0x00, 0x01); in ast_set_def_ext_reg()
69 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xb7, 0x00, 0x00); in ast_set_def_ext_reg()
73 if (IS_AST_GEN4(ast) || IS_AST_GEN5(ast) || IS_AST_GEN6(ast)) in ast_set_def_ext_reg()
75 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xb6, 0xff, reg); in ast_set_def_ext_reg()
[all …]
H A Dast_main.c39 static void ast_detect_widescreen(struct ast_device *ast) in ast_detect_widescreen() argument
44 switch (AST_GEN(ast)) { in ast_detect_widescreen()
46 ast->support_wide_screen = false; in ast_detect_widescreen()
49 jreg = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xd0, 0xff); in ast_detect_widescreen()
51 ast->support_wide_screen = true; in ast_detect_widescreen()
53 ast->support_wide_screen = true; in ast_detect_widescreen()
55 ast->support_wide_screen = false; in ast_detect_widescreen()
56 if (ast->chip == AST1300) in ast_detect_widescreen()
57 ast->support_wide_screen = true; in ast_detect_widescreen()
58 if (ast->chip == AST1400) in ast_detect_widescreen()
[all …]
H A Dast_dp501.c18 struct ast_device *ast = data; in ast_release_firmware() local
20 release_firmware(ast->dp501_fw); in ast_release_firmware()
21 ast->dp501_fw = NULL; in ast_release_firmware()
24 static int ast_load_dp501_microcode(struct ast_device *ast) in ast_load_dp501_microcode() argument
26 struct drm_device *dev = &ast->base; in ast_load_dp501_microcode()
29 ret = request_firmware(&ast->dp501_fw, "ast_dp501_fw.bin", dev->dev); in ast_load_dp501_microcode()
33 return devm_add_action_or_reset(dev->dev, ast_release_firmware, ast); in ast_load_dp501_microcode()
36 static void send_ack(struct ast_device *ast) in send_ack() argument
39 sendack = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0x9b, 0xff); in send_ack()
41 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x9b, 0x00, sendack); in send_ack()
[all …]
H A Dast_mode.c53 static inline void ast_load_palette_index(struct ast_device *ast, in ast_load_palette_index() argument
57 ast_io_write8(ast, AST_IO_VGADWR, index); in ast_load_palette_index()
58 ast_io_read8(ast, AST_IO_VGASRI); in ast_load_palette_index()
59 ast_io_write8(ast, AST_IO_VGAPDR, red); in ast_load_palette_index()
60 ast_io_read8(ast, AST_IO_VGASRI); in ast_load_palette_index()
61 ast_io_write8(ast, AST_IO_VGAPDR, green); in ast_load_palette_index()
62 ast_io_read8(ast, AST_IO_VGASRI); in ast_load_palette_index()
63 ast_io_write8(ast, AST_IO_VGAPDR, blue); in ast_load_palette_index()
64 ast_io_read8(ast, AST_IO_VGASRI); in ast_load_palette_index()
67 static void ast_crtc_set_gamma_linear(struct ast_device *ast, in ast_crtc_set_gamma_linear() argument
[all …]
H A Dast_dp.c16 static bool ast_astdp_is_connected(struct ast_device *ast) in ast_astdp_is_connected() argument
18 if (!ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xDF, AST_IO_VGACRDF_HPD)) in ast_astdp_is_connected()
25 struct ast_device *ast = data; in ast_astdp_read_edid_block() local
37 mutex_lock(&ast->modeset_lock); in ast_astdp_read_edid_block()
40 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xe5, (u8)~AST_IO_VGACRE5_EDID_READ_DONE, 0x00); in ast_astdp_read_edid_block()
58 ast_set_index_reg(ast, AST_IO_VGACRI, 0xe4, vgacre4); in ast_astdp_read_edid_block()
79 vgacrd7 = ast_get_index_reg(ast, AST_IO_VGACRI, 0xd7); in ast_astdp_read_edid_block()
81 vgacrd6 = ast_get_index_reg(ast, AST_IO_VGACRI, 0xd6); in ast_astdp_read_edid_block()
91 ediddata[0] = ast_get_index_reg(ast, AST_IO_VGACRI, 0xd8); in ast_astdp_read_edid_block()
92 ediddata[1] = ast_get_index_reg(ast, AST_IO_VGACRI, 0xd9); in ast_astdp_read_edid_block()
[all …]
H A Dast_ddc.c34 struct ast_device *ast; member
43 struct ast_device *ast = ddc->ast; in ast_ddc_algo_bit_data_setsda() local
49 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xb7, 0xf1, ujcrb7); in ast_ddc_algo_bit_data_setsda()
50 jtemp = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xb7, 0x04); in ast_ddc_algo_bit_data_setsda()
59 struct ast_device *ast = ddc->ast; in ast_ddc_algo_bit_data_setscl() local
65 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xb7, 0xf4, ujcrb7); in ast_ddc_algo_bit_data_setscl()
66 jtemp = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xb7, 0x01); in ast_ddc_algo_bit_data_setscl()
75 struct ast_device *ast = ddc->ast; in ast_ddc_algo_bit_data_pre_xfer() local
81 mutex_lock(&ast->modeset_lock); in ast_ddc_algo_bit_data_pre_xfer()
89 struct ast_device *ast = ddc->ast; in ast_ddc_algo_bit_data_post_xfer() local
[all …]
H A Dast_drv.h228 static inline unsigned long __ast_gen(struct ast_device *ast) in __ast_gen() argument
230 return __AST_CHIP_GEN(ast->chip); in __ast_gen()
234 static inline bool __ast_gen_is_eq(struct ast_device *ast, unsigned long gen) in __ast_gen_is_eq() argument
236 return __ast_gen(ast) == gen; in __ast_gen_is_eq()
294 static inline u32 ast_read32(struct ast_device *ast, u32 reg) in ast_read32() argument
296 return __ast_read32(ast->regs, reg); in ast_read32()
299 static inline void ast_write32(struct ast_device *ast, u32 reg, u32 val) in ast_write32() argument
301 __ast_write32(ast->regs, reg, val); in ast_write32()
304 static inline u8 ast_io_read8(struct ast_device *ast, u32 reg) in ast_io_read8() argument
306 return __ast_read8(ast->ioregs, reg); in ast_io_read8()
[all …]
H A Dast_mm.c36 static u32 ast_get_vram_size(struct ast_device *ast) in ast_get_vram_size() argument
42 jreg = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xaa, 0xff); in ast_get_vram_size()
58 jreg = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0x99, 0xff); in ast_get_vram_size()
74 int ast_mm_init(struct ast_device *ast) in ast_mm_init() argument
76 struct drm_device *dev = &ast->base; in ast_mm_init()
88 vram_size = ast_get_vram_size(ast); in ast_mm_init()
90 ast->vram = devm_ioremap_wc(dev->dev, base, vram_size); in ast_mm_init()
91 if (!ast->vram) in ast_mm_init()
94 ast->vram_base = base; in ast_mm_init()
95 ast->vram_size = vram_size; in ast_mm_init()
[all …]
H A Dast_vga.c80 int ast_vga_output_init(struct ast_device *ast) in ast_vga_output_init() argument
82 struct drm_device *dev = &ast->base; in ast_vga_output_init()
83 struct drm_crtc *crtc = &ast->crtc; in ast_vga_output_init()
92 ddc = ast_ddc_create(ast); in ast_vga_output_init()
98 encoder = &ast->output.vga.encoder; in ast_vga_output_init()
107 ast_connector = &ast->output.vga.connector; in ast_vga_output_init()
H A Dast_sil164.c80 int ast_sil164_output_init(struct ast_device *ast) in ast_sil164_output_init() argument
82 struct drm_device *dev = &ast->base; in ast_sil164_output_init()
83 struct drm_crtc *crtc = &ast->crtc; in ast_sil164_output_init()
92 ddc = ast_ddc_create(ast); in ast_sil164_output_init()
98 encoder = &ast->output.sil164.encoder; in ast_sil164_output_init()
107 ast_connector = &ast->output.sil164.connector; in ast_sil164_output_init()
H A DMakefile6 ast-y := \
18 obj-$(CONFIG_DRM_AST) := ast.o
H A Dast_drv.c396 struct ast_device *ast = to_ast_device(dev); in ast_drm_thaw() local
398 ast_enable_vga(ast->ioregs); in ast_drm_thaw()
399 ast_open_key(ast->ioregs); in ast_drm_thaw()
400 ast_enable_mmio(dev->dev, ast->ioregs); in ast_drm_thaw()
401 ast_post_gpu(ast); in ast_drm_thaw()
H A Dast_ddc.h9 struct i2c_adapter *ast_ddc_create(struct ast_device *ast);
/linux/tools/net/sunrpc/xdrgen/subcmds/
H A Ddeclarations.py66 ast = transform_parse_tree(parse_tree)
69 gen.emit_declaration(args.filename, ast)
71 emit_header_declarations(ast, args.language, args.peer)
74 gen.emit_declaration(args.filename, ast)
H A Ddefinitions.py85 ast = transform_parse_tree(parse_tree)
88 gen.emit_definition(args.filename, ast)
90 emit_header_definitions(ast, args.language, args.peer)
91 emit_header_maxsize(ast, args.language, args.peer)
94 gen.emit_definition(args.filename, ast)
H A Dsource.py108 ast = transform_parse_tree(parse_tree)
111 generate_server_source(args.filename, ast, args.language)
113 generate_client_source(args.filename, ast, args.language)
/linux/tools/perf/pmu-events/
H A Dmetric.py3 import ast
165 return Constant(ast.literal_eval(lhs + self.operator + rhs))
283 Constant(ast.literal_eval(f'{lhs} / {rhs}'))
284 return Constant(ast.literal_eval(f'{self.fn}({lhs}, {rhs})'))
517 class _RewriteIfExpToSelect(ast.NodeTransformer):
523 call = ast.Call(
524 func=ast.Name(id='Select', ctx=ast.Load()),
527 ast.copy_location(call, node.test)
565 parsed = ast.parse(py, mode='eval')
569 parsed = ast.fix_missing_locations(parsed)
/linux/fs/ocfs2/dlm/
H A Ddlmlock.c390 newlock->ast = NULL; in dlm_init_lock()
542 const char *name, int namelen, dlm_astlockfunc_t *ast, in dlmlock() argument
606 if (lock->lksb != lksb || lock->ast != ast || in dlmlock()
610 "astdata=%p\n", lksb, ast, bast, data); in dlmlock()
612 "astdata=%p\n", lock->lksb, lock->ast, in dlmlock()
672 lock->ast = ast; in dlmlock()
/linux/fs/dlm/
H A DMakefile3 dlm-y := ast.o \
/linux/drivers/fsi/
H A DMakefile8 obj-$(CONFIG_FSI_MASTER_AST_CF) += fsi-master-ast-cf.o
/linux/Documentation/translations/zh_CN/userspace-api/ebpf/
H A Dsyscall.rst14 - Alexei Starovoitov <ast@kernel.org>
/linux/Documentation/userspace-api/ebpf/
H A Dsyscall.rst6 :Authors: - Alexei Starovoitov <ast@kernel.org>
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-facebook-galaxy100.dts16 ast-adc-hwmon {
H A Daspeed-bmc-facebook-wedge100.dts16 ast-adc-hwmon {
H A Daspeed-bmc-facebook-wedge40.dts16 ast-adc-hwmon {

12