Lines Matching full:pending
502 * ixgbe_get_pending_updates - Check if the component has a pending update
504 * @pending: on return, bitmap of updates pending
507 * Check if the device has any pending updates on any flash components.
510 * pending with the bitmap of pending updates.
512 int ixgbe_get_pending_updates(struct ixgbe_adapter *adapter, u8 *pending, in ixgbe_get_pending_updates() argument
531 *pending = 0; in ixgbe_get_pending_updates()
534 *pending |= IXGBE_ACI_NVM_ACTIV_SEL_NVM; in ixgbe_get_pending_updates()
537 *pending |= IXGBE_ACI_NVM_ACTIV_SEL_OROM; in ixgbe_get_pending_updates()
540 *pending |= IXGBE_ACI_NVM_ACTIV_SEL_NETLIST; in ixgbe_get_pending_updates()
548 * ixgbe_cancel_pending_update - Cancel any pending update for a component
553 * Cancel any pending update for the specified component. If component is
564 u8 pending; in ixgbe_cancel_pending_update() local
567 err = ixgbe_get_pending_updates(adapter, &pending, extack); in ixgbe_cancel_pending_update()
576 pending &= IXGBE_ACI_NVM_ACTIV_SEL_NVM; in ixgbe_cancel_pending_update()
578 pending &= IXGBE_ACI_NVM_ACTIV_SEL_OROM; in ixgbe_cancel_pending_update()
580 pending &= IXGBE_ACI_NVM_ACTIV_SEL_NETLIST; in ixgbe_cancel_pending_update()
585 /* There is no previous pending update, so this request may continue */ in ixgbe_cancel_pending_update()
586 if (!pending) in ixgbe_cancel_pending_update()
589 /* In order to allow overwriting a previous pending update, notify in ixgbe_cancel_pending_update()
593 "Canceling previous pending update", in ixgbe_cancel_pending_update()
603 pending |= IXGBE_ACI_NVM_REVERT_LAST_ACTIV; in ixgbe_cancel_pending_update()
604 err = ixgbe_switch_flash_banks(adapter, pending, NULL, extack); in ixgbe_cancel_pending_update()