Lines Matching defs:slot
12 * podule slot.
102 static inline ecard_t *slot_to_ecard(unsigned int slot)
104 return slot < MAX_ECARDS ? slot_to_expcard[slot] : NULL;
587 int slot = ec->slot_no;
592 ectcr &= ~(1 << slot);
596 if (slot < 4)
597 address = ECARD_MEMC_BASE + (slot << 14);
601 if (slot < 4)
602 address = ECARD_IOC_BASE + (slot << 14);
604 address = ECARD_IOC4_BASE + ((slot - 4) << 14);
610 address = ECARD_EASI_BASE + (slot << 24);
612 ectcr |= 1 << slot;
689 static struct expansion_card *__init ecard_alloc_card(int type, int slot)
701 ec->slot_no = slot;
708 dev_set_name(&ec->dev, "ecard%d", slot);
715 if (slot < 4) {
717 PODSLOT_MEMC_BASE + (slot << 14),
719 base = PODSLOT_IOC0_BASE + (slot << 14);
721 base = PODSLOT_IOC4_BASE + ((slot - 4) << 14);
724 if (slot < 8) {
726 PODSLOT_EASI_BASE + (slot << 24),
730 if (slot == 8) {
891 static int __init ecard_probe(int slot, unsigned irq, card_type_t type)
899 ec = ecard_alloc_card(type, slot);
953 if (slot < 8) {
962 if (slot < 2)
963 ec->dma = 2 + slot;
969 slot_to_expcard[slot] = ec;
991 int slot, irqbase;
1007 for (slot = 0; slot < 8; slot ++) {
1008 if (ecard_probe(slot, irqbase + slot, ECARD_EASI) == -ENODEV)
1009 ecard_probe(slot, irqbase + slot, ECARD_IOC);