i3c_master_disec_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME

okay so bestie, this page is i3c_master_disec_locked(9) from the Kernel API Manual, and it's literally about one thing: send a DISEC CCC command. That's the whole main-character job. ✨

✨ SYNOPSIS

int i3c_master_disec_locked (struct i3c_master_controller *master , u8
addr , u8 evts );

🌸 ARGUMENTS

  • master β€” the master used to send frames on the bus. It's the one actually doing the frame-sending, no cap.
  • addr β€” a valid I3C slave address or I3C_BROADCAST_ADDR. So either one specific bestie or the whole group chat. πŸ’…
  • evts β€” events to disable. Yep, these are the events getting the "not today" treatment. 🫢

πŸ¦‹ DESCRIPTION

Send a DISEC CCC command to disable some or all events coming from a specific slave, or all devices if addr is I3C_BROADCAST_ADDR.

🚨 lock check, bestie: this function must be called with the bus lock held in write mode. Not "I think I held it", not "someone else probably did" β€” write mode, periodt.

This one is lowkey specific about the lock because that's the rule. The command targets one slave normally, but if addr is I3C_BROADCAST_ADDR, it's going out to all devices. 🌈

πŸŽ€ RETURN

It returns 0 in case of success, or a negative error code otherwise. So 0 = slay βœ…, negative = 😭 but at least you know.

🌈 SEE ALSO

Kernel file ./drivers/i3c/master.c, plus the whole friend group:


signed off from the Kernel API Manual timeline: source/version ./drivers/i3c, dated October 2026, page i3c_master_disec_locked(9) β€” mwah πŸ’‹

πŸ“¦ where this page comes from