cdns_i2c_shutdown(9)
π
cdns_i2c_shutdown(9) π
okay so welcome to the Kernel API Manual page for cdns_i2c_shutdown(9), bestie. This is the little shutdown helper for the I2C controller vibes. π¦
β¨ NAME β¨
cdns_i2c_shutdown β prepare the I2C controller for system shutdown. π
πΈ SYNOPSIS πΈ
void cdns_i2c_shutdown (struct platform_device *pdev );
π ARGUMENTS π
pdevβ handle to the platform device structure. π«Ά
π₯ DESCRIPTION π₯
So what it does: it marks the adapter as suspended and resets the controller. That's the whole slay. Why? To make sure there's a clean handoff during system reboot or kexec. No messy leftover controller energy, periodt. π
π SEE ALSO π
The whole squad from the kernel file ./drivers/i2c/busses/i2c-cadence.c:
- enum
cdns_i2c_mode(9) - enum
cdns_i2c_slave_state(9) - struct
cdns_i2c(9) cdns_i2c_init(9)cdns_i2c_runtime_suspend(9)cdns_i2c_runtime_resume(9)cdns_i2c_clear_bus_hold(9)cdns_i2c_slave_isr(9)cdns_i2c_master_isr(9)cdns_i2c_isr(9)cdns_i2c_mrecv(9)cdns_i2c_msend(9)cdns_i2c_master_reset(9)cdns_i2c_master_xfer(9)cdns_i2c_master_xfer_atomic(9)cdns_i2c_func(9)cdns_i2c_calc_divs(9)cdns_i2c_setclk(9)cdns_i2c_clk_notifier_cb(9)cdns_i2c_detect_transfer_size(9)cdns_i2c_probe(9)cdns_i2c_remove(9)
xoxo, your local kernel bestie π
β this pageβs source/version vibes live at ./drivers/i2c/busses, and the date on it is 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