copy_scratchpad(9)
π copy_scratchpad β a whole kernel API manual, bestie
okay so this is copy_scratchpad(9), a Kernel API Manual page, and honestly? it's giving "small function, big responsibilities." the way that it just copies the content of the scratchpad into the device EEPROM... iconic. no cap. π
β¨ NAME β¨
copy_scratchpad β Copy the content of scratchpad in device EEPROM
like literally what it says on the tin, bestie. scratchpad in, EEPROM out. π«Ά
πΈ SYNOPSIS πΈ
int copy_scratchpad (struct w1_slave *sl );
that's the whole signature. short, sweet, and lowkey serving main character energy. π
π¦ ARGUMENTS π¦
slβ slave involved. yep, that's it. the slave is involved. it said "i'm part of this." π
β RETURN β
0if success π β we love a zero, zero is the happy number, no notes-kernel error codeotherwise π β so like, if it doesn't work you get a negative kernel error code back. not a vibe, but at least it's honest
π SEE ALSO π
okay buckle up, this list is LONG and we are NOT skipping a single one, bestie. the original said look at all of these so we're looking at all of these, fr fr. π
first up, the kernel file:
- Kernel file
./drivers/w1/slaves/w1_therm.cstruct
then the whole friend group:
w1_therm_family_converter(9)struct w1_therm_family_data(9)struct therm_info(9)reset_select_slave(9)convert_t(9)read_scratchpad(9)write_scratchpad(9)recall_eeprom(9)read_powermode(9)trigger_bulk_read(9)w1_therm_add_slave(9)w1_therm_remove_slave(9)w1_DS18B20_convert_temp(9)w1_DS18S20_convert_temp(9)w1_DS1825_convert_temp(9)device_family(9)bus_mutex_lock(9)check_family_data(9)bulk_read_support(9)conversion_time(9)temperature_from_RAM(9)int_to_short(9)w1_poll_completion(9)
like, that's the entire group chat and every single one got a shoutout. we ate. π β¨
and that's the page, bestie! no cap, every single reference made it in. go read them, iykyk. πΈ
π§ and before you go β this lil page lives in ./drivers/w1/slaves, and it's dated October 2026, and yes it's literally called copy_scratchpad(9) in case you forgot already. mwah, bye! πππ¦
π¦ 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