Home
last modified time | relevance | path

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

/freebsd/sys/dev/cardbus/
H A Dcardbus.c71 static int cardbus_attach(device_t cbdev);
72 static int cardbus_attach_card(device_t cbdev);
73 static int cardbus_detach(device_t cbdev);
74 static int cardbus_detach_card(device_t cbdev);
76 static void cardbus_driver_added(device_t cbdev, driver_t *driver);
77 static int cardbus_probe(device_t cbdev);
78 static int cardbus_read_ivar(device_t cbdev, device_t child, int which,
86 cardbus_probe(device_t cbdev) in cardbus_probe() argument
88 device_set_desc(cbdev, "CardBus bus"); in cardbus_probe()
93 cardbus_attach(device_t cbdev) in cardbus_attach() argument
[all …]
H A Dcardbus_cis.c64 static int decode_tuple_generic(device_t cbdev, device_t child, int id,
67 static int decode_tuple_linktarget(device_t cbdev, device_t child, int id,
70 static int decode_tuple_vers_1(device_t cbdev, device_t child, int id,
73 static int decode_tuple_funcid(device_t cbdev, device_t child, int id,
76 static int decode_tuple_manfid(device_t cbdev, device_t child, int id,
79 static int decode_tuple_funce(device_t cbdev, device_t child, int id,
82 static int decode_tuple_bar(device_t cbdev, device_t child, int id,
85 static int decode_tuple_unhandled(device_t cbdev, device_t child, int id,
88 static int decode_tuple_end(device_t cbdev, device_t child, int id,
92 static int cardbus_read_tuple_conf(device_t cbdev, device_t child,
[all …]
H A Dcardbusvar.h78 typedef int (tuple_cb) (device_t cbdev, device_t child, int id, int len,
90 int cardbus_parse_cis(device_t cbdev, device_t child,
H A Dcardbus_device.c66 cardbus_build_cis(device_t cbdev, device_t child, int id, in cardbus_build_cis() argument
/freebsd/sys/powerpc/ofw/
H A Dofw_pcibus.c67 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/sys/dev/acpica/
H A Dacpi_pci.c80 static int acpi_pci_child_location_method(device_t cbdev,
82 static int acpi_pci_get_device_path(device_t cbdev,
183 acpi_pci_child_location_method(device_t cbdev, device_t child, struct sbuf *sb) in acpi_pci_child_location_method() argument
188 pci_child_location_method(cbdev, child, sb); in acpi_pci_child_location_method()
H A Dacpi.c901 acpi_child_location_method(device_t cbdev, device_t child, struct sbuf *sb) in acpi_child_location_method() argument
940 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 Dpccbb_pci.c289 sc->cbdev = NULL; in cbb_pci_attach()
309 sc->cbdev = device_add_child(brdev, "cardbus", DEVICE_UNIT_ANY); in cbb_pci_attach()
310 if (sc->cbdev == NULL) in cbb_pci_attach()
312 else if (device_probe_and_attach(sc->cbdev) != 0) in cbb_pci_attach()
H A Dpccbb.c407 if (child != sc->cbdev && child != sc->exca.pccarddev) in cbb_child_detached()
522 if (device_is_attached(sc->cbdev)) { in cbb_insert()
524 CARD_ATTACH_CARD(sc->cbdev); in cbb_insert()
545 if (device_is_attached(sc->cbdev)) in cbb_removal()
546 CARD_DETACH_CARD(sc->cbdev); in cbb_removal()
H A Dpccbbvar.h84 device_t cbdev; member
/freebsd/sys/dev/ofw/
H A Dofw_bus_subr.c88 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()