/freebsd/sys/dev/cardbus/ |
H A D | cardbus.c | 86 cardbus_probe(device_t cbdev) in cardbus_probe() argument 93 cardbus_attach(device_t cbdev) in cardbus_attach() argument 100 sc = device_get_softc(cbdev); in cardbus_attach() 101 sc->sc_dev = cbdev; in cardbus_attach() 105 pcib_get_bus(cbdev), pcib_get_bus(cbdev), 1, 0); in cardbus_attach() 117 cardbus_detach(device_t cbdev) in cardbus_detach() argument 123 cardbus_detach_card(cbdev); in cardbus_detach() 125 sc = device_get_softc(cbdev); in cardbus_detach() 197 bus = pcib_get_bus(cbdev); in cardbus_attach_card() 264 POWER_DISABLE_SOCKET(device_get_parent(cbdev), cbdev); in cardbus_detach_card() [all …]
|
H A D | cardbus_cis.c | 457 DEVPRINTF((cbdev, "CIS in PCI config space\n")); in cardbus_read_tuple_init() 467 DEVPRINTF((cbdev, "CIS in BAR %#x\n", *rid)); in cardbus_read_tuple_init() 471 DEVPRINTF((cbdev, "CIS in option rom\n")); in cardbus_read_tuple_init() 487 DEVPRINTF((cbdev, "CIS Mapped to %#jx\n", in cardbus_read_tuple_init() 504 device_printf(cbdev, "Bad header in rom %d: " in cardbus_read_tuple_init() 507 cardbus_read_tuple_finish(cbdev, child, *rid, in cardbus_read_tuple_init() 542 device_printf(cbdev, "Cannot find CIS in " in cardbus_read_tuple_init() 544 cardbus_read_tuple_finish(cbdev, child, *rid, in cardbus_read_tuple_init() 580 cardbus_parse_cis(device_t cbdev, device_t child, in cardbus_parse_cis() argument 610 device_printf(cbdev, "Failed to read CIS.\n"); in cardbus_parse_cis() [all …]
|
H A D | cardbusvar.h | 80 typedef int (tuple_cb) (device_t cbdev, device_t child, int id, int len, 92 int cardbus_parse_cis(device_t cbdev, device_t child,
|
H A D | cardbus_device.c | 66 cardbus_build_cis(device_t cbdev, device_t child, int id, in cardbus_build_cis() argument
|
/freebsd/sys/powerpc/ofw/ |
H A D | ofw_pcibus.c | 67 static int ofw_pcibus_child_pnpinfo_method(device_t cbdev, device_t child, 298 ofw_pcibus_child_pnpinfo_method(device_t cbdev, device_t child, struct sbuf *sb) in ofw_pcibus_child_pnpinfo_method() argument 300 pci_child_pnpinfo_method(cbdev, child, sb); in ofw_pcibus_child_pnpinfo_method() 304 ofw_bus_gen_child_pnpinfo(cbdev, child, sb); in ofw_pcibus_child_pnpinfo_method()
|
/freebsd/sys/dev/acpica/ |
H A D | acpi_pci.c | 80 static int acpi_pci_child_location_method(device_t cbdev, 82 static int acpi_pci_get_device_path(device_t cbdev, 182 acpi_pci_child_location_method(device_t cbdev, device_t child, struct sbuf *sb) in acpi_pci_child_location_method() argument 187 pci_child_location_method(cbdev, child, sb); in acpi_pci_child_location_method()
|
H A D | acpi.c | 880 acpi_child_location_method(device_t cbdev, device_t child, struct sbuf *sb) in acpi_child_location_method() argument 919 acpi_child_pnpinfo_method(device_t cbdev, device_t child, struct sbuf *sb) in acpi_child_pnpinfo_method() argument
|
/freebsd/sys/dev/pccbb/ |
H A D | pccbb_pci.c | 293 sc->cbdev = NULL; in cbb_pci_attach() 318 sc->cbdev = device_add_child(brdev, "cardbus", -1); in cbb_pci_attach() 319 if (sc->cbdev == NULL) in cbb_pci_attach() 321 else if (device_probe_and_attach(sc->cbdev) != 0) in cbb_pci_attach()
|
H A D | pccbb.c | 437 if (child != sc->cbdev && child != sc->exca.pccarddev) in cbb_child_detached() 552 if (device_is_attached(sc->cbdev)) { in cbb_insert() 554 CARD_ATTACH_CARD(sc->cbdev); in cbb_insert() 575 if (device_is_attached(sc->cbdev)) in cbb_removal() 576 CARD_DETACH_CARD(sc->cbdev); in cbb_removal()
|
H A D | pccbbvar.h | 84 device_t cbdev; member
|
/freebsd/sys/dev/ofw/ |
H A D | ofw_bus_subr.c | 88 ofw_bus_gen_child_pnpinfo(device_t cbdev, device_t child, struct sbuf *sb) in ofw_bus_gen_child_pnpinfo() argument 106 ofw_bus_gen_get_device_path(device_t cbdev, device_t child, const char *locator, in ofw_bus_gen_get_device_path() argument 112 rv = bus_generic_get_device_path(cbdev, child, locator, sb); in ofw_bus_gen_get_device_path() 118 return (bus_generic_get_device_path(cbdev, child, locator, sb)); in ofw_bus_gen_get_device_path()
|