mips_ejtag_fdc_put_chan(9)
mips_ejtag_fdc_put_chan(9) π
okay bestie, you're looking at the mips_ejtag_fdc_put_chan(9) page from the Kernel API Manual, and it's giving "tiny function, big debug-channel energy." let's get into it π«Ά
β¨ NAME β¨
mips_ejtag_fdc_put_chan β write out a block of channel data. literally the function's whole job π
πΈ SYNOPSIS πΈ
unsigned int mips_ejtag_fdc_put_chan (struct mips_ejtag_fdc_tty *priv ,
unsigned int chan );
π ARGUMENTS π
privβ pointer to driver private data. that's thestruct mips_ejtag_fdc_tty *bestie π«Άchanβ channel number. which channel we're putting to, no cap β¨
π₯ DESCRIPTION π₯
Okay so this one writes a single block of data out to the debug adapter. if the circular buffer is wrapped then only the first block is written β that's the whole rule, bestie, and it's important π
β RETURN β
It returns the number of bytes that were written. the return type is unsigned int, and it's literally handing you the byte count π
π SEE ALSO π
Kernel file ./drivers/tty/mips_ejtag_fdc.c and the struct crew:
struct mips_ejtag_fdc_tty_port(9)struct mips_ejtag_fdc_tty(9)struct fdc_word(9)struct mips_ejtag_fdc_console(9)mips_ejtag_fdc_put(9)mips_ejtag_fdc_handle(9)mips_ejtag_fdc_isr(9)mips_ejtag_fdc_tty_timer(9)
that's the whole page, bestie β source ./drivers/tty, manual Kernel API Manual, date stamp October 2026, mips_ejtag_fdc_put_chan(9) and all. go off π
β¨
π¦ 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