| /freebsd-14.2/sys/dev/cardbus/ |
| H A D | cardbus.c | 87 cardbus_probe(device_t cbdev) in cardbus_probe() argument 94 cardbus_attach(device_t cbdev) in cardbus_attach() argument 101 sc = device_get_softc(cbdev); in cardbus_attach() 102 sc->sc_dev = cbdev; in cardbus_attach() 106 pcib_get_bus(cbdev), pcib_get_bus(cbdev), 1, 0); in cardbus_attach() 118 cardbus_detach(device_t cbdev) in cardbus_detach() argument 124 cardbus_detach_card(cbdev); in cardbus_detach() 126 sc = device_get_softc(cbdev); in cardbus_detach() 198 bus = pcib_get_bus(cbdev); in cardbus_attach_card() 265 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-14.2/sys/powerpc/ofw/ |
| H A D | ofw_pcibus.c | 68 static int ofw_pcibus_child_pnpinfo_method(device_t cbdev, device_t child, 299 ofw_pcibus_child_pnpinfo_method(device_t cbdev, device_t child, struct sbuf *sb) in ofw_pcibus_child_pnpinfo_method() argument 301 pci_child_pnpinfo_method(cbdev, child, sb); in ofw_pcibus_child_pnpinfo_method() 305 ofw_bus_gen_child_pnpinfo(cbdev, child, sb); in ofw_pcibus_child_pnpinfo_method()
|
| /freebsd-14.2/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 | 889 acpi_child_location_method(device_t cbdev, device_t child, struct sbuf *sb) in acpi_child_location_method() argument 928 acpi_child_pnpinfo_method(device_t cbdev, device_t child, struct sbuf *sb) in acpi_child_pnpinfo_method() argument
|
| /freebsd-14.2/sys/dev/pccbb/ |
| H A D | pccbb_pci.c | 294 sc->cbdev = NULL; in cbb_pci_attach() 319 sc->cbdev = device_add_child(brdev, "cardbus", -1); in cbb_pci_attach() 320 if (sc->cbdev == NULL) in cbb_pci_attach() 322 else if (device_probe_and_attach(sc->cbdev) != 0) in cbb_pci_attach()
|
| H A D | pccbb.c | 438 if (child != sc->cbdev && child != sc->exca.pccarddev) in cbb_child_detached() 553 if (device_is_attached(sc->cbdev)) { in cbb_insert() 555 CARD_ATTACH_CARD(sc->cbdev); in cbb_insert() 576 if (device_is_attached(sc->cbdev)) in cbb_removal() 577 CARD_DETACH_CARD(sc->cbdev); in cbb_removal()
|
| H A D | pccbbvar.h | 84 device_t cbdev; member
|
| /freebsd-14.2/sys/dev/pci/ |
| H A D | pci_private.h | 135 int pci_child_location_method(device_t cbdev, device_t child, 137 int pci_child_pnpinfo_method(device_t cbdev, device_t child,
|
| /freebsd-14.2/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()
|