ct_atc_create(9)
πΈ NAME πΈ β ct_atc_create(9) from the Kernel API Manual
okay bestie, gather round: ct_atc_create is the function that creates and initializes a hardware manager. main character energy, fr fr.
β¨ SYNOPSIS β¨
int ct_atc_create (struct snd_card *card , struct pci_dev *pci , unsigned int rsr , unsigned int msr , int chip_type , unsigned int ssid , struct ct_atc **ratc );
π ARGUMENTS π
cardβ the corresponding alsa card object. like, the card it belongs to.pciβ the corresponding kernel pci device object.rsrβ reference sampling rate.msrβ master sampling rate.chip_typeβCHIPTYPenum values. yes bestie, the enum values.ssidβ vendor ID (upper 16 bits) and device ID (lower 16 bits). bit-splitting moment.ratcβ return created object address in it. put the address right there.
π DESCRIPTION π
This icon literally creates and initializes a hardware manager. slay.
It creates a kmallocated ct_atc structure. Then it initializes hardware. yes, actual hardware.
It returns 0 if succeeds, or a negative error code if fails. negative means something went sideways, no cap.
π¦ SEE ALSO π¦
- Kernel file
./sound/pci/ctxfi/ctatc.cβ go peek at the source if you want the full lore.
xoxo, your Unix bestie π β this page came from ./sound/pci/ctxfi, dated October 2026, and itβs filed under ct_atc_create(9). periodt.
π¦ 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