mv88e6xxx_g2...atch_get_bit(9)
πΈ NAME πΈ
okay so bestie, welcome to the mv88e6xxx_g2...atch_get_bit(9) page in the Kernel API Manual π β the function in question is mv88e6xxx_g2_scratch_get_bit, and its whole personality is get a bit β¨ no cap.
β¨ SYNOPSIS β¨
int mv88e6xxx_g2_scratch_get_bit (struct mv88e6xxx_chip *chip , int
base_reg , unsigned int offset , int *set );
π ARGUMENTS π
chipβ chip private data. the chipβs private lil data stash, lowkey essential πbase_regβ base of scratch bits. where the scratch bits start β home base of the whole bit situation πoffsetβ index of bit within the register. which bit inside the register weβre checking, iykyk π¦setβ is bit set? theint *that answers the question: is the bit set? yes/no, main character energy π
π¦ SEE ALSO π¦
Kernel file: ./drivers/net/dsa/mv88e6xxx/global2_scratch.c
mv88e6xxx_g2_scratch_set_bit(9)mv88e6352_g2_scratch_gpio_get_data(9)mv88e6352_g2_scratch_gpio_set_data(9)mv88e6352_g2_scratch_gpio_get_dir(9)mv88e6352_g2_scratch_gpio_set_dir(9)mv88e6352_g2_scratch_gpio_get_pctl(9)mv88e6352_g2_scratch_gpio_set_pctl(9)mv88e6390_g2_scratch_gpio_set_smi(9)mv88e6393x_g2_scratch_gpio_set_smi(9)mv88e6352_g2_cache_global_scratch_config3(9)mv88e6352_g2_scratch_port_has_serdes(9)
before you go bestie: this page is sourced from ./drivers/net/dsa/mv88e6xxx, dated October 2026, title mv88e6xxx_g2...atch_get_bit(9) β manual Kernel API Manual β mwah, bye ππ«Άπ
π¦ 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