Searched refs:first_port (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/net/netfilter/ipset/ |
D | ip_set_bitmap_port.c | 34 u16 first_port; /* host byte order, included in range */ member 52 return port - m->first_port; in port_to_id() 89 htons(map->first_port + id)); in bitmap_port_do_list() 95 return nla_put_net16(skb, IPSET_ATTR_PORT, htons(map->first_port)) || in bitmap_port_do_head() 144 if (port < map->first_port || port > map->last_port) in bitmap_port_kadt() 172 if (port < map->first_port || port > map->last_port) in bitmap_port_uadt() 187 if (port < map->first_port) in bitmap_port_uadt() 215 return x->first_port == y->first_port && in bitmap_port_same_set() 232 u16 first_port, u16 last_port) in init_map_port() argument 237 map->first_port = first_port; in init_map_port() [all …]
|
/linux-5.19.10/drivers/thunderbolt/ |
D | path.c | 242 struct tb_port *in_port, *out_port, *first_port, *last_port; in tb_path_alloc() local 252 first_port = last_port = NULL; in tb_path_alloc() 255 if (!first_port) in tb_path_alloc() 256 first_port = in_port; in tb_path_alloc() 262 if (first_port != src || last_port != dst) { in tb_path_alloc()
|
/linux-5.19.10/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 1273 int first_port; member 3220 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in port_get_link_speed() 3302 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in port_set_link_speed() 3352 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in port_force_link_speed() 3376 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) in port_set_power_saving() 4571 hw->dst_ports = 1 << priv->port.first_port; in send_packet() 5284 port_set_stp_state(hw, port->first_port, STP_STATE_DISABLED); in netdev_close() 5288 pi = 1 << port->first_port; in netdev_close() 5295 if (port->first_port > 0) in netdev_close() 5447 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) { in netdev_open() [all …]
|
/linux-5.19.10/drivers/tty/serial/8250/ |
D | 8250_pci.c | 3776 int num_iomem, num_port, first_port = -1, i; in serial_pci_guess_board() local 3793 if (first_port == -1) in serial_pci_guess_board() 3794 first_port = i; in serial_pci_guess_board() 3806 board->flags = first_port; in serial_pci_guess_board() 3807 board->num_ports = pci_resource_len(dev, first_port) / 8; in serial_pci_guess_board() 3816 first_port = -1; in serial_pci_guess_board() 3821 (first_port == -1 || (first_port + num_port) == i)) { in serial_pci_guess_board() 3823 if (first_port == -1) in serial_pci_guess_board() 3824 first_port = i; in serial_pci_guess_board() 3829 board->flags = first_port | FL_BASE_BARS; in serial_pci_guess_board()
|
/linux-5.19.10/drivers/net/dsa/ocelot/ |
D | felix.c | 271 int first_port; in felix_trap_get_cpu_port() local 276 first_port = __ffs(trap->ingress_port_mask); in felix_trap_get_cpu_port() 277 dp = dsa_to_port(ds, first_port); in felix_trap_get_cpu_port()
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx4/ |
D | fw.c | 1285 int first_port; in mlx4_QUERY_DEV_CAP_wrapper() local 1301 first_port = find_first_bit(actv_ports.ports, dev->caps.num_ports); in mlx4_QUERY_DEV_CAP_wrapper() 1302 for (slave_port = 0, real_port = first_port; in mlx4_QUERY_DEV_CAP_wrapper() 1303 real_port < first_port + in mlx4_QUERY_DEV_CAP_wrapper()
|
/linux-5.19.10/drivers/infiniband/hw/mlx4/ |
D | main.c | 3005 unsigned int first_port; in do_slave_init() local 3012 first_port = find_first_bit(actv_ports.ports, dev->caps.num_ports); in do_slave_init() 3026 dm[i]->port = first_port + i + 1; in do_slave_init()
|