i2c_check_quirks(9)
π i2c_check_quirks β Kernel API Manual π
okay bestie, welcome to the i2c_check_quirks(9) page in the Kernel API Manual. itβs lowkey a tiny vibe check for an i2c adapterβs quirk flags: does this adapter have all the flags weβre asking about? thatβs the whole main-character job. π
β¨ NAME β¨
i2c_check_quirks β function for checking the quirk flags in an i2c adapter. periodt. π
π SYNOPSIS π
bool i2c_check_quirks (struct i2c_adapter *adap , u64 quirks );
π«Ά ARGUMENTS π«Ά
adapβ i2c adapter. the adapter being checked, obvi.quirksβ quirk flags. the flags youβre checking for on that adapter.
π₯ RETURN π₯
returns true if the adapter has all the specified quirk flags, and false if not. no maybes, no βitβs complicatedβ β just true/false, bestie. β¨
π SEE ALSO π
the kernel file ./include/linux/i2c.h is right there in the mix, and these faves are also linked in the group chat:
i2c_master_recv(9)i2c_master_recv_dmasafe(9)i2c_master_send(9)i2c_master_send_dmasafe(9)struct i2c_device_identity(9)enum i2c_driver_flags(9)struct i2c_driver(9)struct i2c_client(9)struct i2c_board_info(9)I2C_BOARD_INFO(9)struct i2c_algorithm(9)struct i2c_lock_operations(9)struct i2c_timings(9)struct i2c_bus_recovery_info(9)struct i2c_adapter_quirks(9)i2c_lock_bus(9)i2c_trylock_bus(9)i2c_unlock_bus(9)i2c_mark_adapter_suspended(9)i2c_mark_adapter_resumed(9)module_i2c_driver(9)builtin_i2c_driver(9)
okay thatβs the page, bestie π β source path is ./include/linux, and the date on this one is October 2026, from the Kernel API Manual. iykyk, itβs iconic. π¦
π¦ 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