/linux-master/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_opr_v5.c | 34 static int s5p_mfc_alloc_dec_temp_buffers_v5(struct s5p_mfc_ctx *ctx) argument 36 struct s5p_mfc_dev *dev = ctx->dev; 40 ctx->dsc.size = buf_size->dsc; 41 ret = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &ctx->dsc); 47 BUG_ON(ctx->dsc.dma & ((1 << MFC_BANK1_ALIGN_ORDER) - 1)); 48 memset(ctx->dsc.virt, 0, ctx->dsc.size); 55 static void s5p_mfc_release_dec_desc_buffer_v5(struct s5p_mfc_ctx *ctx) argument 57 s5p_mfc_release_priv_buf(ctx->dev, &ctx 61 s5p_mfc_alloc_codec_buffers_v5(struct s5p_mfc_ctx *ctx) argument 193 s5p_mfc_release_codec_buffers_v5(struct s5p_mfc_ctx *ctx) argument 200 s5p_mfc_alloc_instance_buffer_v5(struct s5p_mfc_ctx *ctx) argument 242 s5p_mfc_release_instance_buffer_v5(struct s5p_mfc_ctx *ctx) argument 260 s5p_mfc_write_info_v5(struct s5p_mfc_ctx *ctx, unsigned int data, unsigned int ofs) argument 267 s5p_mfc_read_info_v5(struct s5p_mfc_ctx *ctx, unsigned long ofs) argument 274 s5p_mfc_dec_calc_dpb_size_v5(struct s5p_mfc_ctx *ctx) argument 316 s5p_mfc_enc_calc_src_size_v5(struct s5p_mfc_ctx *ctx) argument 345 s5p_mfc_set_dec_desc_buffer(struct s5p_mfc_ctx *ctx) argument 355 s5p_mfc_set_shared_buffer(struct s5p_mfc_ctx *ctx) argument 362 s5p_mfc_set_dec_stream_buffer_v5(struct s5p_mfc_ctx *ctx, int buf_addr, unsigned int start_num_byte, unsigned int buf_size) argument 376 s5p_mfc_set_dec_frame_buffer_v5(struct s5p_mfc_ctx *ctx) argument 508 s5p_mfc_set_enc_stream_buffer_v5(struct s5p_mfc_ctx *ctx, unsigned long addr, unsigned int size) argument 518 s5p_mfc_set_enc_frame_buffer_v5(struct s5p_mfc_ctx *ctx, unsigned long y_addr, unsigned long c_addr, unsigned long c_1_addr) argument 528 s5p_mfc_get_enc_frame_buffer_v5(struct s5p_mfc_ctx *ctx, unsigned long *y_addr, unsigned long *c_addr, unsigned long *c_1_addr) argument 541 s5p_mfc_set_enc_ref_buffer_v5(struct s5p_mfc_ctx *ctx) argument 676 s5p_mfc_set_enc_params(struct s5p_mfc_ctx *ctx) argument 759 s5p_mfc_set_enc_params_h264(struct s5p_mfc_ctx *ctx) argument 916 s5p_mfc_set_enc_params_mpeg4(struct s5p_mfc_ctx *ctx) argument 995 s5p_mfc_set_enc_params_h263(struct s5p_mfc_ctx *ctx) argument 1045 s5p_mfc_init_decode_v5(struct s5p_mfc_ctx *ctx) argument 1066 s5p_mfc_set_flush(struct s5p_mfc_ctx *ctx, int flush) argument 1081 s5p_mfc_decode_one_frame_v5(struct s5p_mfc_ctx *ctx, enum s5p_mfc_decode_arg last_frame) argument 1110 s5p_mfc_init_encode_v5(struct s5p_mfc_ctx *ctx) argument 1132 s5p_mfc_encode_one_frame_v5(struct s5p_mfc_ctx *ctx) argument 1153 s5p_mfc_run_res_change(struct s5p_mfc_ctx *ctx) argument 1162 s5p_mfc_run_dec_frame(struct s5p_mfc_ctx *ctx, int last_frame) argument 1196 s5p_mfc_run_enc_frame(struct s5p_mfc_ctx *ctx) argument 1250 s5p_mfc_run_init_dec(struct s5p_mfc_ctx *ctx) argument 1268 s5p_mfc_run_init_enc(struct s5p_mfc_ctx *ctx) argument 1284 s5p_mfc_run_init_dec_buffers(struct s5p_mfc_ctx *ctx) argument 1320 struct s5p_mfc_ctx *ctx; local 1464 s5p_mfc_get_disp_frame_type_v5(struct s5p_mfc_ctx *ctx) argument 1575 s5p_mfc_get_pic_type_top_v5(struct s5p_mfc_ctx *ctx) argument 1580 s5p_mfc_get_pic_type_bot_v5(struct s5p_mfc_ctx *ctx) argument 1585 s5p_mfc_get_crop_info_h_v5(struct s5p_mfc_ctx *ctx) argument 1590 s5p_mfc_get_crop_info_v_v5(struct s5p_mfc_ctx *ctx) argument [all...] |
H A D | s5p_mfc_intr.h | 17 int s5p_mfc_wait_for_done_ctx(struct s5p_mfc_ctx *ctx, 20 void s5p_mfc_clean_ctx_int_flags(struct s5p_mfc_ctx *ctx);
|
/linux-master/drivers/misc/cxl/ |
H A D | api.c | 51 void cxl_release_mapping(struct cxl_context *ctx) argument 53 if (ctx->kernelapi && ctx->mapping) 104 struct cxl_context *ctx; local 111 ctx = cxl_context_alloc(); 112 if (!ctx) 115 ctx->kernelapi = true; 118 rc = cxl_context_init(ctx, afu, false); 122 return ctx; 125 kfree(ctx); 136 cxl_release_context(struct cxl_context *ctx) argument 147 cxl_find_afu_irq(struct cxl_context *ctx, int num) argument 163 cxl_set_priv(struct cxl_context *ctx, void *priv) argument 174 cxl_get_priv(struct cxl_context *ctx) argument 183 cxl_allocate_afu_irqs(struct cxl_context *ctx, int num) argument 213 cxl_free_afu_irqs(struct cxl_context *ctx) argument 231 cxl_map_afu_irq(struct cxl_context *ctx, int num, irq_handler_t handler, void *cookie, char *name) argument 247 cxl_unmap_afu_irq(struct cxl_context *ctx, int num, void *cookie) argument 266 cxl_start_context(struct cxl_context *ctx, u64 wed, struct task_struct *task) argument 333 cxl_process_element(struct cxl_context *ctx) argument 340 cxl_stop_context(struct cxl_context *ctx) argument 346 cxl_set_master(struct cxl_context *ctx) argument 388 cxl_get_fd(struct cxl_context *ctx, struct file_operations *fops, int *fd) argument 443 cxl_set_driver_ops(struct cxl_context *ctx, struct cxl_afu_driver_ops *ops) argument 452 cxl_context_events_pending(struct cxl_context *ctx, unsigned int new_events) argument 460 cxl_start_work(struct cxl_context *ctx, struct cxl_ioctl_start_work *work) argument 487 cxl_psa_map(struct cxl_context *ctx) argument 504 cxl_afu_reset(struct cxl_context *ctx) argument [all...] |
H A D | file.c | 45 struct cxl_context *ctx; local 80 if (!(ctx = cxl_context_alloc())) { 85 rc = cxl_context_init(ctx, afu, master); 89 cxl_context_set_mapping(ctx, inode->i_mapping); 91 pr_devel("afu_open pe: %i\n", ctx->pe); 92 file->private_data = ctx; 117 struct cxl_context *ctx = file->private_data; local 120 __func__, ctx->pe); 121 cxl_context_detach(ctx); 128 if (!ctx 145 afu_ioctl_start_work(struct cxl_context *ctx, struct cxl_ioctl_start_work __user *uwork) argument 278 afu_ioctl_process_element(struct cxl_context *ctx, int __user *upe) argument 289 afu_ioctl_get_afu_id(struct cxl_context *ctx, struct cxl_afu_id __user *upafuid) argument 310 struct cxl_context *ctx = file->private_data; local 339 struct cxl_context *ctx = file->private_data; local 351 ctx_event_pending(struct cxl_context *ctx) argument 364 struct cxl_context *ctx = file->private_data; local 387 afu_driver_event_copy(struct cxl_context *ctx, char __user *buf, struct cxl_event *event, struct cxl_event_afu_driver_reserved *pl) argument 425 struct cxl_context *ctx = file->private_data; local [all...] |
/linux-master/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_fimc.c | 113 static u32 fimc_read(struct fimc_context *ctx, u32 reg) argument 115 return readl(ctx->regs + reg); 118 static void fimc_write(struct fimc_context *ctx, u32 val, u32 reg) argument 120 writel(val, ctx->regs + reg); 123 static void fimc_set_bits(struct fimc_context *ctx, u32 reg, u32 bits) argument 125 void __iomem *r = ctx->regs + reg; 130 static void fimc_clear_bits(struct fimc_context *ctx, u32 reg, u32 bits) argument 132 void __iomem *r = ctx->regs + reg; 137 static void fimc_sw_reset(struct fimc_context *ctx) argument 142 cfg = fimc_read(ctx, EXYNOS_CISTATU 162 fimc_set_type_ctrl(struct fimc_context *ctx) argument 182 fimc_handle_jpeg(struct fimc_context *ctx, bool enable) argument 197 fimc_mask_irq(struct fimc_context *ctx, bool enable) argument 212 fimc_clear_irq(struct fimc_context *ctx) argument 217 fimc_check_ovf(struct fimc_context *ctx) argument 241 fimc_check_frame_end(struct fimc_context *ctx) argument 258 fimc_get_buf_id(struct fimc_context *ctx) argument 284 fimc_handle_lastend(struct fimc_context *ctx, bool enable) argument 299 fimc_src_set_fmt_order(struct fimc_context *ctx, u32 fmt) argument 364 fimc_src_set_fmt(struct fimc_context *ctx, u32 fmt, bool tiled) argument 416 fimc_src_set_transf(struct fimc_context *ctx, unsigned int rotation) argument 467 fimc_set_window(struct fimc_context *ctx, struct exynos_drm_ipp_buffer *buf) argument 502 fimc_src_set_size(struct fimc_context *ctx, struct exynos_drm_ipp_buffer *buf) argument 551 fimc_src_set_addr(struct fimc_context *ctx, struct exynos_drm_ipp_buffer *buf) argument 559 fimc_dst_set_fmt_order(struct fimc_context *ctx, u32 fmt) argument 630 fimc_dst_set_fmt(struct fimc_context *ctx, u32 fmt, bool tiled) argument 689 fimc_dst_set_transf(struct fimc_context *ctx, unsigned int rotation) argument 736 fimc_set_prescaler(struct fimc_context *ctx, struct fimc_scaler *sc, struct drm_exynos_ipp_task_rect *src, struct drm_exynos_ipp_task_rect *dst) argument 805 fimc_set_scaler(struct fimc_context *ctx, struct fimc_scaler *sc) argument 844 fimc_dst_set_size(struct fimc_context *ctx, struct exynos_drm_ipp_buffer *buf) argument 904 fimc_dst_set_buf_seq(struct fimc_context *ctx, u32 buf_id, bool enqueue) argument 934 fimc_dst_set_addr(struct fimc_context *ctx, struct exynos_drm_ipp_buffer *buf) argument 948 struct fimc_context *ctx = dev_id; local 981 fimc_clear_addr(struct fimc_context *ctx) argument 998 fimc_reset(struct fimc_context *ctx) argument 1009 fimc_start(struct fimc_context *ctx) argument 1055 fimc_stop(struct fimc_context *ctx) argument 1084 struct fimc_context *ctx = local 1113 struct fimc_context *ctx = local 1135 struct fimc_context *ctx = dev_get_drvdata(dev); local 1156 struct fimc_context *ctx = dev_get_drvdata(dev); local 1169 fimc_put_clocks(struct fimc_context *ctx) argument 1181 fimc_setup_clocks(struct fimc_context *ctx) argument 1269 struct fimc_context *ctx; local 1373 struct fimc_context *ctx = get_fimc_context(dev); local 1384 struct fimc_context *ctx = get_fimc_context(dev); local 1393 struct fimc_context *ctx = get_fimc_context(dev); local [all...] |
H A D | exynos_drm_fimd.c | 254 static inline void fimd_set_bits(struct fimd_context *ctx, u32 reg, u32 mask, argument 257 val = (val & mask) | (readl(ctx->regs + reg) & ~mask); 258 writel(val, ctx->regs + reg); 263 struct fimd_context *ctx = crtc->ctx; local 266 if (ctx->suspended) 269 if (!test_and_set_bit(0, &ctx->irq_flags)) { 270 val = readl(ctx->regs + VIDINTCON0); 274 if (ctx->i80_if) { 287 writel(val, ctx 295 struct fimd_context *ctx = crtc->ctx; local 319 struct fimd_context *ctx = crtc->ctx; local 336 fimd_enable_video_output(struct fimd_context *ctx, unsigned int win, bool enable) argument 349 fimd_enable_shadow_channel_path(struct fimd_context *ctx, unsigned int win, bool enable) argument 365 struct fimd_context *ctx = crtc->ctx; local 418 struct fimd_context *ctx = crtc->ctx; local 458 fimd_setup_trigger(struct fimd_context *ctx) argument 480 struct fimd_context *ctx = crtc->ctx; local 594 fimd_win_set_bldeq(struct fimd_context *ctx, unsigned int win, unsigned int alpha, unsigned int pixel_alpha) argument 620 fimd_win_set_bldmod(struct fimd_context *ctx, unsigned int win, unsigned int alpha, unsigned int pixel_alpha) argument 661 fimd_win_set_pixfmt(struct fimd_context *ctx, unsigned int win, struct drm_framebuffer *fb, int width) argument 752 fimd_win_set_colkey(struct fimd_context *ctx, unsigned int win) argument 772 fimd_shadow_protect_win(struct fimd_context *ctx, unsigned int win, bool protect) argument 805 struct fimd_context *ctx = crtc->ctx; local 817 struct fimd_context *ctx = crtc->ctx; local 834 struct fimd_context *ctx = crtc->ctx; local 927 struct fimd_context *ctx = crtc->ctx; local 941 struct fimd_context *ctx = crtc->ctx; local 962 struct fimd_context *ctx = crtc->ctx; local 988 struct fimd_context *ctx = dev_get_drvdata(dev); local 1017 struct fimd_context *ctx = crtc->ctx; local 1047 struct fimd_context *ctx = container_of(clk, struct fimd_context, local 1068 struct fimd_context *ctx = (struct fimd_context *)dev_id; local 1101 struct fimd_context *ctx = dev_get_drvdata(dev); local 1155 struct fimd_context *ctx = dev_get_drvdata(dev); local 1173 struct fimd_context *ctx; local 1289 struct fimd_context *ctx = dev_get_drvdata(dev); local 1299 struct fimd_context *ctx = dev_get_drvdata(dev); local [all...] |
H A D | exynos5433_drm_decon.c | 96 static inline void decon_set_bits(struct decon_context *ctx, u32 reg, u32 mask, argument 99 val = (val & mask) | (readl(ctx->addr + reg) & ~mask); 100 writel(val, ctx->addr + reg); 105 struct decon_context *ctx = crtc->ctx; local 114 writel(val, ctx->addr + DECON_VIDINTCON0); 116 enable_irq(ctx->irq); 117 if (!(ctx->out_type & I80_HW_TRG)) 118 enable_irq(ctx->te_irq); 125 struct decon_context *ctx local 135 decon_get_frame_count(struct decon_context *ctx, bool end) argument 176 decon_setup_trigger(struct decon_context *ctx) argument 198 struct decon_context *ctx = crtc->ctx; local 264 decon_win_set_bldeq(struct decon_context *ctx, unsigned int win, unsigned int alpha, unsigned int pixel_alpha) argument 290 decon_win_set_bldmod(struct decon_context *ctx, unsigned int win, unsigned int alpha, unsigned int pixel_alpha) argument 319 decon_win_set_pixfmt(struct decon_context *ctx, unsigned int win, struct drm_framebuffer *fb) argument 383 decon_shadow_protect(struct decon_context *ctx, bool protect) argument 391 struct decon_context *ctx = crtc->ctx; local 405 struct decon_context *ctx = crtc->ctx; local 460 struct decon_context *ctx = crtc->ctx; local 468 struct decon_context *ctx = crtc->ctx; local 484 decon_swreset(struct decon_context *ctx) argument 517 struct decon_context *ctx = crtc->ctx; local 535 struct decon_context *ctx = crtc->ctx; local 559 struct decon_context *ctx = dev_id; local 568 struct decon_context *ctx = crtc->ctx; local 595 struct decon_context *ctx = crtc->ctx; local 622 struct decon_context *ctx = dev_get_drvdata(dev); local 659 struct decon_context *ctx = dev_get_drvdata(dev); local 672 decon_handle_vblank(struct decon_context *ctx) argument 692 struct decon_context *ctx = dev_id; local 715 struct decon_context *ctx = dev_get_drvdata(dev); local 726 struct decon_context *ctx = dev_get_drvdata(dev); local 761 decon_conf_irq(struct decon_context *ctx, const char *name, irq_handler_t handler, unsigned long int flags) argument 792 struct decon_context *ctx; local [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_sk_lookup.c | 76 int lookup_pass(struct bpf_sk_lookup *ctx) argument 82 int lookup_drop(struct bpf_sk_lookup *ctx) argument 88 int check_ifindex(struct bpf_sk_lookup *ctx) argument 90 if (ctx->ingress_ifindex == 1) 96 int reuseport_pass(struct sk_reuseport_md *ctx) argument 102 int reuseport_drop(struct sk_reuseport_md *ctx) argument 109 int redir_port(struct bpf_sk_lookup *ctx) argument 114 if (ctx->local_port != DST_PORT) 121 err = bpf_sk_assign(ctx, sk, 0); 128 int redir_ip4(struct bpf_sk_lookup *ctx) argument 151 redir_ip6(struct bpf_sk_lookup *ctx) argument 176 select_sock_a(struct bpf_sk_lookup *ctx) argument 191 select_sock_a_no_reuseport(struct bpf_sk_lookup *ctx) argument 206 select_sock_b(struct sk_reuseport_md *ctx) argument 217 sk_assign_eexist(struct bpf_sk_lookup *ctx) argument 250 sk_assign_replace_flag(struct bpf_sk_lookup *ctx) argument 282 sk_assign_null(struct bpf_sk_lookup *ctx) argument 325 access_ctx_sk(struct bpf_sk_lookup *ctx) argument 391 ctx_narrow_access(struct bpf_sk_lookup *ctx) argument 575 sk_assign_esocknosupport(struct bpf_sk_lookup *ctx) argument 600 multi_prog_pass1(struct bpf_sk_lookup *ctx) argument 607 multi_prog_pass2(struct bpf_sk_lookup *ctx) argument 614 multi_prog_drop1(struct bpf_sk_lookup *ctx) argument 621 multi_prog_drop2(struct bpf_sk_lookup *ctx) argument 627 select_server_a(struct bpf_sk_lookup *ctx) argument 645 multi_prog_redir1(struct bpf_sk_lookup *ctx) argument 653 multi_prog_redir2(struct bpf_sk_lookup *ctx) argument [all...] |
H A D | trigger_bench.c | 29 int bench_trigger_uprobe(void *ctx) argument 38 int trigger_count(void *ctx) argument 49 int trigger_driver(void *ctx) argument 62 int trigger_driver_kfunc(void *ctx) argument 73 int bench_trigger_kprobe(void *ctx) argument 80 int bench_trigger_kretprobe(void *ctx) argument 87 int bench_trigger_kprobe_multi(void *ctx) argument 94 int bench_trigger_kretprobe_multi(void *ctx) argument 101 int bench_trigger_fentry(void *ctx) argument 108 int bench_trigger_fexit(void *ctx) argument 115 bench_trigger_fmodret(void *ctx) argument 122 bench_trigger_tp(void *ctx) argument 129 bench_trigger_rawtp(void *ctx) argument [all...] |
H A D | bpf_iter_test_kern6.c | 11 int dump_bpf_hash_map(struct bpf_iter__bpf_map_elem *ctx) argument 13 void *value = ctx->value;
|
H A D | bpf_iter_bpf_sk_storage_helpers.c | 17 int delete_bpf_sk_storage_map(struct bpf_iter__bpf_sk_storage_map *ctx) argument 19 if (ctx->sk) 20 bpf_sk_storage_delete(&sk_stg_map, ctx->sk); 26 int fill_socket_owner(struct bpf_iter__task_file *ctx) argument 28 struct task_struct *task = ctx->task; 29 struct file *file = ctx->file; 50 int negate_socket_local_storage(struct bpf_iter__tcp *ctx) argument 52 struct sock_common *sk_common = ctx->sk_common;
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | subprogs.c | 14 struct toggler_ctx *ctx = arg; local 18 while (!ctx->stop) { 19 lseek(ctx->fd, SEEK_SET, 0); 20 write(ctx->fd, &two, sizeof(two)); 21 lseek(ctx->fd, SEEK_SET, 0); 22 write(ctx->fd, &zero, sizeof(zero)); 30 struct toggler_ctx ctx; local 35 ctx.fd = open("/proc/sys/net/core/bpf_jit_harden", O_RDWR); 36 if (!ASSERT_GE(ctx.fd, 0, "open bpf_jit_harden")) 39 ctx [all...] |
/linux-master/tools/perf/util/ |
H A D | expr.h | 32 void expr__ctx_clear(struct expr_parse_ctx *ctx); 33 void expr__ctx_free(struct expr_parse_ctx *ctx); 35 void expr__del_id(struct expr_parse_ctx *ctx, const char *id); 36 int expr__add_id(struct expr_parse_ctx *ctx, const char *id); 37 int expr__add_id_val(struct expr_parse_ctx *ctx, const char *id, double val); 38 int expr__add_id_val_source_count(struct expr_parse_ctx *ctx, const char *id, 40 int expr__add_ref(struct expr_parse_ctx *ctx, struct metric_ref *ref); 41 int expr__get_id(struct expr_parse_ctx *ctx, const char *id, 45 int expr__resolve_id(struct expr_parse_ctx *ctx, const char *id, 48 int expr__parse(double *final_val, struct expr_parse_ctx *ctx, [all...] |
/linux-master/drivers/power/reset/ |
H A D | ocelot-reset.c | 45 struct ocelot_reset_context *ctx = container_of(this, struct local 48 u32 if_si_owner_bit = ctx->props->if_si_owner_bit; 51 regmap_update_bits(ctx->cpu_ctrl, ctx->props->protect_reg, 52 ctx->props->vcore_protect, 0); 56 regmap_update_bits(ctx->cpu_ctrl, 63 writel(SOFT_CHIP_RST, ctx->base); 71 struct ocelot_reset_context *ctx; local 75 ctx = devm_kzalloc(&pdev->dev, sizeof(*ctx), GFP_KERNE [all...] |
/linux-master/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_ctl.h | 65 * @ctx : ctl path ctx pointer 67 void (*trigger_start)(struct dpu_hw_ctl *ctx); 71 * @ctx : ctl path ctx pointer 74 bool (*is_started)(struct dpu_hw_ctl *ctx); 80 * @ctx : ctl path ctx pointer 82 void (*trigger_pending)(struct dpu_hw_ctl *ctx); 87 * @ctx [all...] |
/linux-master/arch/mips/net/ |
H A D | bpf_jit_comp.h | 90 #define __emit(ctx, func, ...) \ 92 if ((ctx)->target != NULL) { \ 93 u32 *p = &(ctx)->target[ctx->jit_index]; \ 96 (ctx)->jit_index++; \ 109 #define LLSC_sync(ctx) emit(ctx, sync, 0) 112 #define LLSC_sync(ctx) 127 static inline void access_reg(struct jit_context *ctx, u8 reg) argument 129 ctx 136 clobber_reg(struct jit_context *ctx, u8 reg) argument [all...] |
/linux-master/arch/powerpc/platforms/cell/spufs/ |
H A D | file.c | 160 struct spu_context *ctx = i->i_ctx; local 162 mutex_lock(&ctx->mapping_lock); 163 file->private_data = ctx; 165 ctx->local_store = inode->i_mapping; 166 mutex_unlock(&ctx->mapping_lock); 174 struct spu_context *ctx = i->i_ctx; local 176 mutex_lock(&ctx->mapping_lock); 178 ctx->local_store = NULL; 179 mutex_unlock(&ctx->mapping_lock); 184 spufs_mem_dump(struct spu_context *ctx, struc argument 193 struct spu_context *ctx = file->private_data; local 210 struct spu_context *ctx = file->private_data; local 233 struct spu_context *ctx = vma->vm_file->private_data; local 265 struct spu_context *ctx = vma->vm_file->private_data; local 314 struct spu_context *ctx = vmf->vma->vm_file->private_data; local 396 struct spu_context *ctx = data; local 410 struct spu_context *ctx = data; local 425 struct spu_context *ctx = i->i_ctx; local 440 struct spu_context *ctx = i->i_ctx; local 469 spufs_regs_dump(struct spu_context *ctx, struct coredump_params *cprm) argument 480 struct spu_context *ctx = file->private_data; local 500 struct spu_context *ctx = file->private_data; local 526 spufs_fpcr_dump(struct spu_context *ctx, struct coredump_params *cprm) argument 537 struct spu_context *ctx = file->private_data; local 552 struct spu_context *ctx = file->private_data; local 597 struct spu_context *ctx = file->private_data; local 643 struct spu_context *ctx = file->private_data; local 671 spu_ibox_read(struct spu_context *ctx, u32 *data) argument 679 struct spu_context *ctx = spu->ctx; local 700 struct spu_context *ctx = file->private_data; local 752 struct spu_context *ctx = file->private_data; local 778 struct spu_context *ctx = file->private_data; local 804 spu_wbox_write(struct spu_context *ctx, u32 data) argument 812 struct spu_context *ctx = spu->ctx; local 833 struct spu_context *ctx = file->private_data; local 884 struct spu_context *ctx = file->private_data; local 910 struct spu_context *ctx = file->private_data; local 938 struct spu_context *ctx = i->i_ctx; local 952 struct spu_context *ctx = i->i_ctx; local 961 spufs_signal1_dump(struct spu_context *ctx, struct coredump_params *cprm) argument 970 __spufs_signal1_read(struct spu_context *ctx, char __user *buf, size_t len) argument 987 struct spu_context *ctx = file->private_data; local 1001 struct spu_context *ctx; local 1073 struct spu_context *ctx = i->i_ctx; local 1087 struct spu_context *ctx = i->i_ctx; local 1096 spufs_signal2_dump(struct spu_context *ctx, struct coredump_params *cprm) argument 1105 __spufs_signal2_read(struct spu_context *ctx, char __user *buf, size_t len) argument 1121 struct spu_context *ctx = file->private_data; local 1136 struct spu_context *ctx; local 1245 struct spu_context *ctx = data; local 1257 spufs_signal1_type_get(struct spu_context *ctx) argument 1267 struct spu_context *ctx = data; local 1279 spufs_signal2_type_get(struct spu_context *ctx) argument 1318 struct spu_context *ctx = i->i_ctx; local 1333 struct spu_context *ctx = i->i_ctx; local 1377 struct spu_context *ctx = i->i_ctx; local 1391 struct spu_context *ctx = i->i_ctx; local 1440 struct spu_context *ctx = i->i_ctx; local 1461 struct spu_context *ctx = i->i_ctx; local 1473 struct spu_context *ctx = spu->ctx; local 1479 spufs_read_mfc_tagstatus(struct spu_context *ctx, u32 *status) argument 1497 struct spu_context *ctx = file->private_data; local 1602 spu_send_mfc_command(struct spu_context *ctx, struct mfc_dma_command cmd, int *error) argument 1623 struct spu_context *ctx = file->private_data; local 1672 struct spu_context *ctx = file->private_data; local 1702 struct spu_context *ctx = file->private_data; local 1740 struct spu_context *ctx = data; local 1752 spufs_npc_get(struct spu_context *ctx) argument 1761 struct spu_context *ctx = data; local 1774 spufs_decr_get(struct spu_context *ctx) argument 1784 struct spu_context *ctx = data; local 1799 spufs_decr_status_get(struct spu_context *ctx) argument 1812 struct spu_context *ctx = data; local 1825 spufs_event_mask_get(struct spu_context *ctx) argument 1835 spufs_event_status_get(struct spu_context *ctx) argument 1849 struct spu_context *ctx = data; local 1862 spufs_srr0_get(struct spu_context *ctx) argument 1870 spufs_id_get(struct spu_context *ctx) argument 1884 spufs_object_id_get(struct spu_context *ctx) argument 1892 struct spu_context *ctx = data; local 1901 spufs_lslr_get(struct spu_context *ctx) argument 1911 struct spu_context *ctx = i->i_ctx; local 1918 struct spu_context *ctx = s->private; local 1939 spufs_mbox_info_dump(struct spu_context *ctx, struct coredump_params *cprm) argument 1951 struct spu_context *ctx = file->private_data; local 1977 spufs_ibox_info_dump(struct spu_context *ctx, struct coredump_params *cprm) argument 1989 struct spu_context *ctx = file->private_data; local 2015 spufs_wbox_info_cnt(struct spu_context *ctx) argument 2020 spufs_wbox_info_dump(struct spu_context *ctx, struct coredump_params *cprm) argument 2030 struct spu_context *ctx = file->private_data; local 2053 spufs_get_dma_info(struct spu_context *ctx, struct spu_dma_info *info) argument 2074 spufs_dma_info_dump(struct spu_context *ctx, struct coredump_params *cprm) argument 2086 struct spu_context *ctx = file->private_data; local 2108 spufs_get_proxydma_info(struct spu_context *ctx, struct spu_proxydma_info *info) argument 2128 spufs_proxydma_info_dump(struct spu_context *ctx, struct coredump_params *cprm) argument 2140 struct spu_context *ctx = file->private_data; local 2167 struct spu_context *ctx = s->private; local 2189 spufs_acct_time(struct spu_context *ctx, enum spu_utilization_state state) argument 2210 spufs_slb_flts(struct spu_context *ctx) argument 2222 spufs_class2_intrs(struct spu_context *ctx) argument 2237 struct spu_context *ctx = s->private; local 2275 spufs_switch_log_used(struct spu_context *ctx) argument 2281 spufs_switch_log_avail(struct spu_context *ctx) argument 2288 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; local 2319 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; local 2333 switch_log_sprint(struct spu_context *ctx, char *tbuf, int n) argument 2352 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; local 2422 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; local 2453 spu_switch_log_notify(struct spu *spu, struct spu_context *ctx, u32 type, u32 val) argument 2478 struct spu_context *ctx = s->private; local [all...] |
/linux-master/drivers/gpu/drm/panel/ |
H A D | panel-mantix-mlaf057we51.c | 48 static int mantix_init_sequence(struct mantix *ctx) argument 50 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); 51 struct device *dev = ctx->dev; 76 struct mantix *ctx = panel_to_mantix(panel); local 77 struct device *dev = ctx->dev; 81 ret = mantix_init_sequence(ctx); 83 dev_err(ctx->dev, "Panel init sequence failed: %d\n", ret); 110 struct mantix *ctx = panel_to_mantix(panel); local 111 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); 116 dev_err(ctx 128 struct mantix *ctx = panel_to_mantix(panel); local 147 struct mantix *ctx = panel_to_mantix(panel); local 223 struct mantix *ctx = panel_to_mantix(panel); local 259 struct mantix *ctx; local 325 struct mantix *ctx = mipi_dsi_get_drvdata(dsi); local 333 struct mantix *ctx = mipi_dsi_get_drvdata(dsi); local [all...] |
/linux-master/drivers/gpu/drm/sprd/ |
H A D | sprd_dsi.c | 136 dsi_reg_rd(struct dsi_context *ctx, u32 offset, u32 mask, argument 139 return (readl(ctx->base + offset) & mask) >> shift; 143 dsi_reg_wr(struct dsi_context *ctx, u32 offset, u32 mask, argument 148 ret = readl(ctx->base + offset); 151 writel(ret, ctx->base + offset); 155 dsi_reg_up(struct dsi_context *ctx, u32 offset, u32 mask, argument 158 u32 ret = readl(ctx->base + offset); 160 writel((ret & ~mask) | (val & mask), ctx->base + offset); 166 struct dsi_context *ctx = &dsi->ctx; local 188 struct dsi_context *ctx = &dsi->ctx; local 222 dphy_wait_pll_locked(struct dsi_context *ctx) argument 237 dsi_wait_tx_payload_fifo_empty(struct dsi_context *ctx) argument 250 dsi_wait_tx_cmd_fifo_empty(struct dsi_context *ctx) argument 263 dsi_wait_rd_resp_completed(struct dsi_context *ctx) argument 389 sprd_dsi_init(struct dsi_context *ctx) argument 434 sprd_dsi_fini(struct dsi_context *ctx) argument 447 sprd_dsi_dpi_video(struct dsi_context *ctx) argument 581 sprd_dsi_edpi_video(struct dsi_context *ctx) argument 619 sprd_dsi_wr_pkt(struct dsi_context *ctx, u8 vc, u8 type, const u8 *param, u16 len) argument 674 sprd_dsi_rd_pkt(struct dsi_context *ctx, u8 vc, u8 type, u8 msb_byte, u8 lsb_byte, u8 *buffer, u8 bytes_to_read) argument 728 sprd_dsi_set_work_mode(struct dsi_context *ctx, u8 mode) argument 736 sprd_dsi_state_reset(struct dsi_context *ctx) argument 743 sprd_dphy_init(struct dsi_context *ctx) argument 774 sprd_dphy_fini(struct dsi_context *ctx) argument 794 struct dsi_context *ctx = &dsi->ctx; local 831 struct dsi_context *ctx = &dsi->ctx; local 903 struct dsi_context *ctx = &dsi->ctx; local 978 struct dsi_context *ctx = &dsi->ctx; local [all...] |
/linux-master/arch/loongarch/net/ |
H A D | bpf_jit.c | 35 static void mark_call(struct jit_ctx *ctx) argument 37 ctx->flags |= SAVE_RA; 40 static void mark_tail_call(struct jit_ctx *ctx) argument 42 ctx->flags |= SAVE_TCC; 45 static bool seen_call(struct jit_ctx *ctx) argument 47 return (ctx->flags & SAVE_RA); 50 static bool seen_tail_call(struct jit_ctx *ctx) argument 52 return (ctx->flags & SAVE_TCC); 55 static u8 tail_call_reg(struct jit_ctx *ctx) argument 57 if (seen_call(ctx)) 89 build_prologue(struct jit_ctx *ctx) argument 149 __build_epilogue(struct jit_ctx *ctx, bool is_tail_call) argument 194 build_epilogue(struct jit_ctx *ctx) argument 211 emit_bpf_tail_call(struct jit_ctx *ctx) argument 282 emit_atomic(const struct bpf_insn *insn, struct jit_ctx *ctx) argument 411 add_exception_handler(const struct bpf_insn *insn, struct jit_ctx *ctx, int dst_reg) argument 458 build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx, bool extra_pass) argument 1124 build_body(struct jit_ctx *ctx, bool extra_pass) argument 1163 validate_code(struct jit_ctx *ctx) argument 1186 struct jit_ctx ctx; local [all...] |
/linux-master/drivers/hwmon/ |
H A D | xgene-hwmon.c | 126 static int xgene_hwmon_pcc_rd(struct xgene_hwmon_dev *ctx, u32 *msg) argument 128 struct acpi_pcct_shared_memory *generic_comm_base = ctx->pcc_comm_addr; 133 mutex_lock(&ctx->rd_mutex); 134 init_completion(&ctx->rd_complete); 135 ctx->resp_pending = true; 139 cpu_to_le32(PCC_SIGNATURE | ctx->mbox_idx)); 155 rc = mbox_send_message(ctx->mbox_chan, msg); 157 dev_err(ctx->dev, "Mailbox send error %d\n", rc); 160 if (!wait_for_completion_timeout(&ctx->rd_complete, 161 usecs_to_jiffies(ctx 184 xgene_hwmon_rd(struct xgene_hwmon_dev *ctx, u32 *msg) argument 221 xgene_hwmon_reg_map_rd(struct xgene_hwmon_dev *ctx, u32 addr, u32 *data) argument 250 xgene_hwmon_get_notification_msg(struct xgene_hwmon_dev *ctx, u32 *amsg) argument 271 xgene_hwmon_get_cpu_pwr(struct xgene_hwmon_dev *ctx, u32 *val) argument 288 xgene_hwmon_get_io_pwr(struct xgene_hwmon_dev *ctx, u32 *val) argument 305 xgene_hwmon_get_temp(struct xgene_hwmon_dev *ctx, u32 *val) argument 317 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev); local 341 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev); local 364 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev); local 379 struct xgene_hwmon_dev *ctx = dev_get_drvdata(dev); local 411 xgene_hwmon_tpc_alarm(struct xgene_hwmon_dev *ctx, struct slimpro_resp_msg *amsg) argument 420 xgene_hwmon_process_pwrmsg(struct xgene_hwmon_dev *ctx, struct slimpro_resp_msg *amsg) argument 434 struct xgene_hwmon_dev *ctx; local 457 xgene_hwmon_rx_ready(struct xgene_hwmon_dev *ctx, void *msg) argument 475 struct xgene_hwmon_dev *ctx = to_xgene_hwmon_dev(cl); local 525 struct xgene_hwmon_dev *ctx = to_xgene_hwmon_dev(cl); local 611 struct xgene_hwmon_dev *ctx; local 756 struct xgene_hwmon_dev *ctx = platform_get_drvdata(pdev); local [all...] |
/linux-master/drivers/infiniband/core/ |
H A D | ucma.c | 102 struct ucma_context *ctx; member in struct:ucma_multicast 113 struct ucma_context *ctx; member in struct:ucma_event 124 static int ucma_destroy_private_ctx(struct ucma_context *ctx); 129 struct ucma_context *ctx; local 131 ctx = xa_load(&ctx_table, id); 132 if (!ctx) 133 ctx = ERR_PTR(-ENOENT); 134 else if (ctx->file != file) 135 ctx = ERR_PTR(-EINVAL); 136 return ctx; 141 struct ucma_context *ctx; local 152 ucma_put_ctx(struct ucma_context *ctx) argument 164 struct ucma_context *ctx = ucma_get_ctx(file, id); local 177 struct ucma_context *ctx = container_of(work, struct ucma_context, close_work); local 194 struct ucma_context *ctx; local 215 ucma_set_ctx_cm_id(struct ucma_context *ctx, struct rdma_cm_id *cm_id) argument 222 ucma_finish_ctx(struct ucma_context *ctx) argument 258 ucma_create_uevent(struct ucma_context *ctx, struct rdma_cm_event *event) argument 299 struct ucma_context *ctx; local 336 struct ucma_context *ctx = cm_id->context; local 443 struct ucma_context *ctx; local 487 ucma_cleanup_multicast(struct ucma_context *ctx) argument 521 ucma_cleanup_ctx_events(struct ucma_context *ctx) argument 565 ucma_destroy_private_ctx(struct ucma_context *ctx) argument 595 struct ucma_context *ctx; local 628 struct ucma_context *ctx; local 653 struct ucma_context *ctx; local 679 struct ucma_context *ctx; local 706 struct ucma_context *ctx; local 734 struct ucma_context *ctx; local 821 struct ucma_context *ctx; local 882 ucma_query_addr(struct ucma_context *ctx, void __user *response, int out_len) argument 910 ucma_query_path(struct ucma_context *ctx, void __user *response, int out_len) argument 949 ucma_query_gid(struct ucma_context *ctx, void __user *response, int out_len) argument 1000 struct ucma_context *ctx; local 1055 struct ucma_context *ctx; local 1089 struct ucma_context *ctx; local 1116 struct ucma_context *ctx; local 1161 struct ucma_context *ctx; local 1194 struct ucma_context *ctx; local 1217 struct ucma_context *ctx; local 1253 ucma_set_option_id(struct ucma_context *ctx, int optname, void *optval, size_t optlen) argument 1294 ucma_set_ib_path(struct ucma_context *ctx, struct ib_path_rec_data *path_data, size_t optlen) argument 1341 ucma_set_option_ib(struct ucma_context *ctx, int optname, void *optval, size_t optlen) argument 1357 ucma_set_option_level(struct ucma_context *ctx, int level, int optname, void *optval, size_t optlen) argument 1382 struct ucma_context *ctx; local 1416 struct ucma_context *ctx; local 1439 struct ucma_context *ctx; local 1616 struct ucma_context *ctx; local 1803 struct ucma_context *ctx = list_first_entry( local [all...] |
/linux-master/drivers/gpu/drm/radeon/ |
H A D | atom.c | 61 struct atom_context *ctx; member in struct:__anon494 72 static int atom_execute_table_locked(struct atom_context *ctx, int index, uint32_t *params, int params_size); 73 int atom_execute_table(struct atom_context *ctx, int index, uint32_t *params, int params_size); 109 static uint32_t atom_iio_execute(struct atom_context *ctx, int base, argument 112 struct radeon_device *rdev = ctx->card->dev->dev_private; 121 temp = ctx->card->ioreg_read(ctx->card, CU16(base + 1)); 126 (void)ctx->card->ioreg_read(ctx->card, CU16(base + 1)); 127 ctx 180 atom_get_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr, uint32_t *saved, int print) argument 371 atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) argument 407 atom_get_src(atom_exec_context *ctx, uint8_t attr, int *ptr) argument 412 atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) argument 438 atom_get_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr, uint32_t *saved, int print) argument 447 atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) argument 454 atom_put_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr, uint32_t val, uint32_t saved) argument 598 atom_op_add(atom_exec_context *ctx, int *ptr, int arg) argument 612 atom_op_and(atom_exec_context *ctx, int *ptr, int arg) argument 626 atom_op_beep(atom_exec_context *ctx, int *ptr, int arg) argument 631 atom_op_calltable(atom_exec_context *ctx, int *ptr, int arg) argument 647 atom_op_clear(atom_exec_context *ctx, int *ptr, int arg) argument 659 atom_op_compare(atom_exec_context *ctx, int *ptr, int arg) argument 673 atom_op_delay(atom_exec_context *ctx, int *ptr, int arg) argument 685 atom_op_div(atom_exec_context *ctx, int *ptr, int arg) argument 702 atom_op_eot(atom_exec_context *ctx, int *ptr, int arg) argument 707 atom_op_jump(atom_exec_context *ctx, int *ptr, int arg) argument 760 atom_op_mask(atom_exec_context *ctx, int *ptr, int arg) argument 777 atom_op_move(atom_exec_context *ctx, int *ptr, int arg) argument 794 atom_op_mul(atom_exec_context *ctx, int *ptr, int arg) argument 805 atom_op_nop(atom_exec_context *ctx, int *ptr, int arg) argument 810 atom_op_or(atom_exec_context *ctx, int *ptr, int arg) argument 824 atom_op_postcard(atom_exec_context *ctx, int *ptr, int arg) argument 830 atom_op_repeat(atom_exec_context *ctx, int *ptr, int arg) argument 835 atom_op_restorereg(atom_exec_context *ctx, int *ptr, int arg) argument 840 atom_op_savereg(atom_exec_context *ctx, int *ptr, int arg) argument 845 atom_op_setdatablock(atom_exec_context *ctx, int *ptr, int arg) argument 859 atom_op_setfbbase(atom_exec_context *ctx, int *ptr, int arg) argument 866 atom_op_setport(atom_exec_context *ctx, int *ptr, int arg) argument 893 atom_op_setregblock(atom_exec_context *ctx, int *ptr, int arg) argument 900 atom_op_shift_left(atom_exec_context *ctx, int *ptr, int arg) argument 916 atom_op_shift_right(atom_exec_context *ctx, int *ptr, int arg) argument 932 atom_op_shl(atom_exec_context *ctx, int *ptr, int arg) argument 951 atom_op_shr(atom_exec_context *ctx, int *ptr, int arg) argument 970 atom_op_sub(atom_exec_context *ctx, int *ptr, int arg) argument 984 atom_op_switch(atom_exec_context *ctx, int *ptr, int arg) argument 1011 atom_op_test(atom_exec_context *ctx, int *ptr, int arg) argument 1023 atom_op_xor(atom_exec_context *ctx, int *ptr, int arg) argument 1037 atom_op_debug(atom_exec_context *ctx, int *ptr, int arg) argument 1170 atom_execute_table_locked(struct atom_context *ctx, int index, uint32_t *params, int params_size) argument 1234 atom_execute_table_scratch_unlocked(struct atom_context *ctx, int index, uint32_t *params, int params_size) argument 1255 atom_execute_table(struct atom_context *ctx, int index, uint32_t *params, int params_size) argument 1266 atom_index_iio(struct atom_context *ctx, int base) argument 1283 struct atom_context *ctx = local 1341 atom_asic_init(struct atom_context *ctx) argument 1370 atom_destroy(struct atom_context *ctx) argument 1376 atom_parse_data_header(struct atom_context *ctx, int index, uint16_t *size, uint8_t *frev, uint8_t *crev, uint16_t *data_start) argument 1397 atom_parse_cmd_header(struct atom_context *ctx, int index, uint8_t *frev, uint8_t *crev) argument 1414 atom_allocate_fb_scratch(struct atom_context *ctx) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/virtual/ |
H A D | virtual_stream_encoder.h | 32 struct dc_context *ctx, struct dc_bios *bp); 36 struct dc_context *ctx,
|
/linux-master/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/ |
H A D | rv2_clk_mgr.c | 37 void rv2_clk_mgr_construct(struct dc_context *ctx, struct clk_mgr_internal *clk_mgr, struct pp_smu_funcs *pp_smu) argument 40 rv1_clk_mgr_construct(ctx, clk_mgr, pp_smu);
|