Home
last modified time | relevance | path

Searched refs:bustype (Results 1 – 25 of 78) sorted by relevance

1234

/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Dsiutils.c127 volatile void *regs, uint bustype, void *sdh,
129 static bool si_buscore_prep(si_info_t *sii, uint bustype, uint devid,
131 static bool si_buscore_setup(si_info_t *sii, chipcregs_t *cc, uint bustype,
173 si_t *si_attach(uint devid, osl_t *osh, volatile void *regs, uint bustype, in si_attach() argument
196 if (si_doattach(sii, devid, osh, regs, bustype, sdh, vars, varsz) == NULL) { in si_attach()
270 static bool si_buscore_prep(si_info_t *sii, uint bustype, uint devid, void *sdh) in si_buscore_prep() argument
276 if (BUSTYPE(bustype) == PCMCIA_BUS) { in si_buscore_prep()
281 if (BUSTYPE(bustype) == SDIO_BUS) { in si_buscore_prep()
322 if (BUSTYPE(bustype) == SPI_BUS) { in si_buscore_prep()
369 static bool si_buscore_setup(si_info_t *sii, chipcregs_t *cc, uint bustype, in si_buscore_setup() argument
[all …]
Daiutils.c160 switch (BUSTYPE(sih->bustype)) { in ai_scan()
184 sih->bustype)); in ai_scan()
510 switch (BUSTYPE(sih->bustype)) { in _ai_setcoreidx()
900 if (BUSTYPE(sih->bustype) == SI_BUS) { in ai_corereg()
911 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in ai_corereg()
1002 if (BUSTYPE(sih->bustype) == SI_BUS) { in ai_corereg_writeonly()
1013 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in ai_corereg_writeonly()
1095 if (BUSTYPE(sih->bustype) == SI_BUS) { in ai_corereg_addr()
1106 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in ai_corereg_addr()
1375 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_dumpregs()
[all …]
Dsiutils_priv.h194 ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \
198 ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \
202 ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \
208 ((BUSTYPE((si)->pub.bustype) == PCMCIA_BUS) && ((si)->memseg == TRUE))
298 extern si_t *ai_attach(uint pcidev, osl_t *osh, void *regs, uint bustype,
Dsbutils.c116 if (BUSTYPE(sii->pub.bustype) == PCMCIA_BUS) { in sb_write_sbreg()
212 switch (BUSTYPE(sii->pub.bustype)) { in _sb_coresba()
384 if (BUSTYPE(sii->pub.bustype) == SI_BUS) { in sb_corereg()
395 } else if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in sb_corereg()
489 if (BUSTYPE(sii->pub.bustype) == SI_BUS) { in sb_corereg_addr()
500 } else if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in sb_corereg_addr()
566 if ((BUSTYPE(sii->pub.bustype) == SI_BUS) && in _sb_scan()
695 switch (BUSTYPE(sii->pub.bustype)) { in _sb_setcoreidx()
995 switch (BUSTYPE(sii->pub.bustype)) { in sb_set_initiator_to()
Dlinux_osl_priv.h140 uint bustype; member
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Dsiutils.c126 uint bustype, void *sdh, char **vars, uint *varsz);
127 static bool si_buscore_prep(si_info_t *sii, uint bustype, uint devid, void *sdh);
128 static bool si_buscore_setup(si_info_t *sii, chipcregs_t *cc, uint bustype, uint32 savewin,
172 uint bustype, void *sdh, char **vars, uint *varsz) in si_attach() argument
192 if (si_doattach(sii, devid, osh, regs, bustype, sdh, vars, varsz) == NULL) { in si_attach()
264 si_buscore_prep(si_info_t *sii, uint bustype, uint devid, void *sdh) in si_buscore_prep() argument
269 if (BUSTYPE(bustype) == PCMCIA_BUS) in si_buscore_prep()
273 if (BUSTYPE(bustype) == SDIO_BUS) { in si_buscore_prep()
309 if (BUSTYPE(bustype) == SPI_BUS) { in si_buscore_prep()
357 si_buscore_setup(si_info_t *sii, chipcregs_t *cc, uint bustype, uint32 savewin, in si_buscore_setup() argument
[all …]
Daiutils.c155 switch (BUSTYPE(sih->bustype)) { in ai_scan()
178 SI_ERROR(("Don't know how to do AXI enumeration on bus %d\n", sih->bustype)); in ai_scan()
496 switch (BUSTYPE(sih->bustype)) { in _ai_setcoreidx()
887 if (BUSTYPE(sih->bustype) == SI_BUS) { in ai_corereg()
897 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in ai_corereg()
981 if (BUSTYPE(sih->bustype) == SI_BUS) { in ai_corereg_writeonly()
991 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in ai_corereg_writeonly()
1068 if (BUSTYPE(sih->bustype) == SI_BUS) { in ai_corereg_addr()
1078 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in ai_corereg_addr()
1352 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_dumpregs()
[all …]
Dsiutils_priv.h188 #define PCI(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \
191 #define PCIE_GEN1(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \
194 #define PCIE_GEN2(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \
199 #define PCMCIA(si) ((BUSTYPE((si)->pub.bustype) == PCMCIA_BUS) && ((si)->memseg == TRUE))
280 extern si_t *ai_attach(uint pcidev, osl_t *osh, void *regs, uint bustype,
Dsbutils.c115 if (BUSTYPE(sii->pub.bustype) == PCMCIA_BUS) { in sb_write_sbreg()
212 switch (BUSTYPE(sii->pub.bustype)) { in _sb_coresba()
386 if (BUSTYPE(sii->pub.bustype) == SI_BUS) { in sb_corereg()
396 } else if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in sb_corereg()
485 if (BUSTYPE(sii->pub.bustype) == SI_BUS) { in sb_corereg_addr()
495 } else if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in sb_corereg_addr()
556 if ((BUSTYPE(sii->pub.bustype) == SI_BUS) && (cores_info->coresba[next] == sba)) { in _sb_scan()
681 switch (BUSTYPE(sii->pub.bustype)) { in _sb_setcoreidx()
974 switch (BUSTYPE(sii->pub.bustype)) { in sb_set_initiator_to()
Dlinux_osl_priv.h143 uint bustype; member
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Dsiutils.c96 uint bustype, void *sdh, char **vars, uint *varsz);
97 static bool si_buscore_prep(si_info_t *sii, uint bustype, uint devid, void *sdh);
98 static bool si_buscore_setup(si_info_t *sii, chipcregs_t *cc, uint bustype, uint32 savewin,
145 uint bustype, void *sdh, char **vars, uint *varsz) in si_attach() argument
163 if (si_doattach(sii, devid, osh, regs, bustype, sdh, vars, varsz) == NULL) { in si_attach()
220 si_buscore_prep(si_info_t *sii, uint bustype, uint devid, void *sdh) in si_buscore_prep() argument
225 if (BUSTYPE(bustype) == PCMCIA_BUS) in si_buscore_prep()
230 if (BUSTYPE(bustype) == SDIO_BUS) { in si_buscore_prep()
296 si_buscore_setup(si_info_t *sii, chipcregs_t *cc, uint bustype, uint32 savewin, in si_buscore_setup() argument
376 if (BUSTYPE(bustype) == SI_BUS) { in si_buscore_setup()
[all …]
Daiutils.c147 switch (BUSTYPE(sih->bustype)) { in ai_scan()
170 SI_ERROR(("Don't know how to do AXI enumertion on bus %d\n", sih->bustype)); in ai_scan()
448 switch (BUSTYPE(sih->bustype)) { in _ai_setcoreidx()
822 if (BUSTYPE(sih->bustype) == SI_BUS) { in ai_corereg()
832 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in ai_corereg()
913 if (BUSTYPE(sih->bustype) == SI_BUS) { in ai_corereg_addr()
923 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in ai_corereg_addr()
1193 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_dumpregs()
1211 sih->chip, sih->chiprev, sih->bustype, sih->boardtype, sih->boardvendor); in ai_dumpregs()
1214 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in ai_dumpregs()
[all …]
Dsiutils_priv.h172 #define PCI(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \
175 #define PCIE_GEN1(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \
178 #define PCIE_GEN2(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \
183 #define PCMCIA(si) ((BUSTYPE((si)->pub.bustype) == PCMCIA_BUS) && ((si)->memseg == TRUE))
264 extern si_t *ai_attach(uint pcidev, osl_t *osh, void *regs, uint bustype,
Dsbutils.c117 if (BUSTYPE(sii->pub.bustype) == PCMCIA_BUS) { in sb_write_sbreg()
215 switch (BUSTYPE(sii->pub.bustype)) { in _sb_coresba()
390 if (BUSTYPE(sii->pub.bustype) == SI_BUS) { in sb_corereg()
400 } else if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in sb_corereg()
489 if (BUSTYPE(sii->pub.bustype) == SI_BUS) { in sb_corereg_addr()
499 } else if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in sb_corereg_addr()
560 if ((BUSTYPE(sii->pub.bustype) == SI_BUS) && (cores_info->coresba[next] == sba)) { in _sb_scan()
685 switch (BUSTYPE(sii->pub.bustype)) { in _sb_setcoreidx()
981 switch (BUSTYPE(sii->pub.bustype)) { in sb_set_initiator_to()
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Dnciutils.c268 uint16 bustype; /**< SI_BUS, PCI_BUS */ member
430 BCMATTACHFN(nci_init)(si_t *sih, chipcregs_t *cc, uint bustype) in BCMATTACHFN()
459 nci->bustype = bustype; in BCMATTACHFN()
460 switch (nci->bustype) { in BCMATTACHFN()
708 if (nci->bustype == PCI_BUS) { in BCMATTACHFN()
763 if (nci->bustype == PCI_BUS) { in BCMATTACHFN()
790 switch (BUSTYPE(sih->bustype)) { in BCMATTACHFN()
807 NCI_ERROR(("nci_find_numcores: Invalid bustype %d\n", BUSTYPE(sih->bustype))); in BCMATTACHFN()
819 if (BUSTYPE(sih->bustype) == PCI_BUS) { in BCMATTACHFN()
1058 if (BUSTYPE(sih->bustype) == SI_BUS) { in BCMPOSTTRAPFN()
[all …]
Dsiutils.c151 uint bustype, void *sdh, char **vars, uint *varsz);
152 static bool si_buscore_prep(si_info_t *sii, uint bustype, uint devid, void *sdh);
153 static bool si_buscore_setup(si_info_t *sii, chipcregs_t *cc, uint bustype, uint32 savewin,
274 uint bustype, void *sdh, char **vars, uint *varsz) in BCMATTACHFN()
292 if (si_doattach(sii, devid, osh, regs, bustype, sdh, vars, varsz) == NULL) { in BCMATTACHFN()
362 BCMATTACHFN(si_buscore_prep)(si_info_t *sii, uint bustype, uint devid, void *sdh) in BCMATTACHFN()
369 if (BUSTYPE(bustype) == PCI_BUS && !si_ispcie(sii)) in BCMATTACHFN()
385 if (BUSTYPE(bustype) == SDIO_BUS) { in BCMATTACHFN()
422 if (BUSTYPE(bustype) == SPI_BUS) { in BCMATTACHFN()
475 BCMATTACHFN(si_buscore_setup)(si_info_t *sii, chipcregs_t *cc, uint bustype, uint32 savewin, in BCMATTACHFN()
[all …]
Daiutils.c184 switch (BUSTYPE(sih->bustype)) { in BCMATTACHFN()
206 SI_ERROR(("Don't know how to do AXI enumeration on bus %d\n", sih->bustype)); in BCMATTACHFN()
298 if (BUSTYPE(sih->bustype) == PCI_BUS && in BCMATTACHFN()
516 switch (BUSTYPE(sih->bustype)) { in BCMPOSTTRAPFN()
953 if (BUSTYPE(sih->bustype) == SI_BUS) { in BCMPOSTTRAPFN()
963 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in BCMPOSTTRAPFN()
1047 if (BUSTYPE(sih->bustype) == SI_BUS) { in ai_corereg_writeonly()
1057 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in ai_corereg_writeonly()
1134 if (BUSTYPE(sih->bustype) == SI_BUS) { in BCMPOSTTRAPFN()
1144 } else if (BUSTYPE(sih->bustype) == PCI_BUS) { in BCMPOSTTRAPFN()
[all …]
Dsbutils.c147 switch (BUSTYPE(sii->pub.bustype)) { in BCMATTACHFN()
298 if (BUSTYPE(sii->pub.bustype) == SI_BUS) { in sb_corereg()
308 } else if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in sb_corereg()
397 if (BUSTYPE(sii->pub.bustype) == SI_BUS) { in sb_corereg_addr()
407 } else if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in sb_corereg_addr()
469 if ((BUSTYPE(sii->pub.bustype) == SI_BUS) && (cores_info->coresba[next] == sba)) { in BCMATTACHFN()
576 switch (BUSTYPE(sii->pub.bustype)) { in _sb_setcoreidx()
721 if (BUSTYPE(sii->pub.bustype) == PCI_BUS) { in sb_taclear()
790 else if ((BUSTYPE(sii->pub.bustype) == SDIO_BUS) || in sb_taclear()
791 (BUSTYPE(sii->pub.bustype) == SPI_BUS)) { in sb_taclear()
Dbcmsrom.c114 if (BUSTYPE(sih->bustype) == SI_BUS) in srom_offset()
1053 BCMATTACHFN(srom_var_init)(si_t *sih, uint bustype, volatile void *curmap, osl_t *osh, in BCMATTACHFN()
1056 ASSERT(bustype == BUSTYPE(bustype)); in BCMATTACHFN()
1063 switch (BUSTYPE(bustype)) { in BCMATTACHFN()
1122 srom_read(si_t *sih, uint bustype, volatile void *curmap, osl_t *osh, argument
1129 ASSERT(bustype == BUSTYPE(bustype));
1139 if ((BUSTYPE(bustype) == SI_BUS) &&
1155 if (BUSTYPE(bustype) == PCI_BUS) {
1171 else if (!((BUSTYPE(bustype) == SI_BUS) &&
1187 } else if (BUSTYPE(bustype) == SDIO_BUS) {
[all …]
Dsiutils_priv.h254 #define PCI(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \
257 #define PCIE_GEN1(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \
260 #define PCIE_GEN2(si) ((BUSTYPE((si)->pub.bustype) == PCI_BUS) && \
351 extern si_t *ai_attach(uint pcidev, osl_t *osh, void *regs, uint bustype,
Dlinux_osl_priv.h158 uint bustype; member
/device/soc/amlogic/a311d/soc/amlogic/input/keyboard/
Dgpio_keypad.c311 input->id.bustype = BUS_HOST; in gpio_keypad_probe()
437 info->bustype = input->id.bustype; in gpio_keypad_probe()
/device/soc/rockchip/common/sdk_linux/drivers/input/misc/
Drk805-pwrkey.c52 pwr->id.bustype = BUS_HOST; in rk805_pwrkey_probe()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/include/
Dbcmsdh.h220 uint16 func, uint bustype, void * regsva, osl_t * osh,
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/include/
Ddbus.h139 int bustype; member
195 typedef void *(*probe_cb_t)(void *arg, const char *desc, uint32 bustype,

1234