Lines Matching refs:ahci_uc_priv

109 static int ahci_setup_oobr(struct ahci_uc_priv *uc_priv, int clk)  in ahci_setup_oobr()
119 static int ahci_host_init(struct ahci_uc_priv *uc_priv) in ahci_host_init()
276 static void ahci_print_info(struct ahci_uc_priv *uc_priv) in ahci_print_info()
328 static int ahci_fill_sg(struct ahci_uc_priv *uc_priv, u8 port, in ahci_fill_sg()
375 static int ahci_exec_ata_cmd(struct ahci_uc_priv *uc_priv, u8 port, in ahci_exec_ata_cmd()
425 static void ahci_set_feature(struct ahci_uc_priv *uc_priv, u8 port) in ahci_set_feature()
440 static int ahci_port_start(struct ahci_uc_priv *uc_priv, u8 port) in ahci_port_start()
525 static void dwc_ahsata_identify(struct ahci_uc_priv *uc_priv, u16 *id) in dwc_ahsata_identify()
542 static void dwc_ahsata_xfer_mode(struct ahci_uc_priv *uc_priv, u16 *id) in dwc_ahsata_xfer_mode()
549 static u32 dwc_ahsata_rw_cmd(struct ahci_uc_priv *uc_priv, u32 start, in dwc_ahsata_rw_cmd()
579 static void dwc_ahsata_flush_cache(struct ahci_uc_priv *uc_priv) in dwc_ahsata_flush_cache()
594 static u32 dwc_ahsata_rw_cmd_ext(struct ahci_uc_priv *uc_priv, u32 start, in dwc_ahsata_rw_cmd_ext()
629 static void dwc_ahsata_flush_cache_ext(struct ahci_uc_priv *uc_priv) in dwc_ahsata_flush_cache_ext()
644 static void dwc_ahsata_init_wcache(struct ahci_uc_priv *uc_priv, u16 *id) in dwc_ahsata_init_wcache()
654 static u32 ata_low_level_rw_lba48(struct ahci_uc_priv *uc_priv, u32 blknr, in ata_low_level_rw_lba48()
690 static u32 ata_low_level_rw_lba28(struct ahci_uc_priv *uc_priv, u32 blknr, in ata_low_level_rw_lba28()
725 static int dwc_ahci_start_ports(struct ahci_uc_priv *uc_priv) in dwc_ahci_start_ports()
751 static int dwc_ahsata_scan_common(struct ahci_uc_priv *uc_priv, in dwc_ahsata_scan_common()
809 static ulong sata_read_common(struct ahci_uc_priv *uc_priv, in sata_read_common()
825 static ulong sata_write_common(struct ahci_uc_priv *uc_priv, in sata_write_common()
851 struct ahci_uc_priv *uc_priv = NULL; in ahci_init_one()
853 uc_priv = malloc(sizeof(struct ahci_uc_priv)); in ahci_init_one()
857 memset(uc_priv, 0, sizeof(struct ahci_uc_priv)); in ahci_init_one()
888 struct ahci_uc_priv *uc_priv = NULL; in init_sata()
908 struct ahci_uc_priv *uc_priv; in reset_sata()
935 struct ahci_uc_priv *uc_priv = NULL; in sata_port_status()
954 struct ahci_uc_priv *uc_priv = sata_dev_desc[dev].priv; in sata_read()
962 struct ahci_uc_priv *uc_priv = sata_dev_desc[dev].priv; in sata_write()
970 struct ahci_uc_priv *uc_priv = sata_dev_desc[dev].priv; in scan_sata()
981 struct ahci_uc_priv *uc_priv = dev_get_uclass_priv(dev); in dwc_ahsata_port_status()
990 struct ahci_uc_priv *uc_priv = dev_get_uclass_priv(dev); in dwc_ahsata_bus_reset()
1002 struct ahci_uc_priv *uc_priv = dev_get_uclass_priv(dev); in dwc_ahsata_scan()
1034 struct ahci_uc_priv *uc_priv = dev_get_uclass_priv(dev); in dwc_ahsata_probe()
1059 struct ahci_uc_priv *uc_priv; in dwc_ahsata_read()
1070 struct ahci_uc_priv *uc_priv; in dwc_ahsata_write()