/** * tc_dwc_g210_pci_probe - probe routine of the driver * @pdev: pointer to PCI device handle * @id: PCI device id * * Return: 0 on success, non-zero value on failure.
*/ staticint
tc_dwc_g210_pci_probe(struct pci_dev *pdev, conststruct pci_device_id *id)
{ struct ufs_hba *hba; void __iomem *mmio_base; int err;
/* Check Test Chip type and set the specific setup routine */ if (tc_type == TC_G210_20BIT) {
tc_dwc_g210_pci_hba_vops.phy_initialization =
tc_dwc_g210_config_20_bit;
} elseif (tc_type == TC_G210_40BIT) {
tc_dwc_g210_pci_hba_vops.phy_initialization =
tc_dwc_g210_config_40_bit;
} else {
dev_err(&pdev->dev, "test chip version not specified\n"); return -EPERM;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.