/drivers/mtd/chips/ |
H A D | cfi_probe.c | 18 #include <linux/mtd/cfi.h> 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) \ 47 cfi_qry_mode_off(base, map, cfi); \ 51 #define xip_disable_qry(base, map, cfi) \ 54 cfi_qry_mode_on(base, map, cfi); \ 61 #define xip_enable(base, map, cfi) do { } while (0) 62 #define xip_disable_qry(base, map, cfi) do { } while (0) 72 unsigned long *chip_map, struct cfi_private *cfi) 71 cfi_probe_chip(struct map_info *map, __u32 base, unsigned long *chip_map, struct cfi_private *cfi) argument 154 cfi_chip_setup(struct map_info *map, struct cfi_private *cfi) argument [all...] |
H A D | fwh_lock.h | 31 struct cfi_private *cfi = map->fldrv_priv; local
|
H A D | gen_probe.c | 12 #include <linux/mtd/cfi.h> 19 struct cfi_private *cfi); 24 struct cfi_private *cfi; local 27 cfi = genprobe_ident_chips(map, cp); 29 if (!cfi) 32 map->fldrv_priv = cfi; 51 kfree(cfi->cfiq); 52 kfree(cfi); 61 struct cfi_private cfi; local 67 memset(&cfi, 165 genprobe_new_chip(struct map_info *map, struct chip_probe *cp, struct cfi_private *cfi) argument 202 struct cfi_private *cfi = map->fldrv_priv; local 232 struct cfi_private *cfi = map->fldrv_priv; local [all...] |
H A D | cfi_util.c | 24 #include <linux/mtd/cfi.h> 27 struct cfi_private *cfi) 29 int osf = cfi->interleave * cfi->device_type; /* scale factor */ 33 qry[0] = cfi_build_cmd('Q', map, cfi); 34 qry[1] = cfi_build_cmd('R', map, cfi); 35 qry[2] = cfi_build_cmd('Y', map, cfi); 55 struct cfi_private *cfi) 57 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi 26 cfi_qry_present(struct map_info *map, __u32 base, struct cfi_private *cfi) argument 54 cfi_qry_mode_on(uint32_t base, struct map_info *map, struct cfi_private *cfi) argument 92 cfi_qry_mode_off(uint32_t base, struct map_info *map, struct cfi_private *cfi) argument 107 struct cfi_private *cfi = map->fldrv_priv; local 151 struct cfi_private *cfi = map->fldrv_priv; local 168 struct cfi_private *cfi = map->fldrv_priv; local [all...] |
H A D | cfi_cmdset_0020.c | 11 * (see include/linux/mtd/cfi.h for selection) 33 #include <linux/mtd/cfi.h> 109 * addresses passed back in cfi are valid as long as the use count of 115 struct cfi_private *cfi = map->fldrv_priv; local 118 if (cfi->cfi_mode) { 124 __u16 adr = primary?cfi->cfiq->P_ADR:cfi->cfiq->A_ADR; 151 cfi->cmdset_priv = extp; 154 for (i=0; i< cfi->numchips; i++) { 155 cfi 168 struct cfi_private *cfi = map->fldrv_priv; local 254 struct cfi_private *cfi = map->fldrv_priv; local 385 struct cfi_private *cfi = map->fldrv_priv; local 422 struct cfi_private *cfi = map->fldrv_priv; local 609 struct cfi_private *cfi = map->fldrv_priv; local 733 struct cfi_private *cfi = map->fldrv_priv; local 892 struct cfi_private *cfi = map->fldrv_priv; local 977 struct cfi_private *cfi = map->fldrv_priv; local 1034 struct cfi_private *cfi = map->fldrv_priv; local 1130 struct cfi_private *cfi = map->fldrv_priv; local 1180 struct cfi_private *cfi = map->fldrv_priv; local 1276 struct cfi_private *cfi = map->fldrv_priv; local 1315 struct cfi_private *cfi = map->fldrv_priv; local 1371 struct cfi_private *cfi = map->fldrv_priv; local 1395 struct cfi_private *cfi = map->fldrv_priv; local [all...] |
H A D | cfi_cmdset_0001.c | 12 * (see include/linux/mtd/cfi.h for selection) 36 #include <linux/mtd/cfi.h> 172 struct cfi_private *cfi = map->fldrv_priv; local 173 struct cfi_pri_intelext *extp = cfi->cmdset_priv; 205 cfi->cfiq->BufWriteTimeoutTyp = 0; 206 cfi->cfiq->BufWriteTimeoutMax = 0; 212 struct cfi_private *cfi = map->fldrv_priv; local 213 struct cfi_pri_intelext *cfip = cfi->cmdset_priv; 224 struct cfi_private *cfi = map->fldrv_priv; local 225 struct cfi_pri_intelext *extp = cfi 237 struct cfi_private *cfi = map->fldrv_priv; local 250 struct cfi_private *cfi = map->fldrv_priv; local 259 struct cfi_private *cfi = map->fldrv_priv; local 266 is_LH28F640BF(struct cfi_private *cfi) argument 279 struct cfi_private *cfi = map->fldrv_priv; local 308 struct cfi_private *cfi = map->fldrv_priv; local 322 struct cfi_private *cfi = map->fldrv_priv; local 370 cfi_fixup_major_minor(struct cfi_private *cfi, struct cfi_pri_intelext *extp) argument 381 struct cfi_private *cfi = map->fldrv_priv; local 469 struct cfi_private *cfi = map->fldrv_priv; local 589 struct cfi_private *cfi = map->fldrv_priv; local 663 struct cfi_private *cfi = *pcfi; local 787 struct cfi_private *cfi = map->fldrv_priv; local 990 struct cfi_private *cfi = map->fldrv_priv; local 1083 struct cfi_private *cfi = map->fldrv_priv; local 1110 struct cfi_private *cfi = map->fldrv_priv; local 1242 struct cfi_private *cfi = map->fldrv_priv; local 1324 struct cfi_private *cfi = map->fldrv_priv; local 1352 struct cfi_private *cfi = map->fldrv_priv; local 1404 struct cfi_private *cfi = map->fldrv_priv; local 1451 struct cfi_private *cfi = map->fldrv_priv; local 1483 struct cfi_private *cfi = map->fldrv_priv; local 1520 struct cfi_private *cfi = map->fldrv_priv; local 1595 struct cfi_private *cfi = map->fldrv_priv; local 1675 struct cfi_private *cfi = map->fldrv_priv; local 1841 struct cfi_private *cfi = map->fldrv_priv; local 1903 struct cfi_private *cfi = map->fldrv_priv; local 2009 struct cfi_private *cfi = map->fldrv_priv; local 2052 struct cfi_private *cfi = map->fldrv_priv; local 2082 struct cfi_private *cfi = map->fldrv_priv; local 2204 struct cfi_private *cfi = map->fldrv_priv; local 2262 struct cfi_private *cfi = map->fldrv_priv; local 2279 struct cfi_private *cfi = map->fldrv_priv; local 2486 struct cfi_private *cfi = map->fldrv_priv; local 2580 struct cfi_private *cfi = map->fldrv_priv; local 2611 struct cfi_private *cfi = map->fldrv_priv; local 2646 struct cfi_private *cfi = map->fldrv_priv; local [all...] |
H A D | cfi_cmdset_0002.c | 39 #include <linux/mtd/cfi.h> 159 struct cfi_private *cfi = map->fldrv_priv; local 160 struct cfi_pri_amdstd *extp = cfi->cmdset_priv; 168 map->name, cfi->mfr, cfi->id); 175 if (((cfi->id == 0xBA) || (cfi->id == 0x22BA)) && 186 (cfi->mfr == CFI_MFR_MACRONIX)) { 191 if (cfi->id & 0x80) { 192 printk(KERN_WARNING "%s: JEDEC Device ID is 0x%02X. Assuming broken CFI table.\n", map->name, cfi 208 struct cfi_private *cfi = map->fldrv_priv; local 219 struct cfi_private *cfi = map->fldrv_priv; local 257 struct cfi_private *cfi = map->fldrv_priv; local 279 struct cfi_private *cfi = map->fldrv_priv; local 293 struct cfi_private *cfi = map->fldrv_priv; local 304 struct cfi_private *cfi = map->fldrv_priv; local 317 struct cfi_private *cfi = map->fldrv_priv; local 332 struct cfi_private *cfi = map->fldrv_priv; local 343 struct cfi_private *cfi = map->fldrv_priv; local 354 struct cfi_private *cfi = map->fldrv_priv; local 423 cfi_fixup_major_minor(struct cfi_private *cfi, struct cfi_pri_amdstd *extp) argument 450 is_m29ew(struct cfi_private *cfi) argument 472 struct cfi_private *cfi = map->fldrv_priv; local 502 cfi_fixup_m29ew_delay_after_resume(struct cfi_private *cfi) argument 514 struct cfi_private *cfi = map->fldrv_priv; local 682 struct cfi_private *cfi = map->fldrv_priv; local 781 struct cfi_private *cfi = map->fldrv_priv; local 884 struct cfi_private *cfi = map->fldrv_priv; local 934 struct cfi_private *cfi = map->fldrv_priv; local 961 struct cfi_private *cfi = map->fldrv_priv; local 1108 struct cfi_private *cfi = map->fldrv_priv; local 1140 struct cfi_private *cfi = map->fldrv_priv; local 1180 struct cfi_private *cfi = map->fldrv_priv; local 1195 struct cfi_private *cfi = map->fldrv_priv; local 1250 struct cfi_private *cfi = map->fldrv_priv; local 1323 struct cfi_private *cfi = map->fldrv_priv; local 1389 struct cfi_private *cfi = map->fldrv_priv; local 1552 struct cfi_private *cfi = map->fldrv_priv; local 1669 struct cfi_private *cfi = map->fldrv_priv; local 1796 struct cfi_private *cfi = map->fldrv_priv; local 1924 struct cfi_private *cfi = map->fldrv_priv; local 2006 struct cfi_private *cfi = map->fldrv_priv; local 2059 struct cfi_private *cfi = map->fldrv_priv; local 2134 struct cfi_private *cfi = map->fldrv_priv; local 2236 struct cfi_private *cfi = map->fldrv_priv; local 2326 struct cfi_private *cfi = map->fldrv_priv; local 2436 struct cfi_private *cfi = map->fldrv_priv; local 2458 struct cfi_private *cfi = map->fldrv_priv; local 2493 struct cfi_private *cfi = map->fldrv_priv; local 2547 struct cfi_private *cfi = map->fldrv_priv; local 2627 struct cfi_private *cfi = map->fldrv_priv; local 2730 struct cfi_private *cfi = map->fldrv_priv; local 2791 struct cfi_private *cfi = map->fldrv_priv; local 2845 struct cfi_private *cfi = map->fldrv_priv; local 2877 struct cfi_private *cfi = map->fldrv_priv; local 2915 struct cfi_private *cfi = map->fldrv_priv; local [all...] |
H A D | jedec_probe.c | 22 #include <linux/mtd/cfi.h> 1879 struct cfi_private *cfi) 1890 uint32_t ofs = cfi_build_cmd_addr(0 + (bank << 8), map, cfi); 1891 mask = (1 << (cfi->device_type * 8)) - 1; 1900 struct cfi_private *cfi) 1904 u32 ofs = cfi_build_cmd_addr(1, map, cfi); 1905 mask = (1 << (cfi->device_type * 8)) -1; 1910 static void jedec_reset(u32 base, struct map_info *map, struct cfi_private *cfi) argument 1920 if (cfi->addr_unlock1) { 1922 cfi 1878 jedec_read_mfr(struct map_info *map, uint32_t base, struct cfi_private *cfi) argument 1899 jedec_read_id(struct map_info *map, uint32_t base, struct cfi_private *cfi) argument 1938 cfi_jedec_setup(struct map_info *map, struct cfi_private *cfi, int index) argument 1996 jedec_match( uint32_t base, struct map_info *map, struct cfi_private *cfi, const struct amd_flash_info *finfo ) argument 2115 jedec_probe_chip(struct map_info *map, __u32 base, unsigned long *chip_map, struct cfi_private *cfi) argument [all...] |
/drivers/mtd/maps/ |
H A D | scb2_flash.c | 53 #include <linux/mtd/cfi.h> 76 struct cfi_private *cfi = map->fldrv_priv; local 79 if (cfi->cfiq->InterfaceDesc != CFI_INTERFACE_X16_ASYNC) { 81 cfi->cfiq->InterfaceDesc);
|
H A D | amd76xrom.c | 15 #include <linux/mtd/cfi.h> 185 struct cfi_private *cfi; local 258 cfi = map->map.fldrv_priv; 259 for(i = 0; i < cfi->numchips; i++) { 260 cfi->chips[i].start += offset;
|
H A D | ck804xrom.c | 18 #include <linux/mtd/cfi.h> 215 struct cfi_private *cfi; local 288 cfi = map->map.fldrv_priv; 289 for(i = 0; i < cfi->numchips; i++) 290 cfi->chips[i].start += offset;
|
H A D | ichxrom.c | 15 #include <linux/mtd/cfi.h> 207 struct cfi_private *cfi; local 283 cfi = map->map.fldrv_priv; 284 for(i = 0; i < cfi->numchips; i++) { 285 cfi->chips[i].start += offset;
|
H A D | lantiq-flash.c | 19 #include <linux/mtd/cfi.h> 116 struct cfi_private *cfi; local 166 cfi = ltq_mtd->map->fldrv_priv; 167 cfi->addr_unlock1 ^= 1; 168 cfi->addr_unlock2 ^= 1;
|
H A D | nettel.c | 19 #include <linux/mtd/cfi.h> 144 struct cfi_private *cfi = nettel_intel_map.fldrv_priv; local 149 cfi_send_gen_cmd(0xff, 0x55, b, &nettel_intel_map, cfi, 150 cfi->device_type, NULL);
|
H A D | esb2rom.c | 21 #include <linux/mtd/cfi.h> 275 struct cfi_private *cfi; local 349 cfi = map->map.fldrv_priv; 350 for(i = 0; i < cfi->numchips; i++) 351 cfi->chips[i].start += offset;
|
/drivers/net/ethernet/freescale/ |
H A D | gianfar_ethtool.c | 1165 u32 cfi = 0, cfi_mask = 0; local 1181 cfi = vlan_tci_cfi(rule); 1186 if (cfi == VLAN_TAG_PRESENT && cfi_mask == VLAN_TAG_PRESENT) { 1189 } else if (cfi != VLAN_TAG_PRESENT &&
|
/drivers/net/hyperv/ |
H A D | hyperv_net.h | 806 u32 cfi:1; /* Canonical Format ID */ member in struct:ndis_pkt_8021q_info::__anon4013::__anon4014
|