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

1 2 3 4 5 6 7 8 91011>>

  /src/sys/arch/newsmips/apbus/
apbusvar.h 37 int apa_slotno; /* which slot in */
53 #define NEWS5000_SLOTTOMASK(slot) ((slot) ? (0x0100 << ((slot) - 1)) : 0)
54 #define NEWS4000_SLOTTOMASK(slot) ((slot) ? (0x0001 << ((slot) - 1)) : 0)
55 #define SLOTTOMASK(slot) (systype == NEWS5000 ? \
56 NEWS5000_SLOTTOMASK(slot) : NEWS4000_SLOTTOMASK(slot))
    [all...]
  /src/sys/arch/hp300/dev/
sgcvar.h 36 int saa_slot; /* slot number */
44 /* Macros to switch between SGC slot numbers and kernel conscode */
45 #define SGC_SLOT_TO_CONSCODE(slot) (256 + (slot))
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/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/tc/
tc_dma_3000_300.c 44 * Return the DMA tag for the given slot.
47 tc_dma_get_tag_3000_300(int slot)
  /src/sys/arch/evbmips/alchemy/
omsal400.c 195 omsal400_slot_irq(int slot, int which)
197 static const int irqmap[1/*slot*/][2/*which*/] = {
198 { 35, 37 }, /* Slot 0: CF connector Type2 */
201 if ((slot >= 1) || (which >= 2))
204 return irqmap[slot][which];
208 omsal400_slot_offset(int slot)
211 switch (slot) {
219 omsal400_slot_enable(int slot)
226 omsal400_slot_disable(int slot)
233 omsal400_slot_status(int slot)
    [all...]
  /src/sys/arch/sparc64/dev/
centralvar.h 52 #define central_bus_map(t, slot, offset, sz, flags, hp) \
53 bus_space_map(t, BUS_ADDR(slot, offset), sz, flags, hp)
  /src/sys/external/bsd/drm2/linux/
linux_dmi.c 38 dmi_match(enum dmi_field slot, const char *text)
42 switch (slot) {
93 aprint_error("%s: unknown DMI field(%d)\n", __func__, slot);
108 if (dsi->matches[i].slot == DMI_NONE)
110 if (!dmi_match(dsi->matches[i].slot, dsi->matches[i].substr))
122 for (dsi = sysid; dsi->matches[0].slot != DMI_NONE; dsi++) {
  /src/sys/dev/pckbport/
pckbport.c 105 pckbport_poll_data1(pckbport_tag_t t, pckbport_slot_t slot)
108 return t->t_ops->t_poll_data1(t->t_cookie, slot);
112 pckbport_send_devcmd(struct pckbport_tag *t, pckbport_slot_t slot, u_char val)
115 return t->t_ops->t_send_devcmd(t->t_cookie, slot, val);
135 pckbport_slot_t slot)
144 pa.pa_slot = slot;
146 if (t->t_slotdata[slot] == NULL) {
149 t->t_slotdata[slot] = sdata;
150 pckbport_init_slotdata(t->t_slotdata[slot]);
154 locs[PCKBPORTCF_SLOT] = slot;
    [all...]
  /src/sys/arch/sgimips/mace/
macekbc.c 119 int slot; local in function:macekbc_attach
130 for (slot = 0; slot < PCKBPORT_NSLOTS; slot++)
131 t->t_present[slot] = 0;
180 pckbport_slot_t slot; local in function:macekbc_intr
187 for (slot = 0; slot < PCKBPORT_NSLOTS; slot++) {
188 if (t->t_present[slot] == 0
    [all...]
  /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/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/amiga/dev/
gayle_pcmcia.c 28 /* There is one of these for each slot. And yes, there is only one slot. */
245 struct pccard_slot *slot = &sc->devs[0]; local in function:pccard_intr2
247 if (slot->flags & SLOT_NEW_CARD_EVENT) {
248 slot->flags &= ~SLOT_NEW_CARD_EVENT;
261 return slot->flags & SLOT_OCCUPIED &&
262 slot->intr_func != NULL &&
263 slot->intr_func(slot->intr_arg);
273 struct pccard_slot *slot = &sc->devs[0] local in function:pccard_kthread
309 struct pccard_slot *slot = (struct pccard_slot *) pch; local in function:pcf_mem_alloc
326 struct pccard_slot *slot = (struct pccard_slot *) pch; local in function:pcf_mem_map
360 struct pccard_slot *slot = (struct pccard_slot *) pch; local in function:pcf_io_alloc
376 struct pccard_slot *slot = (struct pccard_slot *) pch; local in function:pcf_io_map
394 struct pccard_slot *slot = (struct pccard_slot *) pch; local in function:pcf_intr_establish
414 struct pccard_slot *slot = (struct pccard_slot *) intr_handler; local in function:pcf_intr_disestablish
    [all...]
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
intel-ixp43x-gateworks-gw2358.dts 136 <0x0800 0 0 1 &gpio0 11 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 1 is irq 11 */
137 <0x0800 0 0 2 &gpio0 10 IRQ_TYPE_LEVEL_LOW>, /* INT B on slot 1 is irq 10 */
138 <0x0800 0 0 3 &gpio0 9 IRQ_TYPE_LEVEL_LOW>, /* INT C on slot 1 is irq 9 */
139 <0x0800 0 0 4 &gpio0 8 IRQ_TYPE_LEVEL_LOW>, /* INT D on slot 1 is irq 8 */
141 <0x1000 0 0 1 &gpio0 10 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 2 is irq 10 */
142 <0x1000 0 0 2 &gpio0 9 IRQ_TYPE_LEVEL_LOW>, /* INT B on slot 2 is irq 9 */
143 <0x1000 0 0 3 &gpio0 8 IRQ_TYPE_LEVEL_LOW>, /* INT C on slot 2 is irq 8 */
144 <0x1000 0 0 4 &gpio0 11 IRQ_TYPE_LEVEL_LOW>, /* INT D on slot 2 is irq 11 */
146 <0x1800 0 0 1 &gpio0 9 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 3 is irq 9 */
147 <0x1800 0 0 2 &gpio0 8 IRQ_TYPE_LEVEL_LOW>, /* INT B on slot 3 is irq 8 *
    [all...]
intel-ixp42x-netgear-wg302v2.dts 67 <0x0800 0 0 1 &gpio0 8 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 1 is irq 8 */
68 <0x0800 0 0 2 &gpio0 8 IRQ_TYPE_LEVEL_LOW>, /* INT B on slot 1 is irq 8 */
69 <0x0800 0 0 3 &gpio0 8 IRQ_TYPE_LEVEL_LOW>, /* INT C on slot 1 is irq 8 */
70 <0x0800 0 0 4 &gpio0 8 IRQ_TYPE_LEVEL_LOW>, /* INT D on slot 1 is irq 8 */
72 <0x1000 0 0 1 &gpio0 9 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 2 is irq 9 */
73 <0x1000 0 0 2 &gpio0 9 IRQ_TYPE_LEVEL_LOW>, /* INT B on slot 2 is irq 9 */
74 <0x1000 0 0 3 &gpio0 9 IRQ_TYPE_LEVEL_LOW>, /* INT C on slot 2 is irq 9 */
75 <0x1000 0 0 4 &gpio0 9 IRQ_TYPE_LEVEL_LOW>; /* INT D on slot 2 is irq 9 */
  /src/sys/arch/sgimips/dev/
imc.c 210 * EXP0 slot.
308 imc_gio64_arb_config(int slot, uint32_t flags)
313 if (slot == GIO_SLOT_EXP1 && mach_subtype == MACH_SGI_IP22_FULLHOUSE)
317 if (slot == GIO_SLOT_GFX && mach_subtype != MACH_SGI_IP22_FULLHOUSE)
321 if (slot == GIO_SLOT_GFX && (flags & GIO_ARB_NOPIPE))
332 if (slot == GIO_SLOT_EXP0)
334 else if (slot == GIO_SLOT_EXP1)
336 else if (slot == GIO_SLOT_GFX)
341 if (slot == GIO_SLOT_EXP0)
343 else if (slot == GIO_SLOT_EXP1
    [all...]
  /src/sys/dev/ic/
pckbc.c 127 pckbc_poll_data1(void *pt, pckbc_slot_t slot)
130 struct pckbc_slotdata *q = t->t_slotdata[slot];
153 if (slot != PCKBC_AUX_SLOT) {
160 if (slot == PCKBC_AUX_SLOT) {
214 pckbc_send_devcmd(void *pt, pckbc_slot_t slot, u_char val)
221 if (slot == PCKBC_AUX_SLOT) {
242 pckbc_attach_slot(struct pckbc_softc *sc, pckbc_slot_t slot)
249 if (t->t_slotdata[slot] == NULL) {
252 t->t_slotdata[slot] = sdata;
253 pckbc_init_slotdata(t->t_slotdata[slot]);
496 pckbc_slot_t slot; local in function:pckbcintr_hard
553 int data, slot, s; local in function:pckbcintr_soft
583 pckbc_slot_t slot; local in function:pckbcintr
    [all...]
pl050.c 84 plkmi_send_devcmd(void *priv, pckbport_slot_t slot, u_char byte)
97 plkmi_poll_data1(void *priv, pckbport_slot_t slot)
108 plkmi_slot_enable(void *priv, pckbport_slot_t slot, int on)
122 plkmi_set_poll(void *priv, pckbport_slot_t slot, int on)
136 plkmi_intr_establish(void *priv, pckbport_slot_t slot)
139 plkmi_set_poll(priv, slot, 0);
162 for (int slot = 0; slot < PCKBPORT_NSLOTS; slot++) local in function:plkmi_attach
163 if (pckbport_attach_slot(sc->sc_dev, sc->sc_pt, slot)) {
    [all...]
  /src/sys/arch/arm/iomd/
iomdkbc.c 173 iomdkbc_send_devcmd(void *cookie, pckbport_slot_t slot, u_char cmd)
177 bus_space_handle_t ioh = t->t_ioh[slot];
192 iomdkbc_poll_data1(void *cookie, pckbport_slot_t slot)
196 bus_space_handle_t ioh = t->t_ioh[slot];
214 iomdkbc_xt_translation(void *cookie, pckbport_slot_t slot, int on)
224 iomdkbc_slot_enable(void *cookie, pckbport_slot_t slot, int on)
228 bus_space_handle_t ioh = t->t_ioh[slot];
235 iomdkbc_intr_establish(void *cookie, pckbport_slot_t slot)
239 enable_irq(t->t_rxirq[slot]);
243 iomdkbc_set_poll(void *cookie, pckbport_slot_t slot, int on
    [all...]
  /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/arm/dts/
meson8b-odroidc1.dts 38 emmc_card_slot: slot@2 {
39 compatible = "mmc-slot";
  /src/sys/arch/hpcmips/conf/
std.hpcmips.tx39 24 txcom0 at tx39uart? slot 0
25 txcom1 at tx39uart? slot 1
  /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 in function:firmware
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/i386/i386/
gdt.c 95 * Called on a newly-allocated GDT slot, so no race between CPUs.
98 setgdt(int slot, const void *base, size_t limit, int type, int dpl, int def32,
106 idx = IDXSEL(GDYNSEL(slot, SEL_KPL));
274 gdt_put_slot(int slot)
277 KASSERT(slot < gdt_bitmap.nslots);
278 gdt_bitmap.busy[slot] = false;
284 int slot; local in function:tss_alloc
287 slot = gdt_get_slot();
288 setgdt(slot, tss, sizeof(struct i386tss) + IOMAPSIZE - 1,
292 return GDYNSEL(slot, SEL_KPL)
307 int slot; local in function:ldt_alloc
325 int slot; local in function:ldt_free
    [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;

Completed in 22 milliseconds

1 2 3 4 5 6 7 8 91011>>