Searched refs:ctx (Results 126 - 150 of 199) sorted by relevance

12345678

/drivers/gpu/drm/radeon/
H A Dradeon_state.c469 drm_radeon_context_regs_t * ctx,
478 &ctx->rb3d_depthoffset)) {
484 &ctx->rb3d_coloroffset)) {
491 OUT_RING(ctx->pp_misc);
492 OUT_RING(ctx->pp_fog_color);
493 OUT_RING(ctx->re_solid_color);
494 OUT_RING(ctx->rb3d_blendcntl);
495 OUT_RING(ctx->rb3d_depthoffset);
496 OUT_RING(ctx->rb3d_depthpitch);
497 OUT_RING(ctx
467 radeon_emit_state(drm_radeon_private_t * dev_priv, struct drm_file *file_priv, drm_radeon_context_regs_t * ctx, drm_radeon_texture_regs_t * tex, unsigned int dirty) argument
[all...]
H A Dradeon_atombios.c153 struct atom_context *ctx = rdev->mode_info.atom_context; local
164 if (atom_parse_data_header(ctx, index, &size, NULL, NULL, &data_offset)) {
165 i2c_info = (struct _ATOM_GPIO_I2C_INFO *)(ctx->bios + data_offset);
187 struct atom_context *ctx = rdev->mode_info.atom_context; local
196 if (atom_parse_data_header(ctx, index, &size, NULL, NULL, &data_offset)) {
197 i2c_info = (struct _ATOM_GPIO_I2C_INFO *)(ctx->bios + data_offset);
220 struct atom_context *ctx = rdev->mode_info.atom_context; local
231 if (atom_parse_data_header(ctx, index, &size, NULL, NULL, &data_offset)) {
232 gpio_info = (struct _ATOM_GPIO_PIN_LUT *)(ctx->bios + data_offset);
535 struct atom_context *ctx local
869 struct atom_context *ctx = mode_info->atom_context; local
913 struct atom_context *ctx = mode_info->atom_context; local
[all...]
/drivers/net/ethernet/broadcom/
H A Dcnic.c806 if (cp->ctx_arr[i].ctx) {
808 cp->ctx_arr[i].ctx,
810 cp->ctx_arr[i].ctx = NULL;
913 cp->ctx_arr[i].ctx =
918 if (cp->ctx_arr[i].ctx == NULL)
1168 cp->ctx_arr[i].ctx =
1172 if (cp->ctx_arr[i].ctx == NULL)
1327 struct cnic_context *ctx = &cp->ctx_tbl[l5_cid]; local
1330 map = ctx->kwqe_data_mapping;
1333 return ctx
1511 struct cnic_context *ctx = &cp->ctx_tbl[l5_cid]; local
1532 struct cnic_context *ctx = &cp->ctx_tbl[l5_cid]; local
1584 void *ctx; local
1614 struct cnic_context *ctx = &cp->ctx_tbl[req1->iscsi_conn_id]; local
1797 struct cnic_context *ctx; local
1886 struct cnic_context *ctx = &cp->ctx_tbl[l5_cid]; local
1914 struct cnic_context *ctx = &cp->ctx_tbl[l5_cid]; local
2069 struct cnic_context *ctx = &cp->ctx_tbl[l5_cid]; local
2286 struct cnic_context *ctx; local
2436 struct cnic_context *ctx; local
2482 struct cnic_context *ctx = &cp->ctx_tbl[i]; local
3217 struct cnic_context *ctx = &cp->ctx_tbl[l5_cid]; local
3510 struct cnic_context *ctx = &cp->ctx_tbl[l5_cid]; local
3887 struct cnic_context *ctx = &cp->ctx_tbl[l5_cid]; local
4071 struct cnic_context *ctx = &cp->ctx_tbl[csk->l5_cid]; local
4180 struct cnic_context *ctx = &cp->ctx_tbl[i]; local
4745 struct cnic_ctx *ctx = &cp->ctx_arr[i]; local
5502 void *ctx; local
[all...]
/drivers/crypto/
H A Dpadlock-sha.c39 struct padlock_sha_ctx *ctx = crypto_shash_ctx(desc->tfm); local
41 dctx->fallback.tfm = ctx->fallback;
65 struct padlock_sha_ctx *ctx = crypto_shash_ctx(desc->tfm); local
67 dctx->fallback.tfm = ctx->fallback;
215 struct padlock_sha_ctx *ctx = crypto_tfm_ctx(tfm); local
229 ctx->fallback = fallback_tfm;
239 struct padlock_sha_ctx *ctx = crypto_tfm_ctx(tfm); local
241 crypto_free_shash(ctx->fallback);
/drivers/gpu/drm/exynos/
H A Dexynos_hdmi.c1194 static bool hdmi_is_connected(void *ctx) argument
1196 struct hdmi_context *hdata = ctx;
1205 static int hdmi_get_edid(void *ctx, struct drm_connector *connector, argument
1209 struct hdmi_context *hdata = ctx;
1275 static int hdmi_check_timing(void *ctx, void *timing) argument
1277 struct hdmi_context *hdata = ctx;
1292 static int hdmi_display_power_on(void *ctx, int mode) argument
1904 static void hdmi_mode_fixup(void *ctx, struct drm_connector *connector, argument
1909 struct hdmi_context *hdata = ctx;
1944 static void hdmi_mode_set(void *ctx, voi argument
1958 hdmi_get_max_resol(void *ctx, unsigned int *width, unsigned int *height) argument
1967 hdmi_commit(void *ctx) argument
1978 hdmi_disable(void *ctx) argument
2013 struct exynos_drm_hdmi_context *ctx = local
2021 struct exynos_drm_hdmi_context *ctx = arg; local
2171 struct exynos_drm_hdmi_context *ctx = get_hdmi_context(dev); local
2182 struct exynos_drm_hdmi_context *ctx = get_hdmi_context(dev); local
2351 struct exynos_drm_hdmi_context *ctx = platform_get_drvdata(pdev); local
[all...]
/drivers/net/wimax/i2400m/
H A Ddriver.c183 struct i2400m_reset_ctx ctx = { local
184 .completion = COMPLETION_INITIALIZER_ONSTACK(ctx.completion),
190 i2400m->reset_ctx = &ctx;
195 result = wait_for_completion_timeout(&ctx.completion, 4*HZ);
199 result = ctx.result;
606 struct i2400m_reset_ctx *ctx = i2400m->reset_ctx; local
650 ctx->result = result;
651 complete(&ctx->completion);
/drivers/ssb/
H A Dssb_private.h191 extern int ssb_devices_freeze(struct ssb_bus *bus, struct ssb_freeze_context *ctx);
192 extern int ssb_devices_thaw(struct ssb_freeze_context *ctx);
H A Dmain.c220 * @ctx: Context structure. Pass this to ssb_devices_thaw().
222 int ssb_devices_freeze(struct ssb_bus *bus, struct ssb_freeze_context *ctx) argument
228 memset(ctx, 0, sizeof(*ctx));
229 ctx->bus = bus;
230 SSB_WARN_ON(bus->nr_devices > ARRAY_SIZE(ctx->device_frozen));
244 ctx->device_frozen[i] = 1;
254 * @ctx: The context structure from ssb_devices_freeze()
256 int ssb_devices_thaw(struct ssb_freeze_context *ctx) argument
258 struct ssb_bus *bus = ctx
[all...]
/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_resource.c350 struct vmw_user_context *ctx = local
354 kfree(ctx);
367 struct vmw_user_context *ctx = local
369 struct vmw_resource *res = &ctx->res;
380 struct vmw_user_context *ctx; local
394 ctx = container_of(res, struct vmw_user_context, res);
395 if (ctx->base.tfile != tfile && !ctx->base.shareable) {
400 ttm_ref_object_base_unref(tfile, ctx->base.hash.key, TTM_REF_USAGE);
410 struct vmw_user_context *ctx; local
490 struct vmw_user_context *ctx = local
[all...]
/drivers/scsi/cxgbi/cxgb3i/
H A Dcxgb3i.c473 static int do_act_establish(struct t3cdev *tdev, struct sk_buff *skb, void *ctx) argument
475 struct cxgbi_sock *csk = ctx;
569 static int do_act_open_rpl(struct t3cdev *tdev, struct sk_buff *skb, void *ctx) argument
571 struct cxgbi_sock *csk = ctx;
604 static int do_peer_close(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) argument
606 struct cxgbi_sock *csk = ctx;
622 void *ctx)
624 struct cxgbi_sock *csk = ctx;
659 static int do_abort_req(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) argument
662 struct cxgbi_sock *csk = ctx;
621 do_close_con_rpl(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) argument
706 do_abort_rpl(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) argument
742 do_iscsi_hdr(struct t3cdev *t3dev, struct sk_buff *skb, void *ctx) argument
846 do_wr_ack(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) argument
[all...]
/drivers/usb/host/
H A Dxhci-mem.c356 struct xhci_container_ctx *ctx = kzalloc(sizeof(*ctx), flags); local
357 if (!ctx)
361 ctx->type = type;
362 ctx->size = HCC_64BYTE_CONTEXT(xhci->hcc_params) ? 2048 : 1024;
364 ctx->size += CTX_SIZE(xhci->hcc_params);
366 ctx->bytes = dma_pool_alloc(xhci->device_pool, flags, &ctx->dma);
367 memset(ctx->bytes, 0, ctx
371 xhci_free_container_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx) argument
380 xhci_get_input_control_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx) argument
387 xhci_get_slot_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx) argument
397 xhci_get_ep_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx, unsigned int ep_index) argument
[all...]
/drivers/gpu/drm/nouveau/
H A Dnv50_graph.c232 struct nouveau_grctx ctx = {}; local
251 ctx.dev = chan->dev;
252 ctx.mode = NOUVEAU_GRCTX_VALS;
253 ctx.data = grctx;
254 nv50_grctx_init(&ctx);
999 struct nouveau_grctx ctx = {}; local
1006 ctx.dev = dev;
1007 ctx.mode = NOUVEAU_GRCTX_PROG;
1008 ctx.data = pgraph->ctxprog;
1009 ctx
[all...]
H A Dnv10_graph.c685 /* Save the current ctx object */
723 /* Restore the current ctx object */
764 struct graph_state *ctx; local
771 ctx = chan->engctx[NVOBJ_ENGINE_GR];
774 ctx->nv10[i] = nv_rd32(dev, nv10_graph_ctx_regs[i]);
778 ctx->nv17[i] = nv_rd32(dev, nv17_graph_ctx_regs[i]);
976 struct graph_state *ctx = chan->engctx[NVOBJ_ENGINE_GR]; local
978 struct pipe_state *pipe = &ctx->pipe_state;
983 ctx->lma_window[(mthd - 0x1638) / 4] = data;
993 PIPE_RESTORE(dev, ctx
[all...]
/drivers/net/wireless/b43/
H A Dmain.c2091 int b43_do_request_fw(struct b43_request_fw_context *ctx, argument
2108 if ((fw->type == ctx->req_type) &&
2119 switch (ctx->req_type) {
2121 snprintf(ctx->fwname, sizeof(ctx->fwname),
2126 snprintf(ctx->fwname, sizeof(ctx->fwname),
2134 err = request_firmware(&blob, ctx->fwname, ctx->dev->dev->dev);
2136 snprintf(ctx
2180 b43_try_request_fw(struct b43_request_fw_context *ctx) argument
2401 struct b43_request_fw_context *ctx; local
[all...]
H A Dmain.h140 int b43_do_request_fw(struct b43_request_fw_context *ctx,
/drivers/net/ethernet/mellanox/mlx4/
H A Den_main.c124 static void *mlx4_en_get_netdev(struct mlx4_dev *dev, void *ctx, u8 port) argument
126 struct mlx4_en_dev *endev = ctx;
/drivers/net/wireless/iwlwifi/
H A Diwl-agn-rs.c349 struct iwl_rxon_context *ctx = sta_priv->ctx; local
367 iwl_send_lq_cmd(lq_sta->drv, ctx, &lq_sta->lq, CMD_ASYNC,
713 struct iwl_rxon_context *ctx = sta_priv->ctx; local
716 !(ctx->ht.non_gf_sta_present);
868 static void rs_bt_update_lq(struct iwl_priv *priv, struct iwl_rxon_context *ctx, argument
892 iwl_send_lq_cmd(priv, ctx, &lq_sta->lq, CMD_ASYNC, false);
919 struct iwl_rxon_context *ctx = sta_priv->ctx; local
1285 struct iwl_rxon_context *ctx = sta_priv->ctx; local
1341 struct iwl_rxon_context *ctx = sta_priv->ctx; local
1398 struct iwl_rxon_context *ctx = sta_priv->ctx; local
2213 rs_update_rate_tbl(struct iwl_priv *priv, struct iwl_rxon_context *ctx, struct iwl_lq_sta *lq_sta, struct iwl_scale_tbl_info *tbl, int index, u8 is_green) argument
2261 struct iwl_rxon_context *ctx = sta_priv->ctx; local
2692 struct iwl_rxon_context *ctx; local
[all...]
H A Diwl-scan.c405 struct iwl_rxon_context *ctx; local
412 for_each_context(priv, ctx) {
415 switch (ctx->staging.dev_type) {
422 if (!iwl_is_associated_ctx(ctx))
434 value = ctx->beacon_int;
630 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; local
647 ctx = iwl_rxon_ctx_from_vif(vif);
733 scan->tx_cmd.sta_id = ctx->bcast_sta_id;
H A Diwl-agn-rx.c159 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; local
160 struct iwl_rxon_cmd *rxon = (void *)&ctx->active;
167 ctx->staging.channel = csa->channel;
775 struct iwl_rxon_context *ctx; local
818 for_each_context(priv, ctx) {
820 ctx->active.bssid_addr))
/drivers/firewire/
H A Dcore-card.c632 static int dummy_start_iso(struct fw_iso_context *ctx, argument
638 static int dummy_set_iso_channels(struct fw_iso_context *ctx, u64 *channels) argument
643 static int dummy_queue_iso(struct fw_iso_context *ctx, struct fw_iso_packet *p, argument
649 static void dummy_flush_queue_iso(struct fw_iso_context *ctx) argument
653 static int dummy_flush_iso_completions(struct fw_iso_context *ctx) argument
H A Dcore-cdev.c1021 struct fw_iso_context *ctx = client->iso_context; local
1023 if (ctx == NULL || a->handle != 0)
1026 return fw_iso_context_set_channels(ctx, &a->channels);
1041 struct fw_iso_context *ctx = client->iso_context; local
1050 if (ctx == NULL || a->handle != 0)
1070 if (ctx->type == FW_ISO_CONTEXT_RECEIVE_MULTICHANNEL && payload & 3)
1089 switch (ctx->type) {
1098 u.packet.header_length % ctx->header_size != 0)
1116 if (u.packet.skip && ctx->type == FW_ISO_CONTEXT_TRANSMIT &&
1122 if (fw_iso_context_queue(ctx,
[all...]
/drivers/net/hyperv/
H A Drndis_filter.c52 static void rndis_filter_send_completion(void *ctx);
54 static void rndis_filter_send_request_completion(void *ctx);
880 static void rndis_filter_send_completion(void *ctx) argument
882 struct rndis_filter_packet *filter_pkt = ctx;
889 static void rndis_filter_send_request_completion(void *ctx) argument
/drivers/usb/core/
H A Dmessage.c31 struct api_context *ctx = urb->context; local
33 ctx->status = urb->status;
34 complete(&ctx->done);
46 struct api_context ctx; local
50 init_completion(&ctx.done);
51 urb->context = &ctx;
58 if (!wait_for_completion_timeout(&ctx.done, expire)) {
60 retval = (ctx.status == -ENOENT ? -ETIMEDOUT : ctx.status);
70 retval = ctx
[all...]
/drivers/infiniband/hw/cxgb3/
H A Diwch_cm.h227 int iwch_ep_redirect(void *ctx, struct dst_entry *old, struct dst_entry *new, struct l2t_entry *l2t);
/drivers/infiniband/hw/mthca/
H A Dmthca_cq.c777 struct mthca_ucontext *ctx, u32 pdn,
785 cq->is_kernel = !ctx;
835 if (ctx)
836 cq_context->logsize_usrpage |= cpu_to_be32(ctx->uar.index);
923 __be32 *ctx = mailbox->buf; local
930 printk(KERN_ERR "[%2x] %08x\n", j * 4, be32_to_cpu(ctx[j]));
776 mthca_init_cq(struct mthca_dev *dev, int nent, struct mthca_ucontext *ctx, u32 pdn, struct mthca_cq *cq) argument

Completed in 620 milliseconds

12345678