• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/src/shared/

Lines Matching defs:curmap

83 /** curmap: contains host start address of PCI BAR0 window */
84 static uint8* srom_offset(si_t *sih, void *curmap)
87 return (uint8 *)curmap + PCI_BAR0_SPROM_OFFSET;
92 return (uint8 *)curmap + PCI_16KB0_CCREGS_OFFSET + CC_SROM_OTP;
115 static int initvars_srom_si(si_t *sih, osl_t *osh, void *curmap, char **vars, uint *count);
117 static int initvars_tcm_pcidev(si_t *sih, osl_t *osh, void *curmap, char **vars, uint *count);
120 static int initvars_srom_pci(si_t *sih, void *curmap, char **vars, uint *count);
121 static int initvars_cis_pci(si_t *sih, osl_t *osh, void *curmap, char **vars, uint *count);
1992 BCMATTACHFN(srom_var_init)(si_t *sih, uint bustype, void *curmap, osl_t *osh,
2013 return initvars_srom_pci(sih, curmap, vars, count);
2015 return initvars_srom_si(sih, osh, curmap, vars, count);
2017 return initvars_srom_si(sih, osh, curmap, vars, count);
2023 ASSERT(curmap != NULL);
2024 if (curmap == NULL)
2028 if ((ret = initvars_cis_pci(sih, osh, curmap, vars, count)))
2029 return initvars_srom_pci(sih, curmap, vars, count);
2050 srom_read(si_t *sih, uint bustype, void *curmap, osl_t *osh,
2072 if (!curmap)
2078 srom = (uint16 *)srom_offset(sih, curmap);
2144 srom_write(si_t *sih, uint bustype, void *curmap, osl_t *osh,
2185 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE))
2232 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE))
2237 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE))
2243 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE))
2313 ccregs = (void *)((uint8 *)curmap + PCI_16KB0_CCREGS_OFFSET);
2317 srom = (uint16 *)((uint8 *)curmap + PCI_BAR0_SPROM_OFFSET);
2417 srom_write_short(si_t *sih, uint bustype, void *curmap, osl_t *osh,
2470 ccregs = (void *)((uint8 *)curmap + PCI_16KB0_CCREGS_OFFSET);
2474 srom = (uint16 *)((uint8 *)curmap + PCI_BAR0_SPROM_OFFSET);
5916 BCMATTACHFN(initvars_srom_pci)(si_t *sih, void *curmap, char **vars, uint *count)
5937 sromwindow = (uint16 *)srom_offset(sih, curmap);
6232 BCMATTACHFN(initvars_cis_pci)(si_t *sih, osl_t *osh, void *curmap, char **vars, uint *count)
6617 BCMATTACHFN(initvars_srom_si_bl)(si_t *sih, osl_t *osh, void *curmap, char **vars, uint *varsz)
6654 rc = srom_read(sih, SI_BUS, curmap, osh, 0, sz, srom, TRUE);
6692 BCMATTACHFN(initvars_srom_si)(si_t *sih, osl_t *osh, void *curmap, char **vars, uint *varsz)
6734 if (BCME_OK != initvars_srom_si_bl(sih, osh, curmap, vars, varsz)) /* CIS format only */
7171 BCMATTACHFN(initvars_srom_si)(si_t *sih, osl_t *osh, void *curmap, char **vars, uint *varsz)
7255 rc = srom_read(sih, SI_BUS, curmap, osh, 0, sz, cisbuf, FALSE);
7325 BCMATTACHFN(initvars_srom_si)(si_t *sih, osl_t *osh, void *curmap, char **vars, uint *varsz)
7336 BCMATTACHFN(initvars_srom_si)(si_t *sih, osl_t *osh, void *curmap, char **vars, uint *varsz)
7391 BCMATTACHFN(initvars_tcm_pcidev)(si_t *sih, osl_t *osh, void *curmap, char **vars, uint *varsz)
7407 BCMATTACHFN(initvars_srom_si)(si_t *sih, osl_t *osh, void *curmap, char **vars, uint *varsz)
7411 return initvars_tcm_pcidev(sih, osh, curmap, vars, varsz);