Home
last modified time | relevance | path

Searched defs:mac (Results 1 – 25 of 192) sorted by relevance

12345678

/illumos-gate/usr/src/uts/intel/io/dnet/
H A Ddnet_mii.c88 mii_handle_t mac; in mii_create() local
109 mii_probe_phy(mii_handle_t mac, int phy) in mii_probe_phy()
148 mii_init_phy(mii_handle_t mac, int phy) in mii_init_phy()
292 mii_reset_phy(mii_handle_t mac, int phy, enum mii_wait_type wait) in mii_reset_phy()
352 mii_sync(mii_handle_t mac, int phy) in mii_sync()
405 mii_disable_fullduplex(mii_handle_t mac, int phy) in mii_disable_fullduplex()
449 mii_autoneg_enab(mii_handle_t mac, int phy) in mii_autoneg_enab()
463 mii_linkup(mii_handle_t mac, int phy) in mii_linkup()
486 mii_getspeed(mii_handle_t mac, int phy, int *speed, int *fulld) in mii_getspeed()
514 mii_fixspeed(mii_handle_t mac, int phy, int speed, int fullduplex) in mii_fixspeed()
[all …]
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dvsc7321.c240 struct cmac *mac; in vsc7321_mac_create() local
284 static int mac_intr_handler(struct cmac *mac) in mac_intr_handler()
290 static int mac_intr_enable(struct cmac *mac) in mac_intr_enable()
296 static int mac_intr_disable(struct cmac *mac) in mac_intr_disable()
302 static int mac_intr_clear(struct cmac *mac) in mac_intr_clear()
309 static int mac_set_address(struct cmac* mac, u8 addr[6]) in mac_set_address()
327 static int mac_get_address(struct cmac *mac, u8 addr[6]) in mac_get_address()
345 static int mac_reset(struct cmac *mac) in mac_reset()
355 static int mac_set_rx_mode(struct cmac *mac, struct t1_rx_mode *rm) in mac_set_rx_mode()
362 static int mac_set_mtu(struct cmac *mac, int mtu) in mac_set_mtu()
[all …]
H A Dvsc7326.c382 static int mac_intr_handler(struct cmac *mac) in mac_intr_handler()
388 static int mac_intr_enable(struct cmac *mac) in mac_intr_enable()
394 static int mac_intr_disable(struct cmac *mac) in mac_intr_disable()
400 static int mac_intr_clear(struct cmac *mac) in mac_intr_clear()
406 static int mac_set_address(struct cmac* mac, u8 addr[6]) in mac_set_address()
429 static int mac_get_address(struct cmac *mac, u8 addr[6]) in mac_get_address()
447 static int mac_reset(struct cmac *mac) in mac_reset()
457 static int mac_set_rx_mode(struct cmac *mac, struct t1_rx_mode *rm) in mac_set_rx_mode()
474 static int mac_set_mtu(struct cmac *mac, int mtu) in mac_set_mtu()
486 static int mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, in mac_set_speed_duplex_fc()
[all …]
H A Dch_mac.c78 static int mac_intr_enable(struct cmac *mac) in mac_intr_enable()
104 static int mac_intr_disable(struct cmac *mac) in mac_intr_disable()
130 static int mac_intr_clear(struct cmac *mac) in mac_intr_clear()
155 static int mac_get_address(struct cmac *mac, u8 addr[6]) in mac_get_address()
173 static int mac_reset(struct cmac *mac) in mac_reset()
200 static int mac_set_rx_mode(struct cmac *mac, struct t1_rx_mode *rm) in mac_set_rx_mode()
215 static int mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, in mac_set_speed_duplex_fc()
251 static int mac_enable(struct cmac *mac, int which) in mac_enable()
266 static int mac_disable(struct cmac *mac, int which) in mac_disable()
282 mac_set_ifs(struct cmac *mac, u32 mode) in mac_set_ifs()
[all …]
H A Dixf1010.c154 #define MACREG(mac, mac_reg) ((mac)->instance->mac_base + (mac_reg)) argument
163 static void disable_port(struct cmac *mac) in disable_port()
172 #define RMON_UPDATE(mac, name, stat_name) \ argument
180 static void port_stats_update(struct cmac *mac) in port_stats_update()
218 static int mac_intr_op(struct cmac *mac) in mac_intr_op()
224 static int mac_set_address(struct cmac *mac, u8 addr[6]) in mac_set_address()
241 static int mac_get_address(struct cmac *mac, u8 addr[6]) in mac_get_address()
259 static int mac_reset(struct cmac *mac) in mac_reset()
264 static int mac_set_rx_mode(struct cmac *mac, struct t1_rx_mode *rm) in mac_set_rx_mode()
299 static int mac_set_mtu(struct cmac *mac, int mtu) in mac_set_mtu()
[all …]
H A Dch_subr.c173 struct cmac *mac = adapter->port[port_id].mac; in link_changed() local
820 t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) in t1_link_start()
928 struct cmac *mac = adapter->port[0].mac; in elmer0_ext_intr_handler() local
945 struct cmac *mac = adapter->port[0].mac; in elmer0_ext_intr_handler() local
1305 struct cmac *mac = adapter->port[i].mac; in t1_free_sw_modules() local
1466 struct cmac *mac; in t1_init_sw_modules() local
/illumos-gate/usr/src/uts/common/io/fcoe/
H A Dfcoe_eth.c60 fcoe_open_mac(fcoe_mac_t *mac, int force_promisc, fcoeio_stat_t *err_detail) in fcoe_open_mac()
133 fcoe_close_mac(fcoe_mac_t *mac) in fcoe_close_mac()
176 fcoe_enable_callback(fcoe_mac_t *mac) in fcoe_enable_callback()
214 fcoe_disable_callback(fcoe_mac_t *mac) in fcoe_disable_callback()
241 fcoe_mac_t *mac = (fcoe_mac_t *)arg; in fcoe_rx() local
276 fcoe_mac_t *mac = (fcoe_mac_t *)arg; in fcoe_mac_notify() local
341 fcoe_mac_t *mac = EPORT2MAC(eport); in fcoe_mac_set_address() local
H A Dfcoe_fc.c74 fcoe_mac_t *mac; in fcoe_register_client() local
138 fcoe_mac_t *mac = EPORT2MAC(eport); in fcoe_deregister_client() local
162 fcoe_mac_t *mac = EPORT2MAC(eport); in fcoe_ctl() local
204 fcoe_mac_t *mac = FRM2MAC(frm); in fcoe_tx_frame() local
414 fcoe_mac_t *mac = (fcoe_mac_t *)arg; in fcoe_mac_notify_link_up() local
424 fcoe_mac_t *mac = (fcoe_mac_t *)arg; in fcoe_mac_notify_link_down() local
433 fcoe_create_port(dev_info_t *parent, fcoe_mac_t *mac, int is_target) in fcoe_create_port()
470 fcoe_mac_t *mac; in fcoe_delete_port() local
H A Dfcoe.c946 fcoe_mac_t *mac = NULL; in fcoe_lookup_mac_by_id() local
965 fcoe_mac_t *mac = NULL; in fcoe_mac_existed() local
981 fcoe_init_wwn_from_mac(uint8_t *wwn, uint8_t *mac, int is_pwwn, uint8_t idx) in fcoe_init_wwn_from_mac()
996 fcoe_mac_t *mac = NULL; in fcoe_create_mac_by_id() local
1016 fcoe_destroy_mac(fcoe_mac_t *mac) in fcoe_destroy_mac()
1030 fcoe_get_mblk(fcoe_mac_t *mac, uint32_t raw_frame_size) in fcoe_get_mblk()
1060 fcoe_mac_t *mac = NULL; in fcoe_watchdog() local
1254 fcoe_mac_t *mac; in fcoe_cmp_wwn() local
1283 fcoe_mac_t *mac = NULL; in fcoe_get_port_list() local
/illumos-gate/usr/src/cmd/checknr/
H A Dchecknr.c283 char mac[5]; /* The current macro or nroff command */ in process() local
409 chkcmd(char *line, char *mac) in chkcmd()
445 nomatch(char *mac) in nomatch()
508 checkknown(char *mac) in checkknown()
528 char *mac; in addcmd() local
558 addmac(char *mac) in addmac()
592 binsrch(char *mac) in binsrch()
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_mac.c50 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_ops_generic() local
179 struct e1000_mac_info *mac = &hw->mac; in e1000_get_bus_info_pci_generic() local
234 struct e1000_mac_info *mac = &hw->mac; in e1000_get_bus_info_pcie_generic() local
711 struct e1000_mac_info *mac = &hw->mac; in e1000_check_for_copper_link_generic() local
776 struct e1000_mac_info *mac = &hw->mac; in e1000_check_for_fiber_link_generic() local
843 struct e1000_mac_info *mac = &hw->mac; in e1000_check_for_serdes_link_generic() local
1060 struct e1000_mac_info *mac = &hw->mac; in e1000_commit_fc_settings_generic() local
1129 struct e1000_mac_info *mac = &hw->mac; in e1000_poll_fiber_serdes_link_generic() local
1353 struct e1000_mac_info *mac = &hw->mac; in e1000_config_fc_after_link_up_generic() local
1839 struct e1000_mac_info *mac = &hw->mac; in e1000_id_led_init_generic() local
[all …]
H A De1000_82542.c102 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_82542() local
245 struct e1000_mac_info *mac = &hw->mac; in e1000_init_hw_82542() local
319 struct e1000_mac_info *mac = &hw->mac; in e1000_setup_link_82542() local
H A De1000_82540.c160 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_82540() local
330 struct e1000_mac_info *mac = &hw->mac; in e1000_init_hw_82540() local
462 struct e1000_mac_info *mac = &hw->mac; in e1000_setup_fiber_serdes_link_82540() local
H A De1000_82543.c195 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_82543() local
958 struct e1000_mac_info *mac = &hw->mac; in e1000_init_hw_82543() local
1199 struct e1000_mac_info *mac = &hw->mac; in e1000_check_for_copper_link_82543() local
1335 struct e1000_mac_info *mac = &hw->mac; in e1000_check_for_fiber_link_82543() local
H A De1000_82571.c288 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_82571() local
1192 struct e1000_mac_info *mac = &hw->mac; in e1000_init_hw_82571() local
1652 struct e1000_mac_info *mac = &hw->mac; in e1000_check_for_serdes_link_82571() local
1973 struct e1000_mac_info *mac = &hw->mac; in e1000_power_down_phy_copper_82571() local
H A De1000_82541.c221 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_82541() local
376 struct e1000_mac_info *mac = &hw->mac; in e1000_init_hw_82541() local
586 struct e1000_mac_info *mac = &hw->mac; in e1000_check_for_link_82541() local
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_mac.c97 crypto_ctx_template_t tmpl, crypto_data_t *mac, crypto_call_req_t *crq) in crypto_mac_prov()
130 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac, in crypto_mac()
221 crypto_ctx_template_t tmpl, crypto_data_t *mac, crypto_call_req_t *crq) in crypto_mac_verify_prov()
254 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac, in crypto_mac_verify()
571 crypto_mac_final(crypto_context_t context, crypto_data_t *mac, in crypto_mac_final()
608 crypto_data_t *mac, crypto_call_req_t *cr) in crypto_mac_single()
H A Dkcf_dual.c54 crypto_dual_data_t *ct, crypto_data_t *mac, crypto_call_req_t *crq) in crypto_encrypt_mac_prov()
176 crypto_dual_data_t *ct, crypto_data_t *mac, crypto_call_req_t *crq) in crypto_encrypt_mac()
971 crypto_data_t *mac, crypto_call_req_t *cr) in crypto_encrypt_mac_final()
1073 crypto_data_t *mac, crypto_data_t *pt, crypto_call_req_t *crq) in crypto_mac_decrypt()
1084 crypto_data_t *mac, crypto_data_t *pt, crypto_call_req_t *crq) in crypto_mac_decrypt_prov()
1102 crypto_data_t *mac, crypto_data_t *pt, crypto_call_req_t *crq) in crypto_mac_verify_decrypt()
1114 crypto_data_t *mac, crypto_data_t *pt, crypto_call_req_t *crq) in crypto_mac_verify_decrypt_prov()
1130 crypto_data_t *mac, crypto_data_t *pt, crypto_call_req_t *crq, in crypto_mac_decrypt_common()
1393 crypto_data_t *mac, crypto_data_t *pt, crypto_call_req_t *crq, in crypto_mac_decrypt_common_prov()
2063 crypto_mac_decrypt_final(crypto_context_t context, crypto_data_t *mac, in crypto_mac_decrypt_final()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Dwpa_enc.c135 unsigned char *data, unsigned int data_len, unsigned char *mac) in hmac_sha1()
144 unsigned char *addr[], unsigned int *len, unsigned char *mac) in hmac_sha1_vector()
242 uint8_t *addr[], size_t *len, uint8_t *mac) in hmac_md5_vector()
266 size_t data_len, uint8_t *mac) in hmac_md5()
/illumos-gate/usr/src/lib/librstp/common/
H A Dtransmit.c47 MAC_HEADER_T mac; member
53 MAC_HEADER_T mac; member
60 MAC_HEADER_T mac; member
/illumos-gate/usr/src/tools/smatch/src/validation/preprocessor/
H A Dpreprocessor4.c2 #define mac(x) x(foo) macro
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzio_crypt.c493 uint8_t *mac, uint8_t *keydata_out, uint8_t *hmac_keydata_out) in zio_crypt_key_wrap()
564 uint8_t *mac, zio_crypt_key_t *key) in zio_crypt_key_unwrap()
815 zio_crypt_encode_mac_bp(blkptr_t *bp, uint8_t *mac) in zio_crypt_encode_mac_bp()
836 zio_crypt_decode_mac_bp(const blkptr_t *bp, uint8_t *mac) in zio_crypt_decode_mac_bp()
862 zio_crypt_encode_mac_zil(void *data, uint8_t *mac) in zio_crypt_encode_mac_zil()
872 zio_crypt_decode_mac_zil(const void *data, uint8_t *mac) in zio_crypt_decode_mac_zil()
1823 uint8_t *mac, uio_t *puio, uio_t *cuio, uint_t *enc_len, uint8_t **authbuf, in zio_crypt_init_uios()
1875 uint8_t *mac, uint_t datalen, uint8_t *plainbuf, uint8_t *cipherbuf, in zio_do_crypt_data()
1974 boolean_t byteswap, uint8_t *salt, uint8_t *iv, uint8_t *mac, in zio_do_crypt_abd()
/illumos-gate/usr/src/uts/common/io/igc/
H A Digc_gld.c479 igc_m_multicast(void *drv, boolean_t add, const uint8_t *mac) in igc_m_multicast()
531 igc_group_add_mac(void *gr_drv, const uint8_t *mac) in igc_group_add_mac()
557 igc_group_rem_mac(void *gr_drv, const uint8_t *mac) in igc_group_rem_mac()
1265 mac_register_t *mac = mac_alloc(MAC_VERSION); in igc_mac_register() local
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftMAC.h108 #define SOFT_MAC_FINAL(HASH, mac_ctx, mac) \ argument
113 #define SOFT_MAC_FINAL_2(HASH, mac_ctx, mac) \ argument
/illumos-gate/usr/src/uts/common/io/igc/core/
H A Digc_mac.c19 struct igc_mac_info *mac = &hw->mac; in igc_init_mac_ops_generic() local
460 struct igc_mac_info *mac = &hw->mac; in igc_check_for_copper_link_generic() local
706 struct igc_mac_info *mac = &hw->mac; in igc_config_fc_after_link_up_generic() local

12345678