Searched refs:mac (Results 26 - 50 of 546) sorted by relevance

1234567891011>>

/freebsd-10.0-release/sys/dev/ixgbe/
H A Dixgbe_x540.c54 struct ixgbe_mac_info *mac = &hw->mac; local
80 mac->ops.reset_hw = &ixgbe_reset_hw_X540;
81 mac->ops.enable_relaxed_ordering = &ixgbe_enable_relaxed_ordering_gen2;
82 mac->ops.get_media_type = &ixgbe_get_media_type_X540;
83 mac->ops.get_supported_physical_layer =
85 mac->ops.read_analog_reg8 = NULL;
86 mac->ops.write_analog_reg8 = NULL;
87 mac->ops.start_hw = &ixgbe_start_hw_X540;
88 mac
[all...]
H A Dixgbe_api.c47 if (hw->mac.ops.get_rtrup2tc)
48 hw->mac.ops.get_rtrup2tc(hw, map);
70 * Set the mac type
74 switch (hw->mac.type) {
100 * This function sets the mac type of the adapter based on the
128 hw->mac.type = ixgbe_mac_82598EB;
145 hw->mac.type = ixgbe_mac_82599EB;
149 hw->mac.type = ixgbe_mac_82599_vf;
153 hw->mac.type = ixgbe_mac_X540_vf;
157 hw->mac
[all...]
H A Dixgbe_vf.c59 hw->mac.ops.init_hw = ixgbe_init_hw_vf;
60 hw->mac.ops.reset_hw = ixgbe_reset_hw_vf;
61 hw->mac.ops.start_hw = ixgbe_start_hw_vf;
63 hw->mac.ops.clear_hw_cntrs = NULL;
64 hw->mac.ops.get_media_type = NULL;
65 hw->mac.ops.get_mac_addr = ixgbe_get_mac_addr_vf;
66 hw->mac.ops.stop_adapter = ixgbe_stop_adapter_vf;
67 hw->mac.ops.get_bus_info = NULL;
70 hw->mac.ops.setup_link = ixgbe_setup_mac_link_vf;
71 hw->mac
497 struct ixgbe_mac_info *mac = &hw->mac; local
[all...]
/freebsd-10.0-release/sys/dev/e1000/
H A De1000_mac.c50 struct e1000_mac_info *mac = &hw->mac; local
54 mac->ops.init_params = e1000_null_ops_generic;
55 mac->ops.init_hw = e1000_null_ops_generic;
56 mac->ops.reset_hw = e1000_null_ops_generic;
57 mac->ops.setup_physical_interface = e1000_null_ops_generic;
58 mac->ops.get_bus_info = e1000_null_ops_generic;
59 mac->ops.set_lan_id = e1000_set_lan_id_multi_port_pcie;
60 mac->ops.read_mac_addr = e1000_read_mac_addr_generic;
61 mac
179 struct e1000_mac_info *mac = &hw->mac; local
234 struct e1000_mac_info *mac = &hw->mac; local
709 struct e1000_mac_info *mac = &hw->mac; local
774 struct e1000_mac_info *mac = &hw->mac; local
841 struct e1000_mac_info *mac = &hw->mac; local
1058 struct e1000_mac_info *mac = &hw->mac; local
1127 struct e1000_mac_info *mac = &hw->mac; local
1351 struct e1000_mac_info *mac = &hw->mac; local
1837 struct e1000_mac_info *mac = &hw->mac; local
2121 struct e1000_mac_info *mac = &hw->mac; local
2149 struct e1000_mac_info *mac = &hw->mac; local
[all...]
H A De1000_82571.c117 switch (hw->mac.type) {
175 switch (hw->mac.type) {
230 switch (hw->mac.type) {
262 switch (hw->mac.type) {
288 struct e1000_mac_info *mac = &hw->mac; local
301 mac->ops.setup_physical_interface =
303 mac->ops.check_for_link = e1000_check_for_fiber_link_generic;
304 mac->ops.get_link_up_info =
312 mac
1192 struct e1000_mac_info *mac = &hw->mac; local
1648 struct e1000_mac_info *mac = &hw->mac; local
1969 struct e1000_mac_info *mac = &hw->mac; local
[all...]
H A De1000_vf.c93 struct e1000_mac_info *mac = &hw->mac; local
106 mac->asf_firmware_present = FALSE;
108 mac->arc_subsystem_valid = FALSE;
110 mac->adaptive_ifs = FALSE;
112 mac->mta_reg_count = 128;
114 mac->rar_entry_count = 1;
118 mac->ops.setup_link = e1000_setup_link_vf;
120 mac->ops.get_bus_info = e1000_get_bus_info_pcie_vf;
122 mac
531 struct e1000_mac_info *mac = &hw->mac; local
[all...]
H A De1000_82542.c102 struct e1000_mac_info *mac = &hw->mac; local
110 mac->mta_reg_count = 128;
112 mac->rar_entry_count = E1000_RAR_ENTRIES;
117 mac->ops.get_bus_info = e1000_get_bus_info_82542;
119 mac->ops.set_lan_id = e1000_set_lan_id_multi_port_pci;
121 mac->ops.reset_hw = e1000_reset_hw_82542;
123 mac->ops.init_hw = e1000_init_hw_82542;
125 mac->ops.setup_link = e1000_setup_link_82542;
127 mac
243 struct e1000_mac_info *mac = &hw->mac; local
317 struct e1000_mac_info *mac = &hw->mac; local
[all...]
H A De1000_82540.c94 switch (hw->mac.type) {
160 struct e1000_mac_info *mac = &hw->mac; local
183 mac->mta_reg_count = 128;
185 mac->rar_entry_count = E1000_RAR_ENTRIES;
190 mac->ops.get_bus_info = e1000_get_bus_info_pci_generic;
192 mac->ops.set_lan_id = e1000_set_lan_id_multi_port_pci;
194 mac->ops.reset_hw = e1000_reset_hw_82540;
196 mac->ops.init_hw = e1000_init_hw_82540;
198 mac
330 struct e1000_mac_info *mac = &hw->mac; local
462 struct e1000_mac_info *mac = &hw->mac; local
[all...]
/freebsd-10.0-release/contrib/wpa/src/crypto/
H A Dcrypto_none.c15 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
H A Dmd5.c23 * @mac: Buffer for the hash (16 bytes)
27 const u8 *addr[], const size_t *len, u8 *mac)
74 if (md5_vector(1 + num_elem, _addr, _len, mac))
86 _addr[1] = mac;
88 return md5_vector(2, _addr, _len, mac);
98 * @mac: Buffer for the hash (16 bytes)
102 u8 *mac)
104 return hmac_md5_vector(key, key_len, 1, &data, &data_len, mac);
26 hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
101 hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) argument
H A Dsha1.c23 * @mac: Buffer for the hash (20 bytes)
27 const u8 *addr[], const size_t *len, u8 *mac)
73 if (sha1_vector(1 + num_elem, _addr, _len, mac))
85 _addr[1] = mac;
87 return sha1_vector(2, _addr, _len, mac);
97 * @mac: Buffer for the hash (20 bytes)
101 u8 *mac)
103 return hmac_sha1_vector(key, key_len, 1, &data, &data_len, mac);
26 hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
100 hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) argument
H A Dsha256.c23 * @mac: Buffer for the hash (32 bytes)
27 const u8 *addr[], const size_t *len, u8 *mac)
73 if (sha256_vector(1 + num_elem, _addr, _len, mac) < 0)
85 _addr[1] = mac;
87 return sha256_vector(2, _addr, _len, mac);
97 * @mac: Buffer for the hash (32 bytes)
101 size_t data_len, u8 *mac)
103 return hmac_sha256_vector(key, key_len, 1, &data, &data_len, mac);
26 hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
100 hmac_sha256(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) argument
H A Dsha256.h15 const u8 *addr[], const size_t *len, u8 *mac);
17 size_t data_len, u8 *mac);
/freebsd-10.0-release/share/doc/usd/21.troff/
H A DMakefile5 SRCS= m.mac m0 m0a m1 m2 m3 m4 m5 table1 table2
/freebsd-10.0-release/sys/security/mac_none/
H A Dmac_none.c49 #include <security/mac/mac_policy.h>
/freebsd-10.0-release/tools/tools/ath/athaggrstats/
H A Dathaggrstats.h47 /* set the mac address of the associated station/ap */
48 void (*setstamac)(struct athaggrstatfoo *, const uint8_t mac[]);
/freebsd-10.0-release/tools/tools/ath/athstats/
H A Dathstats.h47 /* set the mac address of the associated station/ap */
48 void (*setstamac)(struct athstatfoo *, const uint8_t mac[]);
/freebsd-10.0-release/tools/tools/mwl/mwlstats/
H A Dmwlstats.h47 /* set the mac address of the associated station/ap */
48 void (*setstamac)(struct mwlstatfoo *, const uint8_t mac[]);
/freebsd-10.0-release/games/fortune/tools/
H A DDo_troff8 ( echo ".ds Se $file" ; cat Troff.mac ; sed -f Troff.sed $file ) | \
/freebsd-10.0-release/sys/boot/arm/at91/boot2/
H A Dbwct_board.c14 unsigned char mac[6] = { 0x00, 0x0e, 0x42, 0x02, 0x00, 0x28 }; variable
111 printf("MAC %x:%x:%x:%x:%x:%x\n", mac[0],
112 mac[1], mac[2], mac[3], mac[4], mac[5]);
114 EMAC_SetMACAddress(mac);
/freebsd-10.0-release/sys/dev/bwi/
H A Dbwirf.h111 #define RF_WRITE(mac, ofs, val) bwi_rf_write((mac), (ofs), (val))
112 #define RF_READ(mac, ofs) bwi_rf_read((mac), (ofs))
114 #define RF_SETBITS(mac, ofs, bits) \
115 RF_WRITE((mac), (ofs), RF_READ((mac), (ofs)) | (bits))
116 #define RF_CLRBITS(mac, ofs, bits) \
117 RF_WRITE((mac), (ofs), RF_READ((mac), (of
[all...]
/freebsd-10.0-release/sys/dev/bwn/
H A Dif_bwnvar.h58 #define BWN_ISOLDFMT(mac) ((mac)->mac_fw.rev <= 351)
61 #define BWN_HDRSIZE(mac) \
62 ((BWN_ISOLDFMT(mac)) ? (100 + sizeof(struct bwn_plcp6)) : \
68 #define BWN_READ_2(mac, o) (siba_read_2(mac->mac_sc->sc_dev, o))
69 #define BWN_READ_4(mac, o) (siba_read_4(mac->mac_sc->sc_dev, o))
70 #define BWN_WRITE_2(mac, o, v) \
71 (siba_write_2(mac
[all...]
/freebsd-10.0-release/sys/security/mac/
H A Dmac_priv.c50 #include <security/mac/mac_framework.h>
51 #include <security/mac/mac_internal.h>
52 #include <security/mac/mac_policy.h>
/freebsd-10.0-release/contrib/ntp/include/
H A Dntp_types.h15 * On NetBSD for MAC the macro "mac" is defined as 1
17 * optional "mac" member - severe confusion results 8-)
21 #ifdef mac
22 #undef mac macro
/freebsd-10.0-release/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_keycache.c56 const HAL_KEYVAL *k, const uint8_t *mac,
61 if (ar5212SetKeyCacheEntry(ah, entry, k, mac, xorKey)) {
55 ar5416SetKeyCacheEntry(struct ath_hal *ah, uint16_t entry, const HAL_KEYVAL *k, const uint8_t *mac, int xorKey) argument

Completed in 364 milliseconds

1234567891011>>