Lines Matching refs:slot_enable
110 u8 slot_enable; /* 0x01 */ member
141 SLOT_ENABLE = offsetof(struct ctrl_reg, slot_enable),
538 u8 slot_enable; in slot_disable() local
540 slot_enable = readb(ctrl->hpc_reg + SLOT_ENABLE); in slot_disable()
541 slot_enable &= ~(0x01 << slot); in slot_disable()
542 writeb(slot_enable, ctrl->hpc_reg + SLOT_ENABLE); in slot_disable()
546 static inline void slot_enable(struct controller *ctrl, u8 slot) in slot_enable() function
548 u8 slot_enable; in slot_enable() local
550 slot_enable = readb(ctrl->hpc_reg + SLOT_ENABLE); in slot_enable()
551 slot_enable |= (0x01 << slot); in slot_enable()
552 writeb(slot_enable, ctrl->hpc_reg + SLOT_ENABLE); in slot_enable()
558 u8 slot_enable; in is_slot_enabled() local
560 slot_enable = readb(ctrl->hpc_reg + SLOT_ENABLE); in is_slot_enabled()
561 slot_enable &= (0x01 << slot); in is_slot_enabled()
562 return slot_enable ? 1 : 0; in is_slot_enabled()