Home
last modified time | relevance | path

Searched refs:cmac (Results 1 – 14 of 14) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb/
Dpm3393.c94 static int pmread(struct cmac *cmac, u32 reg, u32 * data32) in pmread() argument
96 t1_tpi_read(cmac->adapter, OFFSET(reg), data32); in pmread()
100 static int pmwrite(struct cmac *cmac, u32 reg, u32 data32) in pmwrite() argument
102 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
126 pmwrite(cmac, SUNI1x10GEXP_REG_SERDES_3125_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable()
127 pmwrite(cmac, SUNI1x10GEXP_REG_XRF_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable()
128 pmwrite(cmac, SUNI1x10GEXP_REG_XRF_DIAG_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable()
129 pmwrite(cmac, SUNI1x10GEXP_REG_RXOAM_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable()
[all …]
Dgmac.h97 void (*destroy)(struct cmac *);
98 int (*reset)(struct cmac *);
99 int (*interrupt_enable)(struct cmac *);
100 int (*interrupt_disable)(struct cmac *);
101 int (*interrupt_clear)(struct cmac *);
102 int (*interrupt_handler)(struct cmac *);
104 int (*enable)(struct cmac *, int);
105 int (*disable)(struct cmac *, int);
107 int (*loopback_enable)(struct cmac *);
108 int (*loopback_disable)(struct cmac *);
[all …]
Dvsc7326.c361 static int mac_intr_handler(struct cmac *mac) in mac_intr_handler()
366 static int mac_intr_enable(struct cmac *mac) in mac_intr_enable()
371 static int mac_intr_disable(struct cmac *mac) in mac_intr_disable()
376 static int mac_intr_clear(struct cmac *mac) in mac_intr_clear()
382 static int mac_set_address(struct cmac* mac, u8 addr[6]) in mac_set_address()
405 static int mac_get_address(struct cmac *mac, u8 addr[6]) in mac_get_address()
423 static int mac_reset(struct cmac *mac) in mac_reset()
433 static int mac_set_rx_mode(struct cmac *mac, struct t1_rx_mode *rm) in mac_set_rx_mode()
450 static int mac_set_mtu(struct cmac *mac, int mtu) in mac_set_mtu()
459 static int mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, in mac_set_speed_duplex_fc()
[all …]
Dcommon.h218 struct cmac;
223 struct cmac *mac;
341 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
Dsubr.c165 struct cmac *mac = adapter->port[port_id].mac; in t1_link_changed()
623 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) in t1_link_start()
735 struct cmac *mac = adapter->port[0].mac; in t1_elmer0_ext_intr_handler()
1013 struct cmac *mac = adapter->port[i].mac; in t1_free_sw_modules()
1088 struct cmac *mac; in t1_init_sw_modules()
Dcxgb2.c118 struct cmac *mac = adapter->port[dev->if_port].mac; in t1_set_rxmode()
177 struct cmac *mac = p->mac; in link_start()
269 struct cmac *mac = p->mac; in cxgb_close()
457 struct cmac *mac = adapter->port[dev->if_port].mac; in get_stats()
830 struct cmac *mac = adapter->port[dev->if_port].mac; in t1_change_mtu()
843 struct cmac *mac = adapter->port[dev->if_port].mac; in t1_set_mac_addr()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/
Dxgmac.c41 static inline int macidx(const struct cmac *mac) in macidx()
46 static void xaui_serdes_reset(struct cmac *mac) in xaui_serdes_reset()
70 void t3b_pcs_reset(struct cmac *mac) in t3b_pcs_reset()
79 int t3_mac_reset(struct cmac *mac) in t3_mac_reset()
150 static int t3b2_mac_reset(struct cmac *mac) in t3b2_mac_reset()
230 static void set_addr_filter(struct cmac *mac, int idx, const u8 * addr) in set_addr_filter()
243 int t3_mac_set_address(struct cmac *mac, unsigned int idx, u8 addr[6]) in t3_mac_set_address()
256 int t3_mac_set_num_ucast(struct cmac *mac, int n) in t3_mac_set_num_ucast()
264 void t3_mac_disable_exact_filters(struct cmac *mac) in t3_mac_disable_exact_filters()
275 void t3_mac_enable_exact_filters(struct cmac *mac) in t3_mac_enable_exact_filters()
[all …]
Dcommon.h470 struct cmac { struct
677 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
705 int t3_mac_reset(struct cmac *mac);
706 void t3b_pcs_reset(struct cmac *mac);
707 void t3_mac_disable_exact_filters(struct cmac *mac);
708 void t3_mac_enable_exact_filters(struct cmac *mac);
709 int t3_mac_enable(struct cmac *mac, int which);
710 int t3_mac_disable(struct cmac *mac, int which);
711 int t3_mac_set_mtu(struct cmac *mac, unsigned int mtu);
712 int t3_mac_set_rx_mode(struct cmac *mac, struct net_device *dev);
[all …]
Dadapter.h73 struct cmac mac;
Dt3_hw.c1198 static void t3_gate_rx_traffic(struct cmac *mac, u32 *rx_cfg, in t3_gate_rx_traffic()
1220 static void t3_open_rx_traffic(struct cmac *mac, u32 rx_cfg, in t3_open_rx_traffic()
1245 struct cmac *mac = &pi->mac; in t3_link_changed()
1300 struct cmac *mac = &pi->mac; in t3_link_fault()
1363 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) in t3_link_start()
1846 struct cmac *mac = &adap2pinfo(adap, idx)->mac; in mac_intr_handler()
3539 static void mac_prep(struct cmac *mac, struct adapter *adapter, int index) in mac_prep()
Dcxgb3_main.c209 struct cmac *mac = &pi->mac; in t3_os_link_fault()
257 struct cmac *mac = &pi->mac; in t3_os_link_changed()
348 struct cmac *mac = &pi->mac; in link_start()
2703 struct cmac *mac = &p->mac; in check_t3b2_mac()
2750 struct cmac *mac = &adap2pinfo(adapter, port)->mac; in t3_adap_check_task()
/Linux-v4.19/drivers/crypto/ccp/
DMakefile16 ccp-crypto-aes-cmac.o \
/Linux-v4.19/crypto/
DMakefile57 obj-$(CONFIG_CRYPTO_CMAC) += cmac.o
/Linux-v4.19/Documentation/crypto/
Darchitecture.rst42 - cmac(aes)