Searched refs:max_port (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/samples/pktgen/ |
D | functions.sh | 308 local max_port 313 max_port=${port_list[1]:-$min_port} 315 echo $min_port $max_port 322 local max_port=$2 326 if (in_between $max_port 1 65535); then 327 if [[ $min_port -le $max_port ]]; then 333 err 5 "Invalid port(s): $min_port-$max_port"
|
/kernel/linux/linux-5.10/samples/bpf/ |
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() 159 int min_port = 0, max_port = 0, vip2tnl_map_fd; in main() local 195 if (parse_ports(optarg, &min_port, &max_port)) in main() 288 while (min_port <= max_port) { in main()
|
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/ |
D | octeon-platform.c | 767 int i, max_port, uart_mask; in octeon_prune_device_tree() local 787 max_port = 2; in octeon_prune_device_tree() 789 max_port = 1; in octeon_prune_device_tree() 791 max_port = 0; in octeon_prune_device_tree() 794 max_port = 0; in octeon_prune_device_tree() 807 if (i >= max_port) { in octeon_prune_device_tree() 834 max_port = 2; in octeon_prune_device_tree() 836 max_port = 1; in octeon_prune_device_tree() 850 if (i >= max_port) { in octeon_prune_device_tree() 861 max_port = 4; in octeon_prune_device_tree() [all …]
|
/kernel/linux/linux-5.10/drivers/tty/serial/8250/ |
D | 8250_pci.c | 1552 u32 max_port, i; in pci_fintek_init() local 1566 max_port = dev->device & 0xff; in pci_fintek_init() 1569 max_port = 12; in pci_fintek_init() 1580 for (i = 0; i < max_port; ++i) { in pci_fintek_init() 1617 return max_port; in pci_fintek_init() 1656 u32 max_port, i; in pci_fintek_f815xxa_init() local 1665 max_port = dev->device & 0xff; in pci_fintek_f815xxa_init() 1668 max_port = 12; in pci_fintek_f815xxa_init() 1677 for (i = 0; i < max_port; ++i) { in pci_fintek_f815xxa_init() 1688 return max_port; in pci_fintek_f815xxa_init() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
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() 2869 int max_port = min_port + in mlx4_slaves_closest_port() local 2874 else if (port >= max_port) in mlx4_slaves_closest_port() 2875 port = max_port - 1; in mlx4_slaves_closest_port() 3411 int max_port = min_port - 1 + in mlx4_vf_set_enable_smi_admin() local 3422 if (min_port == max_port && dev->caps.num_ports > 1) { in mlx4_vf_set_enable_smi_admin()
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
D | adv7604.c | 106 unsigned int max_port; member 1807 if (input > state->info->max_port) in adv76xx_s_routing() 2986 .max_port = ADV7604_PAD_VGA_COMP, 3036 .max_port = ADV76XX_PAD_HDMI_PORT_A, 3080 .max_port = ADV76XX_PAD_HDMI_PORT_A, /* B not supported */
|