Lines Matching refs:slot

261 struct slot {  struct
262 struct slot *next; argument
303 struct slot *slot; member
432 u8 slot);
460 static inline const char *slot_name(struct slot *slot) in slot_name() argument
462 return hotplug_slot_name(slot->hotplug_slot); in slot_name()
489 static inline void amber_LED_on(struct controller *ctrl, u8 slot) in amber_LED_on() argument
494 led_control |= (0x01010000L << slot); in amber_LED_on()
499 static inline void amber_LED_off(struct controller *ctrl, u8 slot) in amber_LED_off() argument
504 led_control &= ~(0x01010000L << slot); in amber_LED_off()
509 static inline int read_amber_LED(struct controller *ctrl, u8 slot) in read_amber_LED() argument
514 led_control &= (0x01010000L << slot); in read_amber_LED()
520 static inline void green_LED_on(struct controller *ctrl, u8 slot) in green_LED_on() argument
525 led_control |= 0x0101L << slot; in green_LED_on()
529 static inline void green_LED_off(struct controller *ctrl, u8 slot) in green_LED_off() argument
534 led_control &= ~(0x0101L << slot); in green_LED_off()
539 static inline void green_LED_blink(struct controller *ctrl, u8 slot) in green_LED_blink() argument
544 led_control &= ~(0x0101L << slot); in green_LED_blink()
545 led_control |= (0x0001L << slot); in green_LED_blink()
550 static inline void slot_disable(struct controller *ctrl, u8 slot) in slot_disable() argument
555 slot_enable &= ~(0x01 << slot); in slot_disable()
560 static inline void slot_enable(struct controller *ctrl, u8 slot) in slot_enable() argument
565 slot_enable |= (0x01 << slot); in slot_enable()
570 static inline u8 is_slot_enabled(struct controller *ctrl, u8 slot) in is_slot_enabled() argument
575 slot_enable &= (0x01 << slot); in is_slot_enabled()
642 static inline void enable_slot_power(struct controller *ctrl, u8 slot) in enable_slot_power() argument
647 slot_power |= (0x01 << slot); in enable_slot_power()
651 static inline void disable_slot_power(struct controller *ctrl, u8 slot) in disable_slot_power() argument
656 slot_power &= ~(0x01 << slot); in disable_slot_power()
661 static inline int cpq_get_attention_status(struct controller *ctrl, struct slot *slot) in cpq_get_attention_status() argument
665 hp_slot = slot->device - ctrl->slot_device_offset; in cpq_get_attention_status()
671 static inline int get_slot_enabled(struct controller *ctrl, struct slot *slot) in get_slot_enabled() argument
675 hp_slot = slot->device - ctrl->slot_device_offset; in get_slot_enabled()
682 struct slot *slot) in cpq_get_latch_status() argument
687 hp_slot = slot->device - ctrl->slot_device_offset; in cpq_get_latch_status()
689 __func__, slot->device, ctrl->slot_device_offset); in cpq_get_latch_status()
698 struct slot *slot) in get_presence_status() argument
704 hp_slot = slot->device - ctrl->slot_device_offset; in get_presence_status()