Lines Matching refs:slot_enable
126 u8 slot_enable; /* 0x01 */ member
157 SLOT_ENABLE = offsetof(struct ctrl_reg, slot_enable),
605 u8 slot_enable; in slot_disable() local
607 slot_enable = readb(ctrl->hpc_reg + SLOT_ENABLE); in slot_disable()
608 slot_enable &= ~(0x01 << slot); in slot_disable()
609 writeb(slot_enable, ctrl->hpc_reg + SLOT_ENABLE); in slot_disable()
613 static inline void slot_enable (struct controller *ctrl, u8 slot) in slot_enable() function
615 u8 slot_enable; in slot_enable() local
617 slot_enable = readb(ctrl->hpc_reg + SLOT_ENABLE); in slot_enable()
618 slot_enable |= (0x01 << slot); in slot_enable()
619 writeb(slot_enable, ctrl->hpc_reg + SLOT_ENABLE); in slot_enable()
625 u8 slot_enable; in is_slot_enabled() local
627 slot_enable = readb(ctrl->hpc_reg + SLOT_ENABLE); in is_slot_enabled()
628 slot_enable &= (0x01 << slot); in is_slot_enabled()
629 return slot_enable ? 1 : 0; in is_slot_enabled()