Home
last modified time | relevance | path

Searched refs:mcode (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/crypto/cavium/cpt/
H A Dcptpf_main.c122 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 Dcptpf_mbox.c61 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 Dcptpf.h53 struct microcode mcode[CPT_MAX_CORE_GROUPS]; member
/linux/drivers/staging/media/starfive/camss/
H A Dstf-isp-hw-ops.c365 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 Dstf-isp.c34 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 Dstf-video.c39 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 Dstf-isp.h422 struct v4l2_rect *crop, u32 mcode);
/linux/drivers/media/platform/qcom/camss/
H A Dcamss-video.c339 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 Dvc.c747 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 Dsb16_csp.c296 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 Docrdma_hw.c1001 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()