Home
last modified time | relevance | path

Searched refs:bus (Results 1 – 11 of 11) sorted by relevance

/hardware/broadcom/wlan/bcm4329/src/dhd/sys/
Ddhd_sdio.c139 #define PKTFREE2() if ((bus->bus != SPI_BUS) || bus->usebufpool) \
140 PKTFREE(bus->dhd->osh, pkt, FALSE);
162 uint32 bus; /* gSPI or SDIO bus */ member
298 extern void dhd_os_wd_timer(void *bus, uint wdtick);
358 #define DATAOK(bus) \ argument
359 (((uint8)(bus->tx_max - bus->tx_seq) != 0) && \
360 (((uint8)(bus->tx_max - bus->tx_seq) & 0x80) == 0))
368 regvar = R_REG(bus->dhd->osh, regaddr); \
369 } while (bcmsdh_regfail(bus->sdh) && (++retryvar <= retry_limit)); \
371 bus->regfails += (retryvar-1); \
[all …]
Ddhd_bus.h42 extern bool dhd_bus_download_firmware(struct dhd_bus *bus, osl_t *osh,
46 extern void dhd_bus_stop(struct dhd_bus *bus, bool enforce_mutex);
52 extern int dhd_bus_txdata(struct dhd_bus *bus, void *txp);
57 extern int dhd_bus_txctl(struct dhd_bus *bus, uchar *msg, uint msglen);
58 extern int dhd_bus_rxctl(struct dhd_bus *bus, uchar *msg, uint msglen);
65 extern bool dhd_bus_dpc(struct dhd_bus *bus);
80 extern uint dhd_bus_chip(struct dhd_bus *bus);
83 extern void dhd_bus_set_nvram_params(struct dhd_bus * bus, const char *nvram_params);
85 extern void *dhd_bus_pub(struct dhd_bus *bus);
86 extern void *dhd_bus_txq(struct dhd_bus *bus);
[all …]
Ddhd.h103 struct dhd_bus *bus; /* Bus module handle */ member
232 extern dhd_pub_t *dhd_attach(osl_t *osh, struct dhd_bus *bus, uint bus_hdrlen);
268 extern void dhd_os_wd_timer(void *bus, uint wdtick);
Ddhd_linux.c189 extern void dhd_enable_oob_intr(struct dhd_bus *bus, bool enable);
872 ret = dhd_bus_txdata(dhdp->bus, pktbuf); in dhd_sendpkt()
1210 if (dhd_bus_dpc(dhd->pub.bus)) { in dhd_dpc_thread()
1217 dhd_bus_stop(dhd->pub.bus, TRUE); in dhd_dpc_thread()
1237 if (dhd_bus_dpc(dhd->pub.bus)) in dhd_dpc()
1240 dhd_bus_stop(dhd->pub.bus, TRUE); in dhd_dpc()
1713 dhd_attach(osl_t *osh, struct dhd_bus *bus, uint bus_hdrlen) in dhd_attach() argument
1772 dhd->pub.bus = bus; in dhd_attach()
1836 g_bus = bus; in dhd_attach()
1873 if (!(dhd_bus_download_firmware(dhd->pub.bus, dhd->pub.osh, in dhd_bus_start()
[all …]
Ddhd_cdc.c90 ret = dhd_bus_txctl(dhd->bus, (uchar*)&prot->msg, len); in dhdcdc_msg()
104 ret = dhd_bus_rxctl(dhd->bus, (uchar*)&prot->msg, len+sizeof(cdc_ioctl_t)); in dhdcdc_cmplt()
246 extern int dhd_bus_interface(struct dhd_bus *bus, uint arg, void* arg2);
Ddhd_common.c58 void dhd_set_timer(void *bus, uint wdtick);
/hardware/broadcom/wlan/bcm4329/src/include/
Dbcmdefs.h42 #define BUSTYPE(bus) (BCMBUSTYPE) argument
44 #define BUSTYPE(bus) (bus) argument
49 #define CHIPTYPE(bus) (BCMCHIPTYPE) argument
51 #define CHIPTYPE(bus) (bus) argument
Dbcmsdh.h180 void *(*attach)(uint16 vend_id, uint16 dev_id, uint16 bus, uint16 slot,
/hardware/broadcom/wlan/bcm4329/src/bcmsdio/sys/
Dbcmsdh_linux.c155 .bus = &platform_bus_type,
380 pdev->bus->number, PCI_SLOT(pdev->devfn), in bcmsdh_pci_probe()
547 dhdsdio_isr((void *)dhdp->bus); in wlan_oob_irq()
/hardware/broadcom/wlan/bcm4329/src/shared/
Dsbutils.c43 static uint _sb_scan(si_info_t *sii, uint32 sba, void *regs, uint bus, uint32 sbba,
457 _sb_scan(si_info_t *sii, uint32 sba, void *regs, uint bus, uint32 sbba, uint numcores) in _sb_scan() argument
463 if (bus >= SB_MAXBUSES) { in _sb_scan()
464 SI_ERROR(("_sb_scan: bus 0x%08x at level %d is too deep to scan\n", sbba, bus)); in _sb_scan()
533 nsbcc = _sb_scan(sii, sba, regs, bus + 1, nsbba, nsbcc); in _sb_scan()
Dlinux_osl.c420 return ((struct pci_dev *)osh->pdev)->bus->number; in osl_pci_bus()