STRUCT OCELOT_DDATA(9)
π¦ struct ocelot_ddata(9) π¦
okay bestie, welcome to the Kernel API Manual π this page is all about struct ocelot_ddata, aka the private data for an external Ocelot chip. itβs giving very specific little struct energy, and honestly? weβre obsessed β¨
π NAME π
struct ocelot_ddata β private data for an external Ocelot chip. thatβs the whole name section, bestie, short and iconic π
β¨ SYNOPSIS β¨
struct ocelot_ddata {
struct regmap *gcb_regmap;
struct regmap *cpuorg_regmap;
int spi_padding_bytes;
void *dummy_buf;
};
π Members π
gcb_regmapβ this is the General Configuration Blockregmap, bestie. itβs used for operations like chip reset. very main character of it πcpuorg_regmapβ the CPU Device Origin Blockregmap. used for operations like SPI bus configuration. slay π₯spi_padding_bytesβ the number of padding bytes that must be thrown out before read data gets returned. this is calculated during initialization based on bus speed, no cap πΈdummy_bufβ a zero-filled buffer ofspi_padding_bytessize. itβs literally the dummy bytes that will be sent out between the address and data of a SPI read operation π«Ά
π SEE ALSO π
- Kernel file
./drivers/mfd/ocelot.hβ go look, iykyk π
okay thatβs the whole vibe π this page came from ./drivers/mfd, dated October 2026, and itβs the struct ocelot_ddata(9) manual. mwah, go forth and configure responsibly π§ββοΈπ
π¦ 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