oa_tc6_read_register(9)
π oa_tc6_read_register(9) π
okay so bestie, welcome to the Kernel API Manual β this one's a little function from oa_tc6.c and it's literally the "read one single register" girlie π
β¨ NAME β¨
oa_tc6_read_register β the function for reading a MAC-PHY register. that's it, that's the whole job π
πΈ SYNOPSIS πΈ
int oa_tc6_read_register (struct oa_tc6 *tc6 , u32 address , u32 *value );
three args, one int coming back at you. no cap. β¨
π¦ ARGUMENTS π¦
tc6β theoa_tc6struct. your main character struct, she's the whole context fr fr π«Άaddressβ the register address of the MAC-PHY that's about to get read. like, which register are we reading, bestie πvalueβ the value that gets read out of that register ataddresson the MAC-PHY. this is where the tea gets stored π
β RETURN β
0 on success, otherwise failed. that's the vibe check β zero is slay, anything else is a π
π₯ SEE ALSO π₯
Kernel file ./drivers/net/ethernet/oa_tc6.c β and the whole friend group:
oa_tc6_read_registers(9)oa_tc6_read_register_mms(9)oa_tc6_write_registers(9)oa_tc6_write_register(9)oa_tc6_write_register_mms(9)oa_tc6_zero_align_receive_frame_enable(9)oa_tc6_start_xmit(9)oa_tc6_init(9)oa_tc6_exit(9)
like, the read function's entire inner circle. iykyk π
ok real talk: read it, write it, init it, exit it β they all live in ./drivers/net/ethernet/oa_tc6.c and they all reference each other. go say hi π
and that's the page, bestie! πΈ source/version lives at ./drivers/net/ethernet, dated October 2026, and the header/footer both say oa_tc6_read_register(9) β she said her own name twice because she's iconic like that π β¨ π
π¦ 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