/linux-master/drivers/gpu/drm/ast/ |
H A D | ast_main.c | 39 static void ast_detect_widescreen(struct ast_device *ast) argument 44 switch (AST_GEN(ast)) { 46 ast->support_wide_screen = false; 49 jreg = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xd0, 0xff); 51 ast->support_wide_screen = true; 53 ast->support_wide_screen = true; 55 ast->support_wide_screen = false; 56 if (ast->chip == AST1300) 57 ast->support_wide_screen = true; 58 if (ast 69 ast_detect_tx_chip(struct ast_device *ast, bool need_post) argument 137 struct ast_device *ast = to_ast_device(dev); local 263 struct ast_device *ast; local [all...] |
H A D | ast_dp501.c | 13 struct ast_device *ast = data; local 15 release_firmware(ast->dp501_fw); 16 ast->dp501_fw = NULL; 21 struct ast_device *ast = to_ast_device(dev); local 24 ret = request_firmware(&ast->dp501_fw, "ast_dp501_fw.bin", dev->dev); 28 return devm_add_action_or_reset(dev->dev, ast_release_firmware, ast); 31 static void send_ack(struct ast_device *ast) argument 34 sendack = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0x9b, 0xff); 36 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x9b, 0x00, sendack); 39 static void send_nack(struct ast_device *ast) argument 47 wait_ack(struct ast_device *ast) argument 63 wait_nack(struct ast_device *ast) argument 79 set_cmd_trigger(struct ast_device *ast) argument 84 clear_cmd_trigger(struct ast_device *ast) argument 109 struct ast_device *ast = to_ast_device(dev); local 131 struct ast_device *ast = to_ast_device(dev); local 181 get_fw_base(struct ast_device *ast) argument 188 struct ast_device *ast = to_ast_device(dev); local 207 struct ast_device *ast = to_ast_device(dev); local 275 ast_dp501_is_connected(struct ast_device *ast) argument 318 struct ast_device *ast = to_ast_device(dev); local 350 struct ast_device *ast = to_ast_device(dev); local 423 struct ast_device *ast = to_ast_device(dev); local 450 struct ast_device *ast = to_ast_device(dev); local [all...] |
H A D | ast_ddc.h | 9 struct i2c_adapter *ast_ddc_create(struct ast_device *ast);
|
H A D | ast_post.c | 46 struct ast_device *ast = to_ast_device(dev); local 52 ast_set_index_reg(ast, AST_IO_VGACRI, i, 0x00); 54 if (IS_AST_GEN4(ast) || IS_AST_GEN5(ast) || IS_AST_GEN6(ast)) 61 ast_set_index_reg_mask(ast, AST_IO_VGACRI, index, 0x00, *ext_reg_info); 67 /* ast_set_index_reg-mask(ast, AST_IO_VGACRI, 0xa1, 0xff, 0x3); */ 70 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0x8c, 0x00, 0x01); 71 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xb7, 0x00, 0x00); 75 if (IS_AST_GEN4(ast) || IS_AST_GEN 108 ast_mindwm(struct ast_device *ast, u32 r) argument 113 ast_moutdwm(struct ast_device *ast, u32 r, u32 v) argument 146 mmctestburst2_ast2150(struct ast_device *ast, u32 datagen) argument 196 cbrtest_ast2150(struct ast_device *ast) argument 206 cbrscan_ast2150(struct ast_device *ast, int busw) argument 223 cbrdlli_ast2150(struct ast_device *ast, int busw) argument 257 struct ast_device *ast = to_ast_device(dev); local 348 struct ast_device *ast = to_ast_device(dev); local 423 mmc_test(struct ast_device *ast, u32 datagen, u8 test_ctl) argument 443 mmc_test2(struct ast_device *ast, u32 datagen, u8 test_ctl) argument 464 mmc_test_burst(struct ast_device *ast, u32 datagen) argument 469 mmc_test_burst2(struct ast_device *ast, u32 datagen) argument 474 mmc_test_single(struct ast_device *ast, u32 datagen) argument 479 mmc_test_single2(struct ast_device *ast, u32 datagen) argument 484 mmc_test_single_2500(struct ast_device *ast, u32 datagen) argument 489 cbr_test(struct ast_device *ast) argument 508 cbr_scan(struct ast_device *ast) argument 529 cbr_test2(struct ast_device *ast) argument 543 cbr_scan2(struct ast_device *ast) argument 564 cbr_test3(struct ast_device *ast) argument 573 cbr_scan3(struct ast_device *ast) argument 589 finetuneDQI_L(struct ast_device *ast, struct ast2300_dram_param *param) argument 688 finetuneDQSI(struct ast_device *ast) argument 778 cbr_dll2(struct ast_device *ast, struct ast2300_dram_param *param) argument 834 get_ddr3_info(struct ast_device *ast, struct ast2300_dram_param *param) argument 1076 ddr3_init(struct ast_device *ast, struct ast2300_dram_param *param) argument 1199 get_ddr2_info(struct ast_device *ast, struct ast2300_dram_param *param) argument 1446 ddr2_init(struct ast_device *ast, struct ast2300_dram_param *param) argument 1574 struct ast_device *ast = to_ast_device(dev); local 1655 cbr_test_2500(struct ast_device *ast) argument 1666 ddr_test_2500(struct ast_device *ast) argument 1683 ddr_init_common_2500(struct ast_device *ast) argument 1706 ddr_phy_init_2500(struct ast_device *ast) argument 1740 check_dram_size_2500(struct ast_device *ast, u32 tRFC) argument 1771 enable_cache_2500(struct ast_device *ast) argument 1784 set_mpll_2500(struct ast_device *ast) argument 1811 reset_mmc_2500(struct ast_device *ast) argument 1822 ddr3_init_2500(struct ast_device *ast, const u32 *ddr_table) argument 1866 ddr4_init_2500(struct ast_device *ast, const u32 *ddr_table) argument 1976 ast_dram_init_2500(struct ast_device *ast) argument 2043 struct ast_device *ast = to_ast_device(dev); local [all...] |
H A D | ast_ddc.c | 34 struct ast_device *ast; member in struct:ast_ddc 43 struct ast_device *ast = ddc->ast; local 49 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xb7, 0xf1, ujcrb7); 50 jtemp = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xb7, 0x04); 59 struct ast_device *ast = ddc->ast; local 65 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xb7, 0xf4, ujcrb7); 66 jtemp = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xb7, 0x01); 75 struct ast_device *ast local 89 struct ast_device *ast = ddc->ast; local 97 struct ast_device *ast = ddc->ast; local 119 struct ast_device *ast = ddc->ast; local 145 ast_ddc_create(struct ast_device *ast) argument [all...] |
H A D | ast_mm.c | 36 static u32 ast_get_vram_size(struct ast_device *ast) argument 42 jreg = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xaa, 0xff); 58 jreg = ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0x99, 0xff); 74 int ast_mm_init(struct ast_device *ast) argument 76 struct drm_device *dev = &ast->base; 88 vram_size = ast_get_vram_size(ast); 90 ast->vram = devm_ioremap_wc(dev->dev, base, vram_size); 91 if (!ast->vram) 94 ast->vram_base = base; 95 ast [all...] |
H A D | ast_dp.c | 10 bool ast_astdp_is_connected(struct ast_device *ast) argument 12 if (!ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xD1, ASTDP_MCU_FW_EXECUTING)) 14 if (!ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xDF, ASTDP_HPD)) 16 if (!ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xDC, ASTDP_LINK_SUCCESS)) 23 struct ast_device *ast = to_ast_device(dev); local 32 if (!(ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xD1, ASTDP_MCU_FW_EXECUTING) && 33 ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xDC, ASTDP_LINK_SUCCESS) && 34 ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xDF, ASTDP_HPD) && 35 ast_get_index_reg_mask(ast, AST_IO_VGACRI, 0xE5, 40 ast_set_index_reg_mask(ast, AST_IO_VGACR 137 struct ast_device *ast = to_ast_device(dev); local 165 struct ast_device *ast = to_ast_device(dev); local 181 struct ast_device *ast = to_ast_device(dev); local 204 struct ast_device *ast = to_ast_device(crtc->dev); local [all...] |
H A D | ast_mode.c | 3 * Parts based on xf86-video-ast 56 static inline void ast_load_palette_index(struct ast_device *ast, argument 60 ast_io_write8(ast, AST_IO_VGADWR, index); 61 ast_io_read8(ast, AST_IO_VGASRI); 62 ast_io_write8(ast, AST_IO_VGAPDR, red); 63 ast_io_read8(ast, AST_IO_VGASRI); 64 ast_io_write8(ast, AST_IO_VGAPDR, green); 65 ast_io_read8(ast, AST_IO_VGASRI); 66 ast_io_write8(ast, AST_IO_VGAPDR, blue); 67 ast_io_read8(ast, AST_IO_VGASR 70 ast_crtc_set_gamma_linear(struct ast_device *ast, const struct drm_format_info *format) argument 89 ast_crtc_set_gamma(struct ast_device *ast, const struct drm_format_info *format, struct drm_color_lut *lut) argument 237 ast_set_vbios_color_reg(struct ast_device *ast, const struct drm_format_info *format, const struct ast_vbios_mode_info *vbios_mode) argument 268 ast_set_vbios_mode_reg(struct ast_device *ast, const struct drm_display_mode *adjusted_mode, const struct ast_vbios_mode_info *vbios_mode) argument 292 ast_set_std_reg(struct ast_device *ast, struct drm_display_mode *mode, struct ast_vbios_mode_info *vbios_mode) argument 340 ast_set_crtc_reg(struct ast_device *ast, struct drm_display_mode *mode, struct ast_vbios_mode_info *vbios_mode) argument 455 ast_set_offset_reg(struct ast_device *ast, struct drm_framebuffer *fb) argument 465 ast_set_dclk_reg(struct ast_device *ast, struct drm_display_mode *mode, struct ast_vbios_mode_info *vbios_mode) argument 483 ast_set_color_reg(struct ast_device *ast, const struct drm_format_info *format) argument 512 ast_set_crtthd_reg(struct ast_device *ast) argument 530 ast_set_sync_reg(struct ast_device *ast, struct drm_display_mode *mode, struct ast_vbios_mode_info *vbios_mode) argument 545 ast_set_start_address_crt1(struct ast_device *ast, unsigned int offset) argument 557 ast_wait_for_vretrace(struct ast_device *ast) argument 646 struct ast_device *ast = to_ast_device(dev); local 684 struct ast_device *ast = to_ast_device(plane->dev); local 700 struct ast_device *ast = to_ast_device(plane->dev); local 737 ast_primary_plane_init(struct ast_device *ast) argument 830 ast_set_cursor_base(struct ast_device *ast, u64 address) argument 841 ast_set_cursor_location(struct ast_device *ast, u16 x, u16 y, u8 x_offset, u8 y_offset) argument 857 ast_set_cursor_enabled(struct ast_device *ast, bool enabled) argument 906 struct ast_device *ast = to_ast_device(plane->dev); local 961 struct ast_device *ast = to_ast_device(plane->dev); local 980 ast_cursor_plane_init(struct ast_device *ast) argument 1025 struct ast_device *ast = to_ast_device(crtc->dev); local 1082 struct ast_device *ast = to_ast_device(crtc->dev); local 1208 struct ast_device *ast = to_ast_device(dev); local 1233 struct ast_device *ast = to_ast_device(dev); local 1255 struct ast_device *ast = to_ast_device(dev); local 1343 struct ast_device *ast = to_ast_device(dev); local 1380 struct ast_device *ast = to_ast_device(dev); local 1406 ast_vga_output_init(struct ast_device *ast) argument 1449 struct ast_device *ast = to_ast_device(dev); local 1475 ast_sil164_output_init(struct ast_device *ast) argument 1534 struct ast_device *ast = to_ast_device(connector->dev); local 1573 ast_dp501_output_init(struct ast_device *ast) argument 1605 struct ast_device *ast = to_ast_device(dev); local 1644 struct ast_device *ast = to_ast_device(connector->dev); local 1683 ast_astdp_output_init(struct ast_device *ast) argument 1776 ast_bmc_output_init(struct ast_device *ast, struct drm_connector *physical_connector) argument 1810 struct ast_device *ast = to_ast_device(state->dev); local 1831 struct ast_device *ast = to_ast_device(dev); local 1852 ast_mode_config_init(struct ast_device *ast) argument [all...] |
H A D | Makefile | 6 ast-y := \ 16 obj-$(CONFIG_DRM_AST) := ast.o
|
H A D | ast_drv.h | 44 #define DRIVER_NAME "ast" 235 static inline unsigned long __ast_gen(struct ast_device *ast) argument 237 return __AST_CHIP_GEN(ast->chip); 241 static inline bool __ast_gen_is_eq(struct ast_device *ast, unsigned long gen) argument 243 return __ast_gen(ast) == gen; 301 static inline u32 ast_read32(struct ast_device *ast, u32 reg) argument 303 return __ast_read32(ast->regs, reg); 306 static inline void ast_write32(struct ast_device *ast, u32 reg, u32 val) argument 308 __ast_write32(ast->regs, reg, val); 311 static inline u8 ast_io_read8(struct ast_device *ast, u3 argument 316 ast_io_write8(struct ast_device *ast, u32 reg, u8 val) argument 321 ast_get_index_reg(struct ast_device *ast, u32 base, u8 index) argument 326 ast_get_index_reg_mask(struct ast_device *ast, u32 base, u8 index, u8 preserve_mask) argument 332 ast_set_index_reg(struct ast_device *ast, u32 base, u8 index, u8 val) argument 337 ast_set_index_reg_mask(struct ast_device *ast, u32 base, u8 index, u8 preserve_mask, u8 val) argument [all...] |
/linux-master/fs/dlm/ |
H A D | Makefile | 3 dlm-y := ast.o \
|
H A D | lock.c | 70 #include "ast.h" 2757 int namelen, void (*ast)(void *astparam), 2796 if (!ast || !lksb) 2810 args->astfn = ast; 3095 the ast for the convert. */ 3386 void (*ast) (void *astarg), 3411 error = set_lock_args(mode, lksb, flags, namelen, ast, astarg, bast,
|
/linux-master/drivers/fsi/ |
H A D | Makefile | 8 obj-$(CONFIG_FSI_MASTER_AST_CF) += fsi-master-ast-cf.o
|
/linux-master/tools/perf/pmu-events/ |
H A D | metric.py | 3 import ast namespace 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) 534 Converts a json encoded metric expression by way of python's ast an [all...] |
/linux-master/fs/ocfs2/dlm/ |
H A D | dlmlock.c | 132 /* for the recovery lock, we can't allow the ast 135 * with LKM_NOQUEUE so we do not need the ast in 168 /* either queue the ast or release it */ 262 "mastered by %u; got lock, manually granting (no ast)\n", 390 newlock->ast = NULL; 542 const char *name, int namelen, dlm_astlockfunc_t *ast, 601 /* XXX: for ocfs2 purposes, the ast/bast/astdata/lksb are 606 if (lock->lksb != lksb || lock->ast != ast || 609 mlog(ML_ERROR, "new args: lksb=%p, ast 540 dlmlock(struct dlm_ctxt *dlm, int mode, struct dlm_lockstatus *lksb, int flags, const char *name, int namelen, dlm_astlockfunc_t *ast, void *data, dlm_bastlockfunc_t *bast) argument [all...] |
H A D | dlmapi.h | 169 dlm_astlockfunc_t *ast,
|
H A D | dlmast.c | 38 /* Should be called as an ast gets queued to see if the new 43 * Only the ast should be sent. 104 /* check to see if this ast obsoletes the bast */ 119 * ast because *both* an ast and a bast were reserved 206 fn = lock->ast; 233 * go do the ast over there */ 287 mlog(ML_ERROR, "Invalid name length (%d) in proxy ast " 307 mlog(ML_ERROR, "Unknown ast type! %d, cookie=%u:%llu" 327 /* cannot get a proxy ast messag [all...] |
H A D | dlmcommon.h | 346 // ast and bast must be callable while holding a spinlock! 347 dlm_astlockfunc_t *ast; member in struct:dlm_lock
|
/linux-master/drivers/gpu/drm/ |
H A D | Makefile | 179 obj-$(CONFIG_DRM_AST) += ast/
|