Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/ast/
Dast_post.c42 struct ast_private *ast = dev->dev_private; in ast_enable_vga() local
44 ast_io_write8(ast, AST_IO_VGA_ENABLE_PORT, 0x01); in ast_enable_vga()
45 ast_io_write8(ast, AST_IO_MISC_PORT_WRITE, 0x01); in ast_enable_vga()
50 struct ast_private *ast = dev->dev_private; in ast_enable_mmio() local
52 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0xa1, 0x06); in ast_enable_mmio()
58 struct ast_private *ast = dev->dev_private; in ast_is_vga_enabled() local
61 if (ast->chip == AST1180) { in ast_is_vga_enabled()
64 ch = ast_io_read8(ast, AST_IO_VGA_ENABLE_PORT); in ast_is_vga_enabled()
77 struct ast_private *ast = dev->dev_private; in ast_set_def_ext_reg() local
83 ast_set_index_reg(ast, AST_IO_CRTC_PORT, i, 0x00); in ast_set_def_ext_reg()
[all …]
Dast_dp501.c13 struct ast_private *ast = dev->dev_private; in ast_load_dp501_microcode() local
15 return request_firmware(&ast->dp501_fw, "ast_dp501_fw.bin", dev->dev); in ast_load_dp501_microcode()
18 static void send_ack(struct ast_private *ast) in send_ack() argument
21 sendack = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x9b, 0xff); in send_ack()
23 ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x9b, 0x00, sendack); in send_ack()
26 static void send_nack(struct ast_private *ast) in send_nack() argument
29 sendack = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x9b, 0xff); in send_nack()
31 ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x9b, 0x00, sendack); in send_nack()
34 static bool wait_ack(struct ast_private *ast) in wait_ack() argument
39 waitack = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xd2, 0xff); in wait_ack()
[all …]
Dast_main.c40 void ast_set_index_reg_mask(struct ast_private *ast, in ast_set_index_reg_mask() argument
45 ast_io_write8(ast, base, index); in ast_set_index_reg_mask()
46 tmp = (ast_io_read8(ast, base + 1) & mask) | val; in ast_set_index_reg_mask()
47 ast_set_index_reg(ast, base, index, tmp); in ast_set_index_reg_mask()
50 uint8_t ast_get_index_reg(struct ast_private *ast, in ast_get_index_reg() argument
54 ast_io_write8(ast, base, index); in ast_get_index_reg()
55 ret = ast_io_read8(ast, base + 1); in ast_get_index_reg()
59 uint8_t ast_get_index_reg_mask(struct ast_private *ast, in ast_get_index_reg_mask() argument
63 ast_io_write8(ast, base, index); in ast_get_index_reg_mask()
64 ret = ast_io_read8(ast, base + 1) & mask; in ast_get_index_reg_mask()
[all …]
Dast_mode.c54 static inline void ast_load_palette_index(struct ast_private *ast, in ast_load_palette_index() argument
58 ast_io_write8(ast, AST_IO_DAC_INDEX_WRITE, index); in ast_load_palette_index()
59 ast_io_read8(ast, AST_IO_SEQ_PORT); in ast_load_palette_index()
60 ast_io_write8(ast, AST_IO_DAC_DATA, red); in ast_load_palette_index()
61 ast_io_read8(ast, AST_IO_SEQ_PORT); in ast_load_palette_index()
62 ast_io_write8(ast, AST_IO_DAC_DATA, green); in ast_load_palette_index()
63 ast_io_read8(ast, AST_IO_SEQ_PORT); in ast_load_palette_index()
64 ast_io_write8(ast, AST_IO_DAC_DATA, blue); in ast_load_palette_index()
65 ast_io_read8(ast, AST_IO_SEQ_PORT); in ast_load_palette_index()
70 struct ast_private *ast = crtc->dev->dev_private; in ast_crtc_load_lut() local
[all …]
Dast_drv.h135 static inline u##x ast_read##x(struct ast_private *ast, u32 reg) { \
137 val = ioread##x(ast->regs + reg); \
146 static inline u##x ast_io_read##x(struct ast_private *ast, u32 reg) { \
148 val = ioread##x(ast->ioregs + reg); \
157 static inline void ast_write##x(struct ast_private *ast, u32 reg, u##x val) {\
158 iowrite##x(val, ast->regs + reg);\
166 static inline void ast_io_write##x(struct ast_private *ast, u32 reg, u##x val) {\
167 iowrite##x(val, ast->ioregs + reg);\
174 static inline void ast_set_index_reg(struct ast_private *ast, in ast_set_index_reg() argument
178 ast_io_write16(ast, base, ((u16)val << 8) | index); in ast_set_index_reg()
[all …]
Dast_ttm.c37 int ast_mm_init(struct ast_private *ast) in ast_mm_init() argument
41 struct drm_device *dev = ast->dev; in ast_mm_init()
45 ast->vram_size, &drm_gem_vram_mm_funcs); in ast_mm_init()
54 ast->fb_mtrr = arch_phys_wc_add(pci_resource_start(dev->pdev, 0), in ast_mm_init()
60 void ast_mm_fini(struct ast_private *ast) in ast_mm_fini() argument
62 struct drm_device *dev = ast->dev; in ast_mm_fini()
66 arch_phys_wc_del(ast->fb_mtrr); in ast_mm_fini()
DMakefile6 ast-y := ast_drv.o ast_main.o ast_mode.o ast_ttm.o ast_post.o ast_dp501.o
8 obj-$(CONFIG_DRM_AST) := ast.o
/Linux-v5.4/fs/ocfs2/dlm/
Ddlmlock.c392 newlock->ast = NULL; in dlm_init_lock()
544 const char *name, int namelen, dlm_astlockfunc_t *ast, in dlmlock() argument
608 if (lock->lksb != lksb || lock->ast != ast || in dlmlock()
612 "astdata=%p\n", lksb, ast, bast, data); in dlmlock()
614 "astdata=%p\n", lock->lksb, lock->ast, in dlmlock()
674 lock->ast = ast; in dlmlock()
Ddlmapi.h171 dlm_astlockfunc_t *ast,
Ddlmast.c218 fn = lock->ast; in dlm_do_local_ast()
Ddlmcommon.h352 dlm_astlockfunc_t *ast; member
/Linux-v5.4/drivers/fsi/
DMakefile6 obj-$(CONFIG_FSI_MASTER_AST_CF) += fsi-master-ast-cf.o
/Linux-v5.4/fs/dlm/
DMakefile3 dlm-y := ast.o \
Dlock.c2808 void (*ast) (void *astparam), in set_lock_args()
2847 if (!ast || !lksb) in set_lock_args()
2861 args->astfn = ast; in set_lock_args()
3417 void (*ast) (void *astarg), in dlm_lock()
3440 error = set_lock_args(mode, lksb, flags, namelen, 0, ast, in dlm_lock()
/Linux-v5.4/
D.mailmap21 Alexei Starovoitov <ast@kernel.org> <ast@plumgrid.com>
22 Alexei Starovoitov <ast@kernel.org> <alexei.starovoitov@gmail.com>
23 Alexei Starovoitov <ast@kernel.org> <ast@fb.com>
DMAINTAINERS3051 M: Alexei Starovoitov <ast@kernel.org>
3094 M: Alexei Starovoitov <ast@kernel.org>
3154 M: Alexei Starovoitov <ast@kernel.org>
5118 F: drivers/gpu/drm/ast/
17755 M: Alexei Starovoitov <ast@kernel.org>
/Linux-v5.4/drivers/gpu/drm/
DMakefile86 obj-$(CONFIG_DRM_AST) += ast/
DKconfig281 source "drivers/gpu/drm/ast/Kconfig"
/Linux-v5.4/arch/arm/boot/dts/
Daspeed-bmc-facebook-cmm.dts60 ast-adc-hwmon {
/Linux-v5.4/Documentation/power/
Dswsusp-dmcrypt.rst5 Author: Andreas Steinmetz <ast@domdv.de>
/Linux-v5.4/Documentation/bpf/
Dbpf_devel_QA.rst34 * Alexei Starovoitov <ast@kernel.org>
527 * Alexei Starovoitov <ast@kernel.org>
/Linux-v5.4/Documentation/networking/
Dfilter.txt1545 Alexei Starovoitov <ast@kernel.org>