Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/pci/hotplug/
Dpciehp_hpc.c69 u16 slot_status; in pcie_poll_cmd() local
72 pcie_capability_read_word(pdev, PCI_EXP_SLTSTA, &slot_status); in pcie_poll_cmd()
73 if (slot_status == (u16) ~0) { in pcie_poll_cmd()
79 if (slot_status & PCI_EXP_SLTSTA_CC) { in pcie_poll_cmd()
370 u16 slot_status; in pciehp_get_latch_status() local
372 pcie_capability_read_word(pdev, PCI_EXP_SLTSTA, &slot_status); in pciehp_get_latch_status()
373 *status = !!(slot_status & PCI_EXP_SLTSTA_MRLSS); in pciehp_get_latch_status()
379 u16 slot_status; in pciehp_card_present() local
381 pcie_capability_read_word(pdev, PCI_EXP_SLTSTA, &slot_status); in pciehp_card_present()
382 return slot_status & PCI_EXP_SLTSTA_PDS; in pciehp_card_present()
[all …]
/Linux-v5.4/drivers/media/pci/ttpci/
Dbudget-ci.c95 int slot_status; member
308 budget_ci->slot_status = SLOTSTATUS_RESET; in ciintf_slot_reset()
368 if (budget_ci->slot_status & SLOTSTATUS_NONE) { in ciintf_interrupt()
370 budget_ci->slot_status = SLOTSTATUS_PRESENT; in ciintf_interrupt()
374 } else if (budget_ci->slot_status & SLOTSTATUS_RESET) { in ciintf_interrupt()
376 budget_ci->slot_status = SLOTSTATUS_READY; in ciintf_interrupt()
379 } else if (budget_ci->slot_status & SLOTSTATUS_READY) { in ciintf_interrupt()
391 if (budget_ci->slot_status & SLOTSTATUS_OCCUPIED) { in ciintf_interrupt()
393 budget_ci->slot_status = SLOTSTATUS_NONE; in ciintf_interrupt()
413 if (budget_ci->slot_status & SLOTSTATUS_NONE) { in ciintf_poll_slot_status()
[all …]
Dbudget-av.c58 int slot_status; member
209 budget_av->slot_status = SLOTSTATUS_RESET; in ciintf_slot_reset()
240 budget_av->slot_status = SLOTSTATUS_NONE; in ciintf_slot_shutdown()
253 dprintk(1, "ciintf_slot_ts_enable: %d\n", budget_av->slot_status); in ciintf_slot_ts_enable()
271 if (budget_av->slot_status == SLOTSTATUS_NONE) { in ciintf_poll_slot_status()
275 if (budget_av->slot_status == SLOTSTATUS_NONE) { in ciintf_poll_slot_status()
276 budget_av->slot_status = SLOTSTATUS_PRESENT; in ciintf_poll_slot_status()
289 if ((budget_av->slot_status == SLOTSTATUS_NONE) || (!open)) { in ciintf_poll_slot_status()
292 if ((result >= 0) && (budget_av->slot_status == SLOTSTATUS_NONE)) { in ciintf_poll_slot_status()
293 budget_av->slot_status = SLOTSTATUS_PRESENT; in ciintf_poll_slot_status()
[all …]
/Linux-v5.4/drivers/media/dvb-core/
Ddvb_ca_en50221.c225 int slot_status; in dvb_ca_en50221_check_camstatus() local
234 slot_status = ca->pub->poll_slot_status(ca->pub, slot, ca->open); in dvb_ca_en50221_check_camstatus()
236 cam_present_now = (slot_status & DVB_CA_EN50221_POLL_CAM_PRESENT) ? 1 : 0; in dvb_ca_en50221_check_camstatus()
237 cam_changed = (slot_status & DVB_CA_EN50221_POLL_CAM_CHANGED) ? 1 : 0; in dvb_ca_en50221_check_camstatus()
252 (slot_status & DVB_CA_EN50221_POLL_CAM_READY)) { in dvb_ca_en50221_check_camstatus()
/Linux-v5.4/drivers/i3c/
Dmaster.c1207 enum i3c_addr_slot_status slot_status; in i3c_master_retrieve_dev_info() local
1213 slot_status = i3c_bus_get_addr_slot_status(&master->bus, in i3c_master_retrieve_dev_info()
1215 if (slot_status == I3C_ADDR_SLOT_RSVD || in i3c_master_retrieve_dev_info()
1216 slot_status == I3C_ADDR_SLOT_I2C_DEV) in i3c_master_retrieve_dev_info()