Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/hotplug/
Dpciehp_hpc.c86 u16 slot_status; member
105 SLOTSTATUS = offsetof(struct ctrl_reg, slot_status),
293 u16 slot_status; in pcie_write_cmd() local
303 retval = hp_register_read_word(php_ctlr->pci_dev, SLOT_STATUS, slot_status); in pcie_write_cmd()
308 dbg("%s : hp_register_read_word SLOT_STATUS %x\n", __FUNCTION__, slot_status); in pcie_write_cmd()
310 if ((slot_status & CMD_COMPLETED) == CMD_COMPLETED ) { in pcie_write_cmd()
453 u16 slot_status; in hpc_get_latch_status() local
463 retval = hp_register_read_word(php_ctlr->pci_dev, SLOT_STATUS, slot_status); in hpc_get_latch_status()
470 *status = (((slot_status & MRL_STATE) >> 5) == 0) ? 0 : 1; in hpc_get_latch_status()
479 u16 slot_status; in hpc_get_adapter_status() local
[all …]
Dshpchp_hpc.c372 u16 slot_status; in hpc_get_attention_status() local
383 slot_status = (u16) slot_reg; in hpc_get_attention_status()
384 atten_led_state = (slot_status & 0x0030) >> 4; in hpc_get_attention_status()
412 u16 slot_status; in hpc_get_power_status() local
424 slot_status = (u16) slot_reg; in hpc_get_power_status()
425 slot_state = (slot_status & 0x0003); in hpc_get_power_status()
454 u16 slot_status; in hpc_get_latch_status() local
464 slot_status = (u16)slot_reg; in hpc_get_latch_status()
466 *status = ((slot_status & 0x0100) == 0) ? 0 : 1; /* 0 -> close; 1 -> open */ in hpc_get_latch_status()
476 u16 slot_status; in hpc_get_adapter_status() local
[all …]
/linux-2.4.37.9/arch/ia64/sn/io/sn2/pcibr/
Dpcibr_slot.c131 if (pcibr_soft->bs_slot[slot].slot_status & SLOT_STARTUP_CMPLT) { in pcibr_slot_startup()
189 if ((pcibr_soft->bs_slot[slot].slot_status & SLOT_SHUTDOWN_CMPLT) || in pcibr_slot_shutdown()
190 ((pcibr_soft->bs_slot[slot].slot_status & SLOT_STATUS_MASK) == 0)) { in pcibr_slot_shutdown()
212 if (pcibr_soft->bs_slot[tmp_slot].slot_status & SLOT_POWER_UP) { in pcibr_slot_shutdown()
344 slotp->resp_slot_status = pss->slot_status; in pcibr_slot_info_return()
569 slotp->slot_status |= SLOT_POWER_UP; in pcibr_slot_info_init()
1555 pcibr_soft->bs_slot[slot].slot_status &= ~SLOT_STATUS_MASK; in pcibr_slot_call_device_attach()
1556 pcibr_soft->bs_slot[slot].slot_status |= SLOT_STARTUP_INCMPLT; in pcibr_slot_call_device_attach()
1559 pcibr_soft->bs_slot[slot].slot_status &= ~SLOT_STATUS_MASK; in pcibr_slot_call_device_attach()
1560 pcibr_soft->bs_slot[slot].slot_status |= SLOT_STARTUP_CMPLT; in pcibr_slot_call_device_attach()
[all …]
Dpcibr_dvr.c803 pcibr_soft->bs_slot[slot].slot_status &= ~SLOT_STATUS_MASK; in pcibr_driver_reg_callback()
806 pcibr_soft->bs_slot[slot].slot_status |= SLOT_STARTUP_INCMPLT; in pcibr_driver_reg_callback()
808 pcibr_soft->bs_slot[slot].slot_status |= SLOT_STARTUP_CMPLT; in pcibr_driver_reg_callback()
854 pcibr_soft->bs_slot[slot].slot_status &= ~SLOT_STATUS_MASK; in pcibr_driver_unreg_callback()
857 pcibr_soft->bs_slot[slot].slot_status |= SLOT_SHUTDOWN_INCMPLT; in pcibr_driver_unreg_callback()
859 pcibr_soft->bs_slot[slot].slot_status |= SLOT_SHUTDOWN_CMPLT; in pcibr_driver_unreg_callback()
/linux-2.4.37.9/include/asm-ia64/sn/pci/
Dpcibr_private.h412 int slot_status; member