NCR5380_transfer_pio(9)
β¨ NCR5380_transfer_pio π
okay bestie, welcome to the Kernel API Manual page for NCR5380_transfer_pio β yes that's her full name and yes she's the main character of this file π
πΈ NAME πΈ
NCR5380_transfer_pio β she transfers data in whatever phase you tell her, using polled I/O π no cap, that's literally the whole job.
β¨ SYNOPSIS β¨
void NCR5380_transfer_pio (struct Scsi_Host *instance , unsigned char
*phase , int *count , unsigned char **data , unsigned int can_sleep );
it's giving "void function, five args, zero notes" π copy it exactly, bestie, don't you dare retype it from memory π
π¦ ARGUMENTS π¦
instanceβ the instance of the driver π«Ά like, which driver are we even talking to, that one.phaseβ a pointer to what phase is expected β¨ she's pointing at the vibe we're expecting, okay?countβ a pointer to the number of bytes to transfer πΈ so we know how much data we're moving.dataβ a pointer to a data pointer π yes, a double pointer, she's fancy like that, deal with it.can_sleepβ1or0when sleeping is permitted or not, respectively π€ so1= nap time allowed,0= no napping on the job π€
π RETURN π
void. that's it, that's the return. but listen β *phase, *count, and *data are all modified in place π so the pointers you passed in get their contents rewritten, fr fr don't be surprised when they come back different, that's the whole point π«Ά
π SEE ALSO π
Kernel file ./drivers/scsi/NCR5380.c β plus the whole friend group, all of them, every single one, no skipping π:
initialize_SCp(9)NCR5380_poll_politely2(9)NCR5380_print(9)NCR5380_print_phase(9)NCR5380_info(9)NCR5380_init(9)NCR5380_maybe_reset_bus(9)NCR5380_exit(9)complete_cmd(9)NCR5380_queue_command(9)dequeue_next_cmd(9)NCR5380_main(9)NCR5380_intr(9)NCR5380_select(9)do_reset(9)do_abort(9)list_find_cmd(9)NCR5380_abort(9)NCR5380_host_reset(9)
ngl the whole squad lives in ./drivers/scsi and they're all lowkey iconic together, go read them, iykyk π₯
k bye bestie, this page ships from ./drivers/scsi and it's dated October 2026 β slay, stay polled, and don't forget to sleep when can_sleep says you can ππ§β
π¦ 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