/linux-master/drivers/net/ethernet/microchip/ |
H A D | encx24j600-regmap.c | 20 static int encx24j600_switch_bank(struct encx24j600_context *ctx, argument 26 ret = spi_write(ctx->spi, &bank_opcode, 1); 28 ctx->bank = bank; 33 static int encx24j600_cmdn(struct encx24j600_context *ctx, u8 opcode, argument 43 return spi_sync(ctx->spi, &m); 48 struct encx24j600_context *ctx = context; local 50 mutex_lock(&ctx->mutex); 55 struct encx24j600_context *ctx = context; local 57 mutex_unlock(&ctx->mutex); 63 struct encx24j600_context *ctx local 111 regmap_encx24j600_sfr_update(struct encx24j600_context *ctx, u8 reg, u8 *val, size_t len, u8 unbanked_cmd, u8 banked_code) argument 171 struct encx24j600_context *ctx = context; local 176 regmap_encx24j600_sfr_set_bits(struct encx24j600_context *ctx, u8 reg, u8 val) argument 182 regmap_encx24j600_sfr_clr_bits(struct encx24j600_context *ctx, u8 reg, u8 val) argument 192 struct encx24j600_context *ctx = context; local 223 struct encx24j600_context *ctx = context; local 235 struct encx24j600_context *ctx = context; local 348 struct encx24j600_context *ctx = context; local 386 struct encx24j600_context *ctx = context; local 500 devm_regmap_init_encx24j600(struct device *dev, struct encx24j600_context *ctx) argument [all...] |
/linux-master/net/mac80211/ |
H A D | chan.c | 16 struct ieee80211_chanctx *ctx) 23 list_for_each_entry(link, &ctx->assigned_links, assigned_chanctx_list) 30 struct ieee80211_chanctx *ctx) 37 list_for_each_entry(link, &ctx->reserved_links, reserved_chanctx_list) 44 struct ieee80211_chanctx *ctx) 46 return ieee80211_chanctx_num_assigned(local, ctx) + 47 ieee80211_chanctx_num_reserved(local, ctx); 52 struct ieee80211_chanctx *ctx; local 57 list_for_each_entry(ctx, &local->chanctx_list, list) 116 ieee80211_chanctx_compatible(struct ieee80211_chanctx *ctx, argument 15 ieee80211_chanctx_num_assigned(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) argument 29 ieee80211_chanctx_num_reserved(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) argument 43 ieee80211_chanctx_refcount(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) argument 136 ieee80211_chanctx_reserved_chanreq(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, const struct ieee80211_chan_req *req, struct ieee80211_chan_req *tmp) argument 158 ieee80211_chanctx_non_reserved_chandef(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, const struct ieee80211_chan_req *compat, struct ieee80211_chan_req *tmp) argument 184 ieee80211_chanctx_can_reserve(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, const struct ieee80211_chan_req *req) argument 210 struct ieee80211_chanctx *ctx; local 296 ieee80211_get_chanctx_max_required_bw(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, struct ieee80211_link_data *rsvd_for) argument 360 _ieee80211_recalc_chanctx_min_def(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, struct ieee80211_link_data *rsvd_for) argument 402 ieee80211_chan_bw_change(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, bool narrowed) argument 459 ieee80211_recalc_chanctx_min_def(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, struct ieee80211_link_data *rsvd_for) argument 477 _ieee80211_change_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, struct ieee80211_chanctx *old_ctx, const struct ieee80211_chan_req *chanreq, struct ieee80211_link_data *rsvd_for) argument 542 ieee80211_change_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, struct ieee80211_chanctx *old_ctx, const struct ieee80211_chan_req *chanreq) argument 556 struct ieee80211_chanctx *ctx; local 604 ieee80211_chanctx_radar_required(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) argument 628 struct ieee80211_chanctx *ctx; local 649 ieee80211_add_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) argument 678 struct ieee80211_chanctx *ctx; local 697 ieee80211_del_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) argument 709 ieee80211_free_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) argument 721 ieee80211_recalc_chanctx_chantype(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) argument 996 struct ieee80211_chanctx *ctx = link->reserved_chanctx; local 1036 struct ieee80211_chanctx *new_ctx, *curr_ctx, *ctx; local 1347 struct ieee80211_chanctx *ctx, *old_ctx; local 1391 struct ieee80211_chanctx *ctx; local 1429 struct ieee80211_chanctx *ctx, *ctx_tmp, *old_ctx; local 1678 struct ieee80211_chanctx *ctx; local 1715 struct ieee80211_chanctx *ctx; local 1841 ieee80211_chanctx_recheck(struct ieee80211_local *local, struct ieee80211_link_data *skip_link, struct ieee80211_chanctx *ctx, const struct ieee80211_chan_req *req, struct ieee80211_chan_req *tmp) argument 1885 struct ieee80211_chanctx *ctx; local 1985 struct ieee80211_chanctx *ctx; local [all...] |
/linux-master/drivers/media/platform/st/sti/delta/ |
H A D | delta-ipc.c | 27 #define to_pctx(ctx) container_of(ctx, struct delta_ctx, ipc_ctx) 36 #define to_host_hdl(ctx) ((void *)ctx) 41 static inline dma_addr_t to_paddr(struct delta_ipc_ctx *ctx, void *vaddr) argument 43 return (ctx->ipc_buf->paddr + (vaddr - ctx->ipc_buf->vaddr)); 46 static inline bool is_valid_data(struct delta_ipc_ctx *ctx, argument 49 return ((data >= ctx->ipc_buf->vaddr) && 50 ((data + size) <= (ctx 100 build_msg_header(struct delta_ipc_ctx *ctx, enum delta_ipc_fw_command command, struct delta_ipc_header_msg *header) argument 116 struct delta_ipc_ctx *ctx = &pctx->ipc_ctx; local 230 struct delta_ipc_ctx *ctx = to_ctx(hdl); local 321 struct delta_ipc_ctx *ctx = to_ctx(hdl); local 434 struct delta_ipc_ctx *ctx = to_ctx(hdl); local 495 struct delta_ipc_ctx *ctx; local [all...] |
/linux-master/sound/soc/intel/skylake/ |
H A D | skl-sst-dsp.h | 140 int (*load_fw)(struct sst_dsp *ctx); 142 int (*load_library)(struct sst_dsp *ctx, 144 int (*parse_fw)(struct sst_dsp *ctx); 145 int (*set_state_D0)(struct sst_dsp *ctx, unsigned int core_id); 146 int (*set_state_D3)(struct sst_dsp *ctx, unsigned int core_id); 147 int (*set_state_D0i3)(struct sst_dsp *ctx); 148 int (*set_state_D0i0)(struct sst_dsp *ctx); 149 unsigned int (*get_fw_errcode)(struct sst_dsp *ctx); 150 int (*load_mod)(struct sst_dsp *ctx, u16 mod_id, u8 *mod_name); 151 int (*unload_mod)(struct sst_dsp *ctx, u1 [all...] |
/linux-master/crypto/ |
H A D | xcbc.c | 54 struct xcbc_tfm_ctx *ctx = crypto_shash_ctx(parent); local 55 u8 *consts = ctx->consts; 60 if ((err = crypto_cipher_setkey(ctx->child, inkey, keylen))) 63 crypto_cipher_encrypt_one(ctx->child, consts, (u8 *)ks + bs); 64 crypto_cipher_encrypt_one(ctx->child, consts + bs, (u8 *)ks + bs * 2); 65 crypto_cipher_encrypt_one(ctx->child, key1, (u8 *)ks); 67 return crypto_cipher_setkey(ctx->child, key1, bs); 73 struct xcbc_desc_ctx *ctx = shash_desc_ctx(pdesc); local 75 u8 *prev = &ctx->odds[bs]; 77 ctx 88 struct xcbc_desc_ctx *ctx = shash_desc_ctx(pdesc); local 133 struct xcbc_desc_ctx *ctx = shash_desc_ctx(pdesc); local 167 struct xcbc_tfm_ctx *ctx = crypto_tfm_ctx(tfm); local 180 struct xcbc_tfm_ctx *ctx = crypto_tfm_ctx(tfm); local [all...] |
H A D | lz4hc.c | 20 void *ctx; local 22 ctx = vmalloc(LZ4HC_MEM_COMPRESS); 23 if (!ctx) 26 return ctx; 31 struct lz4hc_ctx *ctx = crypto_tfm_ctx(tfm); local 33 ctx->lz4hc_comp_mem = lz4hc_alloc_ctx(NULL); 34 if (IS_ERR(ctx->lz4hc_comp_mem)) 40 static void lz4hc_free_ctx(struct crypto_scomp *tfm, void *ctx) argument 42 vfree(ctx); 47 struct lz4hc_ctx *ctx local 52 __lz4hc_compress_crypto(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 65 lz4hc_scompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 76 struct lz4hc_ctx *ctx = crypto_tfm_ctx(tfm); local 82 __lz4hc_decompress_crypto(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 94 lz4hc_sdecompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument [all...] |
H A D | lz4.c | 21 void *ctx; local 23 ctx = vmalloc(LZ4_MEM_COMPRESS); 24 if (!ctx) 27 return ctx; 32 struct lz4_ctx *ctx = crypto_tfm_ctx(tfm); local 34 ctx->lz4_comp_mem = lz4_alloc_ctx(NULL); 35 if (IS_ERR(ctx->lz4_comp_mem)) 41 static void lz4_free_ctx(struct crypto_scomp *tfm, void *ctx) argument 43 vfree(ctx); 48 struct lz4_ctx *ctx local 53 __lz4_compress_crypto(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 66 lz4_scompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 76 struct lz4_ctx *ctx = crypto_tfm_ctx(tfm); local 81 __lz4_decompress_crypto(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 93 lz4_sdecompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument [all...] |
H A D | ecdh.c | 29 struct ecdh_ctx *ctx = ecdh_get_ctx(tfm); local 33 params.key_size > sizeof(u64) * ctx->ndigits) 37 return ecc_gen_privkey(ctx->curve_id, ctx->ndigits, 38 ctx->private_key); 40 memcpy(ctx->private_key, params.key, params.key_size); 42 if (ecc_is_key_valid(ctx->curve_id, ctx->ndigits, 43 ctx->private_key, params.key_size) < 0) { 44 memzero_explicit(ctx 53 struct ecdh_ctx *ctx = ecdh_get_ctx(tfm); local 120 struct ecdh_ctx *ctx = ecdh_get_ctx(tfm); local 128 struct ecdh_ctx *ctx = ecdh_get_ctx(tfm); local 153 struct ecdh_ctx *ctx = ecdh_get_ctx(tfm); local 178 struct ecdh_ctx *ctx = ecdh_get_ctx(tfm); local [all...] |
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | ath9k_pci_owl_loader.c | 128 struct owl_ctx *ctx = context; local 130 complete(&ctx->eeprom_load); 133 ath9k_pci_fixup(ctx->pdev, (const u16 *)fw->data, fw->size); 134 owl_rescan(ctx->pdev); 136 dev_err(&ctx->pdev->dev, "no eeprom data received.\n"); 161 struct owl_ctx *ctx = container_of(work, struct owl_ctx, work); local 165 complete(&ctx->eeprom_load); 167 buf = nvmem_cell_read(ctx->cell, &len); 169 ath9k_pci_fixup(ctx->pdev, buf, len); 171 owl_rescan(ctx 177 owl_nvmem_probe(struct owl_ctx *ctx) argument 199 struct owl_ctx *ctx; local 237 struct owl_ctx *ctx = pci_get_drvdata(pdev); local [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_timing_generator_v.c | 42 tg->ctx->logger 64 dm_write_reg(tg->ctx, 69 dm_write_reg(tg->ctx, mmCRTCV_MASTER_UPDATE_MODE, value); 74 dm_write_reg(tg->ctx, 84 value = dm_read_reg(tg->ctx, 90 dm_write_reg(tg->ctx, 102 uint32_t value = dm_read_reg(tg->ctx, addr); 116 dm_write_reg(tg->ctx, addr, value); 122 uint32_t value = dm_read_reg(tg->ctx, addr); 136 dm_write_reg(tg->ctx, add 253 struct dc_context *ctx = tg->ctx; local 480 struct dc_context *ctx = tg->ctx; local 553 struct dc_context *ctx = tg->ctx; local 688 dce110_timing_generator_v_construct( struct dce110_timing_generator *tg110, struct dc_context *ctx) argument [all...] |
/linux-master/arch/arm64/crypto/ |
H A D | aes-ce-glue.c | 34 static int num_rounds(struct crypto_aes_ctx *ctx) argument 43 return 6 + ctx->key_length / 4; 48 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); local 51 aes_encrypt(ctx, dst, src); 56 __aes_ce_encrypt(ctx->key_enc, dst, src, num_rounds(ctx)); 62 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); local 65 aes_decrypt(ctx, dst, src); 70 __aes_ce_decrypt(ctx->key_dec, dst, src, num_rounds(ctx)); 74 ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, unsigned int key_len) argument 145 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); local [all...] |
/linux-master/drivers/acpi/apei/ |
H A D | apei-internal.h | 14 typedef int (*apei_exec_ins_func_t)(struct apei_exec_context *ctx, 37 void apei_exec_ctx_init(struct apei_exec_context *ctx, 43 static inline void apei_exec_ctx_set_input(struct apei_exec_context *ctx, argument 46 ctx->value = input; 49 static inline u64 apei_exec_ctx_get_output(struct apei_exec_context *ctx) argument 51 return ctx->value; 54 int __apei_exec_run(struct apei_exec_context *ctx, u8 action, bool optional); 56 static inline int apei_exec_run(struct apei_exec_context *ctx, u8 action) argument 58 return __apei_exec_run(ctx, action, 0); 62 static inline int apei_exec_run_optional(struct apei_exec_context *ctx, u argument [all...] |
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec_drv.h | 108 void (*init_vdec_params)(struct mtk_vcodec_dec_ctx *ctx); 109 int (*ctrls_setup)(struct mtk_vcodec_dec_ctx *ctx); 111 int (*flush_decoder)(struct mtk_vcodec_dec_ctx *ctx); 112 struct vdec_fb *(*get_cap_buffer)(struct mtk_vcodec_dec_ctx *ctx); 113 void (*cap_to_disp)(struct mtk_vcodec_dec_ctx *ctx, int error, 322 wake_up_dec_ctx(struct mtk_vcodec_dec_ctx *ctx, unsigned int reason, unsigned int hw_id) argument 324 ctx->int_cond[hw_id] = 1; 325 ctx->int_type[hw_id] = reason; 326 wake_up_interruptible(&ctx->queue[hw_id]); 329 #define mtk_vdec_err(ctx, fm [all...] |
/linux-master/drivers/crypto/ |
H A D | img-hash.c | 167 struct img_hash_request_ctx *ctx = ahash_request_ctx(hdev->req); local 170 if (ctx->flags & DRIVER_FLAGS_MD5) 172 else if (ctx->flags & DRIVER_FLAGS_SHA1) 174 else if (ctx->flags & DRIVER_FLAGS_SHA224) 176 else if (ctx->flags & DRIVER_FLAGS_SHA256) 213 struct img_hash_request_ctx *ctx = ahash_request_ctx(hdev->req); local 215 if (ctx->bufcnt) { 216 img_hash_xmit_cpu(hdev, ctx->buffer, ctx->bufcnt, 0); 217 ctx 226 struct img_hash_request_ctx *ctx = ahash_request_ctx(hdev->req); local 256 struct img_hash_request_ctx *ctx = ahash_request_ctx(hdev->req); local 273 struct img_hash_request_ctx *ctx = ahash_request_ctx(req); local 285 struct img_hash_request_ctx *ctx = ahash_request_ctx(req); local 295 struct img_hash_request_ctx *ctx = ahash_request_ctx(req); local 316 struct img_hash_request_ctx *ctx = ahash_request_ctx(hdev->req); local 361 struct img_hash_request_ctx *ctx; local 436 struct img_hash_request_ctx *ctx = ahash_request_ctx(hdev->req); local 447 struct img_hash_request_ctx *ctx = ahash_request_ctx(req); local 491 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); local 504 struct img_hash_request_ctx *ctx; local 555 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); local 570 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); local 584 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); local 600 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); local 613 struct img_hash_ctx *ctx = crypto_ahash_ctx(tfm); local 626 struct img_hash_request_ctx *ctx = ahash_request_ctx(req); local 680 struct img_hash_ctx *ctx = crypto_tfm_ctx(tfm); local [all...] |
/linux-master/lib/crypto/mpi/ |
H A D | mpih-mul.c | 349 struct karatsuba_ctx *ctx) 353 if (!ctx->tspace || ctx->tspace_size < vsize) { 354 if (ctx->tspace) 355 mpi_free_limb_space(ctx->tspace); 356 ctx->tspace = mpi_alloc_limb_space(2 * vsize); 357 if (!ctx->tspace) 359 ctx->tspace_size = vsize; 362 MPN_MUL_N_RECURSE(prodp, up, vp, vsize, ctx->tspace); 368 if (!ctx 346 mpihelp_mul_karatsuba_case(mpi_ptr_t prodp, mpi_ptr_t up, mpi_size_t usize, mpi_ptr_t vp, mpi_size_t vsize, struct karatsuba_ctx *ctx) argument 418 mpihelp_release_karatsuba_ctx(struct karatsuba_ctx *ctx) argument 457 struct karatsuba_ctx ctx; local [all...] |
/linux-master/tools/perf/include/perf/ |
H A D | perf_dlfilter.h | 99 const struct perf_dlfilter_al *(*resolve_ip)(void *ctx); 101 const struct perf_dlfilter_al *(*resolve_addr)(void *ctx); 103 char **(*args)(void *ctx, int *dlargc); 109 __s32 (*resolve_address)(void *ctx, __u64 address, struct perf_dlfilter_al *al); 111 const __u8 *(*insn)(void *ctx, __u32 *length); 113 const char *(*srcline)(void *ctx, __u32 *line_number); 115 struct perf_event_attr *(*attr)(void *ctx); 117 __s32 (*object_code)(void *ctx, __u64 ip, void *buf, __u32 len); 122 void (*al_cleanup)(void *ctx, struct perf_dlfilter_al *al); 131 * by other functions. 'ctx' i [all...] |
/linux-master/drivers/edac/ |
H A D | xgene_edac.c | 145 struct xgene_edac_mc_ctx *ctx = mci->pvt_info; local 151 ctx->mcu_csr + MCUESRRA0 + i * MCU_RANK_STRIDE); 176 struct xgene_edac_mc_ctx *ctx = mci->pvt_info; local 185 xgene_edac_pcp_rd(ctx->edac, PCPHPERRINTSTS, &pcp_hp_stat); 186 xgene_edac_pcp_rd(ctx->edac, PCPLPERRINTSTS, &pcp_lp_stat); 193 reg = readl(ctx->mcu_csr + MCUESRR0 + rank * MCU_RANK_STRIDE); 208 bank = readl(ctx->mcu_csr + MCUEBLRR0 + 210 col_row = readl(ctx->mcu_csr + MCUERCRR0 + 212 count = readl(ctx->mcu_csr + MCUSBECNT0 + 226 writel(0x0, ctx 249 struct xgene_edac_mc_ctx *ctx = mci->pvt_info; local 309 xgene_edac_mc_is_active(struct xgene_edac_mc_ctx *ctx, int mc_idx) argument 347 struct xgene_edac_mc_ctx *ctx; local 522 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; local 661 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; local 736 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; local 755 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; local 770 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; local 784 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; local 811 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; local 837 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; local 863 struct xgene_edac_pmd_ctx *ctx = edac_dev->pvt_info; local 890 struct xgene_edac_pmd_ctx *ctx; local 1055 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; local 1116 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; local 1151 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; local 1167 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; local 1187 struct xgene_edac_dev_ctx *ctx; local 1390 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; local 1465 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; local 1574 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; local 1636 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; local 1689 struct xgene_edac_dev_ctx *ctx = edac_dev->pvt_info; local 1727 struct xgene_edac_dev_ctx *ctx; local 1813 struct xgene_edac *ctx = dev_id; local [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | xdp_hw_metadata.c | 19 extern int bpf_xdp_metadata_rx_timestamp(const struct xdp_md *ctx, 21 extern int bpf_xdp_metadata_rx_hash(const struct xdp_md *ctx, __u32 *hash, 23 extern int bpf_xdp_metadata_rx_vlan_tag(const struct xdp_md *ctx, 28 int rx(struct xdp_md *ctx) argument 38 data = (void *)(long)ctx->data; 39 data_end = (void *)(long)ctx->data_end; 75 err = bpf_xdp_adjust_meta(ctx, -(int)sizeof(struct xdp_meta)); 81 data = (void *)(long)ctx->data; 82 data_meta = (void *)(long)ctx->data_meta; 93 err = bpf_xdp_metadata_rx_timestamp(ctx, [all...] |
H A D | xdp_metadata.c | 22 extern int bpf_xdp_metadata_rx_timestamp(const struct xdp_md *ctx, 24 extern int bpf_xdp_metadata_rx_hash(const struct xdp_md *ctx, __u32 *hash, 26 extern int bpf_xdp_metadata_rx_vlan_tag(const struct xdp_md *ctx, 31 int rx(struct xdp_md *ctx) argument 42 data = (void *)(long)ctx->data; 43 data_end = (void *)(long)ctx->data_end; 69 ret = bpf_xdp_adjust_meta(ctx, -(int)sizeof(struct xdp_meta)); 73 data = (void *)(long)ctx->data; 74 data_meta = (void *)(long)ctx->data_meta; 87 bpf_xdp_metadata_rx_timestamp(ctx, [all...] |
/linux-master/drivers/media/platform/verisilicon/ |
H A D | hantro_drv.c | 38 void *hantro_get_ctrl(struct hantro_ctx *ctx, u32 id) argument 42 ctrl = v4l2_ctrl_find(&ctx->ctrl_handler, id); 46 dma_addr_t hantro_get_ref(struct hantro_ctx *ctx, u64 ts) argument 48 struct vb2_queue *q = v4l2_m2m_get_dst_vq(ctx->fh.m2m_ctx); 54 return hantro_get_dec_buf_addr(ctx, buf); 62 struct hantro_ctx *ctx, 67 src = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); 68 dst = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); 75 src->sequence = ctx->sequence_out++; 76 dst->sequence = ctx 61 hantro_job_finish_no_pm(struct hantro_dev *vpu, struct hantro_ctx *ctx, enum vb2_buffer_state result) argument 88 hantro_job_finish(struct hantro_dev *vpu, struct hantro_ctx *ctx, enum vb2_buffer_state result) argument 103 struct hantro_ctx *ctx = local 121 struct hantro_ctx *ctx; local 134 hantro_start_prepare_run(struct hantro_ctx *ctx) argument 150 hantro_end_prepare_run(struct hantro_ctx *ctx) argument 172 struct hantro_ctx *ctx = priv; local 205 struct hantro_ctx *ctx = priv; local 293 struct hantro_ctx *ctx; local 313 struct hantro_ctx *ctx; local 336 struct hantro_ctx *ctx; local 360 struct hantro_ctx *ctx; local 597 hantro_ctrls_setup(struct hantro_dev *vpu, struct hantro_ctx *ctx, int allowed_codecs) argument 631 struct hantro_ctx *ctx; local 690 struct hantro_ctx *ctx = local [all...] |
/linux-master/drivers/video/fbdev/omap2/omapfb/ |
H A D | vrfb.c | 71 static void omap2_sms_write_rot_control(u32 val, unsigned ctx) argument 73 __raw_writel(val, vrfb_base + SMS_ROT_CONTROL(ctx)); 76 static void omap2_sms_write_rot_size(u32 val, unsigned ctx) argument 78 __raw_writel(val, vrfb_base + SMS_ROT_SIZE(ctx)); 81 static void omap2_sms_write_rot_physical_ba(u32 val, unsigned ctx) argument 83 __raw_writel(val, vrfb_base + SMS_ROT_PHYSICAL_BA(ctx)); 86 static inline void restore_hw_context(int ctx) argument 88 omap2_sms_write_rot_control(ctxs[ctx].control, ctx); 89 omap2_sms_write_rot_size(ctxs[ctx] 176 u8 ctx = vrfb->context; local 252 int ctx = vrfb->context; local 282 u8 ctx; local [all...] |
/linux-master/drivers/scsi/elx/libefc/ |
H A D | efc_fabric.c | 51 __efc_fabric_common(const char *funcname, struct efc_sm_ctx *ctx, argument 56 node = ctx->app; 68 __efc_node_common(funcname, ctx, evt, arg); 73 __efc_fabric_init(struct efc_sm_ctx *ctx, enum efc_sm_event evt, argument 76 struct efc_node *node = ctx->app; 79 efc_node_evt_set(ctx, evt, __func__); 95 __efc_fabric_common(__func__, ctx, evt, arg); 131 __efc_fabric_flogi_wait_rsp(struct efc_sm_ctx *ctx, argument 135 struct efc_node *node = ctx->app; 137 efc_node_evt_set(ctx, ev 237 __efc_vport_fabric_init(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 259 __efc_fabric_fdisc_wait_rsp(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 353 __efc_fabric_wait_domain_attach(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 394 __efc_fabric_idle(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 412 __efc_ns_init(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 432 __efc_ns_plogi_wait_rsp(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 468 __efc_ns_wait_node_attach(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 522 __efc_fabric_wait_attach_evt_shutdown(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 566 __efc_ns_rftid_wait_rsp(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 601 __efc_ns_rffid_wait_rsp(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 787 __efc_ns_gidpt_wait_rsp(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 838 __efc_ns_idle(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 897 __efc_ns_gidpt_delay(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 948 __efc_fabctl_init(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 972 __efc_fabctl_wait_scr_rsp(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 1017 __efc_fabctl_ready(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 1054 __efc_fabctl_wait_ls_acc_cmpl(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 1118 __efc_p2p_wait_domain_attach(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 1207 __efc_p2p_rnode_init(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 1236 __efc_p2p_wait_flogi_acc_cmpl(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 1312 __efc_p2p_wait_plogi_rsp(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 1389 __efc_p2p_wait_plogi_rsp_recvd_prli(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument 1457 __efc_p2p_wait_node_attach(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg) argument [all...] |
/linux-master/sound/soc/intel/boards/ |
H A D | sof_ssp_amp.c | 198 struct sof_card_private *ctx; local 201 ctx = devm_kzalloc(&pdev->dev, sizeof(*ctx), GFP_KERNEL); 202 if (!ctx) 208 ctx->amp_type = sof_ssp_detect_amp_type(&pdev->dev); 211 ctx->dmic_be_num = 2; 213 ctx->dmic_be_num = 0; 216 ctx->ssp_mask_hdmi_in = (sof_ssp_amp_quirk & SOF_HDMI_CAPTURE_SSP_MASK_MASK) >> 219 ctx->ssp_bt = (sof_ssp_amp_quirk & SOF_BT_OFFLOAD_SSP_MASK) >> 222 ctx [all...] |
/linux-master/drivers/gpu/drm/panel/ |
H A D | panel-samsung-s6e63m0.c | 303 static int s6e63m0_clear_error(struct s6e63m0 *ctx) argument 305 int ret = ctx->error; 307 ctx->error = 0; 311 static void s6e63m0_dcs_read(struct s6e63m0 *ctx, const u8 cmd, u8 *data) argument 313 if (ctx->error < 0) 316 ctx->error = ctx->dcs_read(ctx->dev, ctx->transport_data, cmd, data); 319 static void s6e63m0_dcs_write(struct s6e63m0 *ctx, cons argument 333 s6e63m0_check_lcd_type(struct s6e63m0 *ctx) argument 378 s6e63m0_init(struct s6e63m0 *ctx) argument 465 s6e63m0_power_on(struct s6e63m0 *ctx) argument 484 s6e63m0_power_off(struct s6e63m0 *ctx) argument 500 struct s6e63m0 *ctx = panel_to_s6e63m0(panel); local 514 struct s6e63m0 *ctx = panel_to_s6e63m0(panel); local 528 struct s6e63m0 *ctx = panel_to_s6e63m0(panel); local 556 struct s6e63m0 *ctx = panel_to_s6e63m0(panel); local 612 struct s6e63m0 *ctx = bl_get_data(bd); local 648 s6e63m0_backlight_register(struct s6e63m0 *ctx, u32 max_brightness) argument 674 struct s6e63m0 *ctx; local 729 struct s6e63m0 *ctx = dev_get_drvdata(dev); local [all...] |
/linux-master/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_sspp.c | 145 struct dpu_hw_sspp *ctx = pipe->sspp; local 148 if (!ctx) 159 mode_mask = DPU_REG_READ(&ctx->hw, SSPP_MULTIRECT_OPMODE); 167 DPU_REG_WRITE(&ctx->hw, SSPP_MULTIRECT_OPMODE, mode_mask); 170 static void _sspp_setup_opmode(struct dpu_hw_sspp *ctx, argument 173 const struct dpu_sspp_sub_blks *sblk = ctx->cap->sblk; 176 if (!test_bit(DPU_SSPP_SCALER_QSEED2, &ctx->cap->features) || 177 !test_bit(DPU_SSPP_CSC, &ctx->cap->features)) 180 opmode = DPU_REG_READ(&ctx->hw, sblk->scaler_blk.base + SSPP_VIG_OP_MODE); 187 DPU_REG_WRITE(&ctx 190 _sspp_setup_csc10_opmode(struct dpu_hw_sspp *ctx, u32 mask, u8 en) argument 211 struct dpu_hw_sspp *ctx = pipe->sspp; local 329 dpu_hw_sspp_setup_pe_config(struct dpu_hw_sspp *ctx, struct dpu_hw_pixel_ext *pe_ext) argument 386 _dpu_hw_sspp_setup_scaler3(struct dpu_hw_sspp *ctx, struct dpu_hw_scaler3_cfg *scaler3_cfg, const struct dpu_format *format) argument 405 struct dpu_hw_sspp *ctx = pipe->sspp; local 447 struct dpu_hw_sspp *ctx = pipe->sspp; local 498 dpu_hw_sspp_setup_csc(struct dpu_hw_sspp *ctx, const struct dpu_csc_cfg *data) argument 519 struct dpu_hw_sspp *ctx = pipe->sspp; local 537 dpu_hw_sspp_setup_qos_lut(struct dpu_hw_sspp *ctx, struct dpu_hw_qos_cfg *cfg) argument 548 dpu_hw_sspp_setup_qos_ctrl(struct dpu_hw_sspp *ctx, bool danger_safe_en) argument 562 struct dpu_hw_sspp *ctx = pipe->sspp; local 577 dpu_hw_sspp_setup_clk_force_ctrl(struct dpu_hw_sspp *ctx, bool enable) argument [all...] |