Searched refs:pdev_nr (Results 1 – 1 of 1) sorted by relevance
63 static ssize_t status_show_vhci(int pdev_nr, char *out) in status_show_vhci() argument65 struct platform_device *pdev = vhcis[pdev_nr].pdev; in status_show_vhci()89 pdev_nr * VHCI_PORTS + i, vdev); in status_show_vhci()98 pdev_nr * VHCI_PORTS + VHCI_HC_PORTS + i, vdev); in status_show_vhci()107 static ssize_t status_show_not_ready(int pdev_nr, char *out) in status_show_not_ready() argument114 (pdev_nr * VHCI_PORTS) + i, in status_show_not_ready()122 (pdev_nr * VHCI_PORTS) + VHCI_HC_PORTS + i, in status_show_not_ready()151 int pdev_nr; in status_show() local156 pdev_nr = status_name_to_id(attr->attr.name); in status_show()157 if (pdev_nr < 0) in status_show()[all …]