Home
last modified time | relevance | path

Searched refs:slot_status (Results 1 – 4 of 4) sorted by relevance

/drivers/pci/hotplug/
Dpciehp_hpc.c110 u16 slot_status; in pcie_poll_cmd() local
112 pcie_capability_read_word(pdev, PCI_EXP_SLTSTA, &slot_status); in pcie_poll_cmd()
113 if (slot_status & PCI_EXP_SLTSTA_CC) { in pcie_poll_cmd()
121 pcie_capability_read_word(pdev, PCI_EXP_SLTSTA, &slot_status); in pcie_poll_cmd()
122 if (slot_status & PCI_EXP_SLTSTA_CC) { in pcie_poll_cmd()
401 u16 slot_status; in pciehp_get_latch_status() local
403 pcie_capability_read_word(pdev, PCI_EXP_SLTSTA, &slot_status); in pciehp_get_latch_status()
404 *status = !!(slot_status & PCI_EXP_SLTSTA_MRLSS); in pciehp_get_latch_status()
410 u16 slot_status; in pciehp_get_adapter_status() local
412 pcie_capability_read_word(pdev, PCI_EXP_SLTSTA, &slot_status); in pciehp_get_adapter_status()
[all …]
/drivers/media/pci/ttpci/
Dbudget-ci.c112 int slot_status; member
324 budget_ci->slot_status = SLOTSTATUS_RESET; in ciintf_slot_reset()
384 if (budget_ci->slot_status & SLOTSTATUS_NONE) { in ciintf_interrupt()
386 budget_ci->slot_status = SLOTSTATUS_PRESENT; in ciintf_interrupt()
390 } else if (budget_ci->slot_status & SLOTSTATUS_RESET) { in ciintf_interrupt()
392 budget_ci->slot_status = SLOTSTATUS_READY; in ciintf_interrupt()
395 } else if (budget_ci->slot_status & SLOTSTATUS_READY) { in ciintf_interrupt()
407 if (budget_ci->slot_status & SLOTSTATUS_OCCUPIED) { in ciintf_interrupt()
409 budget_ci->slot_status = SLOTSTATUS_NONE; in ciintf_interrupt()
429 if (budget_ci->slot_status & SLOTSTATUS_NONE) { in ciintf_poll_slot_status()
[all …]
Dbudget-av.c75 int slot_status; member
226 budget_av->slot_status = SLOTSTATUS_RESET; in ciintf_slot_reset()
257 budget_av->slot_status = SLOTSTATUS_NONE; in ciintf_slot_shutdown()
270 dprintk(1, "ciintf_slot_ts_enable: %d\n", budget_av->slot_status); in ciintf_slot_ts_enable()
288 if (budget_av->slot_status == SLOTSTATUS_NONE) { in ciintf_poll_slot_status()
292 if (budget_av->slot_status == SLOTSTATUS_NONE) { in ciintf_poll_slot_status()
293 budget_av->slot_status = SLOTSTATUS_PRESENT; in ciintf_poll_slot_status()
306 if ((budget_av->slot_status == SLOTSTATUS_NONE) || (!open)) { in ciintf_poll_slot_status()
309 if ((result >= 0) && (budget_av->slot_status == SLOTSTATUS_NONE)) { in ciintf_poll_slot_status()
310 budget_av->slot_status = SLOTSTATUS_PRESENT; in ciintf_poll_slot_status()
[all …]
/drivers/media/dvb-core/
Ddvb_ca_en50221.c204 int slot_status; in dvb_ca_en50221_check_camstatus() local
214 slot_status = ca->pub->poll_slot_status(ca->pub, slot, ca->open); in dvb_ca_en50221_check_camstatus()
216 cam_present_now = (slot_status & DVB_CA_EN50221_POLL_CAM_PRESENT) ? 1 : 0; in dvb_ca_en50221_check_camstatus()
217 cam_changed = (slot_status & DVB_CA_EN50221_POLL_CAM_CHANGED) ? 1 : 0; in dvb_ca_en50221_check_camstatus()
232 (slot_status & DVB_CA_EN50221_POLL_CAM_READY)) { in dvb_ca_en50221_check_camstatus()