quickspi_dev_init(9)
β¨ 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 devicemem_addrβ The pointer of MMIO memory addressidβ point topci_device_idstructure
π 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 π
- kernel file
./drivers/hid/intel-thc-hid/intel-quickspi/pci-quickspi.c thc_acpi_get_property(9)quickspi_get_acpi_resources(9)quickspi_irq_quick_handler(9)try_recover(9)quickspi_irq_thread_handler(9)quickspi_dev_deinit(9)quickspi_dma_init(9)quickspi_dma_deinit(9)quickspi_alloc_report_buf(9)quickspi_remove(9)quickspi_shutdown(9)
mwah π source/version: ./drivers/hid/intel-thc-hid/in... Β· date: October 2026 πΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms