Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/pci/hotplug/
Dpciehp_hpc.c88 u16 slot_status; in pcie_poll_cmd() local
91 pcie_capability_read_word(pdev, PCI_EXP_SLTSTA, &slot_status); in pcie_poll_cmd()
92 if (slot_status == (u16) ~0) { in pcie_poll_cmd()
98 if (slot_status & PCI_EXP_SLTSTA_CC) { in pcie_poll_cmd()
277 u16 slot_status; in pcie_wait_for_presence() local
280 pcie_capability_read_word(pdev, PCI_EXP_SLTSTA, &slot_status); in pcie_wait_for_presence()
281 if (slot_status & PCI_EXP_SLTSTA_PDS) in pcie_wait_for_presence()
421 u16 slot_status; in pciehp_get_latch_status() local
423 pcie_capability_read_word(pdev, PCI_EXP_SLTSTA, &slot_status); in pciehp_get_latch_status()
424 *status = !!(slot_status & PCI_EXP_SLTSTA_MRLSS); in pciehp_get_latch_status()
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/ttpci/
Dbudget-ci.c95 int slot_status; member
308 budget_ci->slot_status = SLOTSTATUS_RESET; in ciintf_slot_reset()
369 if (budget_ci->slot_status & SLOTSTATUS_NONE) { in ciintf_interrupt()
371 budget_ci->slot_status = SLOTSTATUS_PRESENT; in ciintf_interrupt()
375 } else if (budget_ci->slot_status & SLOTSTATUS_RESET) { in ciintf_interrupt()
377 budget_ci->slot_status = SLOTSTATUS_READY; in ciintf_interrupt()
380 } else if (budget_ci->slot_status & SLOTSTATUS_READY) { in ciintf_interrupt()
392 if (budget_ci->slot_status & SLOTSTATUS_OCCUPIED) { in ciintf_interrupt()
394 budget_ci->slot_status = SLOTSTATUS_NONE; in ciintf_interrupt()
414 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 …]
/kernel/linux/linux-5.10/drivers/media/dvb-core/
Ddvb_ca_en50221.c231 int slot_status; in dvb_ca_en50221_check_camstatus() local
240 slot_status = ca->pub->poll_slot_status(ca->pub, slot, ca->open); in dvb_ca_en50221_check_camstatus()
242 cam_present_now = (slot_status & DVB_CA_EN50221_POLL_CAM_PRESENT) ? 1 : 0; in dvb_ca_en50221_check_camstatus()
243 cam_changed = (slot_status & DVB_CA_EN50221_POLL_CAM_CHANGED) ? 1 : 0; in dvb_ca_en50221_check_camstatus()
258 (slot_status & DVB_CA_EN50221_POLL_CAM_READY)) { in dvb_ca_en50221_check_camstatus()
/kernel/linux/linux-5.10/drivers/i3c/
Dmaster.c1229 enum i3c_addr_slot_status slot_status; in i3c_master_retrieve_dev_info() local
1235 slot_status = i3c_bus_get_addr_slot_status(&master->bus, in i3c_master_retrieve_dev_info()
1237 if (slot_status == I3C_ADDR_SLOT_RSVD || in i3c_master_retrieve_dev_info()
1238 slot_status == I3C_ADDR_SLOT_I2C_DEV) in i3c_master_retrieve_dev_info()