hisi_acc_sg_buf_unmap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, meet hisi_acc_sg_buf_unmap from the Kernel API Manual β€” it’s literally the function that unmaps an allocated hw sgl πŸ’…βœ¨


✨ SYNOPSIS ✨

here’s the exact signature, no cap β€” keep it verbatim:

void hisi_acc_sg_buf_unmap (struct device *dev , struct scatterlist *sgl
       , struct hisi_acc_hw_sgl *hw_sgl , enum dma_data_direction dir );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the device that the hw sgl belongs to 🫢
  • sgl β€” the related scatterlist 🌈
  • hw_sgl β€” the virtual address of the hw sgl ✨
  • dir β€” the DMA direction πŸ’«

πŸ¦‹ DESCRIPTION πŸ¦‹

ngl, this function does one iconic job: it unmaps the allocated hw sgl. that’s the whole main-character move here, periodt πŸ’…


πŸ”₯ SEE ALSO πŸ”₯


mwah πŸ’‹ β€” source/version: ./drivers/crypto/hisilicon, date: October 2026. bye bestie, go unmap that sgl 🫢✨

πŸ“¦ where this page comes from