/drivers/edac/ |
D | amd64_edac_inj.c | 9 return sprintf(buf, "0x%x\n", pvt->injection.section); in amd64_inject_section_show() 36 pvt->injection.section = (u32) value; in amd64_inject_section_store() 124 u32 section, word_bits; in amd64_inject_read_store() local 132 section = F10_NB_ARRAY_DRAM | SET_NB_ARRAY_ADDR(pvt->injection.section); in amd64_inject_read_store() 134 amd64_write_pci_cfg(pvt->F3, F10_NB_ARRAY_ADDR, section); in amd64_inject_read_store() 141 edac_dbg(0, "section=0x%x word_bits=0x%x\n", section, word_bits); in amd64_inject_read_store() 156 u32 section, word_bits, tmp; in amd64_inject_write_store() local 165 section = F10_NB_ARRAY_DRAM | SET_NB_ARRAY_ADDR(pvt->injection.section); in amd64_inject_write_store() 167 amd64_write_pci_cfg(pvt->F3, F10_NB_ARRAY_ADDR, section); in amd64_inject_write_store() 190 edac_dbg(0, "section=0x%x word_bits=0x%x\n", section, word_bits); in amd64_inject_write_store()
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | nvm.c | 95 static int iwl_nvm_write_chunk(struct iwl_mvm *mvm, u16 section, in iwl_nvm_write_chunk() argument 101 .type = cpu_to_le16(section), in iwl_nvm_write_chunk() 130 section, le16_to_cpu(nvm_resp->status)); in iwl_nvm_write_chunk() 138 static int iwl_nvm_read_chunk(struct iwl_mvm *mvm, u16 section, in iwl_nvm_read_chunk() argument 144 .type = cpu_to_le16(section), in iwl_nvm_read_chunk() 211 static int iwl_nvm_write_section(struct iwl_mvm *mvm, u16 section, in iwl_nvm_write_section() argument 224 ret = iwl_nvm_write_chunk(mvm, section, offset, in iwl_nvm_write_section() 235 static void iwl_mvm_nvm_fixups(struct iwl_mvm *mvm, unsigned int section, in iwl_mvm_nvm_fixups() argument 241 if (section == NVM_SECTION_TYPE_PHY_SKU && in iwl_mvm_nvm_fixups() 258 static int iwl_nvm_read_section(struct iwl_mvm *mvm, u16 section, in iwl_nvm_read_section() argument [all …]
|
/drivers/mtd/nand/ |
D | sm_common.c | 15 static int oob_sm_ooblayout_ecc(struct mtd_info *mtd, int section, in oob_sm_ooblayout_ecc() argument 18 if (section > 1) in oob_sm_ooblayout_ecc() 22 oobregion->offset = ((section + 1) * 8) - 3; in oob_sm_ooblayout_ecc() 27 static int oob_sm_ooblayout_free(struct mtd_info *mtd, int section, in oob_sm_ooblayout_free() argument 30 switch (section) { in oob_sm_ooblayout_free() 64 static int oob_sm_small_ooblayout_ecc(struct mtd_info *mtd, int section, in oob_sm_small_ooblayout_ecc() argument 67 if (section) in oob_sm_small_ooblayout_ecc() 76 static int oob_sm_small_ooblayout_free(struct mtd_info *mtd, int section, in oob_sm_small_ooblayout_free() argument 79 switch (section) { in oob_sm_small_ooblayout_free()
|
D | fsmc_nand.c | 42 static int fsmc_ecc1_ooblayout_ecc(struct mtd_info *mtd, int section, in fsmc_ecc1_ooblayout_ecc() argument 47 if (section >= chip->ecc.steps) in fsmc_ecc1_ooblayout_ecc() 50 oobregion->offset = (section * 16) + 2; in fsmc_ecc1_ooblayout_ecc() 56 static int fsmc_ecc1_ooblayout_free(struct mtd_info *mtd, int section, in fsmc_ecc1_ooblayout_free() argument 61 if (section >= chip->ecc.steps) in fsmc_ecc1_ooblayout_free() 64 oobregion->offset = (section * 16) + 8; in fsmc_ecc1_ooblayout_free() 66 if (section < chip->ecc.steps - 1) in fsmc_ecc1_ooblayout_free() 85 static int fsmc_ecc4_ooblayout_ecc(struct mtd_info *mtd, int section, in fsmc_ecc4_ooblayout_ecc() argument 90 if (section >= chip->ecc.steps) in fsmc_ecc4_ooblayout_ecc() 95 if (!section && mtd->writesize <= 512) in fsmc_ecc4_ooblayout_ecc() [all …]
|
D | mxc_nand.c | 882 static int mxc_v1_ooblayout_ecc(struct mtd_info *mtd, int section, in mxc_v1_ooblayout_ecc() argument 887 if (section >= nand_chip->ecc.steps) in mxc_v1_ooblayout_ecc() 890 oobregion->offset = (section * 16) + 6; in mxc_v1_ooblayout_ecc() 896 static int mxc_v1_ooblayout_free(struct mtd_info *mtd, int section, in mxc_v1_ooblayout_free() argument 901 if (section > nand_chip->ecc.steps) in mxc_v1_ooblayout_free() 904 if (!section) { in mxc_v1_ooblayout_free() 913 oobregion->offset = ((section - 1) * 16) + MXC_V1_ECCBYTES + 6; in mxc_v1_ooblayout_free() 914 if (section < nand_chip->ecc.steps) in mxc_v1_ooblayout_free() 915 oobregion->length = (section * 16) + 6 - in mxc_v1_ooblayout_free() 929 static int mxc_v2_ooblayout_ecc(struct mtd_info *mtd, int section, in mxc_v2_ooblayout_ecc() argument [all …]
|
D | sh_flctl.c | 45 static int flctl_4secc_ooblayout_sp_ecc(struct mtd_info *mtd, int section, in flctl_4secc_ooblayout_sp_ecc() argument 50 if (section) in flctl_4secc_ooblayout_sp_ecc() 59 static int flctl_4secc_ooblayout_sp_free(struct mtd_info *mtd, int section, in flctl_4secc_ooblayout_sp_free() argument 62 if (section) in flctl_4secc_ooblayout_sp_free() 76 static int flctl_4secc_ooblayout_lp_ecc(struct mtd_info *mtd, int section, in flctl_4secc_ooblayout_lp_ecc() argument 81 if (section >= chip->ecc.steps) in flctl_4secc_ooblayout_lp_ecc() 84 oobregion->offset = (section * 16) + 6; in flctl_4secc_ooblayout_lp_ecc() 90 static int flctl_4secc_ooblayout_lp_free(struct mtd_info *mtd, int section, in flctl_4secc_ooblayout_lp_free() argument 95 if (section >= chip->ecc.steps) in flctl_4secc_ooblayout_lp_free() 98 oobregion->offset = section * 16; in flctl_4secc_ooblayout_lp_free() [all …]
|
D | davinci_nand.c | 484 static int hwecc4_ooblayout_small_ecc(struct mtd_info *mtd, int section, in hwecc4_ooblayout_small_ecc() argument 487 if (section > 2) in hwecc4_ooblayout_small_ecc() 490 if (!section) { in hwecc4_ooblayout_small_ecc() 493 } else if (section == 1) { in hwecc4_ooblayout_small_ecc() 504 static int hwecc4_ooblayout_small_free(struct mtd_info *mtd, int section, in hwecc4_ooblayout_small_free() argument 507 if (section > 1) in hwecc4_ooblayout_small_free() 510 if (!section) { in hwecc4_ooblayout_small_free()
|
D | bf5xx_nand.c | 112 static int bootrom_ooblayout_ecc(struct mtd_info *mtd, int section, in bootrom_ooblayout_ecc() argument 115 if (section > 7) in bootrom_ooblayout_ecc() 118 oobregion->offset = section * 8; in bootrom_ooblayout_ecc() 124 static int bootrom_ooblayout_free(struct mtd_info *mtd, int section, in bootrom_ooblayout_free() argument 127 if (section > 7) in bootrom_ooblayout_free() 130 oobregion->offset = (section * 8) + 3; in bootrom_ooblayout_free()
|
D | fsl_elbc_nand.c | 82 static int fsl_elbc_ooblayout_ecc(struct mtd_info *mtd, int section, in fsl_elbc_ooblayout_ecc() argument 88 if (section >= chip->ecc.steps) in fsl_elbc_ooblayout_ecc() 91 oobregion->offset = (16 * section) + 6; in fsl_elbc_ooblayout_ecc() 100 static int fsl_elbc_ooblayout_free(struct mtd_info *mtd, int section, in fsl_elbc_ooblayout_free() argument 106 if (section > chip->ecc.steps) in fsl_elbc_ooblayout_free() 109 if (!section) { in fsl_elbc_ooblayout_free() 115 oobregion->offset = (16 * section) - in fsl_elbc_ooblayout_free() 117 if (section < chip->ecc.steps) in fsl_elbc_ooblayout_free()
|
D | fsl_ifc_nand.c | 96 static int fsl_ifc_ooblayout_ecc(struct mtd_info *mtd, int section, in fsl_ifc_ooblayout_ecc() argument 101 if (section) in fsl_ifc_ooblayout_ecc() 110 static int fsl_ifc_ooblayout_free(struct mtd_info *mtd, int section, in fsl_ifc_ooblayout_free() argument 115 if (section > 1) in fsl_ifc_ooblayout_free() 120 if (!section) { in fsl_ifc_ooblayout_free() 131 if (!section) { in fsl_ifc_ooblayout_free() 182 int i, section = 0; in is_blank() local 189 mtd_ooblayout_ecc(mtd, section++, &oobregion); in is_blank() 196 mtd_ooblayout_ecc(mtd, section++, &oobregion); in is_blank()
|
/drivers/base/ |
D | memory.c | 577 struct memory_block *find_memory_block_hinted(struct mem_section *section, in find_memory_block_hinted() argument 580 int block_id = base_memory_block_id(__section_nr(section)); in find_memory_block_hinted() 600 struct memory_block *find_memory_block(struct mem_section *section) in find_memory_block() argument 602 return find_memory_block_hinted(section, NULL); in find_memory_block() 641 struct mem_section *section, unsigned long state) in init_memory_block() argument 652 scn_nr = __section_nr(section); in init_memory_block() 702 int register_new_memory(int nid, struct mem_section *section) in register_new_memory() argument 707 if (is_zone_device_section(section)) in register_new_memory() 712 mem = find_memory_block(section); in register_new_memory() 717 ret = init_memory_block(&mem, section, MEM_OFFLINE); in register_new_memory() [all …]
|
/drivers/acpi/apei/ |
D | apei-internal.h | 123 #define apei_estatus_for_each_section(estatus, section) \ argument 124 for (section = (struct acpi_hest_generic_data *)(estatus + 1); \ 125 (void *)section - (void *)estatus < estatus->data_length; \ 126 section = (void *)(section+1) + section->error_data_length)
|
/drivers/mtd/ |
D | mtdcore.c | 1138 int mtd_ooblayout_ecc(struct mtd_info *mtd, int section, in mtd_ooblayout_ecc() argument 1143 if (!mtd || section < 0) in mtd_ooblayout_ecc() 1149 return mtd->ooblayout->ecc(mtd, section, oobecc); in mtd_ooblayout_ecc() 1170 int mtd_ooblayout_free(struct mtd_info *mtd, int section, in mtd_ooblayout_free() argument 1175 if (!mtd || section < 0) in mtd_ooblayout_free() 1181 return mtd->ooblayout->free(mtd, section, oobfree); in mtd_ooblayout_free() 1205 int section, in mtd_ooblayout_find_region() argument 1208 int pos = 0, ret, section = 0; in mtd_ooblayout_find_region() local 1213 ret = iter(mtd, section, oobregion); in mtd_ooblayout_find_region() 1221 section++; in mtd_ooblayout_find_region() [all …]
|
/drivers/crypto/qat/qat_common/ |
D | adf_ctl_drv.c | 152 const char *section, in adf_add_key_value_data() argument 159 if (adf_cfg_add_key_value_param(accel_dev, section, in adf_add_key_value_data() 167 if (adf_cfg_add_key_value_param(accel_dev, section, in adf_add_key_value_data() 183 struct adf_user_cfg_section section, *section_head; in adf_copy_key_value_data() local 188 if (copy_from_user(§ion, (void __user *)section_head, in adf_copy_key_value_data() 195 if (adf_cfg_section_add(accel_dev, section.name)) { in adf_copy_key_value_data() 201 params_head = section.params; in adf_copy_key_value_data() 210 if (adf_add_key_value_data(accel_dev, section.name, in adf_copy_key_value_data() 216 section_head = section.next; in adf_copy_key_value_data()
|
D | adf_cfg.c | 291 struct adf_cfg_section *section = adf_cfg_sec_find(accel_dev, in adf_cfg_add_key_value_param() local 293 if (!section) in adf_cfg_add_key_value_param() 318 adf_cfg_keyval_add(key_val, section); in adf_cfg_add_key_value_param() 357 const char *section, const char *name, in adf_cfg_get_param_value() argument 364 ret = adf_cfg_key_val_get(accel_dev, section, name, value); in adf_cfg_get_param_value()
|
D | adf_transport.c | 230 int adf_create_ring(struct adf_accel_dev *accel_dev, const char *section, in adf_create_ring() argument 257 if (adf_cfg_get_param_value(accel_dev, section, ring_name, val)) { in adf_create_ring() 259 section, ring_name); in adf_create_ring() 355 const char *section, const char *format, in adf_get_cfg_int() argument 363 if (adf_cfg_get_param_value(accel_dev, section, key_buf, val_buf)) in adf_get_cfg_int() 372 const char *section, in adf_get_coalesc_timer() argument 375 if (adf_get_cfg_int(bank->accel_dev, section, in adf_get_coalesc_timer()
|
/drivers/mtd/nand/brcmnand/ |
D | brcmnand.c | 872 static int brcmnand_hamming_ooblayout_ecc(struct mtd_info *mtd, int section, in brcmnand_hamming_ooblayout_ecc() argument 881 if (section >= sectors) in brcmnand_hamming_ooblayout_ecc() 884 oobregion->offset = (section * sas) + 6; in brcmnand_hamming_ooblayout_ecc() 890 static int brcmnand_hamming_ooblayout_free(struct mtd_info *mtd, int section, in brcmnand_hamming_ooblayout_free() argument 899 if (section >= sectors * 2) in brcmnand_hamming_ooblayout_free() 902 oobregion->offset = (section / 2) * sas; in brcmnand_hamming_ooblayout_free() 904 if (section & 1) { in brcmnand_hamming_ooblayout_free() 911 if (!section) { in brcmnand_hamming_ooblayout_free() 930 static int brcmnand_bch_ooblayout_ecc(struct mtd_info *mtd, int section, in brcmnand_bch_ooblayout_ecc() argument 939 if (section >= sectors) in brcmnand_bch_ooblayout_ecc() [all …]
|
/drivers/staging/mt29f_spinand/ |
D | mt29f_spinand.c | 45 static int spinand_ooblayout_64_ecc(struct mtd_info *mtd, int section, in spinand_ooblayout_64_ecc() argument 48 if (section > 3) in spinand_ooblayout_64_ecc() 51 oobregion->offset = (section * 16) + 1; in spinand_ooblayout_64_ecc() 57 static int spinand_ooblayout_64_free(struct mtd_info *mtd, int section, in spinand_ooblayout_64_free() argument 60 if (section > 3) in spinand_ooblayout_64_free() 63 oobregion->offset = (section * 16) + 8; in spinand_ooblayout_64_free()
|
/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/ |
D | hubgk110.fuc3 | 28 .section #gk110_grhub_data 34 .section #gk110_grhub_code
|
D | hubgf117.fuc3 | 28 .section #gf117_grhub_data 34 .section #gf117_grhub_code
|
D | hubgm107.fuc5 | 28 .section #gm107_grhub_data 34 .section #gm107_grhub_code
|
D | gpcgm107.fuc5 | 30 .section #gm107_grgpc_data 36 .section #gm107_grgpc_code
|
D | hubgk104.fuc3 | 28 .section #gk104_grhub_data 34 .section #gk104_grhub_code
|
D | gpcgf100.fuc3 | 30 .section #gf100_grgpc_data 36 .section #gf100_grgpc_code
|
D | gpcgk110.fuc3 | 30 .section #gk110_grgpc_data 36 .section #gk110_grgpc_code
|