Searched refs:wordoff (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | bcmsrom.c | 163 static int sprom_read_pci(osl_t *osh, si_t *sih, volatile uint16 *sprom, uint wordoff, uint16 *buf, 170 static uint16 srom_cc_cmd(si_t *sih, osl_t *osh, volatile void *ccregs, uint32 cmd, uint wordoff, 4475 srom_cc_cmd(si_t *sih, osl_t *osh, volatile void *ccregs, uint32 cmd, uint wordoff, uint16 data) argument 4482 byteoff = wordoff * 2; 4529 sprom_read_pci(osl_t *osh, si_t *sih, volatile uint16 *sprom, uint wordoff, argument 4582 buf[i] = srom_cc_cmd(sih, osh, ccregs, SRC_OP_READ, wordoff + i, 0); 4587 buf[i] = R_REG(osh, &sprom[wordoff + i]); 4590 if ((wordoff + i) >= sprom_num_words) { 4592 } else if ((wordoff + i) >= CC_SROM_SHADOW_WSIZE) { 4596 buf[i] = srom_cc_cmd(sih, osh, ccregs, SRC_OP_READ, wordoff + i, 0); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | bcmsrom.c | 163 static int sprom_read_pci(osl_t *osh, si_t *sih, volatile uint16 *sprom, uint wordoff, uint16 *buf, 170 static uint16 srom_cc_cmd(si_t *sih, osl_t *osh, volatile void *ccregs, uint32 cmd, uint wordoff, 4475 srom_cc_cmd(si_t *sih, osl_t *osh, volatile void *ccregs, uint32 cmd, uint wordoff, uint16 data) argument 4482 byteoff = wordoff * 2; 4529 sprom_read_pci(osl_t *osh, si_t *sih, volatile uint16 *sprom, uint wordoff, argument 4582 buf[i] = srom_cc_cmd(sih, osh, ccregs, SRC_OP_READ, wordoff + i, 0); 4587 buf[i] = R_REG(osh, &sprom[wordoff + i]); 4590 if ((wordoff + i) >= sprom_num_words) { 4592 } else if ((wordoff + i) >= CC_SROM_SHADOW_WSIZE) { 4596 buf[i] = srom_cc_cmd(sih, osh, ccregs, SRC_OP_READ, wordoff + i, 0); [all …]
|