HomeSort by: relevance | last modified time | path
    Searched defs:slot (Results 1 - 25 of 155) sorted by relevancy

1 2 3 4 5 6 7

  /src/lib/libc/gen/
ttyslot.c 58 int slot = 0, ispty = 0; local
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
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/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
97 if (b->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
156 int slot; local
    [all...]
  /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
    [all...]
  /src/sys/dev/mca/
mca.c 83 aprint_normal("%s slot %d: %s", pnp, ma->ma_slot + 1, devinfo);
114 int slot; local
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/hp300/dev/
sgc.c 99 int slot, rv; local
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
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
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
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
    [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
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
191 if (sc->sc_range[i].cspace != slot)
fhc.c 184 int64_t slot = BUS_ADDR_IOSPACE(addr); local
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
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/dev/eisa/
eisa.c 86 aprint_normal(" slot %d", ea->ea_slot);
97 int slot, maxnslots; local
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/pci/
viornd.c 89 int slot; local
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
229 if (virtio_dequeue(vsc, vq, &slot, &len) != 0) {
252 virtio_dequeue_commit(vsc, vq, slot);
  /src/sys/dev/tc/
tc.c 76 const struct tc_slotdesc *slot; local
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/external/bsd/drm2/dist/drm/i915/selftests/
i915_gem.c 49 const u64 slot = ggtt->error_capture.start; local
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/sbin/nvmectl/
firmware.c 62 slot_has_valid_firmware(int fd, int slot)
69 if (fw.revision[slot-1] != 0LLU)
154 activate_firmware(int fd, int slot, int commit_action)
160 pt.cmd.cdw10 = (commit_action << 3) | slot;
187 u_int slot = 0; local
206 slot = strtol(optarg, &p, 0);
209 "\"%s\" not valid slot.\n",
212 } else if (slot == 0) {
214 "0 is not a valid slot number. "
215 "Slot numbers start at 1.\n")
    [all...]
  /src/sys/arch/alpha/include/
autoconf.h 36 int ma_slot; /* CPU "slot" number; only meaningful
43 int slot; member in struct:bootdev_data
  /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
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
301 int slot; local
    [all...]
  /src/sys/arch/arm/sa11x0/
sa1111_kbc.c 91 int slot; /* KBD_SLOT or AUX_SLOT */ member in struct:sackbc_softc
177 pckbportintr(sc->pt, sc->slot, code);
185 sackbc_intr_establish(void *cookie, pckbport_slot_t slot)
220 int intr, slot; local
268 * Although there is no such thing as SLOT for SA-1111 kbd
271 for (slot = PCKBPORT_KBD_SLOT; slot <= PCKBPORT_AUX_SLOT; ++slot) {
272 child = pckbport_attach_slot(self, sc->pt, slot);
276 sc->slot = slot
    [all...]

Completed in 567 milliseconds

1 2 3 4 5 6 7