Lines Matching +full:sata +full:- +full:cold
1 /* SPDX-License-Identifier: GPL-2.0+ */
39 #define HOST_RESET (1 << 0) /* reset controller; self-clear */
43 /* Registers for each SATA port */
54 #define PORT_SCR 0x28 /* SATA phy register block */
55 #define PORT_SCR_STAT 0x28 /* SATA phy register: SStatus */
56 #define PORT_SCR_CTL 0x2c /* SATA phy register: SControl */
57 #define PORT_SCR_ERR 0x30 /* SATA phy register: SError */
58 #define PORT_SCR_ACT 0x34 /* SATA phy register: SActive */
65 #define PORT_IRQ_COLD_PRES (1 << 31) /* cold presence detect */
70 #define PORT_IRQ_IF_NONFATAL (1 << 26) /* interface non-fatal error */
147 * struct ahci_uc_priv - information about an AHCI controller
156 * in a driver-model context (i.e. attached to a device with
180 * reset() - reset the controller
183 * @return 0 if OK, -ve on error
188 * port_status() - get the status of a SATA port
192 * @return 0 if detected, -ENXIO if nothing on port, other -ve on error
197 * scan() - scan SATA ports
200 * @return 0 if OK, -ve on error
205 #define ahci_get_ops(dev) ((struct ahci_ops *)(dev)->driver->ops)
208 * sata_reset() - reset the controller
211 * @return 0 if OK, -ve on error
216 * sata_port_status() - get the status of a SATA port
220 * @return 0 if detected, -ENXIO if nothin on port, other -ve on error
225 * sata_scan() - scan SATA ports
228 * @return 0 if OK, -ve on error
236 * ahci_init_one_dm() - set up a single AHCI port
243 * ahci_start_ports_dm() - start all AHCI ports for a controller
250 * ahci_init_dm() - init AHCI for a controller, finding all ports
257 * ahci_bind_scsi() - bind a new SCSI bus as a child
263 * @return 0 if OK, -ve on error
268 * ahci_probe_scsi() - probe and scan the attached SCSI bus
275 * @return 0 if OK, -ve on error
280 * ahci_probe_scsi_pci() - probe and scan the attached SCSI bus on PCI
286 * @return 0 if OK, -ve on error