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