Home
last modified time | relevance | path

Searched refs:gNumCards (Results 1 – 7 of 7) sorted by relevance

/haiku/src/add-ons/kernel/drivers/audio/ac97/geode/
H A Ddriver.cpp16 uint32 gNumCards; variable
54 gNumCards = 0; in init_driver()
57 && gNumCards < MAX_CARDS; i++) { in init_driver()
62 memset(&gCards[gNumCards], 0, sizeof(geode_controller)); in init_driver()
63 gCards[gNumCards].pci_info = info; in init_driver()
64 gCards[gNumCards].opened = 0; in init_driver()
65 sprintf(path, DEVFS_PATH_FORMAT, gNumCards); in init_driver()
66 gCards[gNumCards++].devfs_path = strdup(path); in init_driver()
75 if (gNumCards == 0) { in init_driver()
87 for (uint32 i = 0; i < gNumCards; i++) { in uninit_driver()
[all …]
H A Ddevice.cpp18 for (uint32 i = 0; i < gNumCards; i++) { in geode_open()
H A Ddriver.h198 extern uint32 gNumCards;
/haiku/src/add-ons/kernel/drivers/audio/hda/
H A Ddriver.cpp16 uint32 gNumCards; variable
85 gNumCards = 0; in init_driver()
88 && gNumCards < MAX_CARDS; i++) { in init_driver()
94 "hda", &gCards[gNumCards]) < B_OK) { in init_driver()
100 memset(&gCards[gNumCards], 0, sizeof(hda_controller)); in init_driver()
101 gCards[gNumCards].pci_info = info; in init_driver()
102 gCards[gNumCards].opened = 0; in init_driver()
103 sprintf(path, DEVFS_PATH_FORMAT, gNumCards); in init_driver()
104 gCards[gNumCards++].devfs_path = strdup(path); in init_driver()
114 if (gNumCards == 0) { in init_driver()
[all …]
H A Ddevice.cpp18 for (uint32 i = 0; i < gNumCards; i++) { in hda_open()
H A Ddriver.h356 extern uint32 gNumCards;
/haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/
H A DDriver.cpp20 size_t gNumCards = 0; variable
76 if (gNumCards == MAX_DEVICES) { in init_driver()
101 cardInfos[idx].Name(), gNumCards); in init_driver()
102 gDeviceNames[gNumCards] = strdup(name); in init_driver()
103 gDevices[gNumCards++] = device; in init_driver()
111 if (gNumCards == 0) { in init_driver()