Lines Matching refs:num_ports
933 if (port < 1 || port > dev->caps.num_ports)
964 if (port < 1 || port > dev->caps.num_ports)
975 if (port < 1 || port > dev->caps.num_ports)
2007 priv->dev.caps.num_ports) + 1;
2009 bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports);
2072 priv->dev.caps.num_ports) + 1;
2074 bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports);
2425 for (port = 1; port <= dev->caps.num_ports; port++) {
2771 bitmap_fill(actv_ports.ports, dev->caps.num_ports);
2781 dev->caps.num_ports));
2791 unsigned m = bitmap_weight(actv_ports.ports, dev->caps.num_ports);
2796 n = find_first_bit(actv_ports.ports, dev->caps.num_ports);
2809 find_first_bit(actv_ports.ports, dev->caps.num_ports);
2823 if (port <= 0 || port > dev->caps.num_ports)
2850 dev->caps.num_ports))
2861 int min_port = find_first_bit(actv_ports.ports, dev->caps.num_ports)
2864 bitmap_weight(actv_ports.ports, dev->caps.num_ports);
3268 priv->dev.caps.num_ports) + 1;
3270 bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports);
3280 if (min_port == max_port && dev->caps.num_ports > 1) {