Lines Matching defs:ap
84 #define ATP867X_IOBASE(ap) ((ap)->host->iomap[0]) argument
85 #define ATP867X_SYS_INFO(ap) (0x3F + ATP867X_IOBASE(ap)) argument
87 #define ATP867X_IO_PORTBASE(ap, port) (0x00 + ATP867X_IOBASE(ap) + \ argument
89 #define ATP867X_IO_DMABASE(ap, port) (0x40 + \ argument
92 #define ATP867X_IO_STATUS(ap, port) (0x07 + \ argument
94 #define ATP867X_IO_ALTSTATUS(ap, port) (0x0E + \ argument
100 #define ATP867X_IO_MSTRPIOSPD(ap, port) (0x08 + \ argument
102 #define ATP867X_IO_SLAVPIOSPD(ap, port) (0x09 + \ argument
104 #define ATP867X_IO_8BPIOSPD(ap, port) (0x0A + \ argument
106 #define ATP867X_IO_DMAMODE(ap, port) (0x0B + \ argument
109 #define ATP867X_IO_PORTSPD(ap, port) (0x4A + \ argument
111 #define ATP867X_IO_PREREAD(ap, port) (0x4C + \ argument
122 static void atp867x_set_dmamode(struct ata_port *ap, struct ata_device *adev) in atp867x_set_dmamode()
153 static int atp867x_get_active_clocks_shifted(struct ata_port *ap, in atp867x_get_active_clocks_shifted()
215 static void atp867x_set_piomode(struct ata_port *ap, struct ata_device *adev) in atp867x_set_piomode()
264 static int atp867x_cable_detect(struct ata_port *ap) in atp867x_cable_detect()
301 static void atp867x_check_ports(struct ata_port *ap, int port) in atp867x_check_ports()
350 static int atp867x_set_priv(struct ata_port *ap) in atp867x_set_priv()
375 struct ata_port *ap = host->ports[0]; in atp867x_fixup() local
447 struct ata_port *ap = host->ports[i]; in atp867x_ata_pci_sff_init_host() local