quickspi_dev_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, welcome to quickspi_dev_init(9) from the Kernel API Manual. This is literally quickspi_dev_init β€” initialize quickspi device. πŸŽ€


πŸ“œ SYNOPSIS πŸ“œ

struct quickspi_device * quickspi_dev_init (struct pci_dev *pdev , void
       __iomem *mem_addr , const struct pci_device_id *id );

πŸŽ€ ARGUMENTS πŸŽ€

  • pdev β€” pointer to the thc pci device
  • mem_addr β€” The pointer of MMIO memory address
  • id β€” point to pci_device_id structure

πŸ’… DESCRIPTION πŸ’…

So what it does is: alloc the quickspi device structure and initialize the THC device, then configure THC into HIDSPI mode. πŸ¦‹

If that succeeds, it enables the THC hardware interrupt. slay. ✨


🫢 RETURN 🫢

It returns a pointer to the quickspi device structure if success, or NULL on failed. no cap, that's the whole vibe check. πŸ’–


πŸ”— SEE ALSO πŸ”—


mwah πŸ’‹ source/version: ./drivers/hid/intel-thc-hid/in... Β· date: October 2026 🌸

πŸ“¦ where this page comes from