cbus_transfer(9)
π¦ 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β ifrw == I2C_SBUS_WRITE, this is the data to send; otherwise it's0. so write mode gets the actual payload, and every other time it's zero, iykyk πΎ
π SEE ALSO π
- Kernel file
./drivers/i2c/busses/i2c-cbus-gpio.c cbus_send_bit(9)cbus_send_data(9)cbus_receive_bit(9)cbus_receive_word(9)
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
- 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