Home
last modified time | relevance | path

Searched refs:mtype (Results 1 – 25 of 56) sorted by relevance

123

/drivers/vfio/mdev/
Dmdev_sysfs.c19 ssize_t (*show)(struct mdev_type *mtype,
21 ssize_t (*store)(struct mdev_type *mtype,
61 static ssize_t create_store(struct mdev_type *mtype, in create_store() argument
81 ret = mdev_device_create(mtype, &uuid); in create_store()
89 static ssize_t device_api_show(struct mdev_type *mtype, in device_api_show() argument
92 return sysfs_emit(buf, "%s\n", mtype->parent->mdev_driver->device_api); in device_api_show()
96 static ssize_t name_show(struct mdev_type *mtype, in name_show() argument
100 mtype->pretty_name ? mtype->pretty_name : mtype->sysfs_name); in name_show()
105 static ssize_t available_instances_show(struct mdev_type *mtype, in available_instances_show() argument
109 struct mdev_driver *drv = mtype->parent->mdev_driver; in available_instances_show()
[all …]
/drivers/edac/
Dghes_edac.c135 dimm->mtype = MEM_RDDR; in assign_dmi_dimm_info()
137 dimm->mtype = MEM_DDR; in assign_dmi_dimm_info()
141 dimm->mtype = MEM_RDDR2; in assign_dmi_dimm_info()
143 dimm->mtype = MEM_DDR2; in assign_dmi_dimm_info()
146 dimm->mtype = MEM_FB_DDR2; in assign_dmi_dimm_info()
150 dimm->mtype = MEM_NVDIMM; in assign_dmi_dimm_info()
152 dimm->mtype = MEM_RDDR3; in assign_dmi_dimm_info()
154 dimm->mtype = MEM_DDR3; in assign_dmi_dimm_info()
158 dimm->mtype = MEM_NVDIMM; in assign_dmi_dimm_info()
160 dimm->mtype = MEM_RDDR4; in assign_dmi_dimm_info()
[all …]
Di82443bxgx_edac.c186 enum mem_type mtype) in i82443bxgx_init_csrows() argument
222 dimm->mtype = mtype; in i82443bxgx_init_csrows()
237 enum mem_type mtype; in i82443bxgx_edacmc_probe1() local
265 mtype = MEM_EDO; in i82443bxgx_edacmc_probe1()
268 mtype = MEM_SDR; in i82443bxgx_edacmc_probe1()
271 mtype = MEM_RDR; in i82443bxgx_edacmc_probe1()
275 mtype = -MEM_UNKNOWN; in i82443bxgx_edacmc_probe1()
278 if ((mtype == MEM_SDR) || (mtype == MEM_RDR)) in i82443bxgx_edacmc_probe1()
308 i82443bxgx_init_csrows(mci, pdev, edac_mode, mtype); in i82443bxgx_edacmc_probe1()
Dfsl_ddr_edac.c396 enum mem_type mtype; in fsl_ddr_init_csrows() local
406 mtype = MEM_RDDR; in fsl_ddr_init_csrows()
409 mtype = MEM_RDDR2; in fsl_ddr_init_csrows()
412 mtype = MEM_RDDR3; in fsl_ddr_init_csrows()
415 mtype = MEM_RDDR4; in fsl_ddr_init_csrows()
418 mtype = MEM_UNKNOWN; in fsl_ddr_init_csrows()
424 mtype = MEM_DDR; in fsl_ddr_init_csrows()
427 mtype = MEM_DDR2; in fsl_ddr_init_csrows()
430 mtype = MEM_DDR3; in fsl_ddr_init_csrows()
433 mtype = MEM_DDR4; in fsl_ddr_init_csrows()
[all …]
Dbluefield_edac.c195 dimm->mtype = MEM_EMPTY; in bluefield_edac_init_dimms()
204 dimm->mtype = MEM_NVDIMM; in bluefield_edac_init_dimms()
206 dimm->mtype = MEM_LRDDR4; in bluefield_edac_init_dimms()
208 dimm->mtype = MEM_RDDR4; in bluefield_edac_init_dimms()
210 dimm->mtype = MEM_DDR4; in bluefield_edac_init_dimms()
Dskx_common.c348 enum mem_type mtype; in skx_get_dimm_info() local
357 mtype = MEM_HBM2; in skx_get_dimm_info()
360 mtype = MEM_DDR5; in skx_get_dimm_info()
363 mtype = MEM_DDR4; in skx_get_dimm_info()
385 dimm->mtype = mtype; in skx_get_dimm_info()
434 dimm->mtype = MEM_NVDIMM; in skx_get_nvdimm_info()
Dsb_edac.c886 enum mem_type mtype; in get_memory_type() local
893 mtype = MEM_RDDR3; in get_memory_type()
895 mtype = MEM_DDR3; in get_memory_type()
897 mtype = MEM_UNKNOWN; in get_memory_type()
899 return mtype; in get_memory_type()
906 enum mem_type mtype = MEM_UNKNOWN; in haswell_get_memory_type() local
920 mtype = MEM_RDDR4; in haswell_get_memory_type()
922 mtype = MEM_DDR4; in haswell_get_memory_type()
925 mtype = MEM_RDDR3; in haswell_get_memory_type()
927 mtype = MEM_DDR3; in haswell_get_memory_type()
[all …]
Die31200_edac.c507 dimm->mtype = MEM_DDR4; in ie31200_probe1()
509 dimm->mtype = MEM_DDR3; in ie31200_probe1()
518 dimm->mtype = MEM_DDR4; in ie31200_probe1()
520 dimm->mtype = MEM_DDR3; in ie31200_probe1()
Dppc4xx_edac.c880 enum mem_type mtype; in ppc4xx_edac_init_csrows() local
888 mtype = ppc4xx_edac_get_mtype(mcopt1); in ppc4xx_edac_init_csrows()
964 dimm->mtype = mtype; in ppc4xx_edac_init_csrows()
Dti_edac.c184 dimm->mtype = MEM_DDR2; in ti_edac_setup_dimm()
186 dimm->mtype = MEM_DDR3; in ti_edac_setup_dimm()
Dskx_base.c58 enum munittype mtype; member
110 switch (m->mtype) { in get_all_munits()
115 d->imc[i].chan[m->mtype].cdev = pdev; in get_all_munits()
121 d->imc[i].chan[m->mtype - ERRCHAN0].edev = pdev; in get_all_munits()
Digen6_edac.c799 enum mem_type mtype; in igen6_get_dimm_config() local
807 mtype = get_memory_type(mad_inter); in igen6_get_dimm_config()
838 dimm->mtype = mtype; in igen6_get_dimm_config()
Damd76x_edac.c213 dimm->mtype = MEM_RDDR; in amd76x_init_csrows()
Dpasemi_edac.c172 dimm->mtype = MEM_DDR; in pasemi_edac_init_csrows()
Di7core_edac.c493 enum mem_type mtype; in get_dimm_config() local
560 mtype = MEM_RDDR3; in get_dimm_config()
562 mtype = MEM_DDR3; in get_dimm_config()
625 dimm->mtype = mtype; in get_dimm_config()
Dhighbank_mc_edac.c227 dimm->mtype = MEM_DDR3; in highbank_mc_probe()
Dr82600_edac.c258 dimm->mtype = reg_sdram ? MEM_RDDR : MEM_DDR; in r82600_init_csrows()
Di82860_edac.c178 dimm->mtype = MEM_RMBS; in i82860_init_csrows()
Dcell_edac.c154 dimm->mtype = MEM_XDR; in cell_edac_init_csrows()
/drivers/scsi/csiostor/
Dcsio_hw_t5.c253 csio_t5_memory_rw(struct csio_hw *hw, u32 win, int mtype, u32 addr, in csio_t5_memory_rw() argument
273 if (mtype != MEM_MC1) in csio_t5_memory_rw()
274 memoffset = (mtype * (edc_size * 1024 * 1024)); in csio_t5_memory_rw()
309 mtype, addr, len); in csio_t5_memory_rw()
Dcsio_hw.c184 csio_memory_write(struct csio_hw *hw, int mtype, u32 addr, u32 len, u32 *buf) in csio_memory_write() argument
186 return hw->chip_ops->chip_memory_rw(hw, MEMWIN_CSIOSTOR, mtype, in csio_memory_write()
1974 unsigned int mtype = 0, maddr = 0; in csio_hw_flash_config() local
2005 mtype = FW_PARAMS_PARAM_Y_G(*fw_cfg_param); in csio_hw_flash_config()
2008 ret = csio_memory_write(hw, mtype, maddr, in csio_hw_flash_config()
2022 ret = csio_memory_write(hw, mtype, maddr + size, 4, &last.word); in csio_hw_flash_config()
2056 unsigned int mtype, maddr; in csio_hw_use_fwconfig() local
2085 mtype = FW_MEMTYPE_CF_FLASH; in csio_hw_use_fwconfig()
2089 mtype = FW_PARAMS_PARAM_Y_G(*fw_cfg_param); in csio_hw_use_fwconfig()
2112 FW_CAPS_CONFIG_CMD_MEMTYPE_CF_V(mtype) | in csio_hw_use_fwconfig()
/drivers/net/ethernet/netronome/nfp/flower/
Dtunnel_conf.c281 nfp_flower_xmit_tun_conf(struct nfp_app *app, u8 mtype, u16 plen, void *pdata, in nfp_flower_xmit_tun_conf() argument
289 (mtype == NFP_FLOWER_CMSG_TYPE_TUN_NEIGH || in nfp_flower_xmit_tun_conf()
290 mtype == NFP_FLOWER_CMSG_TYPE_TUN_NEIGH_V6)) in nfp_flower_xmit_tun_conf()
293 skb = nfp_flower_cmsg_alloc(app, plen, mtype, flag); in nfp_flower_xmit_tun_conf()
460 u8 mtype; in nfp_tun_write_neigh() local
491 mtype = NFP_FLOWER_CMSG_TYPE_TUN_NEIGH_V6; in nfp_tun_write_neigh()
501 mtype = NFP_FLOWER_CMSG_TYPE_TUN_NEIGH; in nfp_tun_write_neigh()
516 nfp_flower_xmit_tun_conf(app, mtype, neigh_size, in nfp_tun_write_neigh()
527 mtype = NFP_FLOWER_CMSG_TYPE_TUN_NEIGH_V6; in nfp_tun_write_neigh()
535 mtype = NFP_FLOWER_CMSG_TYPE_TUN_NEIGH; in nfp_tun_write_neigh()
[all …]
/drivers/gpu/drm/amd/amdkfd/
Dkfd_mqd_manager_vi.c173 unsigned int mtype, unsigned int atc_bit) in __update_mqd() argument
181 mtype << CP_HQD_PQ_CONTROL__MTYPE__SHIFT; in __update_mqd()
200 mtype << CP_HQD_EOP_CONTROL__MTYPE__SHIFT; in __update_mqd()
204 mtype << CP_HQD_IB_CONTROL__MTYPE__SHIFT; in __update_mqd()
221 mtype << CP_HQD_IQ_TIMER__MTYPE__SHIFT; in __update_mqd()
233 mtype << CP_HQD_CTX_SAVE_CONTROL__MTYPE__SHIFT; in __update_mqd()
/drivers/ata/
Dpata_it821x.c610 const char *mtype = ""; in it821x_display_disk() local
625 mtype = "UDMA"; in it821x_display_disk()
628 mtype = "MWDMA"; in it821x_display_disk()
635 snprintf(mbuf, 8, "%5s%d", mtype, mode - 1); in it821x_display_disk()
/drivers/gpu/drm/i915/gvt/
Dkvmgt.c116 static ssize_t intel_vgpu_show_description(struct mdev_type *mtype, char *buf) in intel_vgpu_show_description() argument
119 container_of(mtype, struct intel_vgpu_type, type); in intel_vgpu_show_description()
1514 static unsigned int intel_vgpu_get_available(struct mdev_type *mtype) in intel_vgpu_get_available() argument
1517 container_of(mtype, struct intel_vgpu_type, type); in intel_vgpu_get_available()
1518 struct intel_gvt *gvt = kdev_to_i915(mtype->parent->dev)->gvt; in intel_vgpu_get_available()

123