Searched refs:max_port (Results 1 – 6 of 6) sorted by relevance
/linux/samples/pktgen/ |
A D | functions.sh | 313 local max_port 318 max_port=${port_list[1]:-$min_port} 320 echo $min_port $max_port 327 local max_port=$2 331 if (in_between $max_port 1 65535); then 332 if [[ $min_port -le $max_port ]]; then 338 err 5 "Invalid port(s): $min_port-$max_port"
|
/linux/arch/mips/cavium-octeon/ |
A D | octeon-platform.c | 785 max_port = 2; in octeon_prune_device_tree() 787 max_port = 1; in octeon_prune_device_tree() 789 max_port = 0; in octeon_prune_device_tree() 792 max_port = 0; in octeon_prune_device_tree() 805 if (i >= max_port) { in octeon_prune_device_tree() 832 max_port = 2; in octeon_prune_device_tree() 834 max_port = 1; in octeon_prune_device_tree() 848 if (i >= max_port) { in octeon_prune_device_tree() 859 max_port = 4; in octeon_prune_device_tree() 863 max_port = 2; in octeon_prune_device_tree() [all …]
|
/linux/samples/bpf/ |
A D | xdp_tx_iptunnel_user.c | 114 static int parse_ports(const char *port_str, int *min_port, int *max_port) in parse_ports() argument 148 *max_port = tmp_max_port; in parse_ports() 158 int min_port = 0, max_port = 0, vip2tnl_map_fd; in main() local 194 if (parse_ports(optarg, &min_port, &max_port)) in main() 282 while (min_port <= max_port) { in main()
|
/linux/drivers/tty/serial/8250/ |
A D | 8250_pci.c | 1527 u32 max_port, i; in pci_fintek_init() local 1541 max_port = dev->device & 0xff; in pci_fintek_init() 1544 max_port = 12; in pci_fintek_init() 1592 return max_port; in pci_fintek_init() 1631 u32 max_port, i; in pci_fintek_f815xxa_init() local 1640 max_port = dev->device & 0xff; in pci_fintek_f815xxa_init() 1643 max_port = 12; in pci_fintek_f815xxa_init() 1663 return max_port; in pci_fintek_f815xxa_init() 1768 int max_port; in pci_wch_ch38x_init() local 1774 max_port = 8; in pci_wch_ch38x_init() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | cmd.c | 2006 int max_port = min_port - 1 + in mlx4_master_activate_admin_state() local 2009 for (port = min_port; port <= max_port; port++) { in mlx4_master_activate_admin_state() 2072 int max_port = min_port - 1 + in mlx4_master_deactivate_admin_state() local 2076 for (port = min_port; port <= max_port; port++) { in mlx4_master_deactivate_admin_state() 2878 int max_port = min_port + in mlx4_slaves_closest_port() local 2883 else if (port >= max_port) in mlx4_slaves_closest_port() 2884 port = max_port - 1; in mlx4_slaves_closest_port() 3420 int max_port = min_port - 1 + in mlx4_vf_set_enable_smi_admin() local 3431 if (min_port == max_port && dev->caps.num_ports > 1) { in mlx4_vf_set_enable_smi_admin()
|
/linux/drivers/media/i2c/ |
A D | adv7604.c | 108 unsigned int max_port; member 1821 if (input > state->info->max_port) in adv76xx_s_routing() 3028 .max_port = ADV7604_PAD_VGA_COMP, 3083 .max_port = ADV76XX_PAD_HDMI_PORT_A, 3129 .max_port = ADV76XX_PAD_HDMI_PORT_A, /* B not supported */
|
Completed in 25 milliseconds