Lines Matching refs:state
89 enum zpci_state state;
94 if (zdev->state == ZPCI_FN_STATE_STANDBY &&
95 !clp_get_state(zdev->fid, &state) &&
96 state == ZPCI_FN_STATE_RESERVED)
719 * After the reset the functions internal state is reset to an initial state
720 * equivalent to its state during boot when first probing a driver.
739 /* Disables device access, DMAs and IRQs (reset state) */
742 * Due to a z/VM vs LPAR inconsistency in the error state the
773 * @state: Initial state after creation either Standby or Configured
780 struct zpci_dev *zpci_create_device(u32 fid, u32 fh, enum zpci_state state)
785 zpci_dbg(1, "add fid:%x, fh:%x, c:%d\n", fid, fh, state);
798 zdev->state = state;
828 enum zpci_state state = zdev->state;
830 return state != ZPCI_FN_STATE_RESERVED &&
831 state != ZPCI_FN_STATE_STANDBY;
839 * Given a device in the configuration state Configured, enables, scans and
883 zdev->state = ZPCI_FN_STATE_STANDBY;
908 zdev->state = ZPCI_FN_STATE_RESERVED;
926 switch (zdev->state) {
962 * zpci_clear_error_state() - Clears the zPCI error state of the device
963 * @zdev: The zdev for which the zPCI error state should be reset
965 * Clear the zPCI error state of the device. If clearing the zPCI error state
966 * fails the device is left in the error state. In this case it may make sense
988 * zpci_reset_load_store_blocked() - Re-enables L/S from error state
991 * Re-enables load/store access for a PCI function in the error state while
992 * keeping DMA blocked. In this state drivers can poke MMIO space to determine