Searched full:max_port (Results 1 – 6 of 6) sorted by relevance
| /linux/samples/pktgen/ |
| H A D | functions.sh | 314 local max_port 319 max_port=${port_list[1]:-$min_port} 321 echo $min_port $max_port 328 local max_port=$2 332 if (in_between $max_port 1 65535); then 333 if [[ $min_port -le $max_port ]]; then 339 err 5 "Invalid port(s): $min_port-$max_port"
|
| /linux/arch/mips/cavium-octeon/ |
| H A D | octeon-platform.c | 769 int i, max_port, uart_mask; in octeon_prune_device_tree() local 789 max_port = 2; in octeon_prune_device_tree() 791 max_port = 1; in octeon_prune_device_tree() 793 max_port = 0; in octeon_prune_device_tree() 796 max_port = 0; in octeon_prune_device_tree() 809 if (i >= max_port) { in octeon_prune_device_tree() 836 max_port = 2; in octeon_prune_device_tree() 838 max_port = 1; in octeon_prune_device_tree() 852 if (i >= max_port) { in octeon_prune_device_tree() 863 max_port = 4; in octeon_prune_device_tree() [all …]
|
| /linux/samples/bpf/ |
| H A D | xdp_tx_iptunnel_user.c | 113 static int parse_ports(const char *port_str, int *min_port, int *max_port) in parse_ports() argument 147 *max_port = tmp_max_port; in parse_ports() 154 int min_port = 0, max_port = 0, vip2tnl_map_fd; in main() local 191 if (parse_ports(optarg, &min_port, &max_port)) in main() 284 while (min_port <= max_port) { in main()
|
| /linux/drivers/tty/ |
| H A D | nozomi.c | 121 #define MAX_PORT 4 macro 123 #define NOZOMI_MAX_CARDS (NTTY_TTY_MAXMINORS / MAX_PORT) 360 return tty ? ndevs[tty->index / MAX_PORT] : NULL; in get_dc_by_tty() 366 return ndev ? &ndev->port[tty->index % MAX_PORT] : NULL; in get_port_by_tty() 622 for (i = PORT_MDM; i < MAX_PORT; i++) { in nozomi_read_config_table() 974 for (i = PORT_MDM; i < MAX_PORT; i++) { in send_flow_control() 1244 for (i = 0; i < MAX_PORT; i++) in nozomi_setup_private_data() 1340 for (i = PORT_MDM; i < MAX_PORT; i++) { in nozomi_card_init() 1369 dc->index_start = ndev_idx * MAX_PORT; in nozomi_card_init() 1380 for (i = 0; i < MAX_PORT; i++) { in nozomi_card_init() [all …]
|
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250_pci.c | 1698 u32 max_port, i; in pci_fintek_init() 1714 max_port = dev->device & 0xff; in pci_fintek_init() 1717 max_port = 12; in pci_fintek_init() 1728 for (i = 0; i < max_port; ++i) { in pci_fintek_init() 1759 return max_port; in pci_fintek_init() 1798 u32 max_port, i; in pci_fintek_f815xxa_init() 1807 max_port = dev->device & 0xff; in pci_fintek_f815xxa_init() 1810 max_port = 12; in pci_fintek_f815xxa_init() 1819 for (i = 0; i < max_port; ++i) { in pci_fintek_f815xxa_init() 1830 return max_port; in pci_fintek_f815xxa_init() 1699 u32 max_port, i; pci_fintek_init() local 1799 u32 max_port, i; pci_fintek_f815xxa_init() local 1948 int max_port; pci_wch_ch38x_init() local [all...] |
| /linux/sound/soc/codecs/ |
| H A D | hdac_hdmi.c | 1354 * FIXME: max_port may vary for each platform, so pass this as in hdac_hdmi_add_ports()
|