Lines Matching refs:ports
1107 max_port_p_one = find_first_bit(actv_ports.ports, dev->caps.num_ports) +
1108 bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1;
1113 bitmap_zero(exclusive_ports.ports, dev->caps.num_ports);
1114 set_bit(i - 1, exclusive_ports.ports);
1144 max_port_p_one = find_first_bit(actv_ports.ports, dev->caps.num_ports) +
1145 bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1;
1150 bitmap_zero(exclusive_ports.ports, dev->caps.num_ports);
1151 set_bit(i - 1, exclusive_ports.ports);
1217 if (test_bit(i, actv_ports.ports)) {
1227 /* have ETH ports. Alloc mailbox for SET_PORT command */
1233 if (test_bit(i, actv_ports.ports)) {
1909 bitmap_zero(exclusive_ports.ports, dev->caps.num_ports);
1910 set_bit(i - 1, exclusive_ports.ports);
1920 * it has the same number of ports and is assigned to the same
1921 * ports as the real slave we're looking for. On dual port VF,
1930 actv_ports.ports, dev->caps.num_ports) +
1931 bitmap_weight(actv_ports.ports,
1938 bitmap_zero(exclusive_ports.ports,
1940 set_bit(i - 1, exclusive_ports.ports);