adf_bank_state_save(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– adf_bank_state_save(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual page for adf_bank_state_save β€” the function whose whole vibe is saving the state of bank-related registers. no cap, it's giving β€œsave point before the chaos” energy. πŸŽ€


✨ NAME ✨

adf_bank_state_save β€” save state of bank-related registers. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

int adf_bank_state_save (struct adf_accel_dev *accel_dev , u32
bank_number , struct adf_bank_state *state );

🌸 ARGUMENTS 🌸

  • accel_dev β€” pointer to the device structure. iykyk, it's the device in question. 🫢
  • bank_number β€” bank number. literally just the number of the bank. πŸ”’
  • state β€” pointer to bank state structure. this is where the saved state goes. πŸŽ€

πŸ”₯ DESCRIPTION πŸ”₯

This function saves the state of a bank by reading the bank CSRs and writing them in the state structure.

It returns 0 on success, error code otherwise. periodt. ✨

πŸ‘‘ SEE ALSO πŸ‘‘


mwah πŸ’‹ β€” source/version: ./drivers/crypto/intel/qat/qat..., date: October 2026. 🫢

πŸ“¦ where this page comes from