/kernel/linux/linux-6.6/drivers/clk/samsung/ |
H A D | clk.c | 70 struct samsung_clk_provider *ctx; in samsung_clk_init() local 73 ctx = kzalloc(struct_size(ctx, clk_data.hws, nr_clks), GFP_KERNEL); in samsung_clk_init() 74 if (!ctx) in samsung_clk_init() 78 ctx->clk_data.hws[i] = ERR_PTR(-ENOENT); in samsung_clk_init() 80 ctx->dev = dev; in samsung_clk_init() 81 ctx->reg_base = base; in samsung_clk_init() 82 ctx->clk_data.num = nr_clks; in samsung_clk_init() 83 spin_lock_init(&ctx->lock); in samsung_clk_init() 85 return ctx; in samsung_clk_init() 88 samsung_clk_of_add_provider(struct device_node *np, struct samsung_clk_provider *ctx) samsung_clk_of_add_provider() argument 99 samsung_clk_add_lookup(struct samsung_clk_provider *ctx, struct clk_hw *clk_hw, unsigned int id) samsung_clk_add_lookup() argument 107 samsung_clk_register_alias(struct samsung_clk_provider *ctx, const struct samsung_clock_alias *list, unsigned int nr_clk) samsung_clk_register_alias() argument 137 samsung_clk_register_fixed_rate(struct samsung_clk_provider *ctx, const struct samsung_fixed_rate_clock *list, unsigned int nr_clk) samsung_clk_register_fixed_rate() argument 167 samsung_clk_register_fixed_factor(struct samsung_clk_provider *ctx, const struct samsung_fixed_factor_clock *list, unsigned int nr_clk) samsung_clk_register_fixed_factor() argument 187 samsung_clk_register_mux(struct samsung_clk_provider *ctx, const struct samsung_mux_clock *list, unsigned int nr_clk) samsung_clk_register_mux() argument 210 samsung_clk_register_div(struct samsung_clk_provider *ctx, const struct samsung_div_clock *list, unsigned int nr_clk) samsung_clk_register_div() argument 240 samsung_clk_register_gate(struct samsung_clk_provider *ctx, const struct samsung_gate_clock *list, unsigned int nr_clk) samsung_clk_register_gate() argument 265 samsung_clk_of_register_fixed_ext(struct samsung_clk_provider *ctx, struct samsung_fixed_rate_clock *fixed_rate_clk, unsigned int nr_fixed_rate_clk, const struct of_device_id *clk_matches) samsung_clk_of_register_fixed_ext() argument 343 samsung_cmu_register_clocks(struct samsung_clk_provider *ctx, const struct samsung_cmu_info *cmu) samsung_cmu_register_clocks() argument 374 struct samsung_clk_provider *ctx; samsung_cmu_register_one() local [all...] |
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | chan.c | 14 struct ieee80211_chanctx *ctx) in ieee80211_chanctx_num_assigned() 21 list_for_each_entry(sdata, &ctx->assigned_vifs, assigned_chanctx_list) in ieee80211_chanctx_num_assigned() 28 struct ieee80211_chanctx *ctx) in ieee80211_chanctx_num_reserved() 35 list_for_each_entry(sdata, &ctx->reserved_vifs, reserved_chanctx_list) in ieee80211_chanctx_num_reserved() 42 struct ieee80211_chanctx *ctx) in ieee80211_chanctx_refcount() 44 return ieee80211_chanctx_num_assigned(local, ctx) + in ieee80211_chanctx_refcount() 45 ieee80211_chanctx_num_reserved(local, ctx); in ieee80211_chanctx_refcount() 50 struct ieee80211_chanctx *ctx; in ieee80211_num_chanctx() local 55 list_for_each_entry(ctx, &local->chanctx_list, list) in ieee80211_num_chanctx() 83 struct ieee80211_chanctx *ctx, in ieee80211_chanctx_reserved_chandef() 13 ieee80211_chanctx_num_assigned(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) ieee80211_chanctx_num_assigned() argument 27 ieee80211_chanctx_num_reserved(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) ieee80211_chanctx_num_reserved() argument 41 ieee80211_chanctx_refcount(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) ieee80211_chanctx_refcount() argument 82 ieee80211_chanctx_reserved_chandef(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, const struct cfg80211_chan_def *compat) ieee80211_chanctx_reserved_chandef() argument 105 ieee80211_chanctx_non_reserved_chandef(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, const struct cfg80211_chan_def *compat) ieee80211_chanctx_non_reserved_chandef() argument 131 ieee80211_chanctx_combined_chandef(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, const struct cfg80211_chan_def *compat) ieee80211_chanctx_combined_chandef() argument 149 ieee80211_chanctx_can_reserve_chandef(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, const struct cfg80211_chan_def *def) ieee80211_chanctx_can_reserve_chandef() argument 170 struct ieee80211_chanctx *ctx; ieee80211_find_reservation_chanctx() local 308 ieee80211_recalc_chanctx_min_def(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) ieee80211_recalc_chanctx_min_def() argument 346 ieee80211_change_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, const struct cfg80211_chan_def *chandef) ieee80211_change_chanctx() argument 372 struct ieee80211_chanctx *ctx; ieee80211_find_chanctx() local 424 ieee80211_chanctx_radar_required(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) ieee80211_chanctx_radar_required() argument 456 struct ieee80211_chanctx *ctx; ieee80211_alloc_chanctx() local 476 ieee80211_add_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) ieee80211_add_chanctx() argument 512 struct ieee80211_chanctx *ctx; ieee80211_new_chanctx() local 532 ieee80211_del_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) ieee80211_del_chanctx() argument 567 ieee80211_free_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) ieee80211_free_chanctx() argument 579 ieee80211_recalc_chanctx_chantype(struct ieee80211_local *local, struct ieee80211_chanctx *ctx) ieee80211_recalc_chanctx_chantype() argument 848 struct ieee80211_chanctx *ctx = sdata->reserved_chanctx; ieee80211_vif_unreserve_chanctx() local 887 struct ieee80211_chanctx *new_ctx, *curr_ctx, *ctx; ieee80211_vif_reserve_chanctx() local 1197 struct ieee80211_chanctx *ctx, *old_ctx; ieee80211_chsw_switch_vifs() local 1242 struct ieee80211_chanctx *ctx; ieee80211_chsw_switch_ctxs() local 1282 struct ieee80211_chanctx *ctx, *ctx_tmp, *old_ctx; ieee80211_vif_use_reserved_switch() local 1535 struct ieee80211_chanctx *ctx; __ieee80211_vif_release_channel() local 1573 struct ieee80211_chanctx *ctx; ieee80211_vif_use_channel() local 1695 struct ieee80211_chanctx *ctx; ieee80211_vif_change_bandwidth() local 1799 struct ieee80211_chanctx *ctx; ieee80211_iter_chan_contexts_atomic() local [all...] |
/kernel/linux/linux-5.10/crypto/asymmetric_keys/ |
H A D | pkcs8_parser.c | 37 struct pkcs8_parse_context *ctx = context; in pkcs8_note_OID() local 39 ctx->last_oid = look_up_OID(value, vlen); in pkcs8_note_OID() 40 if (ctx->last_oid == OID__NR) { in pkcs8_note_OID() 45 (unsigned long)value - ctx->data, buffer); in pkcs8_note_OID() 71 struct pkcs8_parse_context *ctx = context; in pkcs8_note_algo() local 73 if (ctx->last_oid != OID_rsaEncryption) in pkcs8_note_algo() 76 ctx->pub->pkey_algo = "rsa"; in pkcs8_note_algo() 87 struct pkcs8_parse_context *ctx = context; in pkcs8_note_key() local 89 ctx->key = value; in pkcs8_note_key() 90 ctx in pkcs8_note_key() 99 struct pkcs8_parse_context ctx; pkcs8_parse() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/vboxvideo/ |
H A D | hgsmi_base.c | 14 * @ctx: The context of the guest heap to use. 17 int hgsmi_report_flags_location(struct gen_pool *ctx, u32 location) in hgsmi_report_flags_location() argument 21 p = hgsmi_buffer_alloc(ctx, sizeof(*p), HGSMI_CH_HGSMI, in hgsmi_report_flags_location() 29 hgsmi_buffer_submit(ctx, p); in hgsmi_report_flags_location() 30 hgsmi_buffer_free(ctx, p); in hgsmi_report_flags_location() 38 * @ctx: The context of the guest heap to use. 41 int hgsmi_send_caps_info(struct gen_pool *ctx, u32 caps) in hgsmi_send_caps_info() argument 45 p = hgsmi_buffer_alloc(ctx, sizeof(*p), HGSMI_CH_VBVA, VBVA_INFO_CAPS); in hgsmi_send_caps_info() 52 hgsmi_buffer_submit(ctx, p); in hgsmi_send_caps_info() 56 hgsmi_buffer_free(ctx, in hgsmi_send_caps_info() 61 hgsmi_test_query_conf(struct gen_pool *ctx) hgsmi_test_query_conf() argument 80 hgsmi_query_conf(struct gen_pool *ctx, u32 index, u32 *value_ret) hgsmi_query_conf() argument 113 hgsmi_update_pointer_shape(struct gen_pool *ctx, u32 flags, u32 hot_x, u32 hot_y, u32 width, u32 height, u8 *pixels, u32 len) hgsmi_update_pointer_shape() argument 185 hgsmi_cursor_position(struct gen_pool *ctx, bool report_position, u32 x, u32 y, u32 *x_host, u32 *y_host) hgsmi_cursor_position() argument [all...] |
/kernel/linux/linux-6.6/crypto/asymmetric_keys/ |
H A D | pkcs8_parser.c | 37 struct pkcs8_parse_context *ctx = context; in pkcs8_note_OID() local 39 ctx->last_oid = look_up_OID(value, vlen); in pkcs8_note_OID() 40 if (ctx->last_oid == OID__NR) { in pkcs8_note_OID() 45 (unsigned long)value - ctx->data, buffer); in pkcs8_note_OID() 71 struct pkcs8_parse_context *ctx = context; in pkcs8_note_algo() local 73 if (ctx->last_oid != OID_rsaEncryption) in pkcs8_note_algo() 76 ctx->pub->pkey_algo = "rsa"; in pkcs8_note_algo() 87 struct pkcs8_parse_context *ctx = context; in pkcs8_note_key() local 89 ctx->key = value; in pkcs8_note_key() 90 ctx in pkcs8_note_key() 99 struct pkcs8_parse_context ctx; pkcs8_parse() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_ctl.h | 63 * @ctx : ctl path ctx pointer 65 void (*trigger_start)(struct dpu_hw_ctl *ctx); 69 * @ctx : ctl path ctx pointer 72 bool (*is_started)(struct dpu_hw_ctl *ctx); 78 * @ctx : ctl path ctx pointer 80 void (*trigger_pending)(struct dpu_hw_ctl *ctx); 85 * @ctx [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vboxvideo/ |
H A D | hgsmi_base.c | 15 * @ctx: The context of the guest heap to use. 18 int hgsmi_report_flags_location(struct gen_pool *ctx, u32 location) in hgsmi_report_flags_location() argument 22 p = hgsmi_buffer_alloc(ctx, sizeof(*p), HGSMI_CH_HGSMI, in hgsmi_report_flags_location() 30 hgsmi_buffer_submit(ctx, p); in hgsmi_report_flags_location() 31 hgsmi_buffer_free(ctx, p); in hgsmi_report_flags_location() 40 * @ctx: The context of the guest heap to use. 43 int hgsmi_send_caps_info(struct gen_pool *ctx, u32 caps) in hgsmi_send_caps_info() argument 47 p = hgsmi_buffer_alloc(ctx, sizeof(*p), HGSMI_CH_VBVA, VBVA_INFO_CAPS); in hgsmi_send_caps_info() 54 hgsmi_buffer_submit(ctx, p); in hgsmi_send_caps_info() 58 hgsmi_buffer_free(ctx, in hgsmi_send_caps_info() 63 hgsmi_test_query_conf(struct gen_pool *ctx) hgsmi_test_query_conf() argument 83 hgsmi_query_conf(struct gen_pool *ctx, u32 index, u32 *value_ret) hgsmi_query_conf() argument 117 hgsmi_update_pointer_shape(struct gen_pool *ctx, u32 flags, u32 hot_x, u32 hot_y, u32 width, u32 height, u8 *pixels, u32 len) hgsmi_update_pointer_shape() argument 190 hgsmi_cursor_position(struct gen_pool *ctx, bool report_position, u32 x, u32 y, u32 *x_host, u32 *y_host) hgsmi_cursor_position() argument [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | deflate.c | 42 static int deflate_comp_init(struct deflate_ctx *ctx, int format) in deflate_comp_init() argument 45 struct z_stream_s *stream = &ctx->comp_stream; in deflate_comp_init() 71 static int deflate_decomp_init(struct deflate_ctx *ctx, int format) in deflate_decomp_init() argument 74 struct z_stream_s *stream = &ctx->decomp_stream; in deflate_decomp_init() 96 static void deflate_comp_exit(struct deflate_ctx *ctx) in deflate_comp_exit() argument 98 zlib_deflateEnd(&ctx->comp_stream); in deflate_comp_exit() 99 vfree(ctx->comp_stream.workspace); in deflate_comp_exit() 102 static void deflate_decomp_exit(struct deflate_ctx *ctx) in deflate_decomp_exit() argument 104 zlib_inflateEnd(&ctx->decomp_stream); in deflate_decomp_exit() 105 vfree(ctx in deflate_decomp_exit() 108 __deflate_init(void *ctx, int format) __deflate_init() argument 124 struct deflate_ctx *ctx; gen_deflate_alloc_ctx() local 152 struct deflate_ctx *ctx = crypto_tfm_ctx(tfm); deflate_init() local 157 __deflate_exit(void *ctx) __deflate_exit() argument 163 deflate_free_ctx(struct crypto_scomp *tfm, void *ctx) deflate_free_ctx() argument 171 struct deflate_ctx *ctx = crypto_tfm_ctx(tfm); deflate_exit() local 176 __deflate_compress(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) __deflate_compress() argument 213 deflate_scompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) deflate_scompress() argument 220 __deflate_decompress(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) __deflate_decompress() argument 269 deflate_sdecompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) deflate_sdecompress() argument [all...] |
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | atmel-ecc.c | 54 struct atmel_ecdh_ctx *ctx = work_data->ctx; in atmel_ecdh_done() local 62 n_sz = min_t(size_t, ctx->n_sz, req->dst_len); in atmel_ecdh_done() 91 struct atmel_ecdh_ctx *ctx = kpp_tfm_ctx(tfm); in atmel_ecdh_set_secret() local 98 kfree(ctx->public_key); in atmel_ecdh_set_secret() 100 ctx->public_key = NULL; in atmel_ecdh_set_secret() 103 dev_err(&ctx->client->dev, "crypto_ecdh_decode_key failed\n"); in atmel_ecdh_set_secret() 107 ctx->n_sz = atmel_ecdh_supported_curve(params.curve_id); in atmel_ecdh_set_secret() 108 if (!ctx->n_sz || params.key_size) { in atmel_ecdh_set_secret() 110 ctx in atmel_ecdh_set_secret() 153 struct atmel_ecdh_ctx *ctx = kpp_tfm_ctx(tfm); atmel_ecdh_generate_public_key() local 181 struct atmel_ecdh_ctx *ctx = kpp_tfm_ctx(tfm); atmel_ecdh_compute_shared_secret() local 264 struct atmel_ecdh_ctx *ctx = kpp_tfm_ctx(tfm); atmel_ecdh_init_tfm() local 287 struct atmel_ecdh_ctx *ctx = kpp_tfm_ctx(tfm); atmel_ecdh_exit_tfm() local 296 struct atmel_ecdh_ctx *ctx = kpp_tfm_ctx(tfm); atmel_ecdh_max_size() local [all...] |
H A D | s5p-sss.c | 268 * @ctx: Configuration for currently handled crypto request 281 * req, ctx, sg_src/dst (and copies). This essentially 308 struct s5p_aes_ctx *ctx; member 789 struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); in s5p_hash_read_msg() local 790 struct s5p_aes_dev *dd = ctx->dd; in s5p_hash_read_msg() 791 u32 *hash = (u32 *)ctx->digest; in s5p_hash_read_msg() 794 for (i = 0; i < ctx->nregs; i++) in s5p_hash_read_msg() 801 * @ctx: request context 804 const struct s5p_hash_reqctx *ctx) in s5p_hash_write_ctx_iv() 806 const u32 *hash = (const u32 *)ctx in s5p_hash_write_ctx_iv() 803 s5p_hash_write_ctx_iv(struct s5p_aes_dev *dd, const struct s5p_hash_reqctx *ctx) s5p_hash_write_ctx_iv() argument 819 struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_write_iv() local 830 const struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_copy_result() local 937 struct s5p_hash_reqctx *ctx = ahash_request_ctx(dd->hash_req); s5p_hash_write_ctrl() local 987 struct s5p_hash_reqctx *ctx = ahash_request_ctx(dd->hash_req); s5p_hash_xmit_dma() local 1025 s5p_hash_copy_sgs(struct s5p_hash_reqctx *ctx, struct scatterlist *sg, unsigned int new_len) s5p_hash_copy_sgs() argument 1071 s5p_hash_copy_sg_lists(struct s5p_hash_reqctx *ctx, struct scatterlist *sg, unsigned int new_len) s5p_hash_copy_sg_lists() argument 1141 s5p_hash_prepare_sgs(struct s5p_hash_reqctx *ctx, struct scatterlist *sg, unsigned int new_len, bool final) s5p_hash_prepare_sgs() argument 1217 struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_prepare_request() local 1302 const struct s5p_hash_reqctx *ctx = ahash_request_ctx(dd->hash_req); s5p_hash_update_dma_stop() local 1314 struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_finish() local 1330 struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_finish_req() local 1377 struct s5p_hash_reqctx *ctx; s5p_hash_handle_queue() local 1490 struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_enqueue() local 1509 struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_update() local 1549 struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_final() local 1573 struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_finup() local 1600 struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_init() local 1701 const struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_export() local 1715 struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_import() local 2030 struct s5p_aes_ctx *ctx = crypto_skcipher_ctx(tfm); s5p_aes_crypt() local 2051 struct s5p_aes_ctx *ctx = crypto_tfm_ctx(tfm); s5p_aes_setkey() local 2091 struct s5p_aes_ctx *ctx = crypto_skcipher_ctx(tfm); s5p_aes_init_tfm() local [all...] |
/kernel/linux/linux-6.6/crypto/ |
H A D | deflate.c | 42 static int deflate_comp_init(struct deflate_ctx *ctx, int format) in deflate_comp_init() argument 45 struct z_stream_s *stream = &ctx->comp_stream; in deflate_comp_init() 71 static int deflate_decomp_init(struct deflate_ctx *ctx, int format) in deflate_decomp_init() argument 74 struct z_stream_s *stream = &ctx->decomp_stream; in deflate_decomp_init() 96 static void deflate_comp_exit(struct deflate_ctx *ctx) in deflate_comp_exit() argument 98 zlib_deflateEnd(&ctx->comp_stream); in deflate_comp_exit() 99 vfree(ctx->comp_stream.workspace); in deflate_comp_exit() 102 static void deflate_decomp_exit(struct deflate_ctx *ctx) in deflate_decomp_exit() argument 104 zlib_inflateEnd(&ctx->decomp_stream); in deflate_decomp_exit() 105 vfree(ctx in deflate_decomp_exit() 108 __deflate_init(void *ctx, int format) __deflate_init() argument 124 struct deflate_ctx *ctx; gen_deflate_alloc_ctx() local 152 struct deflate_ctx *ctx = crypto_tfm_ctx(tfm); deflate_init() local 157 __deflate_exit(void *ctx) __deflate_exit() argument 163 deflate_free_ctx(struct crypto_scomp *tfm, void *ctx) deflate_free_ctx() argument 171 struct deflate_ctx *ctx = crypto_tfm_ctx(tfm); deflate_exit() local 176 __deflate_compress(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) __deflate_compress() argument 213 deflate_scompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) deflate_scompress() argument 220 __deflate_decompress(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) __deflate_decompress() argument 269 deflate_sdecompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) deflate_sdecompress() argument [all...] |
/kernel/linux/linux-5.10/drivers/vfio/pci/ |
H A D | vfio_pci_intrs.c | 33 eventfd_signal(vdev->ctx[0].trigger, 1); in vfio_send_intx_eventfd() 52 } else if (!vdev->ctx[0].masked) { in vfio_pci_intx_mask() 62 vdev->ctx[0].masked = true; in vfio_pci_intx_mask() 90 } else if (vdev->ctx[0].masked && !vdev->virq_disabled) { in vfio_pci_intx_unmask_handler() 102 vdev->ctx[0].masked = (ret > 0); in vfio_pci_intx_unmask_handler() 126 vdev->ctx[0].masked = true; in vfio_intx_handler() 128 } else if (!vdev->ctx[0].masked && /* may be shared */ in vfio_intx_handler() 130 vdev->ctx[0].masked = true; in vfio_intx_handler() 150 vdev->ctx = kzalloc(sizeof(struct vfio_pci_irq_ctx), GFP_KERNEL); in vfio_intx_enable() 151 if (!vdev->ctx) in vfio_intx_enable() 561 vfio_pci_set_ctx_trigger_single(struct eventfd_ctx **ctx, unsigned int count, uint32_t flags, void *data) vfio_pci_set_ctx_trigger_single() argument [all...] |
/kernel/linux/linux-5.10/include/media/ |
H A D | dvb_vb2.h | 117 static inline int dvb_vb2_init(struct dvb_vb2_ctx *ctx, in dvb_vb2_init() argument 122 static inline int dvb_vb2_release(struct dvb_vb2_ctx *ctx) in dvb_vb2_release() argument 126 #define dvb_vb2_is_streaming(ctx) (0) 127 #define dvb_vb2_fill_buffer(ctx, file, wait, flags) (0) 129 static inline __poll_t dvb_vb2_poll(struct dvb_vb2_ctx *ctx, in dvb_vb2_poll() argument 139 * @ctx: control struct for VB2 handler 144 int dvb_vb2_init(struct dvb_vb2_ctx *ctx, const char *name, int non_blocking); 148 * put @ctx at DVB_VB2_STATE_NONE state. 149 * @ctx: control struct for VB2 handler 151 int dvb_vb2_release(struct dvb_vb2_ctx *ctx); [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_ctl.h | 58 * @ctx : ctl path ctx pointer 60 void (*trigger_start)(struct dpu_hw_ctl *ctx); 66 * @ctx : ctl path ctx pointer 68 void (*trigger_pending)(struct dpu_hw_ctl *ctx); 73 * @ctx : ctl path ctx pointer 75 void (*clear_pending_flush)(struct dpu_hw_ctl *ctx); 80 * @ctx [all...] |
/kernel/linux/linux-6.6/include/media/ |
H A D | dvb_vb2.h | 117 static inline int dvb_vb2_init(struct dvb_vb2_ctx *ctx, in dvb_vb2_init() argument 122 static inline int dvb_vb2_release(struct dvb_vb2_ctx *ctx) in dvb_vb2_release() argument 126 #define dvb_vb2_is_streaming(ctx) (0) 127 #define dvb_vb2_fill_buffer(ctx, file, wait, flags) (0) 129 static inline __poll_t dvb_vb2_poll(struct dvb_vb2_ctx *ctx, in dvb_vb2_poll() argument 139 * @ctx: control struct for VB2 handler 144 int dvb_vb2_init(struct dvb_vb2_ctx *ctx, const char *name, int non_blocking); 148 * put @ctx at DVB_VB2_STATE_NONE state. 149 * @ctx: control struct for VB2 handler 151 int dvb_vb2_release(struct dvb_vb2_ctx *ctx); [all...] |
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | s5p-sss.c | 269 * @ctx: Configuration for currently handled crypto request 282 * req, ctx, sg_src/dst (and copies). This essentially 309 struct s5p_aes_ctx *ctx; member 786 struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); in s5p_hash_read_msg() local 787 struct s5p_aes_dev *dd = ctx->dd; in s5p_hash_read_msg() 788 u32 *hash = (u32 *)ctx->digest; in s5p_hash_read_msg() 791 for (i = 0; i < ctx->nregs; i++) in s5p_hash_read_msg() 798 * @ctx: request context 801 const struct s5p_hash_reqctx *ctx) in s5p_hash_write_ctx_iv() 803 const u32 *hash = (const u32 *)ctx in s5p_hash_write_ctx_iv() 800 s5p_hash_write_ctx_iv(struct s5p_aes_dev *dd, const struct s5p_hash_reqctx *ctx) s5p_hash_write_ctx_iv() argument 816 struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_write_iv() local 827 const struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_copy_result() local 934 struct s5p_hash_reqctx *ctx = ahash_request_ctx(dd->hash_req); s5p_hash_write_ctrl() local 984 struct s5p_hash_reqctx *ctx = ahash_request_ctx(dd->hash_req); s5p_hash_xmit_dma() local 1022 s5p_hash_copy_sgs(struct s5p_hash_reqctx *ctx, struct scatterlist *sg, unsigned int new_len) s5p_hash_copy_sgs() argument 1068 s5p_hash_copy_sg_lists(struct s5p_hash_reqctx *ctx, struct scatterlist *sg, unsigned int new_len) s5p_hash_copy_sg_lists() argument 1138 s5p_hash_prepare_sgs(struct s5p_hash_reqctx *ctx, struct scatterlist *sg, unsigned int new_len, bool final) s5p_hash_prepare_sgs() argument 1214 struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_prepare_request() local 1299 const struct s5p_hash_reqctx *ctx = ahash_request_ctx(dd->hash_req); s5p_hash_update_dma_stop() local 1311 struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_finish() local 1327 struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_finish_req() local 1374 struct s5p_hash_reqctx *ctx; s5p_hash_handle_queue() local 1487 struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_enqueue() local 1506 struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_update() local 1546 struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_final() local 1570 struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_finup() local 1597 struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_init() local 1698 const struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_export() local 1712 struct s5p_hash_reqctx *ctx = ahash_request_ctx(req); s5p_hash_import() local 2027 struct s5p_aes_ctx *ctx = crypto_skcipher_ctx(tfm); s5p_aes_crypt() local 2048 struct s5p_aes_ctx *ctx = crypto_tfm_ctx(tfm); s5p_aes_setkey() local 2088 struct s5p_aes_ctx *ctx = crypto_skcipher_ctx(tfm); s5p_aes_init_tfm() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/ |
H A D | panel-sitronix-st7703.c | 72 int (*init_sequence)(struct st7703 *ctx); 80 static int jh057n_init_sequence(struct st7703 *ctx) in jh057n_init_sequence() argument 82 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in jh057n_init_sequence() 161 static int xbd599_init_sequence(struct st7703 *ctx) in xbd599_init_sequence() argument 163 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in xbd599_init_sequence() 344 static int rg353v2_init_sequence(struct st7703 *ctx) in rg353v2_init_sequence() argument 346 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in rg353v2_init_sequence() 438 struct st7703 *ctx = panel_to_st7703(panel); in st7703_enable() local 439 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in st7703_enable() 442 ret = ctx in st7703_enable() 470 struct st7703 *ctx = panel_to_st7703(panel); st7703_disable() local 487 struct st7703 *ctx = panel_to_st7703(panel); st7703_unprepare() local 502 struct st7703 *ctx = panel_to_st7703(panel); st7703_prepare() local 542 struct st7703 *ctx = panel_to_st7703(panel); st7703_get_modes() local 577 struct st7703 *ctx = data; allpixelson_set() local 595 st7703_debugfs_init(struct st7703 *ctx) st7703_debugfs_init() argument 603 st7703_debugfs_remove(struct st7703 *ctx) st7703_debugfs_remove() argument 612 struct st7703 *ctx; st7703_probe() local 668 struct st7703 *ctx = mipi_dsi_get_drvdata(dsi); st7703_shutdown() local 682 struct st7703 *ctx = mipi_dsi_get_drvdata(dsi); st7703_remove() local [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/ |
H A D | coredump.c | 24 static int spufs_ctx_note_size(struct spu_context *ctx, int dfd) in spufs_ctx_note_size() argument 46 struct spu_context *ctx; in match_context() local 49 ctx = SPUFS_I(file_inode(file))->i_ctx; in match_context() 50 if (ctx->flags & SPU_CREATE_NOSCHED) in match_context() 69 struct spu_context *ctx; in coredump_next_context() local 78 ctx = SPUFS_I(file_inode(file))->i_ctx; in coredump_next_context() 79 get_spu_context(ctx); in coredump_next_context() 82 return ctx; in coredump_next_context() 87 struct spu_context *ctx; in spufs_coredump_extra_notes_size() local 91 while ((ctx in spufs_coredump_extra_notes_size() 115 spufs_arch_write_note(struct spu_context *ctx, int i, struct coredump_params *cprm, int dfd) spufs_arch_write_note() argument 159 struct spu_context *ctx; spufs_coredump_extra_notes_write() local [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/spufs/ |
H A D | coredump.c | 24 static int spufs_ctx_note_size(struct spu_context *ctx, int dfd) in spufs_ctx_note_size() argument 46 struct spu_context *ctx; in match_context() local 49 ctx = SPUFS_I(file_inode(file))->i_ctx; in match_context() 50 if (ctx->flags & SPU_CREATE_NOSCHED) in match_context() 69 struct spu_context *ctx; in coredump_next_context() local 78 ctx = SPUFS_I(file_inode(file))->i_ctx; in coredump_next_context() 79 get_spu_context(ctx); in coredump_next_context() 82 return ctx; in coredump_next_context() 87 struct spu_context *ctx; in spufs_coredump_extra_notes_size() local 91 while ((ctx in spufs_coredump_extra_notes_size() 115 spufs_arch_write_note(struct spu_context *ctx, int i, struct coredump_params *cprm, int dfd) spufs_arch_write_note() argument 158 struct spu_context *ctx; spufs_coredump_extra_notes_write() local [all...] |
/kernel/linux/linux-6.6/arch/powerpc/net/ |
H A D | bpf_jit.h | 22 #define CTX_NIA(ctx) ((unsigned long)ctx->idx * 4) 26 #define EMIT(instr) PLANT_INSTR(image, ctx->idx, instr) 31 long offset = (long)(dest) - CTX_NIA(ctx); \ 33 pr_err_ratelimited("Branch offset 0x%lx (@%u) out of range\n", offset, ctx->idx); \ 40 #define PPC_BL(dest) EMIT(PPC_RAW_BL((dest) - (unsigned long)(image + ctx->idx))) 45 long offset = (long)(dest) - CTX_NIA(ctx); \ 47 pr_err_ratelimited("Conditional branch offset 0x%lx (@%u) out of range\n", offset, ctx->idx); \ 97 if (is_offset_in_cond_branch_range((long)(dest) - CTX_NIA(ctx))) { \ 102 PPC_BCC_SHORT(cond ^ COND_CMP_TRUE, CTX_NIA(ctx) 156 bpf_is_seen_register(struct codegen_context *ctx, int i) bpf_is_seen_register() argument 161 bpf_set_seen_register(struct codegen_context *ctx, int i) bpf_set_seen_register() argument 166 bpf_clear_seen_register(struct codegen_context *ctx, int i) bpf_clear_seen_register() argument [all...] |
/kernel/linux/linux-6.6/drivers/crypto/allwinner/sun8i-ce/ |
H A D | sun8i-ce-prng.c | 19 struct sun8i_ce_rng_tfm_ctx *ctx = crypto_tfm_ctx(tfm); in sun8i_ce_prng_init() local 21 memset(ctx, 0, sizeof(struct sun8i_ce_rng_tfm_ctx)); in sun8i_ce_prng_init() 27 struct sun8i_ce_rng_tfm_ctx *ctx = crypto_tfm_ctx(tfm); in sun8i_ce_prng_exit() local 29 kfree_sensitive(ctx->seed); in sun8i_ce_prng_exit() 30 ctx->seed = NULL; in sun8i_ce_prng_exit() 31 ctx->slen = 0; in sun8i_ce_prng_exit() 37 struct sun8i_ce_rng_tfm_ctx *ctx = crypto_rng_ctx(tfm); in sun8i_ce_prng_seed() local 39 if (ctx->seed && ctx->slen != slen) { in sun8i_ce_prng_seed() 40 kfree_sensitive(ctx in sun8i_ce_prng_seed() 58 struct sun8i_ce_rng_tfm_ctx *ctx = crypto_rng_ctx(tfm); sun8i_ce_prng_generate() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/ |
H A D | panel-xinpeng-xpp055c272.c | 71 static int xpp055c272_init_sequence(struct xpp055c272 *ctx) in xpp055c272_init_sequence() argument 73 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in xpp055c272_init_sequence() 74 struct device *dev = ctx->dev; in xpp055c272_init_sequence() 143 struct xpp055c272 *ctx = panel_to_xpp055c272(panel); in xpp055c272_unprepare() local 144 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in xpp055c272_unprepare() 147 if (!ctx->prepared) in xpp055c272_unprepare() 152 dev_err(ctx->dev, "failed to set display off: %d\n", ret); in xpp055c272_unprepare() 156 dev_err(ctx->dev, "failed to enter sleep mode: %d\n", ret); in xpp055c272_unprepare() 160 regulator_disable(ctx->iovcc); in xpp055c272_unprepare() 161 regulator_disable(ctx in xpp055c272_unprepare() 170 struct xpp055c272 *ctx = panel_to_xpp055c272(panel); xpp055c272_prepare() local 248 struct xpp055c272 *ctx = panel_to_xpp055c272(panel); xpp055c272_get_modes() local 278 struct xpp055c272 *ctx; xpp055c272_probe() local 337 struct xpp055c272 *ctx = mipi_dsi_get_drvdata(dsi); xpp055c272_shutdown() local 351 struct xpp055c272 *ctx = mipi_dsi_get_drvdata(dsi); xpp055c272_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/ |
H A D | mtk_vcodec_enc_drv.c | 74 static void wake_up_ctx(struct mtk_vcodec_ctx *ctx, unsigned int reason) in wake_up_ctx() argument 76 ctx->int_cond = 1; in wake_up_ctx() 77 ctx->int_type = reason; in wake_up_ctx() 78 wake_up_interruptible(&ctx->queue); in wake_up_ctx() 105 struct mtk_vcodec_ctx *ctx; in mtk_vcodec_enc_irq_handler() local 110 ctx = dev->curr_ctx; in mtk_vcodec_enc_irq_handler() 113 mtk_v4l2_debug(1, "id=%d", ctx->id); in mtk_vcodec_enc_irq_handler() 116 ctx->irq_status = readl(dev->reg_base[VENC_SYS] + in mtk_vcodec_enc_irq_handler() 119 clean_irq_status(ctx->irq_status, addr); in mtk_vcodec_enc_irq_handler() 121 wake_up_ctx(ctx, MTK_INST_IRQ_RECEIVE in mtk_vcodec_enc_irq_handler() 128 struct mtk_vcodec_ctx *ctx; mtk_vcodec_enc_lt_irq_handler() local 151 struct mtk_vcodec_ctx *ctx = NULL; fops_vcodec_open() local 235 struct mtk_vcodec_ctx *ctx = fh_to_ctx(file->private_data); fops_vcodec_release() local [all...] |
/kernel/linux/linux-5.10/drivers/soundwire/ |
H A D | intel_init.c | 57 static int sdw_intel_cleanup(struct sdw_intel_ctx *ctx) in sdw_intel_cleanup() argument 59 struct sdw_intel_link_res *link = ctx->links; in sdw_intel_cleanup() 66 link_mask = ctx->link_mask; in sdw_intel_cleanup() 68 for (i = 0; i < ctx->count; i++, link++) { in sdw_intel_cleanup() 178 struct sdw_intel_ctx *ctx = dev_id; in sdw_intel_thread() local 181 list_for_each_entry(link, &ctx->link_list, list) in sdw_intel_thread() 184 sdw_intel_enable_irq(ctx->mmio_base, true); in sdw_intel_thread() 195 struct sdw_intel_ctx *ctx; in sdw_intel_probe_controller() local 217 ctx = devm_kzalloc(&adev->dev, sizeof(*ctx), GFP_KERNE in sdw_intel_probe_controller() 311 sdw_intel_startup_controller(struct sdw_intel_ctx *ctx) sdw_intel_startup_controller() argument 444 sdw_intel_startup(struct sdw_intel_ctx *ctx) sdw_intel_startup() argument 455 sdw_intel_exit(struct sdw_intel_ctx *ctx) sdw_intel_exit() argument 461 sdw_intel_process_wakeen_event(struct sdw_intel_ctx *ctx) sdw_intel_process_wakeen_event() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/microchip/ |
H A D | encx24j600-regmap.c | 20 static int encx24j600_switch_bank(struct encx24j600_context *ctx, in encx24j600_switch_bank() argument 26 ret = spi_write(ctx->spi, &bank_opcode, 1); in encx24j600_switch_bank() 28 ctx->bank = bank; in encx24j600_switch_bank() 33 static int encx24j600_cmdn(struct encx24j600_context *ctx, u8 opcode, in encx24j600_cmdn() argument 43 return spi_sync(ctx->spi, &m); in encx24j600_cmdn() 48 struct encx24j600_context *ctx = context; in regmap_lock_mutex() local 50 mutex_lock(&ctx->mutex); in regmap_lock_mutex() 55 struct encx24j600_context *ctx = context; in regmap_unlock_mutex() local 57 mutex_unlock(&ctx->mutex); in regmap_unlock_mutex() 63 struct encx24j600_context *ctx in regmap_encx24j600_sfr_read() local 111 regmap_encx24j600_sfr_update(struct encx24j600_context *ctx, u8 reg, u8 *val, size_t len, u8 unbanked_cmd, u8 banked_code) regmap_encx24j600_sfr_update() argument 171 struct encx24j600_context *ctx = context; regmap_encx24j600_sfr_write() local 176 regmap_encx24j600_sfr_set_bits(struct encx24j600_context *ctx, u8 reg, u8 val) regmap_encx24j600_sfr_set_bits() argument 182 regmap_encx24j600_sfr_clr_bits(struct encx24j600_context *ctx, u8 reg, u8 val) regmap_encx24j600_sfr_clr_bits() argument 192 struct encx24j600_context *ctx = context; regmap_encx24j600_reg_update_bits() local 223 struct encx24j600_context *ctx = context; regmap_encx24j600_spi_write() local 235 struct encx24j600_context *ctx = context; regmap_encx24j600_spi_read() local 348 struct encx24j600_context *ctx = context; regmap_encx24j600_phy_reg_read() local 386 struct encx24j600_context *ctx = context; regmap_encx24j600_phy_reg_write() local 500 devm_regmap_init_encx24j600(struct device *dev, struct encx24j600_context *ctx) devm_regmap_init_encx24j600() argument [all...] |