Searched refs:slot_reg (Results 1 – 1 of 1) sorted by relevance
362 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot)); in shpchp_get_attention_status() local363 u8 state = (slot_reg & ATN_LED_STATE_MASK) >> ATN_LED_STATE_SHIFT; in shpchp_get_attention_status()386 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot)); in shpchp_get_power_status() local387 u8 state = (slot_reg & SLOT_STATE_MASK) >> SLOT_STATE_SHIFT; in shpchp_get_power_status()411 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot)); in shpchp_get_latch_status() local413 *status = !!(slot_reg & MRL_SENSOR); /* 0 -> close; 1 -> open */ in shpchp_get_latch_status()421 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot)); in shpchp_get_adapter_status() local422 u8 state = (slot_reg & PRSNT_MASK) >> PRSNT_SHIFT; in shpchp_get_adapter_status()442 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot)); in shpchp_get_adapter_speed() local443 u8 m66_cap = !!(slot_reg & MHZ66_CAP); in shpchp_get_adapter_speed()[all …]