/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | pm3393.c | 93 static int pmread(struct cmac *cmac, u32 reg, u32 * data32) in pmread() argument 95 (void) t1_tpi_read(cmac->adapter, OFFSET(reg), data32); in pmread() 99 static int pmwrite(struct cmac *cmac, u32 reg, u32 data32) in pmwrite() argument 101 (void) t1_tpi_write(cmac->adapter, OFFSET(reg), data32); in pmwrite() 107 static int pm3393_reset(struct cmac *cmac) in pm3393_reset() argument 120 static int pm3393_interrupt_enable(struct cmac *cmac) in pm3393_interrupt_enable() argument 129 (void) pmwrite(cmac, SUNI1x10GEXP_REG_SERDES_3125_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable() 130 (void) pmwrite(cmac, SUNI1x10GEXP_REG_XRF_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable() 131 (void) pmwrite(cmac, SUNI1x10GEXP_REG_XRF_DIAG_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable() 132 (void) pmwrite(cmac, SUNI1x10GEXP_REG_RXOAM_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable() [all …]
|
H A D | gmac.h | 77 void (*destroy)(struct cmac *); 78 int (*reset)(struct cmac *); 79 int (*interrupt_enable)(struct cmac *); 80 int (*interrupt_disable)(struct cmac *); 81 int (*interrupt_clear)(struct cmac *); 82 int (*interrupt_handler)(struct cmac *); 84 int (*enable)(struct cmac *, int); 85 int (*disable)(struct cmac *, int); 87 int (*loopback_enable)(struct cmac *); 88 int (*loopback_disable)(struct cmac *); [all …]
|
H A D | vsc7321.c | 238 static struct cmac *vsc7321_mac_create(adapter_t *adapter, int index) in vsc7321_mac_create() 240 struct cmac *mac; in vsc7321_mac_create() 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() [all …]
|
H A D | ch_mac.c | 78 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 D | ixf1010.c | 163 static void disable_port(struct cmac *mac) in disable_port() 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() 308 static int mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, in mac_set_speed_duplex_fc() 333 static int mac_get_speed_duplex_fc(struct cmac *mac, int *speed, int *duplex, in mac_get_speed_duplex_fc() [all …]
|
H A D | vsc7326.c | 382 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 D | ch_subr.c | 173 struct cmac *mac = adapter->port[port_id].mac; in link_changed() 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() 945 struct cmac *mac = adapter->port[0].mac; in elmer0_ext_intr_handler() 1305 struct cmac *mac = adapter->port[i].mac; in t1_free_sw_modules() 1466 struct cmac *mac; in t1_init_sw_modules()
|
H A D | common.h | 249 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_sign_kcf.c | 210 crypto_data_t cmac; in smb2_hmac_one() local 224 bzero(&cmac, sizeof (cmac)); in smb2_hmac_one() 225 cmac.cd_format = CRYPTO_DATA_RAW; in smb2_hmac_one() 226 cmac.cd_length = mac_len; in smb2_hmac_one() 227 cmac.cd_raw.iov_base = (void *)mac; in smb2_hmac_one() 228 cmac.cd_raw.iov_len = mac_len; in smb2_hmac_one() 230 rv = crypto_mac(mech, &cdata, &ckey, NULL, &cmac, NULL); in smb2_hmac_one()
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | nsmb_sign_kcf.c | 217 crypto_data_t cmac; in nsmb_hmac_one() local 231 bzero(&cmac, sizeof (cmac)); in nsmb_hmac_one() 232 cmac.cd_format = CRYPTO_DATA_RAW; in nsmb_hmac_one() 233 cmac.cd_length = mac_len; in nsmb_hmac_one() 234 cmac.cd_raw.iov_base = (void *)mac; in nsmb_hmac_one() 235 cmac.cd_raw.iov_len = mac_len; in nsmb_hmac_one() 237 rv = crypto_mac(mech, &cdata, &ckey, NULL, &cmac, NULL); in nsmb_hmac_one()
|
/illumos-gate/usr/src/test/crypto-tests/tests/modes/aes/ |
H A D | Makefile | 20 SUBDIRS = cbc cbc_pad ccm cmac ctr ecb gcm
|
/illumos-gate/usr/src/uts/common/io/chxge/ |
H A D | oschtoe.h | 176 struct cmac *mac;
|
H A D | pe.c | 226 struct cmac *mac = p->mac; in link_start() 642 struct cmac *mac = sa->port[0].mac; in pe_set_promiscuous() 670 struct cmac *mac = sa->port[0].mac; in pe_set_mc() 1605 struct cmac *mac = chp->port[0].mac; in pe_change_mtu()
|