Lines Matching refs:hpriv
82 struct ahci_host_priv *hpriv = ap->host->private_data; in seattle_transmit_led_message() local
84 struct seattle_plat_data *plat_data = hpriv->plat_data; in seattle_transmit_led_message()
125 struct platform_device *pdev, struct ahci_host_priv *hpriv) in ahci_seattle_get_port_info() argument
145 hpriv->em_loc = 0; in ahci_seattle_get_port_info()
146 hpriv->em_buf_sz = 4; in ahci_seattle_get_port_info()
147 hpriv->em_msg_type = EM_MSG_TYPE_LED; in ahci_seattle_get_port_info()
148 hpriv->plat_data = plat_data; in ahci_seattle_get_port_info()
157 struct ahci_host_priv *hpriv; in ahci_seattle_probe() local
159 hpriv = ahci_platform_get_resources(pdev, 0); in ahci_seattle_probe()
160 if (IS_ERR(hpriv)) in ahci_seattle_probe()
161 return PTR_ERR(hpriv); in ahci_seattle_probe()
163 rc = ahci_platform_enable_resources(hpriv); in ahci_seattle_probe()
167 rc = ahci_platform_init_host(pdev, hpriv, in ahci_seattle_probe()
168 ahci_seattle_get_port_info(pdev, hpriv), in ahci_seattle_probe()
175 ahci_platform_disable_resources(hpriv); in ahci_seattle_probe()