ata_is_port(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ ata_is_port(9) πŸŽ€

Okay bestie, welcome to the Kernel API Manual ✨ this little icon is ata_is_port, and it checks if a struct device represents a ATA port. Lowkey simple, highkey useful πŸ’…


🌸 NAME 🌸

ata_is_port β€” check if a struct device represents a ATA port 🫢


✨ SYNOPSIS ✨

int ata_is_port (const struct device *dev );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” device to check πŸ‘€

πŸ’– RETURN πŸ’–

It returns 1 if the device represents a ATA Port, and 0 else β€” that’s the whole return vibe, no cap ⭐


🌈 SEE ALSO 🌈

The kernel file over here is ./drivers/ata/libata-transport.c, and the related besties are:


Sending you off with the footer tea πŸ“ source/version is ./drivers/ata, dated October 2026 β€” iconic, periodt πŸ’œ

πŸ“¦ where this page comes from