mips_ejtag_fdc_put_chan(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 the struct 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:


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