Lines Matching +full:0 +full:x1e00

211 	for (size_t i = 0; !BHNDB_PCI_IS_CORE_END(&bhndb_pci_cores[i]); i++) {  in bhndb_pci_find_core()
231 quirks = 0; in bhndb_pci_get_core_quirks()
241 for (size_t i = 0; !BHNDB_PCI_IS_QUIRK_END(&qtable[i]); i++) { in bhndb_pci_get_core_quirks()
349 return (0); in bhndb_pci_alloc_msi()
368 sc->pci_quirks = 0; in bhndb_pci_attach()
408 if (bhndb_pci_alloc_msi(sc, &sc->msi_count) == 0) { in bhndb_pci_attach()
415 sc->msi_count = 0; in bhndb_pci_attach()
416 irq_rid = 0; in bhndb_pci_attach()
422 sc->isrc = bhndb_alloc_intr_isrc(sc->parent, irq_rid, 0, RM_MAX_END, 1, in bhndb_pci_attach()
465 return (0); in bhndb_pci_attach()
473 if (sc->msi_count > 0) in bhndb_pci_attach()
515 if (sc->msi_count > 0) in bhndb_pci_detach()
523 return (0); in bhndb_pci_detach()
537 if (nv_sz > 0) { in bhndb_pci_add_children()
560 error = bus_set_resource(child, SYS_RES_MEMORY, 0, in bhndb_pci_add_children()
569 return (0); in bhndb_pci_add_children()
616 return (0); in bhndb_pci_sprom_size()
621 return (0); in bhndb_pci_sprom_size()
638 device_printf(sc->dev, "invalid PCI sprom size 0x%x\n", sctl); in bhndb_pci_sprom_size()
639 return (0); in bhndb_pci_sprom_size()
662 * @retval 0 success
675 sc->pci_devclass, 0, BHND_PORT_DEVICE, 0, 0, offset, size); in bhndb_pci_get_core_regs()
694 return (0); in bhndb_pci_get_core_regs()
780 * 31:16 bits [31:16] of the enumeration space address (e.g. 0x18000000)
782 * 11:0 bits [11:0] of the PCI bus address
788 * 0x1000-0x17FF sprom shadow 0x800-0xFFF
789 * 0x1800-0x1DFF device registers 0x000-0x5FF
790 * 0x1E00+0x1FFF siba config registers 0xE00-0xFFF
812 if ((sc->pci_quirks & BHNDB_PCI_QUIRK_SRSH_WAR) == 0) in bhndb_pci_srsh_pi_war()
813 return (0); in bhndb_pci_srsh_pi_war()
819 0, 0, NULL, &pci_addr, &pci_size); in bhndb_pci_srsh_pi_war()
842 return (0); in bhndb_pci_srsh_pi_war()
906 for (u_int i = 0; i < BHNDB_PCI_BARCTRL_WRITE_RETRY; i++) { in bhndb_pci_compat_setregwin()
911 return (0); in bhndb_pci_compat_setregwin()
935 if (addr % rw->win_size != 0) in bhndb_pci_fast_setregwin()
944 return (0); in bhndb_pci_fast_setregwin()
977 info->board_type = 0; /* allow override below */ in bhndb_pci_populate_board_info()
986 if (info->board_vendor == 0) in bhndb_pci_populate_board_info()
989 if (info->board_type == 0) in bhndb_pci_populate_board_info()
992 if (info->board_devid == 0) in bhndb_pci_populate_board_info()
995 return (0); in bhndb_pci_populate_board_info()
1024 if (pci_find_cap(device_get_parent(dev), PCIY_EXPRESS, &reg) == 0) in bhndb_is_pcie_attached()
1056 return (0); in bhndb_enable_pci_clocks()
1061 return (0); /* already enabled */ in bhndb_enable_pci_clocks()
1086 return (0); in bhndb_enable_pci_clocks()
1107 return (0); in bhndb_disable_pci_clocks()
1122 return (0); in bhndb_disable_pci_clocks()
1194 return (0); in bhndb_pci_map_intr_isrc()
1209 if ((error = bhnd_get_intr_ivec(child, 0, &ivec))) in bhndb_pci_route_siba_interrupts()
1227 return (0); in bhndb_pci_route_siba_interrupts()
1261 return (0); in bhndb_pci_route_interrupts()
1275 * @retval 0 success
1372 return (0); in bhndb_pci_probe_alloc()
1422 * @retval 0 success
1437 return (0); in bhndb_pci_probe_copy_core_table()
1491 * @retval 0 success
1520 return (0); in bhndb_pci_probe_map()
1565 return (0); in bhndb_pci_probe_map()
1666 memset(pio, 0, sizeof(*pio)); in bhndb_pci_eio_init()
1674 pio->addr = 0; in bhndb_pci_eio_init()
1675 pio->size = 0; in bhndb_pci_eio_init()
1693 return (0); in bhndb_pci_eio_map()
1709 return (0); in bhndb_pci_eio_tell()