Home
last modified time | relevance | path

Searched refs:slot_cmd (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/hotplug/
Dshpchp_hpc.c648 u8 slot_cmd = 0; in hpc_set_attention_status() local
663 slot_cmd = 0x30; /* OFF */ in hpc_set_attention_status()
666 slot_cmd = 0x10; /* ON */ in hpc_set_attention_status()
669 slot_cmd = 0x20; /* BLINK */ in hpc_set_attention_status()
675 shpc_write_cmd(slot, slot->hp_slot, slot_cmd); in hpc_set_attention_status()
684 u8 slot_cmd; in hpc_set_green_led_on() local
696 slot_cmd = 0x04; in hpc_set_green_led_on()
698 shpc_write_cmd(slot, slot->hp_slot, slot_cmd); in hpc_set_green_led_on()
706 u8 slot_cmd; in hpc_set_green_led_off() local
718 slot_cmd = 0x0C; in hpc_set_green_led_off()
[all …]
Dpciehp_hpc.c536 u16 slot_cmd = 0; in hpc_set_attention_status() local
560 slot_cmd = (slot_ctrl & ~ATTN_LED_CTRL) | 0x00C0; in hpc_set_attention_status()
564 slot_cmd = (slot_ctrl & ~ATTN_LED_CTRL) | 0x0040; in hpc_set_attention_status()
568 slot_cmd = (slot_ctrl & ~ATTN_LED_CTRL) | 0x0080; in hpc_set_attention_status()
575 slot_cmd = slot_cmd | HP_INTR_ENABLE; in hpc_set_attention_status()
577 pcie_write_cmd(slot, slot_cmd); in hpc_set_attention_status()
579 __FUNCTION__, SLOT_CTRL, slot_cmd); in hpc_set_attention_status()
588 u16 slot_cmd; in hpc_set_green_led_on() local
610 slot_cmd = (slot_ctrl & ~PWR_LED_CTRL) | 0x0100; in hpc_set_green_led_on()
614 slot_cmd = slot_cmd | HP_INTR_ENABLE; in hpc_set_green_led_on()
[all …]