Lines Matching refs:pdev
511 static void dwc_ahsata_print_info(struct blk_desc *pdev) in dwc_ahsata_print_info() argument
517 pdev->product, pdev->vendor, pdev->revision, pdev->lba); in dwc_ahsata_print_info()
521 pdev->product, pdev->vendor, pdev->revision, pdev->lba); in dwc_ahsata_print_info()
752 struct blk_desc *pdev) in dwc_ahsata_scan_common() argument
766 memcpy(pdev->product, serial, sizeof(serial)); in dwc_ahsata_scan_common()
770 memcpy(pdev->revision, firmware, sizeof(firmware)); in dwc_ahsata_scan_common()
774 memcpy(pdev->vendor, product, sizeof(product)); in dwc_ahsata_scan_common()
778 pdev->lba = (u32)n_sectors; in dwc_ahsata_scan_common()
780 pdev->type = DEV_TYPE_HARDDISK; in dwc_ahsata_scan_common()
781 pdev->blksz = ATA_SECT_SIZE; in dwc_ahsata_scan_common()
782 pdev->lun = 0; in dwc_ahsata_scan_common()
786 pdev->lba48 = 1; in dwc_ahsata_scan_common()
803 dwc_ahsata_print_info(pdev); in dwc_ahsata_scan_common()
850 static int ahci_init_one(int pdev) in ahci_init_one() argument
857 uc_priv->dev = pdev; in ahci_init_one()
875 sata_dev_desc[pdev].priv = uc_priv; in ahci_init_one()
965 struct blk_desc *pdev = &sata_dev_desc[dev]; in scan_sata() local
967 return dwc_ahsata_scan_common(uc_priv, pdev); in scan_sata()