/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-m2m.c | 23 static inline struct mdp_frame *ctx_get_frame(struct mdp_m2m_ctx *ctx, in ctx_get_frame() argument 27 return &ctx->curr_param.output; in ctx_get_frame() 29 return &ctx->curr_param.captures[0]; in ctx_get_frame() 32 static inline void mdp_m2m_ctx_set_state(struct mdp_m2m_ctx *ctx, u32 state) in mdp_m2m_ctx_set_state() argument 34 atomic_or(state, &ctx->curr_param.state); in mdp_m2m_ctx_set_state() 37 static inline bool mdp_m2m_ctx_is_state_set(struct mdp_m2m_ctx *ctx, u32 mask) in mdp_m2m_ctx_is_state_set() argument 39 return ((atomic_read(&ctx->curr_param.state) & mask) == mask); in mdp_m2m_ctx_is_state_set() 44 struct mdp_m2m_ctx *ctx = priv; in mdp_m2m_process_done() local 48 v4l2_m2m_src_buf_remove(ctx->m2m_ctx); in mdp_m2m_process_done() 50 v4l2_m2m_dst_buf_remove(ctx in mdp_m2m_process_done() 63 struct mdp_m2m_ctx *ctx = priv; mdp_m2m_device_run() local 119 struct mdp_m2m_ctx *ctx = vb2_get_drv_priv(q); mdp_m2m_start_streaming() local 164 mdp_m2m_buf_remove(struct mdp_m2m_ctx *ctx, unsigned int type) mdp_m2m_buf_remove() argument 177 struct mdp_m2m_ctx *ctx = vb2_get_drv_priv(q); mdp_m2m_stop_streaming() local 192 struct mdp_m2m_ctx *ctx = vb2_get_drv_priv(q); mdp_m2m_queue_setup() local 216 struct mdp_m2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); mdp_m2m_buf_prepare() local 244 struct mdp_m2m_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); mdp_m2m_buf_queue() local 275 struct mdp_m2m_ctx *ctx = fh_to_ctx(fh); mdp_m2m_enum_fmt_mplane() local 283 struct mdp_m2m_ctx *ctx = fh_to_ctx(fh); mdp_m2m_g_fmt_mplane() local 301 struct mdp_m2m_ctx *ctx = fh_to_ctx(fh); mdp_m2m_s_fmt_mplane() local 344 struct mdp_m2m_ctx *ctx = fh_to_ctx(fh); mdp_m2m_try_fmt_mplane() local 355 struct mdp_m2m_ctx *ctx = fh_to_ctx(fh); mdp_m2m_g_selection() local 407 struct mdp_m2m_ctx *ctx = fh_to_ctx(fh); mdp_m2m_s_selection() local 469 struct mdp_m2m_ctx *ctx = priv; mdp_m2m_queue_init() local 501 struct mdp_m2m_ctx *ctx = ctrl_to_ctx(ctrl); mdp_m2m_s_ctrl() local 524 mdp_m2m_ctrls_create(struct mdp_m2m_ctx *ctx) mdp_m2m_ctrls_create() argument 552 struct mdp_m2m_ctx *ctx; mdp_m2m_open() local 633 struct mdp_m2m_ctx *ctx = fh_to_ctx(file->private_data); mdp_m2m_release() local 721 mdp_m2m_job_finish(struct mdp_m2m_ctx *ctx) mdp_m2m_job_finish() argument [all...] |
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/hpre/ |
H A D | hpre_crypto.c | 60 typedef void (*hpre_cb)(struct hpre_ctx *ctx, void *sqe); 137 struct hpre_ctx *ctx; member 160 static int hpre_alloc_req_id(struct hpre_ctx *ctx) in hpre_alloc_req_id() argument 165 spin_lock_irqsave(&ctx->req_lock, flags); in hpre_alloc_req_id() 166 id = idr_alloc(&ctx->req_idr, NULL, 0, ctx->qp->sq_depth, GFP_ATOMIC); in hpre_alloc_req_id() 167 spin_unlock_irqrestore(&ctx->req_lock, flags); in hpre_alloc_req_id() 172 static void hpre_free_req_id(struct hpre_ctx *ctx, int req_id) in hpre_free_req_id() argument 176 spin_lock_irqsave(&ctx->req_lock, flags); in hpre_free_req_id() 177 idr_remove(&ctx in hpre_free_req_id() 183 struct hpre_ctx *ctx; hpre_add_req_to_ctx() local 204 struct hpre_ctx *ctx = hpre_req->ctx; hpre_rm_req_from_ctx() local 262 struct hpre_ctx *ctx = hpre_req->ctx; hpre_prepare_dma_buf() local 290 struct hpre_ctx *ctx = hpre_req->ctx; hpre_hw_data_init() local 312 hpre_hw_data_clr_all(struct hpre_ctx *ctx, struct hpre_asym_request *req, struct scatterlist *dst, struct scatterlist *src) hpre_hw_data_clr_all() argument 346 hpre_alg_res_post_hf(struct hpre_ctx *ctx, struct hpre_sqe *sqe, void **kreq) hpre_alg_res_post_hf() argument 379 hpre_ctx_set(struct hpre_ctx *ctx, struct hisi_qp *qp, int qlen) hpre_ctx_set() argument 402 hpre_ctx_clear(struct hpre_ctx *ctx, bool is_clear_all) hpre_ctx_clear() argument 432 hpre_dh_cb(struct hpre_ctx *ctx, void *resp) hpre_dh_cb() argument 453 hpre_rsa_cb(struct hpre_ctx *ctx, void *resp) hpre_rsa_cb() argument 476 struct hpre_ctx *ctx = qp->qp_ctx; hpre_alg_cb() local 495 hpre_ctx_init(struct hpre_ctx *ctx, u8 type) hpre_ctx_init() argument 514 hpre_msg_request_set(struct hpre_ctx *ctx, void *req, bool is_rsa) hpre_msg_request_set() argument 567 hpre_send(struct hpre_ctx *ctx, struct hpre_sqe *msg) hpre_send() argument 593 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); hpre_dh_compute_value() local 653 hpre_dh_set_params(struct hpre_ctx *ctx, struct dh *params) hpre_dh_set_params() argument 692 hpre_dh_clear_ctx(struct hpre_ctx *ctx, bool is_clear_all) hpre_dh_clear_ctx() argument 718 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); hpre_dh_set_secret() local 744 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); hpre_dh_max_size() local 751 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); hpre_dh_init_tfm() local 760 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); hpre_dh_exit_tfm() local 796 struct hpre_ctx *ctx = akcipher_tfm_ctx(tfm); hpre_rsa_enc() local 844 struct hpre_ctx *ctx = akcipher_tfm_ctx(tfm); hpre_rsa_dec() local 896 hpre_rsa_set_n(struct hpre_ctx *ctx, const char *value, size_t vlen, bool private) hpre_rsa_set_n() argument 934 hpre_rsa_set_e(struct hpre_ctx *ctx, const char *value, size_t vlen) hpre_rsa_set_e() argument 949 hpre_rsa_set_d(struct hpre_ctx *ctx, const char *value, size_t vlen) hpre_rsa_set_d() argument 979 hpre_rsa_setkey_crt(struct hpre_ctx *ctx, struct rsa_key *rsa_key) hpre_rsa_setkey_crt() argument 1037 hpre_rsa_clear_ctx(struct hpre_ctx *ctx, bool is_clear_all) hpre_rsa_clear_ctx() argument 1084 hpre_rsa_setkey(struct hpre_ctx *ctx, const void *key, unsigned int keylen, bool private) hpre_rsa_setkey() argument 1134 struct hpre_ctx *ctx = akcipher_tfm_ctx(tfm); hpre_rsa_setpubkey() local 1147 struct hpre_ctx *ctx = akcipher_tfm_ctx(tfm); hpre_rsa_setprivkey() local 1159 struct hpre_ctx *ctx = akcipher_tfm_ctx(tfm); hpre_rsa_max_size() local 1171 struct hpre_ctx *ctx = akcipher_tfm_ctx(tfm); hpre_rsa_init_tfm() local 1192 struct hpre_ctx *ctx = akcipher_tfm_ctx(tfm); hpre_rsa_exit_tfm() local 1208 hpre_ecc_clear_ctx(struct hpre_ctx *ctx, bool is_clear_all, bool is_ecdh) hpre_ecc_clear_ctx() argument 1270 hpre_ecdh_fill_curve(struct hpre_ctx *ctx, struct ecdh *params, unsigned int cur_sz) hpre_ecdh_fill_curve() argument 1322 hpre_ecdh_set_param(struct hpre_ctx *ctx, struct ecdh *params) hpre_ecdh_set_param() argument 1371 ecdh_gen_privkey(struct hpre_ctx *ctx, struct ecdh *params) ecdh_gen_privkey() argument 1394 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); hpre_ecdh_set_secret() local 1441 hpre_ecdh_hw_data_clr_all(struct hpre_ctx *ctx, struct hpre_asym_request *req, struct scatterlist *dst, struct scatterlist *src) hpre_ecdh_hw_data_clr_all() argument 1467 hpre_ecdh_cb(struct hpre_ctx *ctx, void *resp) hpre_ecdh_cb() argument 1495 hpre_ecdh_msg_request_set(struct hpre_ctx *ctx, struct kpp_request *req) hpre_ecdh_msg_request_set() argument 1534 struct hpre_ctx *ctx = hpre_req->ctx; hpre_ecdh_src_data_init() local 1564 struct hpre_ctx *ctx = hpre_req->ctx; hpre_ecdh_dst_data_init() local 1587 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); hpre_ecdh_compute_value() local 1629 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); hpre_ecdh_max_size() local 1637 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); hpre_ecdh_nist_p192_init_tfm() local 1648 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); hpre_ecdh_nist_p256_init_tfm() local 1659 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); hpre_ecdh_nist_p384_init_tfm() local 1670 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); hpre_ecdh_exit_tfm() local 1675 hpre_curve25519_fill_curve(struct hpre_ctx *ctx, const void *buf, unsigned int len) hpre_curve25519_fill_curve() argument 1706 hpre_curve25519_set_param(struct hpre_ctx *ctx, const void *buf, unsigned int len) hpre_curve25519_set_param() argument 1733 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); hpre_curve25519_set_secret() local 1757 hpre_curve25519_hw_data_clr_all(struct hpre_ctx *ctx, struct hpre_asym_request *req, struct scatterlist *dst, struct scatterlist *src) hpre_curve25519_hw_data_clr_all() argument 1783 hpre_curve25519_cb(struct hpre_ctx *ctx, void *resp) hpre_curve25519_cb() argument 1807 hpre_curve25519_msg_request_set(struct hpre_ctx *ctx, struct kpp_request *req) hpre_curve25519_msg_request_set() argument 1857 struct hpre_ctx *ctx = hpre_req->ctx; hpre_curve25519_src_init() local 1916 struct hpre_ctx *ctx = hpre_req->ctx; hpre_curve25519_dst_init() local 1939 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); hpre_curve25519_compute_value() local 1982 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); hpre_curve25519_max_size() local 1989 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); hpre_curve25519_init_tfm() local 1998 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); hpre_curve25519_exit_tfm() local [all...] |
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | bpf.h | 1912 * long bpf_tail_call(void *ctx, struct bpf_map *prog_array_map, u32 index) 1927 * *ctx*, a pointer to the context. 2217 * long bpf_perf_event_output(void *ctx, struct bpf_map *map, u64 flags, void *data, u64 size) 2234 * The context of the program *ctx* needs also be passed to the 2279 * long bpf_get_stackid(void *ctx, struct bpf_map *map, u64 flags) 2282 * this, the helper needs *ctx*, which is a pointer to the context 2650 * u64 bpf_get_socket_cookie(struct bpf_sock_addr *ctx) 2657 * u64 bpf_get_socket_cookie(struct bpf_sock_ops *ctx) 2916 * long bpf_perf_prog_read_value(struct bpf_perf_event_data *ctx, struct bpf_perf_event_value *buf, u32 buf_size) 2919 * value of the event counter associated to *ctx* an [all...] |
/kernel/linux/linux-6.6/tools/include/uapi/linux/ |
H A D | bpf.h | 1912 * long bpf_tail_call(void *ctx, struct bpf_map *prog_array_map, u32 index) 1927 * *ctx*, a pointer to the context. 2217 * long bpf_perf_event_output(void *ctx, struct bpf_map *map, u64 flags, void *data, u64 size) 2234 * The context of the program *ctx* needs also be passed to the 2279 * long bpf_get_stackid(void *ctx, struct bpf_map *map, u64 flags) 2282 * this, the helper needs *ctx*, which is a pointer to the context 2650 * u64 bpf_get_socket_cookie(struct bpf_sock_addr *ctx) 2657 * u64 bpf_get_socket_cookie(struct bpf_sock_ops *ctx) 2916 * long bpf_perf_prog_read_value(struct bpf_perf_event_data *ctx, struct bpf_perf_event_value *buf, u32 buf_size) 2919 * value of the event counter associated to *ctx* an [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/mtk-mdp/ |
H A D | mtk_mdp_m2m.c | 173 static const struct mtk_mdp_fmt *mtk_mdp_try_fmt_mplane(struct mtk_mdp_ctx *ctx, in mtk_mdp_try_fmt_mplane() argument 176 struct mtk_mdp_dev *mdp = ctx->mdp_dev; in mtk_mdp_try_fmt_mplane() 188 dev_dbg(&ctx->mdp_dev->pdev->dev, in mtk_mdp_try_fmt_mplane() 197 pix_mp->colorspace = ctx->colorspace; in mtk_mdp_try_fmt_mplane() 198 pix_mp->xfer_func = ctx->xfer_func; in mtk_mdp_try_fmt_mplane() 199 pix_mp->ycbcr_enc = ctx->ycbcr_enc; in mtk_mdp_try_fmt_mplane() 200 pix_mp->quantization = ctx->quant; in mtk_mdp_try_fmt_mplane() 225 ctx->id, f->type, pix_mp->width, pix_mp->height, in mtk_mdp_try_fmt_mplane() 238 mtk_mdp_dbg(1, "[%d] size change:%ux%u to %ux%u", ctx->id, in mtk_mdp_try_fmt_mplane() 252 mtk_mdp_dbg(2, "[%d] p%d, bpl:%d, sizeimage:%u (%u)", ctx in mtk_mdp_try_fmt_mplane() 259 mtk_mdp_ctx_get_frame(struct mtk_mdp_ctx *ctx, enum v4l2_buf_type type) mtk_mdp_ctx_get_frame() argument 278 mtk_mdp_try_crop(struct mtk_mdp_ctx *ctx, u32 type, struct v4l2_rect *r) mtk_mdp_try_crop() argument 364 mtk_mdp_ctx_state_lock_set(struct mtk_mdp_ctx *ctx, u32 state) mtk_mdp_ctx_state_lock_set() argument 371 mtk_mdp_ctx_state_is_set(struct mtk_mdp_ctx *ctx, u32 mask) mtk_mdp_ctx_state_is_set() argument 394 struct mtk_mdp_ctx *ctx = q->drv_priv; mtk_mdp_m2m_start_streaming() local 405 mtk_mdp_m2m_buf_remove(struct mtk_mdp_ctx *ctx, enum v4l2_buf_type type) mtk_mdp_m2m_buf_remove() argument 416 struct mtk_mdp_ctx *ctx = q->drv_priv; mtk_mdp_m2m_stop_streaming() local 429 mtk_mdp_prepare_addr(struct mtk_mdp_ctx *ctx, struct vb2_buffer *vb, struct mtk_mdp_frame *frame, struct mtk_mdp_addr *addr) mtk_mdp_prepare_addr() argument 457 mtk_mdp_m2m_get_bufs(struct mtk_mdp_ctx *ctx) mtk_mdp_m2m_get_bufs() argument 477 struct mtk_mdp_ctx *ctx; mtk_mdp_process_done() local 499 struct mtk_mdp_ctx *ctx = mtk_mdp_m2m_worker() local 538 struct mtk_mdp_ctx *ctx = priv; mtk_mdp_m2m_device_run() local 547 struct mtk_mdp_ctx *ctx = vb2_get_drv_priv(vq); mtk_mdp_m2m_queue_setup() local 563 struct mtk_mdp_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); mtk_mdp_m2m_buf_prepare() local 579 struct mtk_mdp_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); mtk_mdp_m2m_buf_queue() local 597 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); mtk_mdp_m2m_querycap() local 635 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); mtk_mdp_m2m_g_fmt_mplane() local 674 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); mtk_mdp_m2m_try_fmt_mplane() local 684 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); mtk_mdp_m2m_s_fmt_mplane() local 730 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); mtk_mdp_m2m_reqbufs() local 738 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); mtk_mdp_m2m_streamon() local 777 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); mtk_mdp_m2m_g_selection() local 844 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); mtk_mdp_m2m_s_selection() local 924 struct mtk_mdp_ctx *ctx = priv; mtk_mdp_m2m_queue_init() local 958 struct mtk_mdp_ctx *ctx = ctrl_to_ctx(ctrl); mtk_mdp_s_ctrl() local 998 mtk_mdp_ctrls_create(struct mtk_mdp_ctx *ctx) mtk_mdp_ctrls_create() argument 1030 mtk_mdp_set_default_params(struct mtk_mdp_ctx *ctx) mtk_mdp_set_default_params() argument 1057 struct mtk_mdp_ctx *ctx = NULL; mtk_mdp_m2m_open() local 1145 struct mtk_mdp_ctx *ctx = fh_to_ctx(file->private_data); mtk_mdp_m2m_release() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp/ |
H A D | mtk_mdp_m2m.c | 173 static const struct mtk_mdp_fmt *mtk_mdp_try_fmt_mplane(struct mtk_mdp_ctx *ctx, in mtk_mdp_try_fmt_mplane() argument 176 struct mtk_mdp_dev *mdp = ctx->mdp_dev; in mtk_mdp_try_fmt_mplane() 188 dev_dbg(&ctx->mdp_dev->pdev->dev, in mtk_mdp_try_fmt_mplane() 197 pix_mp->colorspace = ctx->colorspace; in mtk_mdp_try_fmt_mplane() 198 pix_mp->xfer_func = ctx->xfer_func; in mtk_mdp_try_fmt_mplane() 199 pix_mp->ycbcr_enc = ctx->ycbcr_enc; in mtk_mdp_try_fmt_mplane() 200 pix_mp->quantization = ctx->quant; in mtk_mdp_try_fmt_mplane() 224 ctx->id, f->type, pix_mp->width, pix_mp->height, in mtk_mdp_try_fmt_mplane() 237 mtk_mdp_dbg(1, "[%d] size change:%ux%u to %ux%u", ctx->id, in mtk_mdp_try_fmt_mplane() 249 mtk_mdp_dbg(2, "[%d] p%d, bpl:%d, sizeimage:%u (%u)", ctx in mtk_mdp_try_fmt_mplane() 256 mtk_mdp_ctx_get_frame(struct mtk_mdp_ctx *ctx, enum v4l2_buf_type type) mtk_mdp_ctx_get_frame() argument 275 mtk_mdp_try_crop(struct mtk_mdp_ctx *ctx, u32 type, struct v4l2_rect *r) mtk_mdp_try_crop() argument 361 mtk_mdp_ctx_state_lock_set(struct mtk_mdp_ctx *ctx, u32 state) mtk_mdp_ctx_state_lock_set() argument 368 mtk_mdp_ctx_state_is_set(struct mtk_mdp_ctx *ctx, u32 mask) mtk_mdp_ctx_state_is_set() argument 391 struct mtk_mdp_ctx *ctx = q->drv_priv; mtk_mdp_m2m_start_streaming() local 402 mtk_mdp_m2m_buf_remove(struct mtk_mdp_ctx *ctx, enum v4l2_buf_type type) mtk_mdp_m2m_buf_remove() argument 413 struct mtk_mdp_ctx *ctx = q->drv_priv; mtk_mdp_m2m_stop_streaming() local 426 mtk_mdp_prepare_addr(struct mtk_mdp_ctx *ctx, struct vb2_buffer *vb, struct mtk_mdp_frame *frame, struct mtk_mdp_addr *addr) mtk_mdp_prepare_addr() argument 454 mtk_mdp_m2m_get_bufs(struct mtk_mdp_ctx *ctx) mtk_mdp_m2m_get_bufs() argument 474 struct mtk_mdp_ctx *ctx; mtk_mdp_process_done() local 496 struct mtk_mdp_ctx *ctx = mtk_mdp_m2m_worker() local 535 struct mtk_mdp_ctx *ctx = priv; mtk_mdp_m2m_device_run() local 544 struct mtk_mdp_ctx *ctx = vb2_get_drv_priv(vq); mtk_mdp_m2m_queue_setup() local 560 struct mtk_mdp_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); mtk_mdp_m2m_buf_prepare() local 576 struct mtk_mdp_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); mtk_mdp_m2m_buf_queue() local 594 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); mtk_mdp_m2m_querycap() local 632 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); mtk_mdp_m2m_g_fmt_mplane() local 671 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); mtk_mdp_m2m_try_fmt_mplane() local 681 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); mtk_mdp_m2m_s_fmt_mplane() local 727 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); mtk_mdp_m2m_reqbufs() local 735 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); mtk_mdp_m2m_streamon() local 774 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); mtk_mdp_m2m_g_selection() local 841 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); mtk_mdp_m2m_s_selection() local 921 struct mtk_mdp_ctx *ctx = priv; mtk_mdp_m2m_queue_init() local 955 struct mtk_mdp_ctx *ctx = ctrl_to_ctx(ctrl); mtk_mdp_s_ctrl() local 995 mtk_mdp_ctrls_create(struct mtk_mdp_ctx *ctx) mtk_mdp_ctrls_create() argument 1027 mtk_mdp_set_default_params(struct mtk_mdp_ctx *ctx) mtk_mdp_set_default_params() argument 1054 struct mtk_mdp_ctx *ctx = NULL; mtk_mdp_m2m_open() local 1142 struct mtk_mdp_ctx *ctx = fh_to_ctx(file->private_data); mtk_mdp_m2m_release() local [all...] |
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/ |
H A D | gss_krb5_mech.c | 32 static int gss_krb5_import_ctx_des(struct krb5_ctx *ctx, gfp_t gfp_mask); 33 static int gss_krb5_import_ctx_v1(struct krb5_ctx *ctx, gfp_t gfp_mask); 34 static int gss_krb5_import_ctx_v2(struct krb5_ctx *ctx, gfp_t gfp_mask); 158 struct krb5_ctx *ctx, struct crypto_sync_skcipher **res) in get_key() 186 *res = crypto_alloc_sync_skcipher(ctx->gk5e->encrypt_name, 0, 0); in get_key() 189 "crypto algorithm %s\n", ctx->gk5e->encrypt_name); in get_key() 195 "crypto algorithm %s\n", ctx->gk5e->encrypt_name); in get_key() 212 gss_import_v1_context(const void *p, const void *end, struct krb5_ctx *ctx) in gss_import_v1_context() argument 218 p = simple_get_bytes(p, end, &ctx->initiate, sizeof(ctx in gss_import_v1_context() 157 get_key(const void *p, const void *end, struct krb5_ctx *ctx, struct crypto_sync_skcipher **res) get_key() argument 290 context_v2_alloc_cipher(struct krb5_ctx *ctx, const char *cname, u8 *key) context_v2_alloc_cipher() argument 320 gss_krb5_import_ctx_des(struct krb5_ctx *ctx, gfp_t gfp_mask) gss_krb5_import_ctx_des() argument 326 gss_krb5_import_ctx_v1(struct krb5_ctx *ctx, gfp_t gfp_mask) gss_krb5_import_ctx_v1() argument 371 gss_krb5_import_ctx_v2(struct krb5_ctx *ctx, gfp_t gfp_mask) gss_krb5_import_ctx_v2() argument 482 gss_import_v2_context(const void *p, const void *end, struct krb5_ctx *ctx, gfp_t gfp_mask) gss_import_v2_context() argument 565 struct krb5_ctx *ctx; gss_import_sec_context_kerberos() local [all...] |
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | max2175.c | 30 #define mxm_dbg(ctx, fmt, arg...) dev_dbg(&ctx->client->dev, fmt, ## arg) 31 #define mxm_err(ctx, fmt, arg...) dev_err(&ctx->client->dev, fmt, ## arg) 316 static int max2175_read(struct max2175 *ctx, u8 idx, u8 *val) in max2175_read() argument 321 ret = regmap_read(ctx->regmap, idx, ®val); in max2175_read() 323 mxm_err(ctx, "read ret(%d): idx 0x%02x\n", ret, idx); in max2175_read() 330 static int max2175_write(struct max2175 *ctx, u8 idx, u8 val) in max2175_write() argument 334 ret = regmap_write(ctx->regmap, idx, val); in max2175_write() 336 mxm_err(ctx, "writ in max2175_write() 342 max2175_read_bits(struct max2175 *ctx, u8 idx, u8 msb, u8 lsb) max2175_read_bits() argument 352 max2175_write_bits(struct max2175 *ctx, u8 idx, u8 msb, u8 lsb, u8 newval) max2175_write_bits() argument 364 max2175_write_bit(struct max2175 *ctx, u8 idx, u8 bit, u8 newval) max2175_write_bit() argument 370 max2175_poll_timeout(struct max2175 *ctx, u8 idx, u8 msb, u8 lsb, u8 exp_bitval, u32 timeout_us) max2175_poll_timeout() argument 380 max2175_poll_csm_ready(struct max2175 *ctx) max2175_poll_csm_ready() argument 416 max2175_i2s_enable(struct max2175 *ctx, bool enable) max2175_i2s_enable() argument 427 max2175_set_filter_coeffs(struct max2175 *ctx, u8 m_sel, u8 bank, const u16 *coeffs) max2175_set_filter_coeffs() argument 448 max2175_load_fmeu_1p2(struct max2175 *ctx) max2175_load_fmeu_1p2() argument 463 max2175_load_dab_1p2(struct max2175 *ctx) max2175_load_dab_1p2() argument 476 max2175_load_fmna_1p0(struct max2175 *ctx) max2175_load_fmna_1p0() argument 484 max2175_load_fmna_2p0(struct max2175 *ctx) max2175_load_fmna_2p0() argument 492 max2175_set_bbfilter(struct max2175 *ctx) max2175_set_bbfilter() argument 506 max2175_set_csm_mode(struct max2175 *ctx, enum max2175_csm_mode new_mode) max2175_set_csm_mode() argument 533 max2175_csm_action(struct max2175 *ctx, enum max2175_csm_mode action) max2175_csm_action() argument 548 max2175_set_lo_freq(struct max2175 *ctx, u32 lo_freq) max2175_set_lo_freq() argument 628 max2175_set_nco_freq(struct max2175 *ctx, s32 nco_freq) max2175_set_nco_freq() argument 664 max2175_set_rf_freq_non_am_bands(struct max2175 *ctx, u64 freq, u32 lo_pos) max2175_set_rf_freq_non_am_bands() argument 691 max2175_set_rf_freq(struct max2175 *ctx, u64 freq, u32 lo_pos) max2175_set_rf_freq() argument 705 max2175_tune_rf_freq(struct max2175 *ctx, u64 freq, u32 hsls) max2175_tune_rf_freq() argument 723 max2175_set_hsls(struct max2175 *ctx, u32 lo_pos) max2175_set_hsls() argument 733 max2175_set_eu_rx_mode(struct max2175 *ctx, u32 rx_mode) max2175_set_eu_rx_mode() argument 749 max2175_set_na_rx_mode(struct max2175 *ctx, u32 rx_mode) max2175_set_na_rx_mode() argument 771 max2175_set_rx_mode(struct max2175 *ctx, u32 rx_mode) max2175_set_rx_mode() argument 801 max2175_rx_mode_from_freq(struct max2175 *ctx, u32 freq, u32 *mode) max2175_rx_mode_from_freq() argument 819 max2175_freq_rx_mode_valid(struct max2175 *ctx, u32 mode, u32 freq) max2175_freq_rx_mode_valid() argument 827 max2175_load_adc_presets(struct max2175 *ctx) max2175_load_adc_presets() argument 836 max2175_init_power_manager(struct max2175 *ctx) max2175_init_power_manager() argument 853 max2175_recalibrate_adc(struct max2175 *ctx) max2175_recalibrate_adc() argument 872 max2175_read_rom(struct max2175 *ctx, u8 row) max2175_read_rom() argument 889 max2175_load_from_rom(struct max2175 *ctx) max2175_load_from_rom() argument 923 max2175_load_full_fm_eu_1p0(struct max2175 *ctx) max2175_load_full_fm_eu_1p0() argument 934 max2175_load_full_fm_na_1p0(struct max2175 *ctx) max2175_load_full_fm_na_1p0() argument 945 max2175_core_init(struct max2175 *ctx, u32 refout_bits) max2175_core_init() argument 1003 max2175_s_ctrl_rx_mode(struct max2175 *ctx, u32 rx_mode) max2175_s_ctrl_rx_mode() argument 1021 struct max2175 *ctx = max2175_from_ctrl_hdl(ctrl->handler); max2175_s_ctrl() local 1039 max2175_get_lna_gain(struct max2175 *ctx) max2175_get_lna_gain() argument 1057 struct max2175 *ctx = max2175_from_ctrl_hdl(ctrl->handler); max2175_g_volatile_ctrl() local 1074 max2175_set_freq_and_mode(struct max2175 *ctx, u32 freq) max2175_set_freq_and_mode() argument 1097 struct max2175 *ctx = max2175_from_sd(sd); max2175_s_frequency() local 1127 struct max2175 *ctx = max2175_from_sd(sd); max2175_g_frequency() local 1143 struct max2175 *ctx = max2175_from_sd(sd); max2175_enum_freq_bands() local 1155 struct max2175 *ctx = max2175_from_sd(sd); max2175_g_tuner() local 1283 struct max2175 *ctx; max2175_probe() local 1410 struct max2175 *ctx = max2175_from_sd(sd); max2175_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | max2175.c | 30 #define mxm_dbg(ctx, fmt, arg...) dev_dbg(&ctx->client->dev, fmt, ## arg) 31 #define mxm_err(ctx, fmt, arg...) dev_err(&ctx->client->dev, fmt, ## arg) 316 static int max2175_read(struct max2175 *ctx, u8 idx, u8 *val) in max2175_read() argument 321 ret = regmap_read(ctx->regmap, idx, ®val); in max2175_read() 323 mxm_err(ctx, "read ret(%d): idx 0x%02x\n", ret, idx); in max2175_read() 330 static int max2175_write(struct max2175 *ctx, u8 idx, u8 val) in max2175_write() argument 334 ret = regmap_write(ctx->regmap, idx, val); in max2175_write() 336 mxm_err(ctx, "writ in max2175_write() 342 max2175_read_bits(struct max2175 *ctx, u8 idx, u8 msb, u8 lsb) max2175_read_bits() argument 352 max2175_write_bits(struct max2175 *ctx, u8 idx, u8 msb, u8 lsb, u8 newval) max2175_write_bits() argument 364 max2175_write_bit(struct max2175 *ctx, u8 idx, u8 bit, u8 newval) max2175_write_bit() argument 370 max2175_poll_timeout(struct max2175 *ctx, u8 idx, u8 msb, u8 lsb, u8 exp_bitval, u32 timeout_us) max2175_poll_timeout() argument 380 max2175_poll_csm_ready(struct max2175 *ctx) max2175_poll_csm_ready() argument 416 max2175_i2s_enable(struct max2175 *ctx, bool enable) max2175_i2s_enable() argument 427 max2175_set_filter_coeffs(struct max2175 *ctx, u8 m_sel, u8 bank, const u16 *coeffs) max2175_set_filter_coeffs() argument 448 max2175_load_fmeu_1p2(struct max2175 *ctx) max2175_load_fmeu_1p2() argument 463 max2175_load_dab_1p2(struct max2175 *ctx) max2175_load_dab_1p2() argument 476 max2175_load_fmna_1p0(struct max2175 *ctx) max2175_load_fmna_1p0() argument 484 max2175_load_fmna_2p0(struct max2175 *ctx) max2175_load_fmna_2p0() argument 492 max2175_set_bbfilter(struct max2175 *ctx) max2175_set_bbfilter() argument 506 max2175_set_csm_mode(struct max2175 *ctx, enum max2175_csm_mode new_mode) max2175_set_csm_mode() argument 533 max2175_csm_action(struct max2175 *ctx, enum max2175_csm_mode action) max2175_csm_action() argument 548 max2175_set_lo_freq(struct max2175 *ctx, u32 lo_freq) max2175_set_lo_freq() argument 628 max2175_set_nco_freq(struct max2175 *ctx, s32 nco_freq) max2175_set_nco_freq() argument 664 max2175_set_rf_freq_non_am_bands(struct max2175 *ctx, u64 freq, u32 lo_pos) max2175_set_rf_freq_non_am_bands() argument 691 max2175_set_rf_freq(struct max2175 *ctx, u64 freq, u32 lo_pos) max2175_set_rf_freq() argument 705 max2175_tune_rf_freq(struct max2175 *ctx, u64 freq, u32 hsls) max2175_tune_rf_freq() argument 723 max2175_set_hsls(struct max2175 *ctx, u32 lo_pos) max2175_set_hsls() argument 733 max2175_set_eu_rx_mode(struct max2175 *ctx, u32 rx_mode) max2175_set_eu_rx_mode() argument 749 max2175_set_na_rx_mode(struct max2175 *ctx, u32 rx_mode) max2175_set_na_rx_mode() argument 771 max2175_set_rx_mode(struct max2175 *ctx, u32 rx_mode) max2175_set_rx_mode() argument 801 max2175_rx_mode_from_freq(struct max2175 *ctx, u32 freq, u32 *mode) max2175_rx_mode_from_freq() argument 819 max2175_freq_rx_mode_valid(struct max2175 *ctx, u32 mode, u32 freq) max2175_freq_rx_mode_valid() argument 827 max2175_load_adc_presets(struct max2175 *ctx) max2175_load_adc_presets() argument 836 max2175_init_power_manager(struct max2175 *ctx) max2175_init_power_manager() argument 853 max2175_recalibrate_adc(struct max2175 *ctx) max2175_recalibrate_adc() argument 872 max2175_read_rom(struct max2175 *ctx, u8 row) max2175_read_rom() argument 889 max2175_load_from_rom(struct max2175 *ctx) max2175_load_from_rom() argument 923 max2175_load_full_fm_eu_1p0(struct max2175 *ctx) max2175_load_full_fm_eu_1p0() argument 934 max2175_load_full_fm_na_1p0(struct max2175 *ctx) max2175_load_full_fm_na_1p0() argument 945 max2175_core_init(struct max2175 *ctx, u32 refout_bits) max2175_core_init() argument 1003 max2175_s_ctrl_rx_mode(struct max2175 *ctx, u32 rx_mode) max2175_s_ctrl_rx_mode() argument 1021 struct max2175 *ctx = max2175_from_ctrl_hdl(ctrl->handler); max2175_s_ctrl() local 1039 max2175_get_lna_gain(struct max2175 *ctx) max2175_get_lna_gain() argument 1057 struct max2175 *ctx = max2175_from_ctrl_hdl(ctrl->handler); max2175_g_volatile_ctrl() local 1074 max2175_set_freq_and_mode(struct max2175 *ctx, u32 freq) max2175_set_freq_and_mode() argument 1097 struct max2175 *ctx = max2175_from_sd(sd); max2175_s_frequency() local 1127 struct max2175 *ctx = max2175_from_sd(sd); max2175_g_frequency() local 1142 struct max2175 *ctx = max2175_from_sd(sd); max2175_enum_freq_bands() local 1154 struct max2175 *ctx = max2175_from_sd(sd); max2175_g_tuner() local 1282 struct max2175 *ctx; max2175_probe() local 1409 struct max2175 *ctx = max2175_from_sd(sd); max2175_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/misc/cxl/ |
H A D | api.c | 50 void cxl_release_mapping(struct cxl_context *ctx) in cxl_release_mapping() argument 52 if (ctx->kernelapi && ctx->mapping) in cxl_release_mapping() 103 struct cxl_context *ctx; in cxl_dev_context_init() local 110 ctx = cxl_context_alloc(); in cxl_dev_context_init() 111 if (!ctx) in cxl_dev_context_init() 114 ctx->kernelapi = true; in cxl_dev_context_init() 117 rc = cxl_context_init(ctx, afu, false); in cxl_dev_context_init() 121 return ctx; in cxl_dev_context_init() 124 kfree(ctx); in cxl_dev_context_init() 135 cxl_release_context(struct cxl_context *ctx) cxl_release_context() argument 146 cxl_find_afu_irq(struct cxl_context *ctx, int num) cxl_find_afu_irq() argument 162 cxl_set_priv(struct cxl_context *ctx, void *priv) cxl_set_priv() argument 173 cxl_get_priv(struct cxl_context *ctx) cxl_get_priv() argument 182 cxl_allocate_afu_irqs(struct cxl_context *ctx, int num) cxl_allocate_afu_irqs() argument 212 cxl_free_afu_irqs(struct cxl_context *ctx) cxl_free_afu_irqs() argument 230 cxl_map_afu_irq(struct cxl_context *ctx, int num, irq_handler_t handler, void *cookie, char *name) cxl_map_afu_irq() argument 246 cxl_unmap_afu_irq(struct cxl_context *ctx, int num, void *cookie) cxl_unmap_afu_irq() argument 265 cxl_start_context(struct cxl_context *ctx, u64 wed, struct task_struct *task) cxl_start_context() argument 332 cxl_process_element(struct cxl_context *ctx) cxl_process_element() argument 339 cxl_stop_context(struct cxl_context *ctx) cxl_stop_context() argument 345 cxl_set_master(struct cxl_context *ctx) cxl_set_master() argument 387 cxl_get_fd(struct cxl_context *ctx, struct file_operations *fops, int *fd) cxl_get_fd() argument 442 cxl_set_driver_ops(struct cxl_context *ctx, struct cxl_afu_driver_ops *ops) cxl_set_driver_ops() argument 451 cxl_context_events_pending(struct cxl_context *ctx, unsigned int new_events) cxl_context_events_pending() argument 459 cxl_start_work(struct cxl_context *ctx, struct cxl_ioctl_start_work *work) cxl_start_work() argument 486 cxl_psa_map(struct cxl_context *ctx) cxl_psa_map() argument 503 cxl_afu_reset(struct cxl_context *ctx) cxl_afu_reset() argument [all...] |
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-xgene-slimpro.c | 141 struct slimpro_i2c_dev *ctx = to_slimpro_i2c_dev(cl); in slimpro_i2c_rx_cb() local 149 if (ctx->resp_msg) in slimpro_i2c_rx_cb() 150 *ctx->resp_msg = ((u32 *)mssg)[1]; in slimpro_i2c_rx_cb() 152 if (ctx->mbox_client.tx_block) in slimpro_i2c_rx_cb() 153 complete(&ctx->rd_complete); in slimpro_i2c_rx_cb() 158 struct slimpro_i2c_dev *ctx = to_slimpro_i2c_dev(cl); in slimpro_i2c_pcc_rx_cb() local 159 struct acpi_pcct_shared_memory *generic_comm_base = ctx->pcc_comm_addr; in slimpro_i2c_pcc_rx_cb() 171 if (ctx->resp_msg) in slimpro_i2c_pcc_rx_cb() 172 *ctx->resp_msg = ((u32 *)msg)[1]; in slimpro_i2c_pcc_rx_cb() 174 complete(&ctx in slimpro_i2c_pcc_rx_cb() 178 slimpro_i2c_pcc_tx_prepare(struct slimpro_i2c_dev *ctx, u32 *msg) slimpro_i2c_pcc_tx_prepare() argument 200 start_i2c_msg_xfer(struct slimpro_i2c_dev *ctx) start_i2c_msg_xfer() argument 215 slimpro_i2c_send_msg(struct slimpro_i2c_dev *ctx, u32 *msg, u32 *data) slimpro_i2c_send_msg() argument 243 slimpro_i2c_rd(struct slimpro_i2c_dev *ctx, u32 chip, u32 addr, u32 addrlen, u32 protocol, u32 readlen, u32 *data) slimpro_i2c_rd() argument 257 slimpro_i2c_wr(struct slimpro_i2c_dev *ctx, u32 chip, u32 addr, u32 addrlen, u32 protocol, u32 writelen, u32 data) slimpro_i2c_wr() argument 271 slimpro_i2c_blkrd(struct slimpro_i2c_dev *ctx, u32 chip, u32 addr, u32 addrlen, u32 protocol, u32 readlen, u32 with_data_len, void *data) slimpro_i2c_blkrd() argument 303 slimpro_i2c_blkwr(struct slimpro_i2c_dev *ctx, u32 chip, u32 addr, u32 addrlen, u32 protocol, u32 writelen, void *data) slimpro_i2c_blkwr() argument 344 struct slimpro_i2c_dev *ctx = i2c_get_adapdata(adap); xgene_slimpro_i2c_xfer() local 446 struct slimpro_i2c_dev *ctx; xgene_slimpro_i2c_probe() local 575 struct slimpro_i2c_dev *ctx = platform_get_drvdata(pdev); xgene_slimpro_i2c_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/misc/cxl/ |
H A D | api.c | 51 void cxl_release_mapping(struct cxl_context *ctx) in cxl_release_mapping() argument 53 if (ctx->kernelapi && ctx->mapping) in cxl_release_mapping() 104 struct cxl_context *ctx; in cxl_dev_context_init() local 111 ctx = cxl_context_alloc(); in cxl_dev_context_init() 112 if (!ctx) in cxl_dev_context_init() 115 ctx->kernelapi = true; in cxl_dev_context_init() 118 rc = cxl_context_init(ctx, afu, false); in cxl_dev_context_init() 122 return ctx; in cxl_dev_context_init() 125 kfree(ctx); in cxl_dev_context_init() 136 cxl_release_context(struct cxl_context *ctx) cxl_release_context() argument 147 cxl_find_afu_irq(struct cxl_context *ctx, int num) cxl_find_afu_irq() argument 163 cxl_set_priv(struct cxl_context *ctx, void *priv) cxl_set_priv() argument 174 cxl_get_priv(struct cxl_context *ctx) cxl_get_priv() argument 183 cxl_allocate_afu_irqs(struct cxl_context *ctx, int num) cxl_allocate_afu_irqs() argument 213 cxl_free_afu_irqs(struct cxl_context *ctx) cxl_free_afu_irqs() argument 231 cxl_map_afu_irq(struct cxl_context *ctx, int num, irq_handler_t handler, void *cookie, char *name) cxl_map_afu_irq() argument 247 cxl_unmap_afu_irq(struct cxl_context *ctx, int num, void *cookie) cxl_unmap_afu_irq() argument 266 cxl_start_context(struct cxl_context *ctx, u64 wed, struct task_struct *task) cxl_start_context() argument 333 cxl_process_element(struct cxl_context *ctx) cxl_process_element() argument 340 cxl_stop_context(struct cxl_context *ctx) cxl_stop_context() argument 346 cxl_set_master(struct cxl_context *ctx) cxl_set_master() argument 388 cxl_get_fd(struct cxl_context *ctx, struct file_operations *fops, int *fd) cxl_get_fd() argument 443 cxl_set_driver_ops(struct cxl_context *ctx, struct cxl_afu_driver_ops *ops) cxl_set_driver_ops() argument 452 cxl_context_events_pending(struct cxl_context *ctx, unsigned int new_events) cxl_context_events_pending() argument 460 cxl_start_work(struct cxl_context *ctx, struct cxl_ioctl_start_work *work) cxl_start_work() argument 487 cxl_psa_map(struct cxl_context *ctx) cxl_psa_map() argument 504 cxl_afu_reset(struct cxl_context *ctx) cxl_afu_reset() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/ |
H A D | panel-mantix-mlaf057we51.c | 48 static int mantix_init_sequence(struct mantix *ctx) in mantix_init_sequence() argument 50 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in mantix_init_sequence() 51 struct device *dev = ctx->dev; in mantix_init_sequence() 76 struct mantix *ctx = panel_to_mantix(panel); in mantix_enable() local 77 struct device *dev = ctx->dev; in mantix_enable() 81 ret = mantix_init_sequence(ctx); in mantix_enable() 83 dev_err(ctx->dev, "Panel init sequence failed: %d\n", ret); in mantix_enable() 110 struct mantix *ctx = panel_to_mantix(panel); in mantix_disable() local 111 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in mantix_disable() 116 dev_err(ctx in mantix_disable() 128 struct mantix *ctx = panel_to_mantix(panel); mantix_unprepare() local 147 struct mantix *ctx = panel_to_mantix(panel); mantix_prepare() local 223 struct mantix *ctx = panel_to_mantix(panel); mantix_get_modes() local 259 struct mantix *ctx; mantix_probe() local 325 struct mantix *ctx = mipi_dsi_get_drvdata(dsi); mantix_shutdown() local 333 struct mantix *ctx = mipi_dsi_get_drvdata(dsi); mantix_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/mmc/core/ |
H A D | slot-gpio.c | 33 struct mmc_gpio *ctx = host->slot.handler_priv; in mmc_gpio_cd_irqt() local 36 mmc_detect_change(host, msecs_to_jiffies(ctx->cd_debounce_delay_ms)); in mmc_gpio_cd_irqt() 44 struct mmc_gpio *ctx; in mmc_gpio_alloc() local 46 ctx = devm_kzalloc(host->parent, sizeof(*ctx), GFP_KERNEL); in mmc_gpio_alloc() 47 if (!ctx) in mmc_gpio_alloc() 50 ctx->cd_debounce_delay_ms = 200; in mmc_gpio_alloc() 51 ctx->cd_label = devm_kasprintf(host->parent, GFP_KERNEL, "%s cd", devname); in mmc_gpio_alloc() 52 if (!ctx->cd_label) in mmc_gpio_alloc() 54 ctx in mmc_gpio_alloc() 66 struct mmc_gpio *ctx = host->slot.handler_priv; mmc_gpio_set_cd_irq() local 77 struct mmc_gpio *ctx = host->slot.handler_priv; mmc_gpio_get_ro() local 92 struct mmc_gpio *ctx = host->slot.handler_priv; mmc_gpio_get_cd() local 107 struct mmc_gpio *ctx = host->slot.handler_priv; mmc_gpiod_request_cd_irq() local 168 struct mmc_gpio *ctx = host->slot.handler_priv; mmc_gpio_set_cd_isr() local 192 struct mmc_gpio *ctx = host->slot.handler_priv; mmc_gpiod_request_cd() local 226 struct mmc_gpio *ctx = host->slot.handler_priv; mmc_can_gpio_cd() local 244 struct mmc_gpio *ctx = host->slot.handler_priv; mmc_gpiod_request_ro() local 273 struct mmc_gpio *ctx = host->slot.handler_priv; mmc_can_gpio_ro() local [all...] |
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | hmdfs_dentryfile_cloud.c | 13 struct hmdfs_dcache_lookup_ctx_cloud *ctx, struct hmdfs_sb_info *sbi, in hmdfs_init_dcache_lookup_ctx_cloud() 16 ctx->sbi = sbi; in hmdfs_init_dcache_lookup_ctx_cloud() 17 ctx->name = qstr; in hmdfs_init_dcache_lookup_ctx_cloud() 18 ctx->filp = filp; in hmdfs_init_dcache_lookup_ctx_cloud() 19 ctx->bidx = 0; in hmdfs_init_dcache_lookup_ctx_cloud() 20 ctx->page = NULL; in hmdfs_init_dcache_lookup_ctx_cloud() 21 ctx->insense_de = NULL; in hmdfs_init_dcache_lookup_ctx_cloud() 22 ctx->insense_bidx = 0; in hmdfs_init_dcache_lookup_ctx_cloud() 23 ctx->insense_page = NULL; in hmdfs_init_dcache_lookup_ctx_cloud() 99 struct hmdfs_dcache_lookup_ctx_cloud *ctx) in hmdfs_in_level() 12 hmdfs_init_dcache_lookup_ctx_cloud( struct hmdfs_dcache_lookup_ctx_cloud *ctx, struct hmdfs_sb_info *sbi, const struct qstr *qstr, struct file *filp) hmdfs_init_dcache_lookup_ctx_cloud() argument 98 hmdfs_in_level(struct dentry *child_dentry, unsigned int level, struct hmdfs_dcache_lookup_ctx_cloud *ctx) hmdfs_in_level() argument 139 hmdfs_find_dentry_cloud(struct dentry *child_dentry, struct hmdfs_dcache_lookup_ctx_cloud *ctx) hmdfs_find_dentry_cloud() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | ctxnv40.h | 25 cp_out(struct nvkm_grctx *ctx, u32 inst) in cp_out() argument 27 u32 *ctxprog = ctx->ucode; in cp_out() 29 if (ctx->mode != NVKM_GRCTX_PROG) in cp_out() 32 BUG_ON(ctx->ctxprog_len == ctx->ctxprog_max); in cp_out() 33 ctxprog[ctx->ctxprog_len++] = inst; in cp_out() 37 cp_lsr(struct nvkm_grctx *ctx, u32 val) in cp_lsr() argument 39 cp_out(ctx, CP_LOAD_SR | val); in cp_lsr() 43 cp_ctx(struct nvkm_grctx *ctx, u32 reg, u32 length) in cp_ctx() argument 45 ctx in cp_ctx() 59 cp_name(struct nvkm_grctx *ctx, int name) cp_name() argument 79 _cp_bra(struct nvkm_grctx *ctx, u32 mod, int flag, int state, int name) _cp_bra() argument 97 _cp_wait(struct nvkm_grctx *ctx, int flag, int state) _cp_wait() argument 104 _cp_set(struct nvkm_grctx *ctx, int flag, int state) _cp_set() argument 111 cp_pos(struct nvkm_grctx *ctx, int offset) cp_pos() argument 121 gr_def(struct nvkm_grctx *ctx, u32 reg, u32 val) gr_def() argument [all...] |
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | hmdfs_dentryfile_cloud.c | 13 struct hmdfs_dcache_lookup_ctx_cloud *ctx, struct hmdfs_sb_info *sbi, in hmdfs_init_dcache_lookup_ctx_cloud() 16 ctx->sbi = sbi; in hmdfs_init_dcache_lookup_ctx_cloud() 17 ctx->name = qstr; in hmdfs_init_dcache_lookup_ctx_cloud() 18 ctx->filp = filp; in hmdfs_init_dcache_lookup_ctx_cloud() 19 ctx->bidx = 0; in hmdfs_init_dcache_lookup_ctx_cloud() 20 ctx->page = NULL; in hmdfs_init_dcache_lookup_ctx_cloud() 21 ctx->insense_de = NULL; in hmdfs_init_dcache_lookup_ctx_cloud() 22 ctx->insense_bidx = 0; in hmdfs_init_dcache_lookup_ctx_cloud() 23 ctx->insense_page = NULL; in hmdfs_init_dcache_lookup_ctx_cloud() 99 struct hmdfs_dcache_lookup_ctx_cloud *ctx) in hmdfs_in_level() 12 hmdfs_init_dcache_lookup_ctx_cloud( struct hmdfs_dcache_lookup_ctx_cloud *ctx, struct hmdfs_sb_info *sbi, const struct qstr *qstr, struct file *filp) hmdfs_init_dcache_lookup_ctx_cloud() argument 98 hmdfs_in_level(struct dentry *child_dentry, unsigned int level, struct hmdfs_dcache_lookup_ctx_cloud *ctx) hmdfs_in_level() argument 139 hmdfs_find_dentry_cloud(struct dentry *child_dentry, struct hmdfs_dcache_lookup_ctx_cloud *ctx) hmdfs_find_dentry_cloud() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | ctxnv40.h | 25 cp_out(struct nvkm_grctx *ctx, u32 inst) in cp_out() argument 27 u32 *ctxprog = ctx->ucode; in cp_out() 29 if (ctx->mode != NVKM_GRCTX_PROG) in cp_out() 32 BUG_ON(ctx->ctxprog_len == ctx->ctxprog_max); in cp_out() 33 ctxprog[ctx->ctxprog_len++] = inst; in cp_out() 37 cp_lsr(struct nvkm_grctx *ctx, u32 val) in cp_lsr() argument 39 cp_out(ctx, CP_LOAD_SR | val); in cp_lsr() 43 cp_ctx(struct nvkm_grctx *ctx, u32 reg, u32 length) in cp_ctx() argument 45 ctx in cp_ctx() 59 cp_name(struct nvkm_grctx *ctx, int name) cp_name() argument 79 _cp_bra(struct nvkm_grctx *ctx, u32 mod, int flag, int state, int name) _cp_bra() argument 97 _cp_wait(struct nvkm_grctx *ctx, int flag, int state) _cp_wait() argument 104 _cp_set(struct nvkm_grctx *ctx, int flag, int state) _cp_set() argument 111 cp_pos(struct nvkm_grctx *ctx, int offset) cp_pos() argument 121 gr_def(struct nvkm_grctx *ctx, u32 reg, u32 val) gr_def() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_hwrm.c | 28 static u64 hwrm_calc_sentinel(struct bnxt_hwrm_ctx *ctx, u16 req_type) in hwrm_calc_sentinel() argument 30 return (((uintptr_t)ctx) + req_type) ^ BNXT_HWRM_SENTINEL; in hwrm_calc_sentinel() 63 struct bnxt_hwrm_ctx *ctx; in __hwrm_req_init() local 75 ctx = (struct bnxt_hwrm_ctx *)(req_addr + BNXT_HWRM_CTX_OFFSET); in __hwrm_req_init() 77 ctx->sentinel = hwrm_calc_sentinel(ctx, req_type); in __hwrm_req_init() 78 ctx->req_len = req_len; in __hwrm_req_init() 79 ctx->req = (struct input *)req_addr; in __hwrm_req_init() 80 ctx->resp = (struct output *)(req_addr + BNXT_HWRM_RESP_OFFSET); in __hwrm_req_init() 81 ctx in __hwrm_req_init() 102 struct bnxt_hwrm_ctx *ctx = ctx_addr; __hwrm_ctx() local 137 struct bnxt_hwrm_ctx *ctx = __hwrm_ctx(bp, req); hwrm_req_timeout() local 160 struct bnxt_hwrm_ctx *ctx = __hwrm_ctx(bp, req); hwrm_req_alloc_flags() local 194 struct bnxt_hwrm_ctx *ctx = __hwrm_ctx(bp, req); hwrm_req_replace() local 247 struct bnxt_hwrm_ctx *ctx = __hwrm_ctx(bp, req); hwrm_req_flags() local 280 struct bnxt_hwrm_ctx *ctx = __hwrm_ctx(bp, req); hwrm_req_hold() local 298 __hwrm_ctx_drop(struct bnxt *bp, struct bnxt_hwrm_ctx *ctx) __hwrm_ctx_drop() argument 332 struct bnxt_hwrm_ctx *ctx = __hwrm_ctx(bp, req); hwrm_req_drop() local 459 __hwrm_send(struct bnxt *bp, struct bnxt_hwrm_ctx *ctx) __hwrm_send() argument 725 struct bnxt_hwrm_ctx *ctx = __hwrm_ctx(bp, req); hwrm_req_send() local 778 struct bnxt_hwrm_ctx *ctx = __hwrm_ctx(bp, req); hwrm_req_dma_slice() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/sti/delta/ |
H A D | delta-v4l2.c | 61 static void dump_au(struct delta_ctx *ctx, struct delta_au *au) in dump_au() argument 63 struct delta_dev *delta = ctx->dev; in dump_au() 69 ctx->name, au->vbuf.vb2_buf.index, au->dts, au->size, in dump_au() 73 ctx->name, au->vbuf.vb2_buf.index, au->dts, au->size, in dump_au() 77 static void dump_frame(struct delta_ctx *ctx, struct delta_frame *frame) in dump_frame() argument 79 struct delta_dev *delta = ctx->dev; in dump_frame() 84 ctx->name, frame->index, frame->dts, in dump_frame() 90 static void delta_au_done(struct delta_ctx *ctx, struct delta_au *au, int err) in delta_au_done() argument 95 vbuf->sequence = ctx->au_num++; in delta_au_done() 99 static void delta_frame_done(struct delta_ctx *ctx, struc argument 117 requeue_free_frames(struct delta_ctx *ctx) requeue_free_frames() argument 134 delta_recycle(struct delta_ctx *ctx, struct delta_frame *frame) delta_recycle() argument 159 delta_push_dts(struct delta_ctx *ctx, u64 val) delta_push_dts() argument 177 delta_pop_dts(struct delta_ctx *ctx, u64 *val) delta_pop_dts() argument 201 delta_flush_dts(struct delta_ctx *ctx) delta_flush_dts() argument 242 set_default_params(struct delta_ctx *ctx) set_default_params() argument 278 delta_find_decoder(struct delta_ctx *ctx, u32 streamformat, u32 pixelformat) delta_find_decoder() argument 342 delta_open_decoder(struct delta_ctx *ctx, u32 streamformat, u32 pixelformat, const struct delta_dec **pdec) delta_open_decoder() argument 385 struct delta_ctx *ctx = to_ctx(file->private_data); delta_querycap() local 399 struct delta_ctx *ctx = to_ctx(file->private_data); delta_enum_fmt_stream() local 413 struct delta_ctx *ctx = to_ctx(file->private_data); delta_enum_fmt_frame() local 427 struct delta_ctx *ctx = to_ctx(file->private_data); delta_g_fmt_stream() local 455 struct delta_ctx *ctx = to_ctx(file->private_data); delta_g_fmt_frame() local 494 struct delta_ctx *ctx = to_ctx(file->private_data); delta_try_fmt_stream() local 548 struct delta_ctx *ctx = to_ctx(file->private_data); delta_try_fmt_frame() local 608 struct delta_ctx *ctx = to_ctx(file->private_data); delta_s_fmt_stream() local 644 struct delta_ctx *ctx = to_ctx(file->private_data); delta_s_fmt_frame() local 724 struct delta_ctx *ctx = to_ctx(fh); delta_g_selection() local 763 delta_complete_eos(struct delta_ctx *ctx, struct delta_frame *frame) delta_complete_eos() argument 806 delta_decoder_stop_cmd(struct delta_ctx *ctx, void *fh) delta_decoder_stop_cmd() argument 869 struct delta_ctx *ctx = to_ctx(fh); delta_decoder_cmd() local 924 struct delta_ctx *ctx = container_of(work, struct delta_ctx, run_work); delta_run_work() local 1039 struct delta_ctx *ctx = priv; delta_device_run() local 1047 struct delta_ctx *ctx = priv; delta_job_abort() local 1057 struct delta_ctx *ctx = priv; delta_job_ready() local 1100 struct delta_ctx *ctx = vb2_get_drv_priv(vq); delta_vb2_au_queue_setup() local 1120 struct delta_ctx *ctx = vb2_get_drv_priv(q); delta_vb2_au_prepare() local 1141 delta_setup_frame(struct delta_ctx *ctx, struct delta_frame *frame) delta_setup_frame() argument 1180 delta_get_frameinfo_default(struct delta_ctx *ctx, struct delta_frameinfo *frameinfo) delta_get_frameinfo_default() argument 1221 dump_frames_status(struct delta_ctx *ctx) dump_frames_status() argument 1241 delta_get_free_frame(struct delta_ctx *ctx, struct delta_frame **pframe) delta_get_free_frame() argument 1274 delta_get_sync(struct delta_ctx *ctx) delta_get_sync() argument 1290 delta_put_autosuspend(struct delta_ctx *ctx) delta_put_autosuspend() argument 1300 struct delta_ctx *ctx = vb2_get_drv_priv(q); delta_vb2_au_queue() local 1309 struct delta_ctx *ctx = vb2_get_drv_priv(q); delta_vb2_au_start_streaming() local 1402 struct delta_ctx *ctx = vb2_get_drv_priv(q); delta_vb2_au_stop_streaming() local 1422 struct delta_ctx *ctx = vb2_get_drv_priv(vq); delta_vb2_frame_queue_setup() local 1466 struct delta_ctx *ctx = vb2_get_drv_priv(q); delta_vb2_frame_prepare() local 1512 struct delta_ctx *ctx = vb2_get_drv_priv(q); delta_vb2_frame_queue() local 1532 struct delta_ctx *ctx = vb2_get_drv_priv(q); delta_vb2_frame_stop_streaming() local 1589 struct delta_ctx *ctx = priv; queue_init() local 1630 struct delta_ctx *ctx = NULL; delta_open() local 1702 struct delta_ctx *ctx = to_ctx(file->private_data); delta_release() local [all...] |
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-xgene-slimpro.c | 141 struct slimpro_i2c_dev *ctx = to_slimpro_i2c_dev(cl); in slimpro_i2c_rx_cb() local 149 if (ctx->resp_msg) in slimpro_i2c_rx_cb() 150 *ctx->resp_msg = ((u32 *)mssg)[1]; in slimpro_i2c_rx_cb() 152 if (ctx->mbox_client.tx_block) in slimpro_i2c_rx_cb() 153 complete(&ctx->rd_complete); in slimpro_i2c_rx_cb() 158 struct slimpro_i2c_dev *ctx = to_slimpro_i2c_dev(cl); in slimpro_i2c_pcc_rx_cb() local 159 struct acpi_pcct_shared_memory *generic_comm_base = ctx->pcc_comm_addr; in slimpro_i2c_pcc_rx_cb() 171 if (ctx->resp_msg) in slimpro_i2c_pcc_rx_cb() 172 *ctx->resp_msg = ((u32 *)msg)[1]; in slimpro_i2c_pcc_rx_cb() 174 complete(&ctx in slimpro_i2c_pcc_rx_cb() 178 slimpro_i2c_pcc_tx_prepare(struct slimpro_i2c_dev *ctx, u32 *msg) slimpro_i2c_pcc_tx_prepare() argument 200 start_i2c_msg_xfer(struct slimpro_i2c_dev *ctx) start_i2c_msg_xfer() argument 215 slimpro_i2c_send_msg(struct slimpro_i2c_dev *ctx, u32 *msg, u32 *data) slimpro_i2c_send_msg() argument 243 slimpro_i2c_rd(struct slimpro_i2c_dev *ctx, u32 chip, u32 addr, u32 addrlen, u32 protocol, u32 readlen, u32 *data) slimpro_i2c_rd() argument 257 slimpro_i2c_wr(struct slimpro_i2c_dev *ctx, u32 chip, u32 addr, u32 addrlen, u32 protocol, u32 writelen, u32 data) slimpro_i2c_wr() argument 271 slimpro_i2c_blkrd(struct slimpro_i2c_dev *ctx, u32 chip, u32 addr, u32 addrlen, u32 protocol, u32 readlen, u32 with_data_len, void *data) slimpro_i2c_blkrd() argument 303 slimpro_i2c_blkwr(struct slimpro_i2c_dev *ctx, u32 chip, u32 addr, u32 addrlen, u32 protocol, u32 writelen, void *data) slimpro_i2c_blkwr() argument 344 struct slimpro_i2c_dev *ctx = i2c_get_adapdata(adap); xgene_slimpro_i2c_xfer() local 446 struct slimpro_i2c_dev *ctx; xgene_slimpro_i2c_probe() local 565 struct slimpro_i2c_dev *ctx = platform_get_drvdata(pdev); xgene_slimpro_i2c_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/delta/ |
H A D | delta-v4l2.c | 61 static void dump_au(struct delta_ctx *ctx, struct delta_au *au) in dump_au() argument 63 struct delta_dev *delta = ctx->dev; in dump_au() 69 ctx->name, au->vbuf.vb2_buf.index, au->dts, au->size, in dump_au() 73 ctx->name, au->vbuf.vb2_buf.index, au->dts, au->size, in dump_au() 77 static void dump_frame(struct delta_ctx *ctx, struct delta_frame *frame) in dump_frame() argument 79 struct delta_dev *delta = ctx->dev; in dump_frame() 84 ctx->name, frame->index, frame->dts, in dump_frame() 90 static void delta_au_done(struct delta_ctx *ctx, struct delta_au *au, int err) in delta_au_done() argument 95 vbuf->sequence = ctx->au_num++; in delta_au_done() 99 static void delta_frame_done(struct delta_ctx *ctx, struc argument 117 requeue_free_frames(struct delta_ctx *ctx) requeue_free_frames() argument 134 delta_recycle(struct delta_ctx *ctx, struct delta_frame *frame) delta_recycle() argument 159 delta_push_dts(struct delta_ctx *ctx, u64 val) delta_push_dts() argument 177 delta_pop_dts(struct delta_ctx *ctx, u64 *val) delta_pop_dts() argument 201 delta_flush_dts(struct delta_ctx *ctx) delta_flush_dts() argument 242 set_default_params(struct delta_ctx *ctx) set_default_params() argument 278 delta_find_decoder(struct delta_ctx *ctx, u32 streamformat, u32 pixelformat) delta_find_decoder() argument 342 delta_open_decoder(struct delta_ctx *ctx, u32 streamformat, u32 pixelformat, const struct delta_dec **pdec) delta_open_decoder() argument 385 struct delta_ctx *ctx = to_ctx(file->private_data); delta_querycap() local 399 struct delta_ctx *ctx = to_ctx(file->private_data); delta_enum_fmt_stream() local 413 struct delta_ctx *ctx = to_ctx(file->private_data); delta_enum_fmt_frame() local 427 struct delta_ctx *ctx = to_ctx(file->private_data); delta_g_fmt_stream() local 455 struct delta_ctx *ctx = to_ctx(file->private_data); delta_g_fmt_frame() local 494 struct delta_ctx *ctx = to_ctx(file->private_data); delta_try_fmt_stream() local 548 struct delta_ctx *ctx = to_ctx(file->private_data); delta_try_fmt_frame() local 608 struct delta_ctx *ctx = to_ctx(file->private_data); delta_s_fmt_stream() local 644 struct delta_ctx *ctx = to_ctx(file->private_data); delta_s_fmt_frame() local 724 struct delta_ctx *ctx = to_ctx(fh); delta_g_selection() local 763 delta_complete_eos(struct delta_ctx *ctx, struct delta_frame *frame) delta_complete_eos() argument 806 delta_decoder_stop_cmd(struct delta_ctx *ctx, void *fh) delta_decoder_stop_cmd() argument 869 struct delta_ctx *ctx = to_ctx(fh); delta_decoder_cmd() local 924 struct delta_ctx *ctx = container_of(work, struct delta_ctx, run_work); delta_run_work() local 1036 struct delta_ctx *ctx = priv; delta_device_run() local 1044 struct delta_ctx *ctx = priv; delta_job_abort() local 1054 struct delta_ctx *ctx = priv; delta_job_ready() local 1097 struct delta_ctx *ctx = vb2_get_drv_priv(vq); delta_vb2_au_queue_setup() local 1117 struct delta_ctx *ctx = vb2_get_drv_priv(q); delta_vb2_au_prepare() local 1138 delta_setup_frame(struct delta_ctx *ctx, struct delta_frame *frame) delta_setup_frame() argument 1177 delta_get_frameinfo_default(struct delta_ctx *ctx, struct delta_frameinfo *frameinfo) delta_get_frameinfo_default() argument 1218 dump_frames_status(struct delta_ctx *ctx) dump_frames_status() argument 1238 delta_get_free_frame(struct delta_ctx *ctx, struct delta_frame **pframe) delta_get_free_frame() argument 1271 delta_get_sync(struct delta_ctx *ctx) delta_get_sync() argument 1287 delta_put_autosuspend(struct delta_ctx *ctx) delta_put_autosuspend() argument 1297 struct delta_ctx *ctx = vb2_get_drv_priv(q); delta_vb2_au_queue() local 1306 struct delta_ctx *ctx = vb2_get_drv_priv(q); delta_vb2_au_start_streaming() local 1399 struct delta_ctx *ctx = vb2_get_drv_priv(q); delta_vb2_au_stop_streaming() local 1419 struct delta_ctx *ctx = vb2_get_drv_priv(vq); delta_vb2_frame_queue_setup() local 1463 struct delta_ctx *ctx = vb2_get_drv_priv(q); delta_vb2_frame_prepare() local 1509 struct delta_ctx *ctx = vb2_get_drv_priv(q); delta_vb2_frame_queue() local 1529 struct delta_ctx *ctx = vb2_get_drv_priv(q); delta_vb2_frame_stop_streaming() local 1586 struct delta_ctx *ctx = priv; queue_init() local 1627 struct delta_ctx *ctx = NULL; delta_open() local 1697 struct delta_ctx *ctx = to_ctx(file->private_data); delta_release() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/sprd/ |
H A D | sprd_dsi.c | 136 dsi_reg_rd(struct dsi_context *ctx, u32 offset, u32 mask, in dsi_reg_rd() argument 139 return (readl(ctx->base + offset) & mask) >> shift; in dsi_reg_rd() 143 dsi_reg_wr(struct dsi_context *ctx, u32 offset, u32 mask, in dsi_reg_wr() argument 148 ret = readl(ctx->base + offset); in dsi_reg_wr() 151 writel(ret, ctx->base + offset); in dsi_reg_wr() 155 dsi_reg_up(struct dsi_context *ctx, u32 offset, u32 mask, in dsi_reg_up() argument 158 u32 ret = readl(ctx->base + offset); in dsi_reg_up() 160 writel((ret & ~mask) | (val & mask), ctx->base + offset); in dsi_reg_up() 166 struct dsi_context *ctx = &dsi->ctx; in regmap_tst_io_write() local 188 struct dsi_context *ctx = &dsi->ctx; regmap_tst_io_read() local 222 dphy_wait_pll_locked(struct dsi_context *ctx) dphy_wait_pll_locked() argument 237 dsi_wait_tx_payload_fifo_empty(struct dsi_context *ctx) dsi_wait_tx_payload_fifo_empty() argument 250 dsi_wait_tx_cmd_fifo_empty(struct dsi_context *ctx) dsi_wait_tx_cmd_fifo_empty() argument 263 dsi_wait_rd_resp_completed(struct dsi_context *ctx) dsi_wait_rd_resp_completed() argument 389 sprd_dsi_init(struct dsi_context *ctx) sprd_dsi_init() argument 434 sprd_dsi_fini(struct dsi_context *ctx) sprd_dsi_fini() argument 447 sprd_dsi_dpi_video(struct dsi_context *ctx) sprd_dsi_dpi_video() argument 581 sprd_dsi_edpi_video(struct dsi_context *ctx) sprd_dsi_edpi_video() argument 619 sprd_dsi_wr_pkt(struct dsi_context *ctx, u8 vc, u8 type, const u8 *param, u16 len) sprd_dsi_wr_pkt() argument 674 sprd_dsi_rd_pkt(struct dsi_context *ctx, u8 vc, u8 type, u8 msb_byte, u8 lsb_byte, u8 *buffer, u8 bytes_to_read) sprd_dsi_rd_pkt() argument 728 sprd_dsi_set_work_mode(struct dsi_context *ctx, u8 mode) sprd_dsi_set_work_mode() argument 736 sprd_dsi_state_reset(struct dsi_context *ctx) sprd_dsi_state_reset() argument 743 sprd_dphy_init(struct dsi_context *ctx) sprd_dphy_init() argument 774 sprd_dphy_fini(struct dsi_context *ctx) sprd_dphy_fini() argument 794 struct dsi_context *ctx = &dsi->ctx; sprd_dsi_encoder_enable() local 831 struct dsi_context *ctx = &dsi->ctx; sprd_dsi_encoder_disable() local 903 struct dsi_context *ctx = &dsi->ctx; sprd_dsi_context_init() local 978 struct dsi_context *ctx = &dsi->ctx; sprd_dsi_host_attach() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/ |
H A D | panel-samsung-s6e63m0.c | 141 static int s6e63m0_clear_error(struct s6e63m0 *ctx) in s6e63m0_clear_error() argument 143 int ret = ctx->error; in s6e63m0_clear_error() 145 ctx->error = 0; in s6e63m0_clear_error() 149 static void s6e63m0_dcs_read(struct s6e63m0 *ctx, const u8 cmd, u8 *data) in s6e63m0_dcs_read() argument 151 if (ctx->error < 0) in s6e63m0_dcs_read() 154 ctx->error = ctx->dcs_read(ctx->dev, cmd, data); in s6e63m0_dcs_read() 157 static void s6e63m0_dcs_write(struct s6e63m0 *ctx, const u8 *data, size_t len) in s6e63m0_dcs_write() argument 159 if (ctx in s6e63m0_dcs_write() 171 s6e63m0_check_lcd_type(struct s6e63m0 *ctx) s6e63m0_check_lcd_type() argument 208 s6e63m0_init(struct s6e63m0 *ctx) s6e63m0_init() argument 281 s6e63m0_power_on(struct s6e63m0 *ctx) s6e63m0_power_on() argument 300 s6e63m0_power_off(struct s6e63m0 *ctx) s6e63m0_power_off() argument 316 struct s6e63m0 *ctx = panel_to_s6e63m0(panel); s6e63m0_disable() local 335 struct s6e63m0 *ctx = panel_to_s6e63m0(panel); s6e63m0_unprepare() local 354 struct s6e63m0 *ctx = panel_to_s6e63m0(panel); s6e63m0_prepare() local 387 struct s6e63m0 *ctx = panel_to_s6e63m0(panel); s6e63m0_enable() local 440 struct s6e63m0 *ctx = bl_get_data(bd); s6e63m0_set_brightness() local 458 s6e63m0_backlight_register(struct s6e63m0 *ctx) s6e63m0_backlight_register() argument 484 struct s6e63m0 *ctx; s6e63m0_probe() local 530 struct s6e63m0 *ctx = dev_get_drvdata(dev); s6e63m0_remove() local [all...] |
/kernel/linux/linux-5.10/sound/soc/intel/skylake/ |
H A D | skl-sst-dsp.c | 22 void skl_dsp_set_state_locked(struct sst_dsp *ctx, int state) in skl_dsp_set_state_locked() argument 24 mutex_lock(&ctx->mutex); in skl_dsp_set_state_locked() 25 ctx->sst_state = state; in skl_dsp_set_state_locked() 26 mutex_unlock(&ctx->mutex); in skl_dsp_set_state_locked() 34 void skl_dsp_init_core_state(struct sst_dsp *ctx) in skl_dsp_init_core_state() argument 36 struct skl_dev *skl = ctx->thread_context; in skl_dsp_init_core_state() 49 unsigned int skl_dsp_get_enabled_cores(struct sst_dsp *ctx) in skl_dsp_get_enabled_cores() argument 51 struct skl_dev *skl = ctx->thread_context; in skl_dsp_get_enabled_cores() 57 val = sst_dsp_shim_read_unlocked(ctx, SKL_ADSP_REG_ADSPCS); in skl_dsp_get_enabled_cores() 72 dev_dbg(ctx in skl_dsp_get_enabled_cores() 78 skl_dsp_core_set_reset_state(struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_core_set_reset_state() argument 105 skl_dsp_core_unset_reset_state( struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_core_unset_reset_state() argument 135 is_skl_dsp_core_enable(struct sst_dsp *ctx, unsigned int core_mask) is_skl_dsp_core_enable() argument 153 skl_dsp_reset_core(struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_reset_core() argument 164 skl_dsp_start_core(struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_start_core() argument 188 skl_dsp_core_power_up(struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_core_power_up() argument 216 skl_dsp_core_power_down(struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_core_power_down() argument 231 skl_dsp_enable_core(struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_enable_core() argument 246 skl_dsp_disable_core(struct sst_dsp *ctx, unsigned int core_mask) skl_dsp_disable_core() argument 274 skl_dsp_boot(struct sst_dsp *ctx) skl_dsp_boot() argument 304 struct sst_dsp *ctx = dev_id; skl_dsp_sst_interrupt() local 336 skl_dsp_get_core(struct sst_dsp *ctx, unsigned int core_id) skl_dsp_get_core() argument 365 skl_dsp_put_core(struct sst_dsp *ctx, unsigned int core_id) skl_dsp_put_core() argument 393 skl_dsp_wake(struct sst_dsp *ctx) skl_dsp_wake() argument 399 skl_dsp_sleep(struct sst_dsp *ctx) skl_dsp_sleep() argument 458 is_skl_dsp_running(struct sst_dsp *ctx) is_skl_dsp_running() argument [all...] |