• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/pci/hotplug/

Lines Matching defs:slot_reg

388 	u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
389 u8 state = (slot_reg & ATN_LED_STATE_MASK) >> ATN_LED_STATE_SHIFT;
412 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
413 u8 state = (slot_reg & SLOT_STATE_MASK) >> SLOT_STATE_SHIFT;
437 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
439 *status = !!(slot_reg & MRL_SENSOR); /* 0 -> close; 1 -> open */
447 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
448 u8 state = (slot_reg & PRSNT_MASK) >> PRSNT_SHIFT;
468 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
469 u8 m66_cap = !!(slot_reg & MHZ66_CAP);
477 pcix_cap = (slot_reg & PCIX_CAP_MASK_PI1) >> PCIX_CAP_SHIFT;
480 pcix_cap = (slot_reg & PCIX_CAP_MASK_PI2) >> PCIX_CAP_SHIFT;
486 ctrl_dbg(ctrl, "%s: slot_reg = %x, pcix_cap = %x, m66_cap = %x\n",
487 __func__, slot_reg, pcix_cap, m66_cap);
536 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
539 return !(slot_reg & POWER_FAULT);
582 u32 slot_reg, serr_int;
588 slot_reg = shpc_readl(ctrl, SLOT_REG(i));
589 slot_reg |= (PRSNT_CHANGE_INTR_MASK | ISO_PFAULT_INTR_MASK |
593 slot_reg &= ~SLOT_REG_RSVDZ_MASK;
594 shpc_writel(ctrl, SLOT_REG(i), slot_reg);
801 u32 serr_int, slot_reg, intr_loc, intr_loc2;
846 slot_reg = shpc_readl(ctrl, SLOT_REG(hp_slot));
848 hp_slot, slot_reg);
850 if (slot_reg & MRL_CHANGE_DETECTED)
853 if (slot_reg & BUTTON_PRESS_DETECTED)
856 if (slot_reg & PRSNT_CHANGE_DETECTED)
859 if (slot_reg & (ISO_PFAULT_DETECTED | CON_PFAULT_DETECTED))
863 slot_reg &= ~SLOT_REG_RSVDZ_MASK;
864 shpc_writel(ctrl, SLOT_REG(hp_slot), slot_reg);
950 u32 tempdword, slot_reg, slot_config;
1053 slot_reg = shpc_readl(ctrl, SLOT_REG(hp_slot));
1055 hp_slot, slot_reg);
1056 slot_reg |= (PRSNT_CHANGE_INTR_MASK | ISO_PFAULT_INTR_MASK |
1060 slot_reg &= ~SLOT_REG_RSVDZ_MASK;
1061 shpc_writel(ctrl, SLOT_REG(hp_slot), slot_reg);
1110 slot_reg = shpc_readl(ctrl, SLOT_REG(hp_slot));
1112 hp_slot, slot_reg);
1113 slot_reg &= ~(PRSNT_CHANGE_INTR_MASK | ISO_PFAULT_INTR_MASK |
1116 shpc_writel(ctrl, SLOT_REG(hp_slot), slot_reg);