pcmcia_get_tuple(9)
π NAME π
pcmcia_get_tuple β get first tuple from CIS, and yes bestie, literally the first one β¨
πΈ SYNOPSIS πΈ
size_t pcmcia_get_tuple (struct pcmcia_device *p_dev , cisdata_t code ,
unsigned char **buf );
π ARGUMENTS π
p_devβ thestruct pcmcia_devicewhich we need to loop for. like, that's the device we're digging through π«Άcodeβ which CIS code shall we look for? bestie, this is the quest code π₯bufβ pointer to store the buffer to. drop the buffer right here π
π¦ DESCRIPTION π¦
okay so pcmcia_get_tuple gets the content of the first CIS entry of type code. It returns the buffer length (or zero). The caller is responsible to free the buffer passed in buf.
that's the whole vibe: grab the first matching CIS entry, hand back the buffer length β or zero β and then you gotta free the buffer in buf, no cap π
π SEE ALSO π
- Kernel file
./drivers/pcmcia/pcmcia_cis.c pccard_read_tuple(9)pccard_loop_tuple(9)pcmcia_loop_config(9)pcmcia_loop_tuple(9)pcmcia_get_mac_from_cis(9)
mwah π this page is from source/version ./drivers/pcmcia, dated October 2026. 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