Lines Matching defs:slot_enable
110 u8 slot_enable; /* 0x01 */
141 SLOT_ENABLE = offsetof(struct ctrl_reg, slot_enable),
543 u8 slot_enable;
545 slot_enable = readb(ctrl->hpc_reg + SLOT_ENABLE);
546 slot_enable &= ~(0x01 << slot);
547 writeb(slot_enable, ctrl->hpc_reg + SLOT_ENABLE);
551 static inline void slot_enable(struct controller *ctrl, u8 slot)
553 u8 slot_enable;
555 slot_enable = readb(ctrl->hpc_reg + SLOT_ENABLE);
556 slot_enable |= (0x01 << slot);
557 writeb(slot_enable, ctrl->hpc_reg + SLOT_ENABLE);
563 u8 slot_enable;
565 slot_enable = readb(ctrl->hpc_reg + SLOT_ENABLE);
566 slot_enable &= (0x01 << slot);
567 return slot_enable ? 1 : 0;