Home
last modified time | relevance | path

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

/drivers/pci/hotplug/
Dpciehp_hpc.c511 u16 slot_cmd; in pciehp_set_attention_status() local
517 slot_cmd = 0x00C0; in pciehp_set_attention_status()
520 slot_cmd = 0x0040; in pciehp_set_attention_status()
523 slot_cmd = 0x0080; in pciehp_set_attention_status()
529 pci_pcie_cap(ctrl->pcie->port) + PCI_EXP_SLTCTL, slot_cmd); in pciehp_set_attention_status()
530 return pcie_write_cmd(ctrl, slot_cmd, cmd_mask); in pciehp_set_attention_status()
536 u16 slot_cmd; in pciehp_green_led_on() local
539 slot_cmd = 0x0100; in pciehp_green_led_on()
541 pcie_write_cmd(ctrl, slot_cmd, cmd_mask); in pciehp_green_led_on()
543 pci_pcie_cap(ctrl->pcie->port) + PCI_EXP_SLTCTL, slot_cmd); in pciehp_green_led_on()
[all …]
Dshpchp_hpc.c542 u8 slot_cmd = 0; in hpc_set_attention_status() local
546 slot_cmd = SET_ATTN_OFF; /* OFF */ in hpc_set_attention_status()
549 slot_cmd = SET_ATTN_ON; /* ON */ in hpc_set_attention_status()
552 slot_cmd = SET_ATTN_BLINK; /* BLINK */ in hpc_set_attention_status()
558 return shpc_write_cmd(slot, slot->hp_slot, slot_cmd); in hpc_set_attention_status()