Home
last modified time | relevance | path

Searched refs:mac_type (Results 1 – 7 of 7) sorted by relevance

/external/syslinux/gpxe/src/drivers/net/e1000/
De1000_hw.c168 if (hw->mac_type == e1000_undefined) in e1000_set_phy_type()
179 if (hw->mac_type == e1000_82541 || in e1000_set_phy_type()
180 hw->mac_type == e1000_82541_rev_2 || in e1000_set_phy_type()
181 hw->mac_type == e1000_82547 || in e1000_set_phy_type()
182 hw->mac_type == e1000_82547_rev_2) { in e1000_set_phy_type()
195 if (hw->mac_type == e1000_80003es2lan) { in e1000_set_phy_type()
238 switch (hw->mac_type) { in e1000_phy_init_script()
275 if (hw->mac_type == e1000_82547) { in e1000_phy_init_script()
319 hw->mac_type = e1000_82542_rev2_0; in e1000_set_mac_type()
322 hw->mac_type = e1000_82542_rev2_1; in e1000_set_mac_type()
[all …]
De1000_osdep.h80 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg)))
84 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg))
88 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
93 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
101 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
106 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
111 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
116 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
De1000.c68 switch (adapter->hw.mac_type) { in e1000_get_hw_control()
156 switch ( hw->mac_type ) { in e1000_sw_init()
263 if (hw->mac_type == e1000_82576) { in e1000_configure_tx()
408 if (hw->mac_type == e1000_82576) in e1000_configure_rx()
416 if (hw->mac_type == e1000_82576) { in e1000_configure_rx()
456 if (hw->mac_type == e1000_82576) in e1000_configure_rx()
477 switch (adapter->hw.mac_type) { in e1000_reset()
531 if (adapter->hw.mac_type < e1000_82576) { in e1000_reset()
541 if (adapter->hw.mac_type == e1000_80003es2lan || in e1000_reset()
542 adapter->hw.mac_type == e1000_82576) in e1000_reset()
[all …]
De1000_hw.h1391 e1000_mac_type mac_type; member
/external/dnsmasq/contrib/wrt/
Ddhcp_release.c142 static int parse_hex(char *in, unsigned char *out, int maxlen, int *mac_type) in parse_hex() argument
147 if (mac_type) in parse_hex()
148 *mac_type = 0; in parse_hex()
158 if (*r == '-' && i == 0 && mac_type) in parse_hex()
161 *mac_type = strtol(in, NULL, 16); in parse_hex()
162 mac_type = NULL; in parse_hex()
251 int mac_type; in main() local
290 packet.hlen = parse_hex(argv[3], packet.chaddr, DHCP_CHADDR_MAX, &mac_type); in main()
291 if (mac_type == 0) in main()
294 packet.htype = mac_type; in main()
/external/dnsmasq/src/
Dutil.c399 unsigned int *wildcard_mask, int *mac_type) in parse_hex() argument
404 if (mac_type) in parse_hex()
405 *mac_type = 0; in parse_hex()
415 if (*r == '-' && i == 0 && mac_type) in parse_hex()
418 *mac_type = strtol(in, NULL, 16); in parse_hex()
419 mac_type = NULL; in parse_hex()
Ddnsmasq.h718 unsigned int *wildcard_mask, int *mac_type);