Home
last modified time | relevance | path

Searched refs:MAX_UNITS (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/amd/
H A Damd8111e.h556 #define MAX_UNITS 8 /* Maximum number of devices possible */ macro
796 static int speed_duplex[MAX_UNITS] = { 0, };
797 static bool coalesce[MAX_UNITS] = { [ 0 ... MAX_UNITS-1] = true };
798 static bool dynamic_ipg[MAX_UNITS] = { [ 0 ... MAX_UNITS-1] = false };
H A Dpcnet32.c140 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
141 static int options[MAX_UNITS];
142 static int full_duplex[MAX_UNITS];
143 static int homepna[MAX_UNITS];
1675 if (cards_found < MAX_UNITS && homepna[cards_found]) in pcnet32_probe1()
1860 if ((cards_found >= MAX_UNITS) || in pcnet32_probe1()
1878 ((cards_found >= MAX_UNITS) || full_duplex[cards_found])) in pcnet32_probe1()
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/
H A Damd8111e.h556 #define MAX_UNITS 8 /* Maximum number of devices possible */ macro
796 static int speed_duplex[MAX_UNITS] = { 0, };
797 static bool coalesce[MAX_UNITS] = { [ 0 ... MAX_UNITS-1] = true };
798 static bool dynamic_ipg[MAX_UNITS] = { [ 0 ... MAX_UNITS-1] = false };
H A Dpcnet32.c140 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
141 static int options[MAX_UNITS];
142 static int full_duplex[MAX_UNITS];
143 static int homepna[MAX_UNITS];
1680 if (cards_found < MAX_UNITS && homepna[cards_found]) in pcnet32_probe1()
1869 if ((cards_found >= MAX_UNITS) || in pcnet32_probe1()
1888 ((cards_found >= MAX_UNITS) || full_duplex[cards_found])) in pcnet32_probe1()
/kernel/linux/linux-5.10/drivers/net/ethernet/3com/
H A D3c59x.c786 #define MAX_UNITS 8 macro
787 static int options[MAX_UNITS] = { [0 ... MAX_UNITS-1] = -1 };
788 static int full_duplex[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 };
789 static int hw_checksums[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 };
790 static int flow_ctrl[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 };
791 static int enable_wol[MAX_UNITS]
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/3com/
H A D3c59x.c786 #define MAX_UNITS 8 macro
787 static int options[MAX_UNITS] = { [0 ... MAX_UNITS-1] = -1 };
788 static int full_duplex[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 };
789 static int hw_checksums[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 };
790 static int flow_ctrl[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 };
791 static int enable_wol[MAX_UNITS]
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/8390/
H A Dne2k-pci.c39 #define MAX_UNITS 8 macro
42 static int full_duplex[MAX_UNITS];
43 static int options[MAX_UNITS];
373 if (fnd_cnt < MAX_UNITS) { in ne2k_pci_init_one()
/kernel/linux/linux-6.6/drivers/net/ethernet/8390/
H A Dne2k-pci.c40 #define MAX_UNITS 8 macro
43 static int full_duplex[MAX_UNITS];
44 static int options[MAX_UNITS];
374 if (fnd_cnt < MAX_UNITS) { in ne2k_pci_init_one()
/kernel/linux/linux-5.10/drivers/net/ethernet/packetengines/
H A Dhamachi.c85 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
86 static int options[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
87 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
103 static int rx_params[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
104 static int tx_params[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
662 option = card_idx < MAX_UNITS ? options[card_idx] : 0; in hamachi_init_one()
703 if (card_idx < MAX_UNITS && full_duplex[card_idx] > 0) in hamachi_init_one()
718 rx_int_var = card_idx < MAX_UNITS ? rx_params[card_idx] : -1; in hamachi_init_one()
719 tx_int_var = card_idx < MAX_UNITS ? tx_params[card_idx] : -1; in hamachi_init_one()
H A Dyellowfin.c60 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
61 static int options[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
62 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
378 int i, option = find_cnt < MAX_UNITS ? options[find_cnt] : 0; in yellowfin_init_one()
469 if (find_cnt < MAX_UNITS && full_duplex[find_cnt] > 0) in yellowfin_init_one()
/kernel/linux/linux-6.6/drivers/net/ethernet/packetengines/
H A Dhamachi.c85 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
86 static int options[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
87 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
103 static int rx_params[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
104 static int tx_params[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
666 option = card_idx < MAX_UNITS ? options[card_idx] : 0; in hamachi_init_one()
707 if (card_idx < MAX_UNITS && full_duplex[card_idx] > 0) in hamachi_init_one()
722 rx_int_var = card_idx < MAX_UNITS ? rx_params[card_idx] : -1; in hamachi_init_one()
723 tx_int_var = card_idx < MAX_UNITS ? tx_params[card_idx] : -1; in hamachi_init_one()
H A Dyellowfin.c60 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
61 static int options[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
62 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
378 int i, option = find_cnt < MAX_UNITS ? options[find_cnt] : 0; in yellowfin_init_one()
471 if (find_cnt < MAX_UNITS && full_duplex[find_cnt] > 0) in yellowfin_init_one()
/kernel/linux/linux-5.10/drivers/net/ethernet/dlink/
H A Ddl2k.c20 #define MAX_UNITS 8 macro
21 static int mtu[MAX_UNITS];
22 static int vlan[MAX_UNITS];
23 static int jumbo[MAX_UNITS];
24 static char *media[MAX_UNITS];
155 if (card_idx < MAX_UNITS) { in rio_probe1()
/kernel/linux/linux-6.6/drivers/net/ethernet/dlink/
H A Ddl2k.c20 #define MAX_UNITS 8 macro
21 static int mtu[MAX_UNITS];
22 static int vlan[MAX_UNITS];
23 static int jumbo[MAX_UNITS];
24 static char *media[MAX_UNITS];
155 if (card_idx < MAX_UNITS) { in rio_probe1()
/kernel/linux/linux-5.10/drivers/net/ethernet/
H A Dfealnx.c43 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
44 static int options[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1 };
45 static int full_duplex[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1 };
494 option = card_idx < MAX_UNITS ? options[card_idx] : 0; in fealnx_init_one()
624 if (card_idx < MAX_UNITS && full_duplex[card_idx] > 0) in fealnx_init_one()
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
H A Dwinbond-840.c81 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
82 static int options[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
83 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
357 int i, option = find_cnt < MAX_UNITS ? options[find_cnt] : 0; in w840_probe1()
415 if (find_cnt < MAX_UNITS && full_duplex[find_cnt] > 0) in w840_probe1()
H A Dtulip_core.c38 #define MAX_UNITS 8 macro
40 static int full_duplex[MAX_UNITS];
41 static int options[MAX_UNITS];
42 static int mtu[MAX_UNITS]; /* Jumbo MTU for interfaces. */
1625 if (board_idx >= 0 && board_idx < MAX_UNITS) { in tulip_init_one()
/kernel/linux/linux-6.6/drivers/net/ethernet/
H A Dfealnx.c43 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
44 static int options[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1 };
45 static int full_duplex[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1 };
495 option = card_idx < MAX_UNITS ? options[card_idx] : 0; in fealnx_init_one()
626 if (card_idx < MAX_UNITS && full_duplex[card_idx] > 0) in fealnx_init_one()
/kernel/linux/linux-6.6/drivers/net/ethernet/dec/tulip/
H A Dwinbond-840.c81 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
82 static int options[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
83 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
357 int i, option = find_cnt < MAX_UNITS ? options[find_cnt] : 0; in w840_probe1()
417 if (find_cnt < MAX_UNITS && full_duplex[find_cnt] > 0) in w840_probe1()
H A Dtulip_core.c38 #define MAX_UNITS 8 macro
40 static int full_duplex[MAX_UNITS];
41 static int options[MAX_UNITS];
42 static int mtu[MAX_UNITS]; /* Jumbo MTU for interfaces. */
1634 if (board_idx >= 0 && board_idx < MAX_UNITS) { in tulip_init_one()
/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/
H A Depic100.c38 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
39 static int options[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
40 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
394 } else if (card_idx >= 0 && card_idx < MAX_UNITS) { in epic_init_one()
/kernel/linux/linux-6.6/drivers/net/ethernet/smsc/
H A Depic100.c38 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
39 static int options[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
40 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
395 } else if (card_idx >= 0 && card_idx < MAX_UNITS) { in epic_init_one()
/kernel/linux/linux-5.10/drivers/net/ethernet/realtek/
H A D8139too.c146 #define MAX_UNITS 8 macro
147 static int media[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
148 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
1077 option = (board_idx >= MAX_UNITS) ? 0 : media[board_idx]; in rtl8139_init_one()
1084 if (board_idx < MAX_UNITS && full_duplex[board_idx] > 0) in rtl8139_init_one()
/kernel/linux/linux-6.6/drivers/net/ethernet/realtek/
H A D8139too.c146 #define MAX_UNITS 8 macro
147 static int media[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
148 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
1078 option = (board_idx >= MAX_UNITS) ? 0 : media[board_idx]; in rtl8139_init_one()
1085 if (board_idx < MAX_UNITS && full_duplex[board_idx] > 0) in rtl8139_init_one()
/kernel/linux/linux-5.10/drivers/net/ethernet/via/
H A Dvia-velocity.h30 #define MAX_UNITS 8 macro
31 #define OPTION_DEFAULT { [0 ... MAX_UNITS-1] = -1}

Completed in 68 milliseconds

12