Lines Matching refs:sbh
40 #define sbh bcm947xx_sbh
50 ret = sbpci_read_config(sbh, dev->bus->number, PCI_SLOT(dev->devfn),
63 ret = sbpci_read_config(sbh, dev->bus->number, PCI_SLOT(dev->devfn),
76 ret = sbpci_read_config(sbh, dev->bus->number, PCI_SLOT(dev->devfn),
89 ret = sbpci_write_config(sbh, dev->bus->number, PCI_SLOT(dev->devfn),
102 ret = sbpci_write_config(sbh, dev->bus->number, PCI_SLOT(dev->devfn),
115 ret = sbpci_write_config(sbh, dev->bus->number, PCI_SLOT(dev->devfn),
140 sbpci_check(sbh);
154 if (!(sbh = sb_kattach(SB_OSH)))
159 sbpci_init(sbh);
168 if (sb_chip(sbh) == BCM4710_DEVICE_ID) {
320 coreidx = sb_coreidx(sbh);
321 regs = sb_setcoreidx(sbh, PCI_SLOT(dev->devfn));
334 if (sb_coreid(sbh) == SB_USB) {
335 sb_core_disable(sbh, sb_coreflags(sbh, 0, 0));
336 sb_core_reset(sbh, 1 << 29, 0);
348 else if (sb_coreid(sbh) == SB_USB20H) {
349 if (!sb_iscoreup(sbh)) {
351 sb_core_reset(sbh, 0, 0);
357 sb_core_reset(sbh, 0, 0);
372 if ((sb_corerev(sbh) == 2) && (sb_chip(sbh) == BCM5354_CHIP_ID)) {
400 sb_core_reset(sbh, 0, 0);
402 sb_setcoreidx(sbh, coreidx);