Home
last modified time | relevance | path

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

/drivers/net/ethernet/chelsio/cxgb/
Dpm3393.c97 static int pmread(struct cmac *cmac, u32 reg, u32 * data32) in pmread() argument
99 t1_tpi_read(cmac->adapter, OFFSET(reg), data32); in pmread()
103 static int pmwrite(struct cmac *cmac, u32 reg, u32 data32) in pmwrite() argument
105 t1_tpi_write(cmac->adapter, OFFSET(reg), data32); in pmwrite()
110 static int pm3393_reset(struct cmac *cmac) in pm3393_reset() argument
123 static int pm3393_interrupt_enable(struct cmac *cmac) in pm3393_interrupt_enable() argument
129 pmwrite(cmac, SUNI1x10GEXP_REG_SERDES_3125_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable()
130 pmwrite(cmac, SUNI1x10GEXP_REG_XRF_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable()
131 pmwrite(cmac, SUNI1x10GEXP_REG_XRF_DIAG_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable()
132 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.c362 static int mac_intr_handler(struct cmac *mac) in mac_intr_handler()
367 static int mac_intr_enable(struct cmac *mac) in mac_intr_enable()
372 static int mac_intr_disable(struct cmac *mac) in mac_intr_disable()
377 static int mac_intr_clear(struct cmac *mac) in mac_intr_clear()
383 static int mac_set_address(struct cmac* mac, u8 addr[6]) in mac_set_address()
406 static int mac_get_address(struct cmac *mac, u8 addr[6]) in mac_get_address()
424 static int mac_reset(struct cmac *mac) in mac_reset()
434 static int mac_set_rx_mode(struct cmac *mac, struct t1_rx_mode *rm) in mac_set_rx_mode()
451 static int mac_set_mtu(struct cmac *mac, int mtu) in mac_set_mtu()
463 static int mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, in mac_set_speed_duplex_fc()
[all …]
Dcommon.h213 struct cmac;
218 struct cmac *mac;
337 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.c122 struct cmac *mac = adapter->port[dev->if_port].mac; in t1_set_rxmode()
181 struct cmac *mac = p->mac; in link_start()
273 struct cmac *mac = p->mac; in cxgb_close()
461 struct cmac *mac = adapter->port[dev->if_port].mac; in get_stats()
824 struct cmac *mac = adapter->port[dev->if_port].mac; in t1_change_mtu()
839 struct cmac *mac = adapter->port[dev->if_port].mac; in t1_set_mac_addr()
/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.c1164 static void t3_gate_rx_traffic(struct cmac *mac, u32 *rx_cfg, in t3_gate_rx_traffic()
1186 static void t3_open_rx_traffic(struct cmac *mac, u32 rx_cfg, in t3_open_rx_traffic()
1211 struct cmac *mac = &pi->mac; in t3_link_changed()
1266 struct cmac *mac = &pi->mac; in t3_link_fault()
1329 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) in t3_link_start()
1812 struct cmac *mac = &adap2pinfo(adap, idx)->mac; in mac_intr_handler()
3505 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()
2695 struct cmac *mac = &p->mac; in check_t3b2_mac()
2742 struct cmac *mac = &adap2pinfo(adapter, port)->mac; in t3_adap_check_task()
/drivers/crypto/ccp/
DMakefile8 ccp-crypto-aes-cmac.o \