delay_to_eeprom_index(9)
π« delay_to_eeprom_index(9) π«
okay so welcome to the Kernel API Manual, bestie β this is the glow-up page for delay_to_eeprom_index, and honestly it's giving "tiny function, big responsibilities" β¨
πΈ NAME πΈ
delay_to_eeprom_index β take a delay in seconds and return the closest eeprom index which will delay for at least that amount of seconds π
lowkey the important word there is "at least" β this function rounds up in spirit, no cap. it does not undershoot. π
β¨ SYNOPSIS β¨
int delay_to_eeprom_index (int delay );
one function, one int in, one int out. short and iconic, fr fr π¦
π ARGUMENTS π
delayβ the delay, in seconds, that you want to find the eeprom index for. that's it, that's the whole argument, bestie π«Ά
π₯ SEE ALSO π₯
okay this is the part where the whole friend group shows up, so get comfy β here's everyone hanging out in the kernel file ./drivers/scsi/dc395x.c:
set_safe_settings(9)fix_settings(9)eeprom_index_to_delay(9)β the reverse-direction bestie of this very function, iykyk π«eeprom_override(9)dc395x_queue_command_lck(9)dc395x_handle_interrupt(9)device_alloc(9)adapter_add_device(9)adapter_remove_device(9)adapter_remove_and_free_device(9)adapter_remove_and_free_all_devices(9)dc395x_sdev_init(9)dc395x_sdev_destroy(9)trms1040_wait_30us(9)trms1040_write_cmd(9)trms1040_set_data(9)trms1040_write_all(9)trms1040_get_data(9)trms1040_read_all(9)check_eeprom(9)print_eeprom_settings(9)adapter_print_config(9)adapter_init_params(9)adapter_init_scsi_host(9)adapter_init_chip(9)adapter_init(9)adapter_uninit_chip(9)adapter_uninit(9)dc395x_init_one(9)dc395x_remove_one(9)
likeβ¦ the whole squad, all present and accounted for ππ
and that's the page!! mwah π this little section lives in ./drivers/scsi, dated October 2026, and it's part of the Kernel API Manual β go read the eeprom lore, it's lowkey a whole saga πβπ
π¦ 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