Searched refs:mcode (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/crypto/cavium/cpt/ |
H A D | cptpf_main.c | 122 static int cpt_load_microcode(struct cpt_device *cpt, struct microcode *mcode) in cpt_load_microcode() argument 128 if (!mcode || !mcode->code) { in cpt_load_microcode() 133 if (mcode->code_size == 0) { in cpt_load_microcode() 141 if (mcode->is_ae) { in cpt_load_microcode() 151 if (mcode->core_mask & (1 << shift)) { in cpt_load_microcode() 154 (u64)mcode->phys_base); in cpt_load_microcode() 160 static int do_cpt_init(struct cpt_device *cpt, struct microcode *mcode) in do_cpt_init() argument 170 if (mcode->is_ae) { in do_cpt_init() 171 if (mcode->num_cores > cpt->max_ae_cores) { in do_cpt_init() 182 mcode->group = cpt->next_group; in do_cpt_init() [all …]
|
H A D | cptpf_mbox.c | 61 struct microcode *mcode = cpt->mcode; in cpt_bind_vq_to_grp() local 78 pf_qx_ctl.s.grp = mcode[grp].group; in cpt_bind_vq_to_grp() 80 dev_dbg(dev, "VF %d TYPE %s", q, (mcode[grp].is_ae ? "AE" : "SE")); in cpt_bind_vq_to_grp() 82 return mcode[grp].is_ae ? AE_TYPES : SE_TYPES; in cpt_bind_vq_to_grp()
|
H A D | cptpf.h | 53 struct microcode mcode[CPT_MAX_CORE_GROUPS]; member
|
/linux/drivers/staging/media/starfive/camss/ |
H A D | stf-isp-hw-ops.c | 365 static void stf_isp_config_raw_fmt(struct stfcamss *stfcamss, u32 mcode) in stf_isp_config_raw_fmt() argument 369 switch (mcode) { in stf_isp_config_raw_fmt() 409 struct v4l2_rect *crop, u32 mcode) in stf_isp_settings() argument 414 stf_isp_config_raw_fmt(stfcamss, mcode); in stf_isp_settings()
|
H A D | stf-isp.c | 34 stf_g_fmt_by_mcode(const struct stf_isp_format_table *fmt_table, u32 mcode) in stf_g_fmt_by_mcode() argument 39 if (fmt_table->fmts[i].code == mcode) in stf_g_fmt_by_mcode()
|
H A D | stf-video.c | 39 video_g_fi_by_mcode(struct stfcamss_video *video, u32 mcode) in video_g_fi_by_mcode() argument 44 if (video->formats[i].code == mcode) in video_g_fi_by_mcode()
|
H A D | stf-isp.h | 422 struct v4l2_rect *crop, u32 mcode);
|
/linux/drivers/media/platform/qcom/camss/ |
H A D | camss-video.c | 339 u32 mcode = f->mbus_code; in video_enum_fmt() local 361 if (mcode != 0 && video->formats[i].code != mcode) in video_enum_fmt() 365 if (mcode != 0 && video->formats[j].code != mcode) in video_enum_fmt()
|
/linux/arch/arm/mach-omap2/ |
H A D | vc.c | 747 u8 mcode; in omap_vc_i2c_init() local 769 mcode = voltdm->pmic->i2c_mcode; in omap_vc_i2c_init() 770 if (mcode) in omap_vc_i2c_init() 772 mcode << __ffs(vc->common->i2c_mcode_mask), in omap_vc_i2c_init()
|
/linux/sound/isa/sb/ |
H A D | sb16_csp.c | 296 struct snd_sb_csp_microcode __user * mcode) in snd_sb_csp_riff_load() argument 312 if (copy_from_user(&info, mcode, sizeof(info))) in snd_sb_csp_riff_load() 314 data_ptr = mcode->data; in snd_sb_csp_riff_load()
|
/linux/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_hw.c | 1001 u8 mcode; in ocrdma_irq_handler() local 1008 mcode = (eqe.id_valid & OCRDMA_EQE_MAJOR_CODE_MASK) in ocrdma_irq_handler() 1010 if (mcode == OCRDMA_MAJOR_CODE_SENTINAL) in ocrdma_irq_handler()
|