Lines Matching defs:ap

69 #define ATP867X_IOBASE(ap)		((ap)->host->iomap[0])  argument
70 #define ATP867X_SYS_INFO(ap) (0x3F + ATP867X_IOBASE(ap)) argument
72 #define ATP867X_IO_PORTBASE(ap, port) (0x00 + ATP867X_IOBASE(ap) + \ argument
74 #define ATP867X_IO_DMABASE(ap, port) (0x40 + \ argument
77 #define ATP867X_IO_STATUS(ap, port) (0x07 + \ argument
79 #define ATP867X_IO_ALTSTATUS(ap, port) (0x0E + \ argument
85 #define ATP867X_IO_MSTRPIOSPD(ap, port) (0x08 + \ argument
87 #define ATP867X_IO_SLAVPIOSPD(ap, port) (0x09 + \ argument
89 #define ATP867X_IO_8BPIOSPD(ap, port) (0x0A + \ argument
91 #define ATP867X_IO_DMAMODE(ap, port) (0x0B + \ argument
94 #define ATP867X_IO_PORTSPD(ap, port) (0x4A + \ argument
96 #define ATP867X_IO_PREREAD(ap, port) (0x4C + \ argument
107 static void atp867x_set_dmamode(struct ata_port *ap, struct ata_device *adev) in atp867x_set_dmamode()
138 static int atp867x_get_active_clocks_shifted(struct ata_port *ap, in atp867x_get_active_clocks_shifted()
174 static int atp867x_get_recover_clocks_shifted(struct ata_port *ap, in atp867x_get_recover_clocks_shifted()
203 static void atp867x_set_piomode(struct ata_port *ap, struct ata_device *adev) in atp867x_set_piomode()
252 static int atp867x_cable_detect(struct ata_port *ap) in atp867x_cable_detect()
288 static void atp867x_check_ports(struct ata_port *ap, int port) in atp867x_check_ports()
336 static int atp867x_set_priv(struct ata_port *ap) in atp867x_set_priv()
361 struct ata_port *ap = host->ports[0]; in atp867x_fixup() local
430 struct ata_port *ap = host->ports[i]; in atp867x_ata_pci_sff_init_host() local