Lines Matching refs:curmap
107 static volatile uint8* srom_offset(si_t *sih, volatile void *curmap) in srom_offset() argument
110 return (volatile uint8*)curmap + PCI_BAR0_SPROM_OFFSET; in srom_offset()
117 return (volatile uint8*)curmap + PCI_16KB0_CCREGS_OFFSET + CC_SROM_OTP; in srom_offset()
139 static int initvars_srom_si(si_t *sih, osl_t *osh, volatile void *curmap, char **vars, uint *count);
141 static int initvars_srom_pci(si_t *sih, volatile void *curmap, char **vars, uint *count);
142 static int initvars_cis_pci(si_t *sih, osl_t *osh, volatile void *curmap, char **vars, uint *count);
1053 BCMATTACHFN(srom_var_init)(si_t *sih, uint bustype, volatile void *curmap, osl_t *osh, in BCMATTACHFN()
1069 ret = initvars_cis_pci(sih, osh, curmap, vars, count); in BCMATTACHFN()
1073 ret = initvars_srom_pci(sih, curmap, vars, count); in BCMATTACHFN()
1076 ret = initvars_srom_si(sih, osh, curmap, vars, count); in BCMATTACHFN()
1081 return initvars_srom_si(sih, osh, curmap, vars, count); in BCMATTACHFN()
1092 ASSERT(curmap != NULL); in BCMATTACHFN()
1093 if (curmap == NULL) in BCMATTACHFN()
1097 if ((ret = initvars_cis_pci(sih, osh, curmap, vars, count))) in BCMATTACHFN()
1098 return initvars_srom_pci(sih, curmap, vars, count); in BCMATTACHFN()
1122 srom_read(si_t *sih, uint bustype, volatile void *curmap, osl_t *osh, argument
1157 if (!curmap)
1163 srom = (volatile uint16 *)srom_offset(sih, curmap);
1212 srom_write(si_t *sih, uint bustype, volatile void *curmap, osl_t *osh, argument
1252 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE))
1391 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE)) {
1397 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE)) {
1403 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE)) {
1409 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE)) {
1415 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE)) {
1421 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE)) {
1427 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE)) {
1433 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE)) {
1440 if (srom_read(sih, bustype, curmap, osh, 0, crc_range, old, FALSE)) {
1518 ccregs = ((volatile uint8 *)curmap + PCI_16KB0_CCREGS_OFFSET);
1523 ((volatile uint8 *)curmap + PCI_BAR0_SPROM_OFFSET);
1597 srom_write_short(si_t *sih, uint bustype, volatile void *curmap, osl_t *osh, argument
1645 ccregs = ((volatile uint8 *)curmap + PCI_16KB0_CCREGS_OFFSET);
1650 ((volatile uint8 *)curmap + PCI_BAR0_SPROM_OFFSET);
5339 BCMATTACHFN(initvars_srom_pci)(si_t *sih, volatile void *curmap, char **vars, uint *count)
5366 sromwindow = (volatile uint16 *)srom_offset(sih, curmap);
5677 BCMATTACHFN(initvars_cis_pci)(si_t *sih, osl_t *osh, volatile void *curmap,
5691 BCM_REFERENCE(curmap);
5964 BCMATTACHFN(initvars_srom_si_bl)(si_t *sih, osl_t *osh, volatile void *curmap,
6004 rc = srom_read(sih, SI_BUS, curmap, osh, 0, sz, srom, TRUE);
6043 BCMATTACHFN(initvars_srom_si)(si_t *sih, osl_t *osh, volatile void *curmap,
6050 BCM_REFERENCE(curmap);
6058 if (BCME_OK != initvars_srom_si_bl(sih, osh, curmap, vars, varsz)) /* CIS format only */
6094 BCMATTACHFN(initvars_srom_si)(si_t *sih, osl_t *osh, volatile void *curmap,
6186 rc = srom_read(sih, SI_BUS, curmap, osh, 0, sz, cisbuf, FALSE);
6252 BCMATTACHFN(initvars_srom_si)(si_t *sih, osl_t *osh, volatile void *curmap,
6271 BCMATTACHFN(initvars_srom_si)(si_t *sih, osl_t *osh, volatile void *curmap,
6326 BCMATTACHFN(initvars_srom_si)(si_t *sih, osl_t *osh, volatile void *curmap,
6331 BCM_REFERENCE(curmap);