cdns_i2c_master_isr(9)
π cdns_i2c_master_isr(9)
okay so bestie, welcome to the Kernel API Manual entry for cdns_i2c_master_isr β yes that's the whole name, yes it's a mouthful, and yes we're gonna get through it together π«Ά
β¨ NAME β¨
cdns_i2c_master_isr β the interrupt handler for the I2C device when it's out here living its master role life π
πΈ SYNOPSIS πΈ
irqreturn_t cdns_i2c_master_isr (void *ptr );
literally one line, one argument, zero drama (well, some drama β it's an interrupt handler, that's kind of the whole point) β¨
π ARGUMENTS π
ptrβ Pointer to the I2C device's private data. that's it, that's the whole arg. ngl she's low maintenance π¦
π DESCRIPTION π
so what does she actually do, you ask? cdns_i2c_master_isr handles three whole things for the I2C device while it's in master role, and she handles them all in one function, no cap:
- the data interrupt π«
- the transfer complete interrupt β
- the error interrupts π (yes, plural, errors get their own category, rude but fair)
that's it. that's the job. she shows up, she sorts out whichever of those three things just went off, and she does not make a whole thing of it π
π₯ RETURN π₯
IRQ_HANDLED β always. always always. not sometimes, not "depends on the vibe", always. she is nothing if not consistent β¨ periodt.
π¦ SEE ALSO π¦
bestie this list is long, grab a snack π β everything here lives in 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_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)cdns_i2c_shutdown(9)
like I said. a whole friend group π iykyk
ngl the whole thing is a team effort over in./drivers/i2c/bussesβ that's the source, and this cutie is dated October 2026, filed undercdns_i2c_master_isr(9)π mwah, bye bestie, go handle those interrupts π§ββοΈβ
π¦ 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