/drivers/gpu/drm/nouveau/ |
H A D | nouveau_mxm.c | 317 struct context *ctx = info; local 322 desc.dig_conn == ctx->desc.dig_conn) 330 struct context *ctx = info; local 333 mxms_output_device(dev, data, &ctx->desc); 336 if ((ctx->outp[0] & 0x0000000f) != ctx->desc.outp_type) 345 u8 link = mxm_sor_map(dev, ctx->desc.dig_conn); 346 if ((ctx->outp[0] & 0x0f000000) != (link & 0x0f) << 24) 351 if ((link & ((ctx->outp[1] & 0x00000030) >> 4)) != link) 361 if (ctx 374 struct context ctx = { .outp = (u32 *)dcbe }; local [all...] |
H A D | nvc0_copy.c | 38 u32 ctx; member in struct:nvc0_copy_engine 48 struct nouveau_gpuobj *ctx = NULL; local 53 NVOBJ_FLAG_ZERO_ALLOC, &ctx); 57 nv_wo32(ramin, pcopy->ctx + 0, lower_32_bits(ctx->linst)); 58 nv_wo32(ramin, pcopy->ctx + 4, upper_32_bits(ctx->linst)); 61 chan->engctx[engine] = ctx; 76 struct nouveau_gpuobj *ctx = chan->engctx[engine]; local 94 nv_wo32(chan->ramin, pcopy->ctx [all...] |
H A D | nv50_mpeg.c | 52 struct nouveau_gpuobj *ctx = NULL; local 58 NVOBJ_FLAG_ZERO_FREE, &ctx); 63 nv_wo32(ramin, CTX_PTR(dev, 0x04), ctx->vinst + ctx->size - 1); 64 nv_wo32(ramin, CTX_PTR(dev, 0x08), ctx->vinst); 69 nv_wo32(ctx, 0x70, 0x00801ec1); 70 nv_wo32(ctx, 0x7c, 0x0000037c); 73 chan->engctx[engine] = ctx; 81 struct nouveau_gpuobj *ctx = chan->engctx[engine]; local 101 nouveau_gpuobj_ref(NULL, &ctx); [all...] |
H A D | nouveau_ramht.c | 59 u32 ctx = nv_ro32(ramht, offset + 4); local 62 return ((ctx & NV_RAMHT_CONTEXT_VALID) != 0); 63 return (ctx != 0); 71 u32 ctx = nv_ro32(ramht, offset + 4); local 77 ((ctx >> NV40_RAMHT_CONTEXT_CHANNEL_SHIFT) & 0x1f); 80 ((ctx >> NV_RAMHT_CONTEXT_CHANNEL_SHIFT) & 0x1f); 93 u32 ctx, co, ho; local 107 ctx = NV_RAMHT_CONTEXT_VALID | (gpuobj->pinst >> 4) | 112 ctx = (gpuobj->pinst >> 4) | 117 ctx [all...] |
H A D | nv84_crypt.c | 41 struct nouveau_gpuobj *ctx; local 47 NVOBJ_FLAG_ZERO_FREE, &ctx); 52 nv_wo32(ramin, 0xa4, ctx->vinst + ctx->size - 1); 53 nv_wo32(ramin, 0xa8, ctx->vinst); 60 chan->engctx[engine] = ctx; 67 struct nouveau_gpuobj *ctx = chan->engctx[engine]; local 85 nouveau_gpuobj_ref(NULL, &ctx);
|
H A D | nv31_mpeg.c | 60 struct nouveau_gpuobj *ctx = NULL; local 67 NVOBJ_FLAG_ZERO_FREE, &ctx); 71 nv_wo32(ctx, 0x78, 0x02001ec1); 76 nv_wr32(dev, 0x00330c, ctx->pinst >> 4); 77 nv_wo32(chan->ramfc, 0x54, ctx->pinst >> 4); 81 chan->engctx[engine] = ctx; 89 struct nouveau_gpuobj *ctx = chan->engctx[engine]; local 92 u32 inst = 0x80000000 | (ctx->pinst >> 4); 101 nouveau_gpuobj_ref(NULL, &ctx); 212 struct nouveau_gpuobj *ctx; local [all...] |
/drivers/crypto/ |
H A D | ixp4xx_crypto.c | 367 struct ixp_ctx *ctx; local 398 ctx = crypto_tfm_ctx(crypt->data.tfm); 402 if (atomic_dec_and_test(&ctx->configuring)) 403 complete(&ctx->completion); 406 ctx = crypto_tfm_ctx(crypt->data.tfm); 407 *(u32*)ctx->decrypt.npe_ctx &= cpu_to_be32(~CIPH_ENCR); 408 if (atomic_dec_and_test(&ctx->configuring)) 409 complete(&ctx->completion); 568 struct ixp_ctx *ctx = crypto_tfm_ctx(tfm); local 571 atomic_set(&ctx 596 struct ixp_ctx *ctx = crypto_tfm_ctx(tfm); local 604 struct ixp_ctx *ctx = crypto_tfm_ctx(tfm); local 665 struct ixp_ctx *ctx = crypto_tfm_ctx(tfm); local 707 struct ixp_ctx *ctx = crypto_tfm_ctx(tfm); local 739 struct ixp_ctx *ctx = crypto_tfm_ctx(tfm); local 829 struct ixp_ctx *ctx = crypto_ablkcipher_ctx(tfm); local 865 struct ixp_ctx *ctx = crypto_ablkcipher_ctx(tfm); local 881 struct ixp_ctx *ctx = crypto_ablkcipher_ctx(tfm); local 964 struct ixp_ctx *ctx = crypto_ablkcipher_ctx(tfm); local 1005 struct ixp_ctx *ctx = crypto_aead_ctx(tfm); local 1107 struct ixp_ctx *ctx = crypto_aead_ctx(tfm); local 1161 struct ixp_ctx *ctx = crypto_aead_ctx(tfm); local 1209 struct ixp_ctx *ctx = crypto_aead_ctx(tfm); local [all...] |
H A D | tegra-aes.c | 157 struct tegra_aes_ctx *ctx; member in struct:tegra_aes_dev 245 ((dd->ctx->keylen * 8) << 330 struct tegra_aes_ctx *ctx = dd->ctx; local 335 if (!dd->ctx->slot) { 337 dd->ctx->slot = &ssk; 349 value |= (ctx->slot->slot_num << TEGRA_AES_SECURE_KEY_INDEX_SHIFT); 376 (SUBCMD_KEY_TABLE_SEL | ctx->slot->slot_num) << 393 struct tegra_aes_ctx *ctx; local 444 ctx 535 struct tegra_aes_ctx *ctx = crypto_ablkcipher_ctx(tfm); local 669 struct tegra_aes_ctx *ctx = &rng_ctx; local 714 struct tegra_aes_ctx *ctx = &rng_ctx; local 807 struct tegra_aes_ctx *ctx = local [all...] |
H A D | talitos.c | 773 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); local 775 ctx->authsize = authsize; 783 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); local 812 memcpy(&ctx->key, key, keylen); 814 ctx->keylen = keylen; 815 ctx->enckeylen = enckeylen; 816 ctx->authkeylen = authkeylen; 928 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); local 942 memcpy((char *)sg_virt(sg) + sg->length - ctx->authsize, 943 icvdata, ctx 957 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); local 1051 struct talitos_ctx *ctx = crypto_aead_ctx(aead); local 1317 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); local 1327 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); local 1344 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); local 1397 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); local 1419 struct talitos_ctx *ctx = crypto_ablkcipher_ctx(cipher); local 1465 struct talitos_ctx *ctx = crypto_ablkcipher_ctx(cipher); local 1562 struct talitos_ctx *ctx = crypto_ablkcipher_ctx(cipher); local 1571 struct talitos_ctx *ctx = crypto_ablkcipher_ctx(cipher); local 1588 struct talitos_ctx *ctx = crypto_ablkcipher_ctx(cipher); local 1654 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); local 1741 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); local 1795 struct talitos_ctx *ctx = crypto_ahash_ctx(tfm); local 1933 struct talitos_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); local 1976 struct talitos_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); local 2492 struct talitos_ctx *ctx = crypto_tfm_ctx(tfm); local 2522 struct talitos_ctx *ctx = crypto_tfm_ctx(tfm); local 2534 struct talitos_ctx *ctx = crypto_tfm_ctx(tfm); local [all...] |
/drivers/acpi/apei/ |
H A D | einj.c | 146 static void einj_exec_ctx_init(struct apei_exec_context *ctx) argument 148 apei_exec_ctx_init(ctx, einj_ins_type, ARRAY_SIZE(einj_ins_type), 154 struct apei_exec_context ctx; local 157 einj_exec_ctx_init(&ctx); 158 rc = apei_exec_run(&ctx, ACPI_EINJ_GET_ERROR_TYPE); 161 *type = apei_exec_ctx_get_output(&ctx); 416 struct apei_exec_context ctx; local 420 einj_exec_ctx_init(&ctx); 422 rc = apei_exec_run_optional(&ctx, ACPI_EINJ_BEGIN_OPERATION); 425 apei_exec_ctx_set_input(&ctx, typ 646 struct apei_exec_context ctx; local 752 struct apei_exec_context ctx; local [all...] |
/drivers/gpu/drm/mga/ |
H A D | mga_state.c | 48 drm_mga_context_regs_t *ctx = &sarea_priv->context_state; local 57 DMA_BLOCK(MGA_DWGCTL, ctx->dwgctl, 59 MGA_DWGCTL, ctx->dwgctl, 72 drm_mga_context_regs_t *ctx = &sarea_priv->context_state; local 77 DMA_BLOCK(MGA_DSTORG, ctx->dstorg, 78 MGA_MACCESS, ctx->maccess, 79 MGA_PLNWT, ctx->plnwt, MGA_DWGCTL, ctx->dwgctl); 81 DMA_BLOCK(MGA_ALPHACTRL, ctx->alphactrl, 82 MGA_FOGCOL, ctx 95 drm_mga_context_regs_t *ctx = &sarea_priv->context_state; local 387 drm_mga_context_regs_t *ctx = &sarea_priv->context_state; local 487 drm_mga_context_regs_t *ctx = &sarea_priv->context_state; local 575 drm_mga_context_regs_t *ctx = &sarea_priv->context_state; local 726 drm_mga_context_regs_t *ctx = &dev_priv->sarea_priv->context_state; local 773 drm_mga_context_regs_t *ctx = &sarea_priv->context_state; local [all...] |
/drivers/md/ |
H A D | dm-crypt.c | 57 struct convert_context ctx; member in struct:dm_crypt_io 66 struct convert_context *ctx; member in struct:dm_crypt_request 540 char ctx[crypto_shash_descsize(lmk->hash_tfm)]; member in struct:__anon1324 591 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { 607 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) 657 struct convert_context *ctx, 661 ctx->bio_in = bio_in; 662 ctx->bio_out = bio_out; 663 ctx->offset_in = 0; 664 ctx 656 crypt_convert_init(struct crypt_config *cc, struct convert_context *ctx, struct bio *bio_out, struct bio *bio_in, sector_t sector) argument 690 crypt_convert_block(struct crypt_config *cc, struct convert_context *ctx, struct ablkcipher_request *req) argument 748 crypt_alloc_req(struct crypt_config *cc, struct convert_context *ctx) argument 766 crypt_convert(struct crypt_config *cc, struct convert_context *ctx) argument 1194 struct convert_context *ctx = dmreq->ctx; local [all...] |
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-agn.h | 107 int iwlagn_commit_rxon(struct iwl_priv *priv, struct iwl_rxon_context *ctx); 108 void iwlagn_set_rxon_chain(struct iwl_priv *priv, struct iwl_rxon_context *ctx); 115 struct iwl_rxon_context *ctx); 225 void iwl_restore_stations(struct iwl_priv *priv, struct iwl_rxon_context *ctx); 227 struct iwl_rxon_context *ctx); 232 int iwl_add_station_common(struct iwl_priv *priv, struct iwl_rxon_context *ctx, 239 u8 iwl_prep_station(struct iwl_priv *priv, struct iwl_rxon_context *ctx, 242 void iwl_sta_fill_lq(struct iwl_priv *priv, struct iwl_rxon_context *ctx, 244 int iwl_send_lq_cmd(struct iwl_priv *priv, struct iwl_rxon_context *ctx, 248 int iwl_sta_update_ht(struct iwl_priv *priv, struct iwl_rxon_context *ctx, [all...] |
H A D | iwl-agn-lib.c | 199 return iwlagn_add_bssid_station(priv, vif_priv->ctx, 453 struct iwl_rxon_context *ctx, *found_ctx = NULL; local 460 for_each_context(priv, ctx) { 461 if (ctx->vif && ctx->vif->type == NL80211_IFTYPE_AP && 462 iwl_is_associated_ctx(ctx)) { 475 ctx = priv->cur_rssi_ctx; 476 ieee80211_disable_rssi_reports(ctx->vif); 486 for_each_context(priv, ctx) { 487 if (ctx 533 struct iwl_rxon_context *ctx; local 856 iwlagn_set_rxon_chain(struct iwl_priv *priv, struct iwl_rxon_context *ctx) argument 946 struct iwl_rxon_context *ctx; member in struct:wowlan_key_data 962 struct iwl_rxon_context *ctx = data->ctx; local 1127 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; local [all...] |
/drivers/staging/vt6655/ |
H A D | wpactl.h | 67 int wpa_set_keys(PSDevice pDevice, void *ctx, bool fcpfkernel);
|
/drivers/staging/vt6656/ |
H A D | wpactl.h | 65 int wpa_set_keys(PSDevice pDevice, void *ctx, BOOL fcpfkernel);
|
/drivers/media/video/omap3isp/ |
H A D | ispcsi2.c | 210 struct isp_csi2_ctx_cfg *ctx = &csi2->contexts[0]; local 212 ctx->ping_addr = addr; 213 ctx->pong_addr = addr; 214 isp_reg_writel(isp, ctx->ping_addr, 215 csi2->regs1, ISPCSI2_CTX_DAT_PING_ADDR(ctx->ctxnum)); 216 isp_reg_writel(isp, ctx->pong_addr, 217 csi2->regs1, ISPCSI2_CTX_DAT_PONG_ADDR(ctx->ctxnum)); 240 struct isp_csi2_ctx_cfg *ctx = &csi2->contexts[ctxnum]; local 261 ctx->enabled = enable; 266 * @ctx 269 csi2_ctx_config(struct isp_device *isp, struct isp_csi2_device *csi2, struct isp_csi2_ctx_cfg *ctx) argument 683 csi2_isr_ctx(struct isp_csi2_device *csi2, struct isp_csi2_ctx_cfg *ctx) argument [all...] |
/drivers/net/wireless/bcmdhd/ |
H A D | dhd_wlfc.h | 198 #define WLFC_HOST_FIFO_CREDIT_INC_SENTCTRS(ctx, ac) do { \ 199 (ctx)->stats.fifo_credits_sent[(ac)]++;} while (0) 200 #define WLFC_HOST_FIFO_CREDIT_INC_BACKCTRS(ctx, ac) do { \ 201 (ctx)->stats.fifo_credits_back[(ac)]++;} while (0) 202 #define WLFC_HOST_FIFO_DROPPEDCTR_INC(ctx, ac) do { \ 203 (ctx)->stats.dropped_qfull[(ac)]++;} while (0) 205 #define WLFC_HOST_FIFO_CREDIT_INC_SENTCTRS(ctx, ac) do {} while (0) 206 #define WLFC_HOST_FIFO_CREDIT_INC_BACKCTRS(ctx, ac) do {} while (0) 207 #define WLFC_HOST_FIFO_DROPPEDCTR_INC(ctx, ac) do {} while (0)
|
/drivers/staging/rtl8192e/rtl8192e/ |
H A D | rtl_crypto.h | 75 int (*cia_setkey)(void *ctx, const u8 *key, 77 void (*cia_encrypt)(void *ctx, u8 *dst, const u8 *src); 78 void (*cia_decrypt)(void *ctx, u8 *dst, const u8 *src); 83 void (*dia_init)(void *ctx); 84 void (*dia_update)(void *ctx, const u8 *data, unsigned int len); 85 void (*dia_final)(void *ctx, u8 *out); 86 int (*dia_setkey)(void *ctx, const u8 *key, 91 int (*coa_init)(void *ctx); 92 void (*coa_exit)(void *ctx); 93 int (*coa_compress)(void *ctx, cons [all...] |
/drivers/usb/misc/ |
H A D | usbtest.c | 789 struct ctrl_ctx *ctx = urb->context; local 797 spin_lock(&ctx->lock); 798 ctx->count--; 799 ctx->pending--; 806 if ((subcase->number - ctx->last) != 1) { 807 ERROR(ctx->dev, 809 subcase->number, ctx->last); 811 ctx->last = subcase->number; 815 ctx->last = subcase->number; 833 ERROR(ctx 1219 struct queued_ctx *ctx = urb->context; local 1239 struct queued_ctx ctx; local 1540 struct iso_context *ctx = urb->context; local [all...] |
/drivers/usb/host/ |
H A D | xhci-dbg.c | 423 static void dbg_rsvd64(struct xhci_hcd *xhci, u64 *ctx, dma_addr_t dma) argument 429 &ctx[4 + i], (unsigned long long)dma, 430 ctx[4 + i], i); 436 struct xhci_container_ctx *ctx) 438 struct xhci_slot_ctx *slot_ctx = xhci_get_slot_ctx(xhci, ctx); 454 static void xhci_dbg_slot_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx) argument 460 struct xhci_slot_ctx *slot_ctx = xhci_get_slot_ctx(xhci, ctx); 461 dma_addr_t dma = ctx->dma + 462 ((unsigned long)slot_ctx - (unsigned long)ctx->bytes); 494 struct xhci_container_ctx *ctx, 435 xhci_get_slot_state(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx) argument 493 xhci_dbg_ep_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx, unsigned int last_ep) argument 540 xhci_dbg_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx, unsigned int last_ep) argument [all...] |
/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_offload.c | 501 void *ctx = p->t3c_tid.ctx; local 509 return ctx; 532 void *ctx, unsigned int tid) 537 t->tid_tab[tid].ctx = ctx; 568 td->tid_release_list = p->ctx; 577 p->ctx = (void *)td->tid_release_list; 583 p->ctx = NULL; 599 /* use ctx a 531 cxgb3_insert_tid(struct t3cdev *tdev, struct cxgb3_client *client, void *ctx, unsigned int tid) argument 623 cxgb3_remove_tid(struct t3cdev *tdev, void *ctx, unsigned int tid) argument 646 cxgb3_alloc_atid(struct t3cdev *tdev, struct cxgb3_client *client, void *ctx) argument 670 cxgb3_alloc_stid(struct t3cdev *tdev, struct cxgb3_client *client, void *ctx) argument 961 nb_callback(struct notifier_block *self, unsigned long event, void *ctx) argument [all...] |
/drivers/firewire/ |
H A D | core.h | 95 void (*free_iso_context)(struct fw_iso_context *ctx); 97 int (*start_iso)(struct fw_iso_context *ctx, 100 int (*set_iso_channels)(struct fw_iso_context *ctx, u64 *channels); 102 int (*queue_iso)(struct fw_iso_context *ctx, 107 void (*flush_queue_iso)(struct fw_iso_context *ctx); 109 int (*flush_iso_completions)(struct fw_iso_context *ctx); 111 int (*stop_iso)(struct fw_iso_context *ctx);
|
/drivers/gpu/drm/radeon/ |
H A D | atom.h | 150 bool atom_parse_data_header(struct atom_context *ctx, int index, uint16_t *size, 152 bool atom_parse_cmd_header(struct atom_context *ctx, int index, 154 int atom_allocate_fb_scratch(struct atom_context *ctx);
|
/drivers/message/fusion/lsi/ |
H A D | mpi_lan.h | 177 #define SET_LAN_BUCKET_CONTEXT(x, ctx) \ 179 (((ctx) << LAN_REPLY_BUCKET_CONTEXT_SHIFT) & \ 185 #define SET_LAN_BUFFER_CONTEXT(x, ctx) \ 187 (((ctx) << LAN_REPLY_BUFFER_CONTEXT_SHIFT) & \
|