HomeSort by: relevance | last modified time | path
    Searched refs:mac (Results 1 - 25 of 279) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/dev/pci/cxgb/
cxgb_xgmac.c 49 static inline int macidx(const struct cmac *mac)
51 return mac->offset / (XGMAC0_1_BASE_ADDR - XGMAC0_0_BASE_ADDR);
54 static void xaui_serdes_reset(struct cmac *mac)
62 adapter_t *adap = mac->adapter;
63 u32 ctrl = A_XGM_SERDES_CTRL0 + mac->offset;
65 t3_write_reg(adap, ctrl, adap->params.vpd.xauicfg[macidx(mac)] |
78 void t3b_pcs_reset(struct cmac *mac)
80 t3_set_reg_field(mac->adapter, A_XGM_RESET_CTRL + mac->offset,
83 t3_set_reg_field(mac->adapter, A_XGM_RESET_CTRL + mac->offset, 0
    [all...]
cxgb_vsc7323.c 290 const struct mac_stats *t3_vsc7323_update_stats(struct cmac *mac)
296 ret = t3_elmr_blk_read(mac->adapter,
297 ELMR_STAT(mac->ext_port, STATS0_START),
300 ret = t3_elmr_blk_read(mac->adapter,
301 ELMR_STAT(mac->ext_port, STATS1_START),
309 rx_ucast = mac->stats.rx_frames - mac->stats.rx_mcast_frames -
310 mac->stats.rx_bcast_frames;
312 tx_ucast = mac->stats.tx_frames - mac->stats.tx_mcast_frames
    [all...]
  /src/usr.bin/checknr/
checknr.c 318 char mac[5]; /* The current macro or nroff command */ local in function:process
327 strncpy(mac, line+1, 4);
328 mac[4] = '\0';
329 if (isspace((unsigned char)mac[0])) {
332 } else if (isspace((unsigned char)mac[1])) {
333 mac[1] = 0;
334 } else if (isspace((unsigned char)mac[2])) {
335 mac[2] = 0;
336 } else if (mac[0] != '\\' || mac[1] != '\"')
558 char *mac; local in function:addcmd
    [all...]
  /src/sys/arch/mac68k/mac68k/
conf.c 49 cons_decl(mac);
58 cons_init(mac),
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
dra62x.dtsi 14 &mac {
  /src/sys/dev/pci/igc/
igc_base.c 34 return hw->mac.ops.acquire_swfw_sync(hw, mask);
53 hw->mac.ops.release_swfw_sync(hw, mask);
65 struct igc_mac_info *mac = &hw->mac; local in function:igc_init_hw_base
66 uint16_t i, rar_count = mac->rar_entry_count;
76 for (i = 0; i < mac->mta_reg_count; i++)
81 for (i = 0; i < mac->uta_reg_count; i++)
85 ret_val = mac->ops.setup_link(hw);
igc_api.c 16 * igc_init_mac_params - Initialize MAC function pointers
19 * This function initializes the function pointers for the MAC
27 if (hw->mac.ops.init_params) {
28 ret_val = hw->mac.ops.init_params(hw);
30 DEBUGOUT("MAC Initialization Error\n");
34 DEBUGOUT("mac.init_mac_params was NULL\n");
94 * igc_set_mac_type - Sets MAC type
97 * This function sets the mac type of the adapter based on the
105 struct igc_mac_info *mac = &hw->mac; local in function:igc_set_mac_type
    [all...]
  /src/sys/dev/ic/
bwi.c 128 /* MAC */
151 /* MAC */
211 static void bwi_tbl_write_2(struct bwi_mac *mac, uint16_t, uint16_t);
212 static void bwi_tbl_write_4(struct bwi_mac *mac, uint16_t, uint32_t);
424 /* MAC */
474 #define RF_LO_WRITE(mac, lo) bwi_rf_lo_write((mac), (lo))
502 #define SAVE_RF_REG(mac, regs, n) (regs)->rf_##n = RF_READ((mac), 0x##n)
503 #define RESTORE_RF_REG(mac, regs, n) RF_WRITE((mac), 0x##n, (regs)->rf_##n
720 struct bwi_mac *mac; local in function:bwi_softintr
887 struct bwi_mac *mac; local in function:bwi_attach
2697 struct bwi_mac *mac; local in function:bwi_mac_attach
7287 struct bwi_mac *mac; local in function:bwi_init_statechg
7394 struct bwi_mac *mac; local in function:bwi_ioctl
7652 struct bwi_mac *mac; local in function:bwi_stop
7742 struct bwi_mac *mac; local in function:bwi_newstate
8025 struct bwi_mac *mac = &sc->sc_mac[0]; local in function:bwi_pio_alloc
8809 struct bwi_mac *mac; local in function:bwi_set_chan
9620 struct bwi_mac *mac; local in function:bwi_encap
10285 struct bwi_mac *mac; local in function:bwi_set_bssid
10317 struct bwi_mac *mac; local in function:bwi_updateslot
10350 struct bwi_mac *mac; local in function:bwi_do_calibrate
10399 struct bwi_mac *mac; local in function:bwi_calc_rssi
    [all...]
bwivar.h 483 #define BWI_CREATE_MAC(mac, sc, id, rev) \
485 BWI_CREATE_REGWIN(&(mac)->mac_regwin, \
487 (mac)->mac_sc = (sc); \
801 #define MOBJ_WRITE_2(mac, objid, ofs, val) \
802 bwi_memobj_write_2((mac), (objid), (ofs), (val))
803 #define MOBJ_WRITE_4(mac, objid, ofs, val) \
804 bwi_memobj_write_4((mac), (objid), (ofs), (val))
805 #define MOBJ_READ_2(mac, objid, ofs) \
806 bwi_memobj_read_2((mac), (objid), (ofs))
807 #define MOBJ_READ_4(mac, objid, ofs)
    [all...]
  /src/sys/dev/pci/ixgbe/
ixgbe_api.c 75 if (hw->mac.ops.get_rtrup2tc)
76 hw->mac.ops.get_rtrup2tc(hw, map);
83 * This will assign function pointers and assign the MAC type and PHY code.
98 * Set the mac type
102 switch (hw->mac.type) {
125 hw->mac.max_link_up_time = IXGBE_LINK_UP_TIME;
131 * ixgbe_set_mac_type - Sets MAC type
134 * This function sets the mac type of the adapter based on the
164 hw->mac.type = ixgbe_mac_82598EB;
182 hw->mac.type = ixgbe_mac_82599EB
    [all...]
ixgbe_vf.c 65 /* MAC */
66 hw->mac.ops.init_hw = ixgbe_init_hw_vf;
67 hw->mac.ops.reset_hw = ixgbe_reset_hw_vf;
68 hw->mac.ops.start_hw = ixgbe_start_hw_vf;
70 hw->mac.ops.clear_hw_cntrs = NULL;
71 hw->mac.ops.get_media_type = NULL;
72 hw->mac.ops.get_mac_addr = ixgbe_get_mac_addr_vf;
73 hw->mac.ops.stop_adapter = ixgbe_stop_adapter_vf;
74 hw->mac.ops.get_bus_info = NULL;
75 hw->mac.ops.negotiate_api_version = ixgbevf_negotiate_api_version
654 struct ixgbe_mac_info *mac = &hw->mac; local in function:ixgbe_check_mac_link_vf
    [all...]
ixgbe_x540.c 59 * ixgbe_init_ops_X540 - Inits func ptrs and MAC type
62 * Initialize the function pointers and assign the MAC type for X540.
67 struct ixgbe_mac_info *mac = &hw->mac; local in function:ixgbe_init_ops_X540
93 /* MAC */
94 mac->ops.reset_hw = ixgbe_reset_hw_X540;
95 mac->ops.enable_relaxed_ordering = ixgbe_enable_relaxed_ordering_gen2;
96 mac->ops.get_media_type = ixgbe_get_media_type_X540;
97 mac->ops.get_supported_physical_layer =
99 mac->ops.read_analog_reg8 = NULL
    [all...]
ixgbe_82599.c 70 struct ixgbe_mac_info *mac = &hw->mac; local in function:ixgbe_init_mac_link_ops_82599
78 if ((mac->ops.get_media_type(hw) == ixgbe_media_type_fiber) &&
80 mac->ops.disable_tx_laser =
82 mac->ops.enable_tx_laser =
84 mac->ops.flap_tx_laser = ixgbe_flap_tx_laser_multispeed_fiber;
87 mac->ops.disable_tx_laser = NULL;
88 mac->ops.enable_tx_laser = NULL;
89 mac->ops.flap_tx_laser = NULL;
94 mac->ops.setup_link = ixgbe_setup_mac_link_multispeed_fiber
124 struct ixgbe_mac_info *mac = &hw->mac; local in function:ixgbe_init_phy_ops_82599
330 struct ixgbe_mac_info *mac = &hw->mac; local in function:ixgbe_init_ops_82599
    [all...]
ixgbe_82598.c 119 * ixgbe_init_ops_82598 - Inits func ptrs and MAC type
122 * Initialize the function pointers and assign the MAC type for 82598.
127 struct ixgbe_mac_info *mac = &hw->mac; local in function:ixgbe_init_ops_82598
139 /* MAC */
140 mac->ops.start_hw = ixgbe_start_hw_82598;
141 mac->ops.enable_relaxed_ordering = ixgbe_enable_relaxed_ordering_82598;
142 mac->ops.reset_hw = ixgbe_reset_hw_82598;
143 mac->ops.get_media_type = ixgbe_get_media_type_82598;
144 mac->ops.get_supported_physical_layer
199 struct ixgbe_mac_info *mac = &hw->mac; local in function:ixgbe_init_phy_ops_82598
    [all...]
  /src/games/fortune/tools/
Do_troff 9 ( echo ".ds Se $file" ; cat Troff.mac ; sed -f Troff.sed $file ) | \
  /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_box/
crypto_box_easy.c 13 crypto_box_detached_afternm(unsigned char *c, unsigned char *mac,
17 return crypto_secretbox_detached(c, mac, m, mlen, n, k);
21 crypto_box_detached(unsigned char *c, unsigned char *mac,
33 ret = crypto_box_detached_afternm(c, mac, m, mlen, n, k);
65 const unsigned char *mac,
70 return crypto_secretbox_open_detached(m, c, mac, clen, n, k);
75 const unsigned char *mac,
85 ret = crypto_box_open_detached_afternm(m, c, mac, clen, n, k);
  /src/sys/external/isc/libsodium/dist/test/default/
secretbox_easy2.c 13 unsigned char *mac; local in function:main
23 mac = (unsigned char *) sodium_malloc(crypto_secretbox_MACBYTES);
42 crypto_secretbox_detached(c, mac, m, (unsigned long long) mlen, nonce, k);
43 if (crypto_secretbox_open_detached(NULL, c, mac, (unsigned long long) mlen,
47 if (crypto_secretbox_open_detached(m2, c, mac, (unsigned long long) mlen,
69 sodium_free(mac);
  /src/sys/external/isc/atheros_hal/dist/ar5416/
ar5416_keycache.c 56 const HAL_KEYVAL *k, const uint8_t *mac,
61 if (ar5212SetKeyCacheEntry(ah, entry, k, mac, xorKey)) {
  /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_box/curve25519xchacha20poly1305/
box_curve25519xchacha20poly1305.c 56 unsigned char *c, unsigned char *mac, const unsigned char *m,
59 return crypto_secretbox_xchacha20poly1305_detached(c, mac, m, mlen, n, k);
64 unsigned char *c, unsigned char *mac, const unsigned char *m,
76 ret = crypto_box_curve25519xchacha20poly1305_detached_afternm(c, mac, m,
112 unsigned char *m, const unsigned char *c, const unsigned char *mac,
115 return crypto_secretbox_xchacha20poly1305_open_detached(m, c, mac, clen, n,
121 unsigned char *m, const unsigned char *c, const unsigned char *mac,
132 m, c, mac, clen, n, k);
  /src/bin/sh/USD.doc/
Makefile 6 SRCS= referargs t.mac t1 t2 t3 t4
  /src/sys/opencrypto/
ocryptodev.h 92 u_int32_t mac; /* ie. CRYPTO_MD5_HMAC */ member in struct:osession_op
95 int mackeylen; /* mac key */
103 u_int32_t mac; /* ie. CRYPTO_MD5_HMAC */ member in struct:osession_n_op
107 int mackeylen; /* mac key */
120 void * mac; /* must be big enough for chosen MAC */ member in struct:ocrypt_op
154 void * mac; /* must be big enough for chosen MAC */ member in struct:ocrypt_n_op
  /src/sys/arch/i386/stand/efiboot/
efipxe.c 34 EFI_MAC_ADDRESS mac; member in struct:efipxeinfo
92 memcmp(net->Mode->CurrentAddress.Addr, epi->mac.Addr,
109 memcpy(epi->mac.Addr, net->Mode->CurrentAddress.Addr, epi->addrsz);
126 printf("%c%02x", i == 0 ? ' ' : ':', epi->mac.Addr[i]);
132 efi_pxe_match_booted_interface(const EFI_MAC_ADDRESS *mac, UINT32 addrsz)
138 memcmp(mac->Addr, epi->mac.Addr, addrsz) == 0)
  /src/sys/external/isc/atheros_hal/dist/ar5210/
ar5210_keycache.c 74 * Sets the mac part of the specified key cache entry and mark it valid.
77 ar5210SetKeyCacheEntryMac(struct ath_hal *ah, uint16_t entry, const uint8_t *mac)
83 * Set MAC address -- shifted right by 1. MacLo is
86 if (mac != AH_NULL) {
87 macHi = (mac[5] << 8) | mac[4];
88 macLo = (mac[3] << 24)| (mac[2] << 16)
89 | (mac[1] << 8) | mac[0]
    [all...]
  /src/sys/external/isc/atheros_hal/dist/ar5211/
ar5211_keycache.c 78 * Sets the mac part of the specified key cache entry and mark it valid.
81 ar5211SetKeyCacheEntryMac(struct ath_hal *ah, uint16_t entry, const uint8_t *mac)
92 * Set MAC address -- shifted right by 1. MacLo is
95 if (mac != AH_NULL) {
96 macHi = (mac[5] << 8) | mac[4];
97 macLo = (mac[3] << 24)| (mac[2] << 16)
98 | (mac[1] << 8) | mac[0]
    [all...]
  /src/sys/stand/efiboot/
efipxe.c 34 EFI_MAC_ADDRESS mac; member in struct:efipxeinfo
92 memcmp(net->Mode->CurrentAddress.Addr, epi->mac.Addr,
109 memcpy(epi->mac.Addr, net->Mode->CurrentAddress.Addr, epi->addrsz);
117 efi_pxe_match_booted_interface(const EFI_MAC_ADDRESS *mac, UINT32 addrsz)
123 memcmp(mac->Addr, epi->mac.Addr, addrsz) == 0)

Completed in 22 milliseconds

1 2 3 4 5 6 7 8 91011>>