Lines Matching refs:state
2059 /* staring ECA (Extended Contingent Allegiance) state. */
2446 * It waits until SCSI REQ becomes assertion or negation state.
2453 static void nsp32_wait_req(nsp32_hw_data *data, int state)
2459 if (!((state == ASSERT) || (state == NEGATE))) {
2460 nsp32_msg(KERN_ERR, "unknown state designation");
2463 req_bit = (state == ASSERT ? BUSMON_REQ : 0);
2480 * It waits until SCSI SACK becomes assertion or negation state.
2482 static void nsp32_wait_sack(nsp32_hw_data *data, int state)
2488 if (!((state == ASSERT) || (state == NEGATE))) {
2489 nsp32_msg(KERN_ERR, "unknown state designation");
2492 ack_bit = (state == ASSERT ? BUSMON_ACK : 0);
3277 static int nsp32_suspend(struct pci_dev *pdev, pm_message_t state)
3281 nsp32_msg(KERN_INFO, "pci-suspend: pdev=0x%p, state=%ld, slot=%s, host=0x%p", pdev, state, pci_name(pdev), host);
3285 pci_set_power_state(pdev, pci_choose_state(pdev, state));