Home
last modified time | relevance | path

Searched refs:slot_ctrl (Results 1 – 3 of 3) sorted by relevance

/drivers/pci/hotplug/
Dpciehp_hpc.c139 if (ctrl->slot_ctrl & PCI_EXP_SLTCTL_HPIE && in pcie_wait_cmd()
140 ctrl->slot_ctrl & PCI_EXP_SLTCTL_CCIE) in pcie_wait_cmd()
147 ctrl->slot_ctrl, in pcie_wait_cmd()
160 u16 slot_ctrl_orig, slot_ctrl; in pcie_do_write_cmd() local
169 pcie_capability_read_word(pdev, PCI_EXP_SLTCTL, &slot_ctrl); in pcie_do_write_cmd()
170 if (PCI_POSSIBLE_ERROR(slot_ctrl)) { in pcie_do_write_cmd()
175 slot_ctrl_orig = slot_ctrl; in pcie_do_write_cmd()
176 slot_ctrl &= ~mask; in pcie_do_write_cmd()
177 slot_ctrl |= (cmd & mask); in pcie_do_write_cmd()
180 ctrl->slot_ctrl = slot_ctrl; in pcie_do_write_cmd()
[all …]
Dpciehp.h94 u16 slot_ctrl; /* control register access */ member
/drivers/ipack/carriers/
Dtpci200.c244 unsigned short slot_ctrl; in tpci200_register() local
332 slot_ctrl = 0; in tpci200_register()
334 writew(slot_ctrl, &tpci200->info->interface_regs->control[i]); in tpci200_register()