/drivers/vfio/mdev/ |
D | mdev_sysfs.c | 19 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/ |
D | ghes_edac.c | 135 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 …]
|
D | i82443bxgx_edac.c | 186 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()
|
D | fsl_ddr_edac.c | 396 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 …]
|
D | bluefield_edac.c | 195 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()
|
D | skx_common.c | 348 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()
|
D | sb_edac.c | 886 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 …]
|
D | ie31200_edac.c | 507 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()
|
D | ppc4xx_edac.c | 880 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()
|
D | ti_edac.c | 184 dimm->mtype = MEM_DDR2; in ti_edac_setup_dimm() 186 dimm->mtype = MEM_DDR3; in ti_edac_setup_dimm()
|
D | skx_base.c | 58 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()
|
D | igen6_edac.c | 799 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()
|
D | amd76x_edac.c | 213 dimm->mtype = MEM_RDDR; in amd76x_init_csrows()
|
D | pasemi_edac.c | 172 dimm->mtype = MEM_DDR; in pasemi_edac_init_csrows()
|
D | i7core_edac.c | 493 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()
|
D | highbank_mc_edac.c | 227 dimm->mtype = MEM_DDR3; in highbank_mc_probe()
|
D | r82600_edac.c | 258 dimm->mtype = reg_sdram ? MEM_RDDR : MEM_DDR; in r82600_init_csrows()
|
D | i82860_edac.c | 178 dimm->mtype = MEM_RMBS; in i82860_init_csrows()
|
D | cell_edac.c | 154 dimm->mtype = MEM_XDR; in cell_edac_init_csrows()
|
/drivers/scsi/csiostor/ |
D | csio_hw_t5.c | 253 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()
|
D | csio_hw.c | 184 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/ |
D | tunnel_conf.c | 281 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/ |
D | kfd_mqd_manager_vi.c | 173 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/ |
D | pata_it821x.c | 610 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/ |
D | kvmgt.c | 116 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()
|