/drivers/mtd/chips/ |
D | cfi_util.c | 27 struct cfi_private *cfi) in cfi_qry_present() argument 29 int osf = cfi->interleave * cfi->device_type; /* scale factor */ in cfi_qry_present() 33 qry[0] = cfi_build_cmd('Q', map, cfi); in cfi_qry_present() 34 qry[1] = cfi_build_cmd('R', map, cfi); in cfi_qry_present() 35 qry[2] = cfi_build_cmd('Y', map, cfi); in cfi_qry_present() 55 struct cfi_private *cfi) in cfi_qry_mode_on() argument 57 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on() 58 cfi_send_gen_cmd(0x98, 0x55, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on() 59 if (cfi_qry_present(map, base, cfi)) in cfi_qry_mode_on() 63 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on() [all …]
|
D | cfi_probe.c | 28 unsigned long *chip_map, struct cfi_private *cfi); 29 static int cfi_chip_setup(struct map_info *map, struct cfi_private *cfi); 45 #define xip_enable(base, map, cfi) \ argument 47 cfi_qry_mode_off(base, map, cfi); \ 51 #define xip_disable_qry(base, map, cfi) \ argument 54 cfi_qry_mode_on(base, map, cfi); \ 61 #define xip_enable(base, map, cfi) do { } while (0) argument 62 #define xip_disable_qry(base, map, cfi) do { } while (0) argument 72 unsigned long *chip_map, struct cfi_private *cfi) in cfi_probe_chip() argument 90 if (!cfi_qry_mode_on(base, map, cfi)) { in cfi_probe_chip() [all …]
|
D | cfi_cmdset_0002.c | 143 struct cfi_private *cfi = map->fldrv_priv; in fixup_amd_bootblock() local 144 struct cfi_pri_amdstd *extp = cfi->cmdset_priv; in fixup_amd_bootblock() 152 map->name, cfi->mfr, cfi->id); in fixup_amd_bootblock() 159 if (((cfi->id == 0xBA) || (cfi->id == 0x22BA)) && in fixup_amd_bootblock() 170 (cfi->mfr == CFI_MFR_MACRONIX)) { in fixup_amd_bootblock() 175 if (cfi->id & 0x80) { in fixup_amd_bootblock() 176 …tk(KERN_WARNING "%s: JEDEC Device ID is 0x%02X. Assuming broken CFI table.\n", map->name, cfi->id); in fixup_amd_bootblock() 192 struct cfi_private *cfi = map->fldrv_priv; in fixup_use_write_buffers() local 193 if (cfi->cfiq->BufWriteTimeoutTyp) { in fixup_use_write_buffers() 203 struct cfi_private *cfi = map->fldrv_priv; in fixup_convert_atmel_pri() local [all …]
|
D | gen_probe.c | 19 struct cfi_private *cfi); 24 struct cfi_private *cfi; in mtd_do_chip_probe() local 27 cfi = genprobe_ident_chips(map, cp); in mtd_do_chip_probe() 29 if (!cfi) in mtd_do_chip_probe() 32 map->fldrv_priv = cfi; in mtd_do_chip_probe() 51 kfree(cfi->cfiq); in mtd_do_chip_probe() 52 kfree(cfi); in mtd_do_chip_probe() 61 struct cfi_private cfi; in genprobe_ident_chips() local 67 memset(&cfi, 0, sizeof(cfi)); in genprobe_ident_chips() 71 if (!genprobe_new_chip(map, cp, &cfi)) { in genprobe_ident_chips() [all …]
|
D | jedec_probe.c | 1878 struct cfi_private *cfi) in jedec_read_mfr() argument 1889 uint32_t ofs = cfi_build_cmd_addr(0 + (bank << 8), map, cfi); in jedec_read_mfr() 1890 mask = (1 << (cfi->device_type * 8)) - 1; in jedec_read_mfr() 1899 struct cfi_private *cfi) in jedec_read_id() argument 1903 u32 ofs = cfi_build_cmd_addr(1, map, cfi); in jedec_read_id() 1904 mask = (1 << (cfi->device_type * 8)) -1; in jedec_read_id() 1909 static void jedec_reset(u32 base, struct map_info *map, struct cfi_private *cfi) in jedec_reset() argument 1919 if (cfi->addr_unlock1) { in jedec_reset() 1921 cfi->addr_unlock1,cfi->addr_unlock2); in jedec_reset() 1922 cfi_send_gen_cmd(0xaa, cfi->addr_unlock1, base, map, cfi, cfi->device_type, NULL); in jedec_reset() [all …]
|
D | cfi_cmdset_0001.c | 168 struct cfi_private *cfi = map->fldrv_priv; in fixup_convert_atmel_pri() local 169 struct cfi_pri_intelext *extp = cfi->cmdset_priv; in fixup_convert_atmel_pri() 201 cfi->cfiq->BufWriteTimeoutTyp = 0; in fixup_convert_atmel_pri() 202 cfi->cfiq->BufWriteTimeoutMax = 0; in fixup_convert_atmel_pri() 208 struct cfi_private *cfi = map->fldrv_priv; in fixup_at49bv640dx_lock() local 209 struct cfi_pri_intelext *cfip = cfi->cmdset_priv; in fixup_at49bv640dx_lock() 220 struct cfi_private *cfi = map->fldrv_priv; in fixup_intel_strataflash() local 221 struct cfi_pri_intelext *extp = cfi->cmdset_priv; in fixup_intel_strataflash() 233 struct cfi_private *cfi = map->fldrv_priv; in fixup_no_write_suspend() local 234 struct cfi_pri_intelext *cfip = cfi->cmdset_priv; in fixup_no_write_suspend() [all …]
|
D | cfi_cmdset_0020.c | 116 struct cfi_private *cfi = map->fldrv_priv; in cfi_cmdset_0020() local 119 if (cfi->cfi_mode) { in cfi_cmdset_0020() 125 __u16 adr = primary?cfi->cfiq->P_ADR:cfi->cfiq->A_ADR; in cfi_cmdset_0020() 152 cfi->cmdset_priv = extp; in cfi_cmdset_0020() 155 for (i=0; i< cfi->numchips; i++) { in cfi_cmdset_0020() 156 cfi->chips[i].word_write_time = 128; in cfi_cmdset_0020() 157 cfi->chips[i].buffer_write_time = 128; in cfi_cmdset_0020() 158 cfi->chips[i].erase_time = 1024; in cfi_cmdset_0020() 159 cfi->chips[i].ref_point_counter = 0; in cfi_cmdset_0020() 160 init_waitqueue_head(&(cfi->chips[i].wq)); in cfi_cmdset_0020() [all …]
|
D | fwh_lock.h | 31 struct cfi_private *cfi = map->fldrv_priv; in fwh_xxlock_oneblock() local
|
D | Kconfig | 13 option. Visit <http://www.amd.com/products/nvd/overview/cfi.html>
|
/drivers/mtd/maps/ |
D | lantiq-flash.c | 117 struct cfi_private *cfi; in ltq_mtd_probe() local 168 cfi = ltq_mtd->map->fldrv_priv; in ltq_mtd_probe() 169 cfi->addr_unlock1 ^= 1; in ltq_mtd_probe() 170 cfi->addr_unlock2 ^= 1; in ltq_mtd_probe()
|
D | scb2_flash.c | 78 struct cfi_private *cfi = map->fldrv_priv; in scb2_fixup_mtd() local 81 if (cfi->cfiq->InterfaceDesc != CFI_INTERFACE_X16_ASYNC) { in scb2_fixup_mtd() 83 cfi->cfiq->InterfaceDesc); in scb2_fixup_mtd()
|
D | amd76xrom.c | 185 struct cfi_private *cfi; in amd76xrom_init_one() local 258 cfi = map->map.fldrv_priv; in amd76xrom_init_one() 259 for(i = 0; i < cfi->numchips; i++) { in amd76xrom_init_one() 260 cfi->chips[i].start += offset; in amd76xrom_init_one()
|
D | ck804xrom.c | 215 struct cfi_private *cfi; in ck804xrom_init_one() local 288 cfi = map->map.fldrv_priv; in ck804xrom_init_one() 289 for(i = 0; i < cfi->numchips; i++) in ck804xrom_init_one() 290 cfi->chips[i].start += offset; in ck804xrom_init_one()
|
D | ichxrom.c | 207 struct cfi_private *cfi; in ichxrom_init_one() local 283 cfi = map->map.fldrv_priv; in ichxrom_init_one() 284 for(i = 0; i < cfi->numchips; i++) { in ichxrom_init_one() 285 cfi->chips[i].start += offset; in ichxrom_init_one()
|
D | esb2rom.c | 275 struct cfi_private *cfi; in esb2rom_init_one() local 349 cfi = map->map.fldrv_priv; in esb2rom_init_one() 350 for(i = 0; i < cfi->numchips; i++) in esb2rom_init_one() 351 cfi->chips[i].start += offset; in esb2rom_init_one()
|
D | nettel.c | 144 struct cfi_private *cfi = nettel_intel_map.fldrv_priv; in nettel_reboot_notifier() local 149 cfi_send_gen_cmd(0xff, 0x55, b, &nettel_intel_map, cfi, in nettel_reboot_notifier() 150 cfi->device_type, NULL); in nettel_reboot_notifier()
|
/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 1060 u32 cfi = 0, cfi_mask = 0; in gfar_convert_to_filer() local 1076 cfi = rule->h_ext.vlan_tci & VLAN_CFI_MASK; in gfar_convert_to_filer() 1081 if (cfi == VLAN_TAG_PRESENT && cfi_mask == VLAN_TAG_PRESENT) { in gfar_convert_to_filer() 1084 } else if (cfi != VLAN_TAG_PRESENT && cfi_mask == VLAN_TAG_PRESENT) { in gfar_convert_to_filer()
|
/drivers/net/hyperv/ |
D | hyperv_net.h | 953 u32 cfi:1; /* Canonical Format ID */ member
|
/drivers/net/wireless/bcmdhd/common/include/proto/ |
D | 802.11.h | 1812 uint8 cfi; member
|