STRUCT GSC_DRIVERDATA(9)
β¨ struct gsc_driverdata(9) β¨
okay so bestie, welcome to the struct gsc_driverdata(9) page from the Kernel API Manual (that's section 9, the kernel-API girlies π
). this is the per-device-type driver data you hand over at init time β like the little info card your driver fills out before the party starts π
πΈ NAME πΈ
struct gsc_driverdata β per device type driver data for init time. that's it, that's the whole vibe β¨
π¦ SYNOPSIS π¦
struct gsc_driverdata {
struct gsc_variant *variant[GSC_MAX_DEVS];
const char *clk_names[GSC_MAX_CLOCKS];
int num_clocks;
int num_entities;
};
no cap, that's the whole struct β four fields, iconic behavior π
π Members π
variantβ the variant information for this driver. it's an array of pointers:struct gsc_variant *variant[GSC_MAX_DEVS], so you get up toGSC_MAX_DEVSof them π«Άclk_namesβ clock names, literally.const char *clk_names[GSC_MAX_CLOCKS]β room forGSC_MAX_CLOCKSof them βnum_clocksβ the number of clocks inclk_names. yes bestie, it's the count for the array above, they're a matching set πnum_entitiesβ the number of g-scalers π₯
π SEE ALSO π
Kernel file ./drivers/media/platform/samsung/exynos-gsc/gsc-core.h, plus the whole friend group:
enum gsc_datapath(9)struct gsc_fmt(9)struct gsc_input_buf(9)struct gsc_addr(9)struct gsc_scaler(9)struct gsc_frame(9)struct gsc_m2m_device(9)struct gsc_pix_max(9)struct gsc_pix_min(9)struct gsc_dev(9)struct gsc_ctx(9)
go read them all, i'll wait π
mwah π that's the page! brought to you by ./drivers/media/platform/samsu... (yes it's truncated in the source, don't come for me π), dated October 2026 β and it's still struct gsc_driverdata(9) energy all the way down. periodt. π
β¨
π¦ 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