/src/lib/libc/gen/ |
ttyslot.c | 58 int slot = 0, ispty = 0; local in function:__weak_alias 81 for (slot = 1; (ttyp = getttyent()) != NULL; ++slot) 84 return slot; 93 return slot + (int)minor(st.st_rdev) + 1;
|
/src/sys/arch/rs6000/rs6000/ |
mainbus.c | 89 int slot; local in function:mainbus_attach 102 for (slot=0; slot < 16; slot++) { 103 printf("slot %d == %x%x\n", slot, 104 inb(0xc0400100 + 1 + (slot<<16)), 105 inb(0xc0400100 + 0 + (slot<<16)));
|
/src/sys/arch/ia64/disasm/ |
disasm_decode.c | 52 asm_decodeA(uint64_t bits, struct asm_bundle *b, int slot) 528 return (asm_extract(op, fmt, bits, b, slot)); 536 asm_decodeB(uint64_t ip, struct asm_bundle *b, int slot) 542 bits = SLOT(ip, slot); 644 return (asm_extract(op, fmt, bits, b, slot)); 652 asm_decodeF(uint64_t ip, struct asm_bundle *b, int slot) 658 bits = SLOT(ip, slot); 895 return (asm_extract(op, fmt, bits, b, slot)); 2525 unsigned int slot; local in function:asm_decode [all...] |
/src/sys/dev/mca/ |
mca.c | 83 aprint_normal("%s slot %d: %s", pnp, ma->ma_slot + 1, devinfo); 114 int slot; local in function:mca_attach 134 for (slot = 0; slot < MCA_MAX_SLOTS; slot++) { 143 ma.ma_slot = slot; 146 ma.ma_pos[reg]=mca_conf_read(mc, slot, reg); 152 locs[MCACF_SLOT] = slot;
|
/src/sys/arch/atari/isa/ |
isa_hades.c | 57 * for a slot are wired together and connected to either IO3 (slot1) or 58 * IO7 (slot2). Since no info can be obtained about the slot position 60 * - irq <= 6 -> slot 1 61 * - irq > 6 -> slot 2 71 iifun(int slot, int sr) 76 iinfo_p = &iinfo[slot]; 81 if (slot == 0) { 92 add_sicallback((si_farg)iifun, (void*)slot, 0); 96 if (slot == 0) { 119 * XXXX to only generate interrupts for the slot the card is in.. 125 int slot, i; local in function:isa_intr_alloc 156 int slot; local in function:isa_intr_establish [all...] |
/src/sys/arch/alpha/pci/ |
pci_bootdev.c | 83 if ((b->slot / 1000) == pba->pba_bus) { 94 int slot = pa->pa_bus * 1000 + pa->pa_function * 100 + local in function:pci_find_bootdev 97 if (b->slot == slot) {
|
/src/sys/arch/hp300/dev/ |
sgc.c | 99 int slot, rv; local in function:sgcattach 111 for (slot = 0; slot < SGC_NSLOTS; slot++) { 112 pa = sgc_slottopa(slot); 114 aprint_error_dev(self, "can't map slot %d\n", slot); 124 DPRINTF(("%s: no valid device at slot %d\n", 125 device_xname(self), slot)); 131 saa.saa_slot = slot; [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
standalone_malloc_test.cc | 40 size_t slot = i % allocated.size(); local in function:MallocThread 41 char *p = allocated[slot].first; 43 size_t size = allocated[slot].second; 45 swap(allocated[slot], allocated.back());
|
/src/sys/arch/amiga/dev/ |
zbusvar.h | 39 int slot; member in struct:zbus_args
|
/src/sys/arch/atari/pci/ |
pci_hades.c | 105 * for a slot are wired together and connected to IO 0,1,2 or 5 (slots: 107 * to the slot position. 114 iifun(int slot, int sr) 119 iinfo_p = &iinfo[slot]; 130 add_sicallback((si_farg)iifun, (void*)slot, 0); 163 int slot; local in function:pci_intr_establish 165 slot = ih; 166 iinfo_p = &iinfo[slot]; 171 ihand = intr_establish((slot == 3) ? 23 : 16 + slot, USER_VEC, 0 [all...] |
/src/sys/arch/hpcmips/tx/ |
tx39.c | 247 int slot; local in function:tx_cons_init 252 slot = SERIALCONSSLOT; 254 slot = TX39_UARTA; 257 if(txcom_cnattach(slot, CONSPEED,
|
/src/sys/arch/playstation2/dev/ |
spd.c | 59 /* SPD device can't attach twice. because PS2 PC-Card slot is only one. */ 70 #define LEGAL_SLOT(slot) ((slot) >= 0 && (slot) < 2) 159 spd_intr_establish(enum spd_slot slot, int (*func)(void *), void *arg) 162 KDASSERT(LEGAL_SLOT(slot)); 163 KDASSERT(__spd_table[slot].func == 0); 165 __spd_table[slot].func = func; 166 __spd_table[slot].arg = arg; 168 return ((void *)slot); 174 int slot = (int)handle; local in function:spd_intr_disestablish [all...] |
/src/sys/arch/prep/stand/boot/ |
pci.c | 52 * all machines, this works for now on 3 slot Moto boxes 83 enablePCI(int slot, int io, int mem, int master) 95 ppci = (u_char *)&PCI_slots[slot].config_addr[CMD]; 137 unlockVideo(int slot) 141 ppci = (u_int8_t *)PCI_slots[slot].config_addr; 158 int slot, r; local in function:scan_PCI 162 for (slot = start + 1; slot < PCI_NSLOTS; slot++) { 163 pslot = &PCI_slots[slot]; [all...] |
/src/sys/arch/sgimips/gio/ |
gio.c | 90 uint32_t slot; member in struct:gio_probe 97 * Expansion Slot Base Addresses 129 * Graphics boards are not treated like expansion slot cards. Their base 130 * addresses do not necessarily correspond to GIO slot addresses and they 193 * Identification Word and have no slot number. 256 ga.ga_slot = slot_bases[i].slot; 314 aprint_normal(" slot %d", ga->ga_slot); 413 gio_arb_config(int slot, uint32_t flags) 433 return (pic_gio32_arb_config(slot, flags)); 438 return (imc_gio64_arb_config(slot, flags)) [all...] |
/src/sys/arch/sparc64/dev/ |
central.c | 178 int64_t slot = BUS_ADDR_IOSPACE(addr); local in function:_central_bus_map 191 if (sc->sc_range[i].cspace != slot)
|
fhc.c | 184 int64_t slot = BUS_ADDR_IOSPACE(addr); local in function:_fhc_bus_map 196 if (sc->sc_range[i].cspace != slot)
|
/src/sys/dev/ata/ |
ata_recovery.c | 68 uint8_t *slot, uint8_t *status, uint8_t *err) 131 *slot = tb[0] & 0x1f; 144 "slot %d err %x status %x\n", 145 page, *slot, *err, *status); 163 uint8_t slot, eslot, st, err; local in function:ata_recovery_resume 203 * Non-NCQ command error, just find the slot and end with 206 for (slot = 0; slot < ch_openings; slot++) { 207 if ((ata_queue_active(chp) & (1U << slot)) != 0) [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
i915_gem.c | 49 const u64 slot = ggtt->error_capture.start; local in function:trash_stolen 63 ggtt->vm.insert_page(&ggtt->vm, dma, slot, I915_CACHE_NONE, 0); 65 s = io_mapping_map_atomic_wc(&ggtt->iomap, slot); 73 ggtt->vm.clear_range(&ggtt->vm, slot, PAGE_SIZE);
|
/src/sys/dev/pci/ |
viornd.c | 89 int slot; local in function:viornd_get 103 if (virtio_enqueue_prep(vsc, vq, &slot)) { 106 if (virtio_enqueue_reserve(vsc, vq, slot, 1)) { 109 virtio_enqueue(vsc, vq, slot, sc->sc_dmamap, 0); 110 virtio_enqueue_commit(vsc, vq, slot, 1); 225 int slot, len; local in function:viornd_vq_done 229 if (virtio_dequeue(vsc, vq, &slot, &len) != 0) { 252 virtio_dequeue_commit(vsc, vq, slot);
|
/src/sys/dev/eisa/ |
eisa.c | 86 aprint_normal(" slot %d", ea->ea_slot); 97 int slot, maxnslots; local in function:eisaattach 110 * Slot 0 is the "motherboard" slot, and the code attaching 114 for (slot = 1; slot < maxnslots; slot++) { 125 ea.ea_slot = slot; 126 slotaddr = EISA_SLOT_ADDR(slot); 129 * Get a mapping for the whole slot-specific addres [all...] |
/src/sys/dev/tc/ |
tc.c | 76 const struct tc_slotdesc *slot; local in function:tcattach 105 panic("tcattach: builtin %d slot > nslots", i); 130 * Mark the slot as used, so we don't check it later. 146 * Try to configure each unused slot, last to first. 149 slot = &sc->sc_slots[i]; 158 tcaddr = slot->tcs_addr; 172 ta.ta_cookie = slot->tcs_cookie; 176 * Mark the slot as used. 201 aprint_normal(" slot %d offset 0x%x", ta->ta_slot, ta->ta_offset);
|
/src/sys/arch/amd64/amd64/ |
gdt.c | 105 * Called on a newly-allocated GDT slot, so no race between CPUs. 108 set_sys_gdt(int slot, void *base, size_t limit, int type, int dpl, int gran) 119 idx = IDXSEL(GDYNSEL(slot, SEL_KPL)); 243 gdt_put_slot(int slot) 246 KASSERT(slot < gdt_bitmap.nslots); 247 gdt_bitmap.busy[slot] = false; 255 int slot; local in function:tss_alloc 259 slot = gdt_get_slot(); 260 set_sys_gdt(slot, tss, sizeof(struct x86_64_tss) - 1, SDT_SYS386TSS, 265 return GDYNSEL(slot, SEL_KPL) 288 int slot; local in function:ldt_alloc 301 int slot; local in function:ldt_free [all...] |
/src/sys/arch/atari/include/ |
isa_machdep.h | 71 int slot; /* 1/2, determines interrupt line */ member in struct:__anon9e680d3f0108
|
/src/sys/arch/bebox/stand/boot/ |
vreset.c | 446 int slot; local in function:vga_reset 455 slot = findPCIVga(); /* find video card in use */ 456 enablePCIvideo(slot); /* enable I/O to card */ 465 * a graphics card is so we could do the "enablePCIvideo(slot)" 471 switch (PCIVendor(slot)) { 686 enablePCIvideo(int slot) 689 enablePCI(slot, 1, 1, 0); /* Enable IO and Memory */
|
/src/sys/arch/hpcmips/dev/ |
plumiobus.c | 189 int slot; local in function:plumiobus_search 191 /* Disallow wildcarded IO5CS slot */ 193 printf("plumiobus_search: wildcarded slot, skipping\n"); 196 slot = pba.pba_slot = cf->cf_loc[PLUMIOBUSIFCF_SLOT]; 199 pba.pba_iot = sc->sc_isa[slot].pr_iot; 200 pba.pba_irq = sc->sc_isa[slot].pr_irq; 203 if (!(sc->sc_isa[slot].pr_enabled) && /* not attached slot */ 206 sc->sc_isa[slot].pr_enabled = 1;
|