Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/gpu/drm/ast/
Dast_post.c42 struct ast_private *ast = to_ast_private(dev); 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 = to_ast_private(dev); 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 = to_ast_private(dev); in ast_is_vga_enabled() local
61 ch = ast_io_read8(ast, AST_IO_VGA_ENABLE_PORT); in ast_is_vga_enabled()
73 struct ast_private *ast = to_ast_private(dev); in ast_set_def_ext_reg() local
80 ast_set_index_reg(ast, AST_IO_CRTC_PORT, i, 0x00); in ast_set_def_ext_reg()
82 if (ast->chip == AST2300 || ast->chip == AST2400 || in ast_set_def_ext_reg()
[all …]
Dast_dp501.c13 struct ast_private *ast = data; in ast_release_firmware() local
15 release_firmware(ast->dp501_fw); in ast_release_firmware()
16 ast->dp501_fw = NULL; in ast_release_firmware()
21 struct ast_private *ast = to_ast_private(dev); in ast_load_dp501_microcode() local
24 ret = request_firmware(&ast->dp501_fw, "ast_dp501_fw.bin", dev->dev); in ast_load_dp501_microcode()
28 return devm_add_action_or_reset(dev->dev, ast_release_firmware, ast); in ast_load_dp501_microcode()
31 static void send_ack(struct ast_private *ast) in send_ack() argument
34 sendack = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x9b, 0xff); in send_ack()
36 ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x9b, 0x00, sendack); in send_ack()
39 static void send_nack(struct ast_private *ast) in send_nack() argument
[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.c51 static inline void ast_load_palette_index(struct ast_private *ast, in ast_load_palette_index() argument
55 ast_io_write8(ast, AST_IO_DAC_INDEX_WRITE, index); in ast_load_palette_index()
56 ast_io_read8(ast, AST_IO_SEQ_PORT); in ast_load_palette_index()
57 ast_io_write8(ast, AST_IO_DAC_DATA, red); in ast_load_palette_index()
58 ast_io_read8(ast, AST_IO_SEQ_PORT); in ast_load_palette_index()
59 ast_io_write8(ast, AST_IO_DAC_DATA, green); in ast_load_palette_index()
60 ast_io_read8(ast, AST_IO_SEQ_PORT); in ast_load_palette_index()
61 ast_io_write8(ast, AST_IO_DAC_DATA, blue); in ast_load_palette_index()
62 ast_io_read8(ast, AST_IO_SEQ_PORT); in ast_load_palette_index()
65 static void ast_crtc_load_lut(struct ast_private *ast, struct drm_crtc *crtc) in ast_crtc_load_lut() argument
[all …]
Dast_dp.c12 struct ast_private *ast = to_ast_private(dev); in ast_astdp_read_edid() local
21 if (!(ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xD1, ASTDP_MCU_FW_EXECUTING) && in ast_astdp_read_edid()
22 ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xDC, ASTDP_LINK_SUCCESS) && in ast_astdp_read_edid()
23 ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xDF, ASTDP_HPD) && in ast_astdp_read_edid()
24 ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xE5, in ast_astdp_read_edid()
29 ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xE5, (u8) ~ASTDP_HOST_EDID_READ_DONE_MASK, in ast_astdp_read_edid()
36 ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xE4, in ast_astdp_read_edid()
44 while ((ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xD7, in ast_astdp_read_edid()
46 (ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xD6, in ast_astdp_read_edid()
56 if (!(ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xD1, in ast_astdp_read_edid()
[all …]
Dast_i2c.c32 struct ast_private *ast = to_ast_private(i2c->dev); in ast_i2c_setsda() local
38 ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xb7, 0xf1, ujcrb7); in ast_i2c_setsda()
39 jtemp = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xb7, 0x04); in ast_i2c_setsda()
48 struct ast_private *ast = to_ast_private(i2c->dev); in ast_i2c_setscl() local
54 ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xb7, 0xf4, ujcrb7); in ast_i2c_setscl()
55 jtemp = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xb7, 0x01); in ast_i2c_setscl()
64 struct ast_private *ast = to_ast_private(i2c->dev); in ast_i2c_getsda() local
69 val = (ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xb7, 0x20) >> 5) & 0x01; in ast_i2c_getsda()
71 val2 = (ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xb7, 0x20) >> 5) & 0x01; in ast_i2c_getsda()
76 val = (ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xb7, 0x20) >> 5) & 0x01; in ast_i2c_getsda()
[all …]
Dast_drv.h241 static inline u##x ast_read##x(struct ast_private *ast, u32 reg) { \
243 val = ioread##x(ast->regs + reg); \
252 static inline u##x ast_io_read##x(struct ast_private *ast, u32 reg) { \
254 val = ioread##x(ast->ioregs + reg); \
263 static inline void ast_write##x(struct ast_private *ast, u32 reg, u##x val) {\
264 iowrite##x(val, ast->regs + reg);\
272 static inline void ast_io_write##x(struct ast_private *ast, u32 reg, u##x val) {\
273 iowrite##x(val, ast->ioregs + reg);\
280 static inline void ast_set_index_reg(struct ast_private *ast, in ast_set_index_reg() argument
284 ast_io_write16(ast, base, ((u16)val << 8) | index); in ast_set_index_reg()
[all …]
Dast_mm.c37 static u32 ast_get_vram_size(struct ast_private *ast) in ast_get_vram_size() argument
42 ast_open_key(ast); in ast_get_vram_size()
45 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xaa, 0xff); in ast_get_vram_size()
61 jreg = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0x99, 0xff); in ast_get_vram_size()
77 int ast_mm_init(struct ast_private *ast) in ast_mm_init() argument
79 struct drm_device *dev = &ast->base; in ast_mm_init()
92 vram_size = ast_get_vram_size(ast); in ast_mm_init()
Dast_drv.c108 struct ast_private *ast; in ast_pci_probe() local
120 ast = ast_device_create(&ast_driver, pdev, ent->driver_data); in ast_pci_probe()
121 if (IS_ERR(ast)) in ast_pci_probe()
122 return PTR_ERR(ast); in ast_pci_probe()
123 dev = &ast->base; in ast_pci_probe()
DMakefile6 ast-y := ast_drv.o ast_i2c.o ast_main.o ast_mm.o ast_mode.o ast_post.o ast_dp501.o ast_dp.o
8 obj-$(CONFIG_DRM_AST) := ast.o
/linux-6.1.9/fs/ocfs2/dlm/
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()
Ddlmapi.h169 dlm_astlockfunc_t *ast,
Ddlmast.c206 fn = lock->ast; in dlm_do_local_ast()
Ddlmcommon.h347 dlm_astlockfunc_t *ast; member
/linux-6.1.9/drivers/fsi/
DMakefile7 obj-$(CONFIG_FSI_MASTER_AST_CF) += fsi-master-ast-cf.o
/linux-6.1.9/fs/dlm/
DMakefile3 dlm-y := ast.o \
Dlock.c2779 void (*ast) (void *astparam), in set_lock_args()
2785 int namelen, void (*ast)(void *astparam), in set_lock_args()
2825 if (!ast || !lksb) in set_lock_args()
2839 args->astfn = ast; in set_lock_args()
3429 void (*ast) (void *astarg), in dlm_lock()
3455 error = set_lock_args(mode, lksb, flags, namelen, 0, ast, in dlm_lock()
3458 error = set_lock_args(mode, lksb, flags, namelen, ast, astarg, bast, in dlm_lock()
/linux-6.1.9/arch/arm/boot/dts/
Daspeed-bmc-facebook-galaxy100.dts16 ast-adc-hwmon {
Daspeed-bmc-facebook-wedge100.dts16 ast-adc-hwmon {
Daspeed-bmc-facebook-wedge40.dts16 ast-adc-hwmon {
Daspeed-bmc-facebook-wedge400.dts60 ast-adc-hwmon {
/linux-6.1.9/Documentation/userspace-api/ebpf/
Dsyscall.rst6 :Authors: - Alexei Starovoitov <ast@kernel.org>
/linux-6.1.9/drivers/gpu/drm/
DMakefile110 obj-$(CONFIG_DRM_AST) += ast/
/linux-6.1.9/
D.mailmap29 Alexei Starovoitov <ast@kernel.org> <alexei.starovoitov@gmail.com>
30 Alexei Starovoitov <ast@kernel.org> <ast@fb.com>
31 Alexei Starovoitov <ast@kernel.org> <ast@plumgrid.com>
/linux-6.1.9/Documentation/power/
Dswsusp-dmcrypt.rst5 Author: Andreas Steinmetz <ast@domdv.de>

12