/drivers/gpu/drm/nouveau/ |
H A D | nv50_grctx.c | 169 static void nv50_graph_construct_mmio(struct nouveau_grctx *ctx); 170 static void nv50_graph_construct_xfer1(struct nouveau_grctx *ctx); 171 static void nv50_graph_construct_xfer2(struct nouveau_grctx *ctx); 176 nv50_grctx_init(struct nouveau_grctx *ctx) argument 178 struct drm_nouveau_private *dev_priv = ctx->dev->dev_private; 197 NV_ERROR(ctx->dev, "I don't know how to make a ctxprog for " 199 NV_ERROR(ctx->dev, "Disabling acceleration. Please contact " 204 cp_set (ctx, STATE, RUNNING); 205 cp_set (ctx, XFER_SWITCH, ENABLE); 207 cp_bra (ctx, AUTO_SAV 289 nv50_graph_construct_mmio(struct nouveau_grctx *ctx) argument 773 dd_emit(struct nouveau_grctx *ctx, int num, uint32_t val) argument 782 nv50_graph_construct_mmio_ddata(struct nouveau_grctx *ctx) argument 1145 xf_emit(struct nouveau_grctx *ctx, int num, uint32_t val) argument 1175 nv50_graph_construct_xfer1(struct nouveau_grctx *ctx) argument 1338 nv50_graph_construct_gene_dispatch(struct nouveau_grctx *ctx) argument 1394 nv50_graph_construct_gene_m2mf(struct nouveau_grctx *ctx) argument 1446 nv50_graph_construct_gene_ccache(struct nouveau_grctx *ctx) argument 1514 nv50_graph_construct_gene_unk10xx(struct nouveau_grctx *ctx) argument 1574 nv50_graph_construct_gene_unk34xx(struct nouveau_grctx *ctx) argument 1599 nv50_graph_construct_gene_unk14xx(struct nouveau_grctx *ctx) argument 1710 nv50_graph_construct_gene_zcull(struct nouveau_grctx *ctx) argument 1771 nv50_graph_construct_gene_clipid(struct nouveau_grctx *ctx) argument 1791 nv50_graph_construct_gene_unk24xx(struct nouveau_grctx *ctx) argument 1874 nv50_graph_construct_gene_vfetch(struct nouveau_grctx *ctx) argument 2060 nv50_graph_construct_gene_eng2d(struct nouveau_grctx *ctx) argument 2122 nv50_graph_construct_gene_csched(struct nouveau_grctx *ctx) argument 2221 nv50_graph_construct_gene_unk1cxx(struct nouveau_grctx *ctx) argument 2317 nv50_graph_construct_gene_strmout(struct nouveau_grctx *ctx) argument 2359 nv50_graph_construct_gene_ropm1(struct nouveau_grctx *ctx) argument 2372 nv50_graph_construct_gene_ropm2(struct nouveau_grctx *ctx) argument 2398 nv50_graph_construct_gene_ropc(struct nouveau_grctx *ctx) argument 2633 nv50_graph_construct_xfer_unk84xx(struct nouveau_grctx *ctx) argument 2725 nv50_graph_construct_xfer_tprop(struct nouveau_grctx *ctx) argument 3025 nv50_graph_construct_xfer_tex(struct nouveau_grctx *ctx) argument 3071 nv50_graph_construct_xfer_unk8cxx(struct nouveau_grctx *ctx) argument 3110 nv50_graph_construct_xfer_tp(struct nouveau_grctx *ctx) argument 3127 nv50_graph_construct_xfer_mpc(struct nouveau_grctx *ctx) argument 3259 nv50_graph_construct_xfer2(struct nouveau_grctx *ctx) argument [all...] |
H A D | nv40_grctx.c | 49 * rather than a cp_lsr(ctx, dwords_for_1_vs_unit) instruction. 161 nv40_graph_construct_general(struct nouveau_grctx *ctx) argument 163 struct drm_nouveau_private *dev_priv = ctx->dev->dev_private; 166 cp_ctx(ctx, 0x4000a4, 1); 167 gr_def(ctx, 0x4000a4, 0x00000008); 168 cp_ctx(ctx, 0x400144, 58); 169 gr_def(ctx, 0x400144, 0x00000001); 170 cp_ctx(ctx, 0x400314, 1); 171 gr_def(ctx, 0x400314, 0x00000000); 172 cp_ctx(ctx, 267 nv40_graph_construct_state3d(struct nouveau_grctx *ctx) argument 372 nv40_graph_construct_state3d_2(struct nouveau_grctx *ctx) argument 536 nv40_graph_construct_state3d_3(struct nouveau_grctx *ctx) argument 551 nv40_graph_construct_shader(struct nouveau_grctx *ctx) argument 599 nv40_grctx_init(struct nouveau_grctx *ctx) argument [all...] |
H A D | nouveau_grctx.h | 23 cp_out(struct nouveau_grctx *ctx, uint32_t inst) argument 25 uint32_t *ctxprog = ctx->data; 27 if (ctx->mode != NOUVEAU_GRCTX_PROG) 30 BUG_ON(ctx->ctxprog_len == ctx->ctxprog_max); 31 ctxprog[ctx->ctxprog_len++] = inst; 35 cp_lsr(struct nouveau_grctx *ctx, uint32_t val) argument 37 cp_out(ctx, CP_LOAD_SR | val); 41 cp_ctx(struct nouveau_grctx *ctx, uint32_t reg, uint32_t length) argument 43 ctx 57 cp_name(struct nouveau_grctx *ctx, int name) argument 77 _cp_bra(struct nouveau_grctx *ctx, u32 mod, int flag, int state, int name) argument 97 _cp_wait(struct nouveau_grctx *ctx, int flag, int state) argument 104 _cp_set(struct nouveau_grctx *ctx, int flag, int state) argument 111 cp_pos(struct nouveau_grctx *ctx, int offset) argument 121 gr_def(struct nouveau_grctx *ctx, uint32_t reg, uint32_t val) argument [all...] |
H A D | nv20_graph.c | 90 nv20_graph_context_init(struct nouveau_gpuobj *ctx) argument 94 nv_wo32(ctx, 0x033c, 0xffff0000); 95 nv_wo32(ctx, 0x03a0, 0x0fff0000); 96 nv_wo32(ctx, 0x03a4, 0x0fff0000); 97 nv_wo32(ctx, 0x047c, 0x00000101); 98 nv_wo32(ctx, 0x0490, 0x00000111); 99 nv_wo32(ctx, 0x04a8, 0x44400000); 101 nv_wo32(ctx, i, 0x00030303); 103 nv_wo32(ctx, i, 0x00080000); 105 nv_wo32(ctx, 140 nv25_graph_context_init(struct nouveau_gpuobj *ctx) argument 199 nv2a_graph_context_init(struct nouveau_gpuobj *ctx) argument 249 nv30_31_graph_context_init(struct nouveau_gpuobj *ctx) argument 307 nv34_graph_context_init(struct nouveau_gpuobj *ctx) argument 365 nv35_36_graph_context_init(struct nouveau_gpuobj *ctx) argument [all...] |
/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_hdmi.h | 33 * @ctx: pointer to the context of specific device driver. 38 void *ctx; member in struct:exynos_drm_hdmi_context 43 bool (*is_connected)(void *ctx); 44 int (*get_edid)(void *ctx, struct drm_connector *connector, 46 int (*check_timing)(void *ctx, void *timing); 47 int (*power_on)(void *ctx, int mode); 50 void (*mode_fixup)(void *ctx, struct drm_connector *connector, 53 void (*mode_set)(void *ctx, void *mode); 54 void (*get_max_resol)(void *ctx, unsigned int *width, 56 void (*commit)(void *ctx); [all...] |
H A D | exynos_drm_hdmi.c | 60 struct drm_hdmi_context *ctx = to_context(dev); local 65 return hdmi_ops->is_connected(ctx->hdmi_ctx->ctx); 73 struct drm_hdmi_context *ctx = to_context(dev); local 78 return hdmi_ops->get_edid(ctx->hdmi_ctx->ctx, connector, edid, 86 struct drm_hdmi_context *ctx = to_context(dev); local 91 return hdmi_ops->check_timing(ctx->hdmi_ctx->ctx, timing); 98 struct drm_hdmi_context *ctx local 118 struct drm_hdmi_context *ctx = to_context(subdrv_dev); local 133 struct drm_hdmi_context *ctx = to_context(subdrv_dev); local 146 struct drm_hdmi_context *ctx = to_context(subdrv_dev); local 157 struct drm_hdmi_context *ctx = to_context(subdrv_dev); local 168 struct drm_hdmi_context *ctx = to_context(subdrv_dev); local 178 struct drm_hdmi_context *ctx = to_context(subdrv_dev); local 188 struct drm_hdmi_context *ctx = to_context(subdrv_dev); local 220 struct drm_hdmi_context *ctx = to_context(subdrv_dev); local 230 struct drm_hdmi_context *ctx = to_context(subdrv_dev); local 240 struct drm_hdmi_context *ctx = to_context(subdrv_dev); local 265 struct drm_hdmi_context *ctx; local 315 struct drm_hdmi_context *ctx; local 359 struct drm_hdmi_context *ctx = platform_get_drvdata(pdev); local [all...] |
H A D | exynos_drm_fimd.c | 106 struct fimd_context *ctx = get_fimd_context(dev); local 110 return ctx->panel; 141 struct fimd_context *ctx = get_fimd_context(subdrv_dev); local 145 mutex_lock(&ctx->lock); 155 if (ctx->suspended) 161 if (!ctx->suspended) 169 mutex_unlock(&ctx->lock); 174 struct fimd_context *ctx = get_fimd_context(subdrv_dev); local 175 struct exynos_drm_manager *mgr = ctx->subdrv.manager; 184 win_data = &ctx 195 struct fimd_context *ctx = get_fimd_context(dev); local 244 struct fimd_context *ctx = get_fimd_context(dev); local 271 struct fimd_context *ctx = get_fimd_context(dev); local 300 struct fimd_context *ctx = get_fimd_context(dev); local 352 struct fimd_context *ctx = get_fimd_context(dev); local 413 struct fimd_context *ctx = get_fimd_context(dev); local 429 struct fimd_context *ctx = get_fimd_context(dev); local 540 struct fimd_context *ctx = get_fimd_context(dev); local 635 struct fimd_context *ctx = (struct fimd_context *)dev_id; local 689 fimd_calc_clkdiv(struct fimd_context *ctx, struct fb_videomode *timing) argument 732 fimd_clear_win(struct fimd_context *ctx, int win) argument 751 fimd_power_on(struct fimd_context *ctx, bool enable) argument 794 struct fimd_context *ctx; local 926 struct fimd_context *ctx = platform_get_drvdata(pdev); local 960 struct fimd_context *ctx = get_fimd_context(dev); local 975 struct fimd_context *ctx = get_fimd_context(dev); local 992 struct fimd_context *ctx = get_fimd_context(dev); local 1001 struct fimd_context *ctx = get_fimd_context(dev); local [all...] |
/drivers/media/video/s5p-mfc/ |
H A D | s5p_mfc_shm.c | 20 int s5p_mfc_init_shm(struct s5p_mfc_ctx *ctx) argument 22 struct s5p_mfc_dev *dev = ctx->dev; 25 ctx->shm_alloc = vb2_dma_contig_memops.alloc(shm_alloc_ctx, 27 if (IS_ERR(ctx->shm_alloc)) { 29 return PTR_ERR(ctx->shm_alloc); 32 ctx->shm_ofs = s5p_mfc_mem_cookie(shm_alloc_ctx, ctx->shm_alloc) 34 BUG_ON(ctx->shm_ofs & ((1 << MFC_BANK1_ALIGN_ORDER) - 1)); 35 ctx->shm = vb2_dma_contig_memops.vaddr(ctx [all...] |
H A D | s5p_mfc_intr.c | 55 int s5p_mfc_wait_for_done_ctx(struct s5p_mfc_ctx *ctx, argument 61 ret = wait_event_interruptible_timeout(ctx->queue, 62 (ctx->int_cond && (ctx->int_type == command 63 || ctx->int_type == S5P_FIMV_R2H_CMD_ERR_RET)), 66 ret = wait_event_timeout(ctx->queue, 67 (ctx->int_cond && (ctx->int_type == command 68 || ctx->int_type == S5P_FIMV_R2H_CMD_ERR_RET)), 72 mfc_err("Interrupt (ctx 86 s5p_mfc_clean_ctx_int_flags(struct s5p_mfc_ctx *ctx) argument [all...] |
H A D | s5p_mfc_opr.c | 38 int s5p_mfc_alloc_dec_temp_buffers(struct s5p_mfc_ctx *ctx) argument 41 struct s5p_mfc_dev *dev = ctx->dev; 43 ctx->desc_buf = vb2_dma_contig_memops.alloc( 45 if (IS_ERR_VALUE((int)ctx->desc_buf)) { 46 ctx->desc_buf = 0; 50 ctx->desc_phys = s5p_mfc_mem_cookie( 51 dev->alloc_ctx[MFC_BANK1_ALLOC_CTX], ctx->desc_buf); 52 BUG_ON(ctx->desc_phys & ((1 << MFC_BANK1_ALIGN_ORDER) - 1)); 53 desc_virt = vb2_dma_contig_memops.vaddr(ctx->desc_buf); 55 vb2_dma_contig_memops.put(ctx 67 s5p_mfc_release_dec_desc_buffer(struct s5p_mfc_ctx *ctx) argument 77 s5p_mfc_alloc_codec_buffers(struct s5p_mfc_ctx *ctx) argument 215 s5p_mfc_release_codec_buffers(struct s5p_mfc_ctx *ctx) argument 232 s5p_mfc_alloc_instance_buffer(struct s5p_mfc_ctx *ctx) argument 275 s5p_mfc_release_instance_buffer(struct s5p_mfc_ctx *ctx) argument 290 s5p_mfc_set_dec_desc_buffer(struct s5p_mfc_ctx *ctx) argument 299 s5p_mfc_set_shared_buffer(struct s5p_mfc_ctx *ctx) argument 306 s5p_mfc_set_dec_stream_buffer(struct s5p_mfc_ctx *ctx, int buf_addr, unsigned int start_num_byte, unsigned int buf_size) argument 319 s5p_mfc_set_dec_frame_buffer(struct s5p_mfc_ctx *ctx) argument 452 s5p_mfc_set_enc_stream_buffer(struct s5p_mfc_ctx *ctx, unsigned long addr, unsigned int size) argument 462 s5p_mfc_set_enc_frame_buffer(struct s5p_mfc_ctx *ctx, unsigned long y_addr, unsigned long c_addr) argument 471 s5p_mfc_get_enc_frame_buffer(struct s5p_mfc_ctx *ctx, unsigned long *y_addr, unsigned long *c_addr) argument 483 s5p_mfc_set_enc_ref_buffer(struct s5p_mfc_ctx *ctx) argument 618 s5p_mfc_set_enc_params(struct s5p_mfc_ctx *ctx) argument 701 s5p_mfc_set_enc_params_h264(struct s5p_mfc_ctx *ctx) argument 859 s5p_mfc_set_enc_params_mpeg4(struct s5p_mfc_ctx *ctx) argument 938 s5p_mfc_set_enc_params_h263(struct s5p_mfc_ctx *ctx) argument 988 s5p_mfc_init_decode(struct s5p_mfc_ctx *ctx) argument 1009 s5p_mfc_set_flush(struct s5p_mfc_ctx *ctx, int flush) argument 1024 s5p_mfc_decode_one_frame(struct s5p_mfc_ctx *ctx, enum s5p_mfc_decode_arg last_frame) argument 1053 s5p_mfc_init_encode(struct s5p_mfc_ctx *ctx) argument 1075 s5p_mfc_encode_one_frame(struct s5p_mfc_ctx *ctx) argument 1110 s5p_mfc_run_res_change(struct s5p_mfc_ctx *ctx) argument 1120 s5p_mfc_run_dec_frame(struct s5p_mfc_ctx *ctx, int last_frame) argument 1153 s5p_mfc_run_enc_frame(struct s5p_mfc_ctx *ctx) argument 1190 s5p_mfc_run_init_dec(struct s5p_mfc_ctx *ctx) argument 1211 s5p_mfc_run_init_enc(struct s5p_mfc_ctx *ctx) argument 1231 s5p_mfc_run_init_dec_buffers(struct s5p_mfc_ctx *ctx) argument 1274 struct s5p_mfc_ctx *ctx; local [all...] |
H A D | s5p_mfc_dec.c | 175 static int s5p_mfc_ctx_ready(struct s5p_mfc_ctx *ctx) argument 178 if (ctx->src_queue_cnt >= 1 && ctx->state == MFCINST_GOT_INST) 181 if (ctx->src_queue_cnt >= 1 && 182 ctx->state == MFCINST_RUNNING && 183 ctx->dst_queue_cnt >= ctx->dpb_count) 186 if (ctx->state == MFCINST_FINISHING && 187 ctx->dst_queue_cnt >= ctx 283 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); local 361 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); local 410 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); local 510 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); local 538 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); local 554 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); local 571 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); local 614 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); local 626 struct s5p_mfc_ctx *ctx = ctrl_to_ctx(ctrl); local 650 struct s5p_mfc_ctx *ctx = ctrl_to_ctx(ctrl); local 689 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); local 752 struct s5p_mfc_ctx *ctx = fh_to_ctx(vq->drv_priv); local 803 struct s5p_mfc_ctx *ctx = fh_to_ctx(q->drv_priv); local 811 struct s5p_mfc_ctx *ctx = fh_to_ctx(q->drv_priv); local 820 struct s5p_mfc_ctx *ctx = fh_to_ctx(vq->drv_priv); local 870 struct s5p_mfc_ctx *ctx = fh_to_ctx(q->drv_priv); local 891 struct s5p_mfc_ctx *ctx = fh_to_ctx(q->drv_priv); local 926 struct s5p_mfc_ctx *ctx = fh_to_ctx(vq->drv_priv); local 986 s5p_mfc_dec_ctrls_setup(struct s5p_mfc_ctx *ctx) argument 1029 s5p_mfc_dec_ctrls_delete(struct s5p_mfc_ctx *ctx) argument [all...] |
H A D | s5p_mfc_dec.h | 20 int s5p_mfc_dec_ctrls_setup(struct s5p_mfc_ctx *ctx); 21 void s5p_mfc_dec_ctrls_delete(struct s5p_mfc_ctx *ctx);
|
H A D | s5p_mfc_enc.h | 20 int s5p_mfc_enc_ctrls_setup(struct s5p_mfc_ctx *ctx); 21 void s5p_mfc_enc_ctrls_delete(struct s5p_mfc_ctx *ctx);
|
H A D | s5p_mfc_intr.h | 20 int s5p_mfc_wait_for_done_ctx(struct s5p_mfc_ctx *ctx, 23 void s5p_mfc_clean_ctx_int_flags(struct s5p_mfc_ctx *ctx);
|
H A D | s5p_mfc.c | 44 static void clear_work_bit(struct s5p_mfc_ctx *ctx) argument 46 struct s5p_mfc_dev *dev = ctx->dev; 49 clear_bit(ctx->num, &dev->ctx_work_bits); 54 static void wake_up_ctx(struct s5p_mfc_ctx *ctx, unsigned int reason, argument 57 ctx->int_cond = 1; 58 ctx->int_type = reason; 59 ctx->int_err = err; 60 wake_up(&ctx->queue); 96 struct s5p_mfc_ctx *ctx; local 114 ctx 165 s5p_mfc_handle_frame_all_extracted(struct s5p_mfc_ctx *ctx) argument 193 s5p_mfc_handle_frame_copy_time(struct s5p_mfc_ctx *ctx) argument 230 s5p_mfc_handle_frame_new(struct s5p_mfc_ctx *ctx, unsigned int err) argument 275 s5p_mfc_handle_frame(struct s5p_mfc_ctx *ctx, unsigned int reason, unsigned int err) argument 368 s5p_mfc_handle_error(struct s5p_mfc_ctx *ctx, unsigned int reason, unsigned int err) argument 426 s5p_mfc_handle_seq_done(struct s5p_mfc_ctx *ctx, unsigned int reason, unsigned int err) argument 492 s5p_mfc_handle_init_buffers(struct s5p_mfc_ctx *ctx, unsigned int reason, unsigned int err) argument 546 struct s5p_mfc_ctx *ctx; local 642 struct s5p_mfc_ctx *ctx = NULL; local 800 struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data); local 865 struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data); local 911 struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data); local [all...] |
H A D | s5p_mfc_opr.h | 20 int s5p_mfc_init_decode(struct s5p_mfc_ctx *ctx); 24 int s5p_mfc_set_dec_frame_buffer(struct s5p_mfc_ctx *ctx); 25 int s5p_mfc_set_dec_stream_buffer(struct s5p_mfc_ctx *ctx, int buf_addr, 30 void s5p_mfc_set_enc_frame_buffer(struct s5p_mfc_ctx *ctx, 32 int s5p_mfc_set_enc_stream_buffer(struct s5p_mfc_ctx *ctx, 34 void s5p_mfc_get_enc_frame_buffer(struct s5p_mfc_ctx *ctx, 38 int s5p_mfc_decode_one_frame(struct s5p_mfc_ctx *ctx, 43 int s5p_mfc_alloc_dec_temp_buffers(struct s5p_mfc_ctx *ctx); 44 void s5p_mfc_set_dec_desc_buffer(struct s5p_mfc_ctx *ctx); 45 void s5p_mfc_release_dec_desc_buffer(struct s5p_mfc_ctx *ctx); [all...] |
/drivers/net/usb/ |
H A D | cdc_ncm.c | 139 static void cdc_ncm_tx_timeout_start(struct cdc_ncm_ctx *ctx); 168 static u8 cdc_ncm_setup(struct cdc_ncm_ctx *ctx) argument 176 iface_no = ctx->control->cur_altsetting->desc.bInterfaceNumber; 178 err = usb_control_msg(ctx->udev, 179 usb_rcvctrlpipe(ctx->udev, 0), 183 0, iface_no, &ctx->ncm_parm, 184 sizeof(ctx->ncm_parm), 10000); 191 ctx->rx_max = le32_to_cpu(ctx->ncm_parm.dwNtbInMaxSize); 192 ctx 407 cdc_ncm_find_endpoints(struct cdc_ncm_ctx *ctx, struct usb_interface *intf) argument 439 cdc_ncm_free(struct cdc_ncm_ctx *ctx) argument 459 struct cdc_ncm_ctx *ctx; local 616 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; local 657 cdc_ncm_fill_tx_frame(struct cdc_ncm_ctx *ctx, struct sk_buff *skb) argument 889 cdc_ncm_tx_timeout_start(struct cdc_ncm_ctx *ctx) argument 900 struct cdc_ncm_ctx *ctx = local 910 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)param; local 929 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; local 956 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; local 1073 cdc_ncm_speed_change(struct cdc_ncm_ctx *ctx, struct usb_cdc_speed_change *data) argument 1107 struct cdc_ncm_ctx *ctx; local 1163 struct cdc_ncm_ctx *ctx; local [all...] |
/drivers/staging/ozwpan/ |
H A D | ozhcd.h | 10 void *oz_hcd_pd_arrived(void *ctx); 11 void oz_hcd_pd_departed(void *ctx);
|
/drivers/gpu/drm/radeon/ |
H A D | atom-bits.h | 32 #define U8(ptr) get_u8(ctx->ctx->bios, (ptr)) 33 #define CU8(ptr) get_u8(ctx->bios, (ptr)) 38 #define U16(ptr) get_u16(ctx->ctx->bios, (ptr)) 39 #define CU16(ptr) get_u16(ctx->bios, (ptr)) 44 #define U32(ptr) get_u32(ctx->ctx->bios, (ptr)) 45 #define CU32(ptr) get_u32(ctx->bios, (ptr)) 46 #define CSTR(ptr) (((char *)(ctx [all...] |
H A D | atom.c | 56 struct atom_context *ctx; member in struct:__anon602 66 static int atom_execute_table_locked(struct atom_context *ctx, int index, uint32_t * params); 67 int atom_execute_table(struct atom_context *ctx, int index, uint32_t * params); 102 static uint32_t atom_iio_execute(struct atom_context *ctx, int base, argument 105 struct radeon_device *rdev = ctx->card->dev->dev_private; 114 temp = ctx->card->ioreg_read(ctx->card, CU16(base + 1)); 119 (void)ctx->card->ioreg_read(ctx->card, CU16(base + 1)); 120 ctx 177 atom_get_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr, uint32_t *saved, int print) argument 365 atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) argument 401 atom_get_src(atom_exec_context *ctx, uint8_t attr, int *ptr) argument 406 atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) argument 432 atom_get_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr, uint32_t *saved, int print) argument 441 atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) argument 448 atom_put_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr, uint32_t val, uint32_t saved) argument 587 atom_op_add(atom_exec_context *ctx, int *ptr, int arg) argument 601 atom_op_and(atom_exec_context *ctx, int *ptr, int arg) argument 615 atom_op_beep(atom_exec_context *ctx, int *ptr, int arg) argument 620 atom_op_calltable(atom_exec_context *ctx, int *ptr, int arg) argument 636 atom_op_clear(atom_exec_context *ctx, int *ptr, int arg) argument 648 atom_op_compare(atom_exec_context *ctx, int *ptr, int arg) argument 662 atom_op_delay(atom_exec_context *ctx, int *ptr, int arg) argument 674 atom_op_div(atom_exec_context *ctx, int *ptr, int arg) argument 691 atom_op_eot(atom_exec_context *ctx, int *ptr, int arg) argument 696 atom_op_jump(atom_exec_context *ctx, int *ptr, int arg) argument 749 atom_op_mask(atom_exec_context *ctx, int *ptr, int arg) argument 766 atom_op_move(atom_exec_context *ctx, int *ptr, int arg) argument 783 atom_op_mul(atom_exec_context *ctx, int *ptr, int arg) argument 794 atom_op_nop(atom_exec_context *ctx, int *ptr, int arg) argument 799 atom_op_or(atom_exec_context *ctx, int *ptr, int arg) argument 813 atom_op_postcard(atom_exec_context *ctx, int *ptr, int arg) argument 819 atom_op_repeat(atom_exec_context *ctx, int *ptr, int arg) argument 824 atom_op_restorereg(atom_exec_context *ctx, int *ptr, int arg) argument 829 atom_op_savereg(atom_exec_context *ctx, int *ptr, int arg) argument 834 atom_op_setdatablock(atom_exec_context *ctx, int *ptr, int arg) argument 848 atom_op_setfbbase(atom_exec_context *ctx, int *ptr, int arg) argument 855 atom_op_setport(atom_exec_context *ctx, int *ptr, int arg) argument 882 atom_op_setregblock(atom_exec_context *ctx, int *ptr, int arg) argument 889 atom_op_shift_left(atom_exec_context *ctx, int *ptr, int arg) argument 905 atom_op_shift_right(atom_exec_context *ctx, int *ptr, int arg) argument 921 atom_op_shl(atom_exec_context *ctx, int *ptr, int arg) argument 940 atom_op_shr(atom_exec_context *ctx, int *ptr, int arg) argument 959 atom_op_sub(atom_exec_context *ctx, int *ptr, int arg) argument 973 atom_op_switch(atom_exec_context *ctx, int *ptr, int arg) argument 1000 atom_op_test(atom_exec_context *ctx, int *ptr, int arg) argument 1012 atom_op_xor(atom_exec_context *ctx, int *ptr, int arg) argument 1026 atom_op_debug(atom_exec_context *ctx, int *ptr, int arg) argument 1159 atom_execute_table_locked(struct atom_context *ctx, int index, uint32_t * params) argument 1220 atom_execute_table(struct atom_context *ctx, int index, uint32_t * params) argument 1238 atom_index_iio(struct atom_context *ctx, int base) argument 1253 struct atom_context *ctx = local 1307 atom_asic_init(struct atom_context *ctx) argument 1336 atom_destroy(struct atom_context *ctx) argument 1343 atom_parse_data_header(struct atom_context *ctx, int index, uint16_t * size, uint8_t * frev, uint8_t * crev, uint16_t * data_start) argument 1364 atom_parse_cmd_header(struct atom_context *ctx, int index, uint8_t * frev, uint8_t * crev) argument 1381 atom_allocate_fb_scratch(struct atom_context *ctx) argument [all...] |
/drivers/crypto/amcc/ |
H A D | crypto4xx_alg.c | 74 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); local 76 ctx->direction = DIR_OUTBOUND; 77 ctx->hash_final = 0; 78 ctx->is_hash = 0; 79 ctx->pd_ctl = 0x1; 81 return crypto4xx_build_pd(&req->base, ctx, req->src, req->dst, 83 get_dynamic_sa_iv_size(ctx)); 88 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); local 90 ctx->direction = DIR_INBOUND; 91 ctx 110 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm); local 186 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm); local 238 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); local 255 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); local 274 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); local [all...] |
/drivers/staging/crystalhd/ |
H A D | crystalhd_cmds.c | 29 static struct crystalhd_user *bc_cproc_get_uid(struct crystalhd_cmd *ctx) argument 35 if (!ctx->user[i].in_use) { 36 user = &ctx->user[i]; 44 static int bc_cproc_get_user_count(struct crystalhd_cmd *ctx) argument 49 if (ctx->user[i].in_use) 56 static void bc_cproc_mark_pwr_state(struct crystalhd_cmd *ctx) argument 61 if (!ctx->user[i].in_use) 63 if (ctx->user[i].mode == DTS_DIAG_MODE || 64 ctx->user[i].mode == DTS_PLAYBACK_MODE) { 65 ctx 71 bc_cproc_notify_mode(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata) argument 113 bc_cproc_get_version(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata) argument 128 bc_cproc_get_hwtype(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata) argument 146 bc_cproc_reg_rd(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata) argument 156 bc_cproc_reg_wr(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata) argument 168 bc_cproc_link_reg_rd(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata) argument 179 bc_cproc_link_reg_wr(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata) argument 191 bc_cproc_mem_rd(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata) argument 210 bc_cproc_mem_wr(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata) argument 229 bc_cproc_cfg_rd(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata) argument 261 bc_cproc_cfg_wr(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata) argument 293 bc_cproc_download_fw(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata) argument 332 bc_cproc_do_fw_cmd(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata) argument 390 bc_cproc_codein_sleep(struct crystalhd_cmd *ctx) argument 410 bc_cproc_hw_txdma(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata, struct crystalhd_dio_req *dio) argument 506 bc_cproc_proc_input(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata) argument 542 bc_cproc_add_cap_buff(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata) argument 584 bc_cproc_fmt_change(struct crystalhd_cmd *ctx, struct crystalhd_dio_req *dio) argument 600 bc_cproc_fetch_frame(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata) argument 641 bc_cproc_start_capture(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata) argument 651 bc_cproc_flush_cap_buffs(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata) argument 686 bc_cproc_get_stats(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata) argument 718 bc_cproc_reset_stats(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata) argument 726 bc_cproc_chg_clk(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata) argument 801 crystalhd_suspend(struct crystalhd_cmd *ctx, struct crystalhd_ioctl_data *idata) argument 860 crystalhd_resume(struct crystalhd_cmd *ctx) argument 881 crystalhd_user_open(struct crystalhd_cmd *ctx, struct crystalhd_user **user_ctx) argument 919 crystalhd_user_close(struct crystalhd_cmd *ctx, struct crystalhd_user *uc) argument 954 crystalhd_setup_cmd_context(struct crystalhd_cmd *ctx, struct crystalhd_adp *adp) argument 989 crystalhd_delete_cmd_context(struct crystalhd_cmd *ctx) argument 1011 crystalhd_get_cmd_proc(struct crystalhd_cmd *ctx, uint32_t cmd, struct crystalhd_user *uc) argument 1053 crystalhd_cmd_interrupt(struct crystalhd_cmd *ctx) argument [all...] |
/drivers/staging/rtl8192u/ieee80211/ |
H A D | arc4.c | 29 struct arc4_ctx *ctx = ctx_arg; local 32 ctx->x = 1; 33 ctx->y = 0; 36 ctx->S[i] = i; 40 u8 a = ctx->S[i]; 42 ctx->S[i] = ctx->S[j]; 43 ctx->S[j] = a; 53 struct arc4_ctx *ctx = ctx_arg; local 55 u8 *const S = ctx [all...] |
/drivers/infiniband/core/ |
H A D | ucma.c | 99 struct ucma_context *ctx; member in struct:ucma_multicast 109 struct ucma_context *ctx; member in struct:ucma_event 123 struct ucma_context *ctx; local 125 ctx = idr_find(&ctx_idr, id); 126 if (!ctx) 127 ctx = ERR_PTR(-ENOENT); 128 else if (ctx->file != file) 129 ctx = ERR_PTR(-EINVAL); 130 return ctx; 135 struct ucma_context *ctx; local 145 ucma_put_ctx(struct ucma_context *ctx) argument 153 struct ucma_context *ctx; local 186 ucma_alloc_multicast(struct ucma_context *ctx) argument 245 ucma_set_event_context(struct ucma_context *ctx, struct rdma_cm_event *event, struct ucma_event *uevent) argument 269 struct ucma_context *ctx = cm_id->context; local 315 struct ucma_context *ctx; local 394 struct ucma_context *ctx; local 439 ucma_cleanup_multicast(struct ucma_context *ctx) argument 470 ucma_free_ctx(struct ucma_context *ctx) argument 507 struct ucma_context *ctx; local 540 struct ucma_context *ctx; local 560 struct ucma_context *ctx; local 582 struct ucma_context *ctx; local 677 struct ucma_context *ctx; local 754 struct ucma_context *ctx; local 777 struct ucma_context *ctx; local 799 struct ucma_context *ctx; local 827 struct ucma_context *ctx; local 846 struct ucma_context *ctx; local 867 struct ucma_context *ctx; local 898 ucma_set_option_id(struct ucma_context *ctx, int optname, void *optval, size_t optlen) argument 925 ucma_set_ib_path(struct ucma_context *ctx, struct ib_path_rec_data *path_data, size_t optlen) argument 954 ucma_set_option_ib(struct ucma_context *ctx, int optname, void *optval, size_t optlen) argument 970 ucma_set_option_level(struct ucma_context *ctx, int level, int optname, void *optval, size_t optlen) argument 993 struct ucma_context *ctx; local 1029 struct ucma_context *ctx; local 1050 struct ucma_context *ctx; local 1175 ucma_move_events(struct ucma_context *ctx, struct ucma_file *file) argument 1190 struct ucma_context *ctx; local 1338 struct ucma_context *ctx, *tmp; local [all...] |
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-agn-rxon.c | 35 struct iwl_rxon_context *ctx, 42 ret = iwl_dvm_send_cmd_pdu(priv, ctx->rxon_cmd, 55 struct iwl_rxon_context *ctx, 69 ret = iwl_dvm_send_cmd_pdu(priv, ctx->rxon_cmd, 89 struct iwl_rxon_context *ctx, 96 ret = iwl_dvm_send_cmd_pdu(priv, ctx->rxon_cmd, CMD_SYNC, 105 struct iwl_rxon_context *ctx) 109 if (!ctx->is_active) 112 ctx->qos_data.def_qos_parm.qos_flags = 0; 114 if (ctx 34 iwlagn_disable_bss(struct iwl_priv *priv, struct iwl_rxon_context *ctx, struct iwl_rxon_cmd *send) argument 54 iwlagn_disable_pan(struct iwl_priv *priv, struct iwl_rxon_context *ctx, struct iwl_rxon_cmd *send) argument 88 iwlagn_disconn_pan(struct iwl_priv *priv, struct iwl_rxon_context *ctx, struct iwl_rxon_cmd *send) argument 104 iwlagn_update_qos(struct iwl_priv *priv, struct iwl_rxon_context *ctx) argument 144 iwlagn_send_rxon_assoc(struct iwl_priv *priv, struct iwl_rxon_context *ctx) argument 189 iwlagn_rxon_disconn(struct iwl_priv *priv, struct iwl_rxon_context *ctx) argument 231 iwlagn_rxon_connect(struct iwl_priv *priv, struct iwl_rxon_context *ctx) argument 415 iwlagn_commit_rxon(struct iwl_priv *priv, struct iwl_rxon_context *ctx) argument 523 iwlagn_config_ht40(struct ieee80211_conf *conf, struct iwl_rxon_context *ctx) argument 544 struct iwl_rxon_context *ctx; local 659 iwlagn_check_needed_chains(struct iwl_priv *priv, struct iwl_rxon_context *ctx, struct ieee80211_bss_conf *bss_conf) argument 791 struct iwl_rxon_context *ctx = iwl_rxon_ctx_from_vif(vif); local 935 struct iwl_rxon_context *ctx; local [all...] |