cbus_transfer(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ cbus_transfer(9) πŸ¦‹

okay bestie, welcome to the cbus_transfer(9) page from the Kernel API Manual. this one is short and sweet, and it's literally about transferring data over the bus. let's get into it πŸ’…


πŸ’– NAME πŸ’–

cbus_transfer β€” transfers data over the bus. that's the whole job, no cap 🚌✨


✨ SYNOPSIS ✨

here's the exact signature, bestie β€” character for character:

int cbus_transfer (struct cbus_host *host , char rw , unsigned dev ,
       unsigned reg , unsigned data );

πŸŽ€ ARGUMENTS πŸŽ€

  • host β€” the host we're using. this is our main character host, periodt 🫢
  • rw β€” read/write flag. it tells the function which direction we're going, read/write vibes πŸ’«
  • dev β€” device address. the address of the device, slay πŸ“
  • reg β€” register address. the address of the register, iconic ✨
  • data β€” if rw == I2C_SBUS_WRITE, this is the data to send; otherwise it's 0. so write mode gets the actual payload, and every other time it's zero, iykyk πŸ’Ύ

🌈 SEE ALSO 🌈

these are the linked besties, go check them out πŸ§šπŸ’œ


and that's the page, bestie πŸŽ€ this one's source/version is ./drivers/i2c/busses, dated October 2026 β€” and yes, it's the cbus_transfer(9) manual page. bye πŸ’–

πŸ“¦ where this page comes from