Home
last modified time | relevance | path

Searched refs:max_port (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/samples/pktgen/
Dfunctions.sh308 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/
Dxdp_tx_iptunnel_user.c114 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/
Docteon-platform.c768 int i, max_port, uart_mask; in octeon_prune_device_tree() local
788 max_port = 2; in octeon_prune_device_tree()
790 max_port = 1; in octeon_prune_device_tree()
792 max_port = 0; in octeon_prune_device_tree()
795 max_port = 0; in octeon_prune_device_tree()
808 if (i >= max_port) { in octeon_prune_device_tree()
835 max_port = 2; in octeon_prune_device_tree()
837 max_port = 1; in octeon_prune_device_tree()
851 if (i >= max_port) { in octeon_prune_device_tree()
862 max_port = 4; in octeon_prune_device_tree()
[all …]
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
D8250_pci.c1530 u32 max_port, i; in pci_fintek_init() local
1543 max_port = dev->device & 0xff; in pci_fintek_init()
1546 max_port = 12; in pci_fintek_init()
1557 for (i = 0; i < max_port; ++i) { in pci_fintek_init()
1588 return max_port; in pci_fintek_init()
1627 u32 max_port, i; in pci_fintek_f815xxa_init() local
1636 max_port = dev->device & 0xff; in pci_fintek_f815xxa_init()
1639 max_port = 12; in pci_fintek_f815xxa_init()
1648 for (i = 0; i < max_port; ++i) { in pci_fintek_f815xxa_init()
1659 return max_port; in pci_fintek_f815xxa_init()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c2006 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/
Dadv7604.c106 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 */