Home
last modified time | relevance | path

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

/drivers/net/ethernet/chelsio/cxgb/
Dpm3393.c85 static int pmread(struct cmac *cmac, u32 reg, u32 * data32) in pmread() argument
87 t1_tpi_read(cmac->adapter, OFFSET(reg), data32); in pmread()
91 static int pmwrite(struct cmac *cmac, u32 reg, u32 data32) in pmwrite() argument
93 t1_tpi_write(cmac->adapter, OFFSET(reg), data32); in pmwrite()
98 static int pm3393_reset(struct cmac *cmac) in pm3393_reset() argument
111 static int pm3393_interrupt_enable(struct cmac *cmac) in pm3393_interrupt_enable() argument
117 pmwrite(cmac, SUNI1x10GEXP_REG_SERDES_3125_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable()
118 pmwrite(cmac, SUNI1x10GEXP_REG_XRF_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable()
119 pmwrite(cmac, SUNI1x10GEXP_REG_XRF_DIAG_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable()
120 pmwrite(cmac, SUNI1x10GEXP_REG_RXOAM_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable()
[all …]
Dgmac.h88 void (*destroy)(struct cmac *);
89 int (*reset)(struct cmac *);
90 int (*interrupt_enable)(struct cmac *);
91 int (*interrupt_disable)(struct cmac *);
92 int (*interrupt_clear)(struct cmac *);
93 int (*interrupt_handler)(struct cmac *);
95 int (*enable)(struct cmac *, int);
96 int (*disable)(struct cmac *, int);
98 int (*loopback_enable)(struct cmac *);
99 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, const 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.h208 struct cmac;
213 struct cmac *mac;
330 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
Dcxgb2.c118 struct cmac *mac = adapter->port[dev->if_port].mac; in t1_set_rxmode()
177 struct cmac *mac = p->mac; in link_start()
270 struct cmac *mac = p->mac; in cxgb_close()
457 struct cmac *mac = adapter->port[dev->if_port].mac; in get_stats()
841 struct cmac *mac = adapter->port[dev->if_port].mac; in t1_change_mtu()
854 struct cmac *mac = adapter->port[dev->if_port].mac; in t1_set_mac_addr()
Dsubr.c156 struct cmac *mac = adapter->port[port_id].mac; in t1_link_changed()
626 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) in t1_link_start()
738 struct cmac *mac = adapter->port[0].mac; in t1_elmer0_ext_intr_handler()
1030 struct cmac *mac = adapter->port[i].mac; in t1_free_sw_modules()
1105 struct cmac *mac; in t1_init_sw_modules()
/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, const 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);
703 int t3_mac_reset(struct cmac *mac);
704 void t3b_pcs_reset(struct cmac *mac);
705 void t3_mac_disable_exact_filters(struct cmac *mac);
706 void t3_mac_enable_exact_filters(struct cmac *mac);
707 int t3_mac_enable(struct cmac *mac, int which);
708 int t3_mac_disable(struct cmac *mac, int which);
709 int t3_mac_set_mtu(struct cmac *mac, unsigned int mtu);
710 int t3_mac_set_rx_mode(struct cmac *mac, struct net_device *dev);
[all …]
Dadapter.h73 struct cmac mac;
Dt3_hw.c1133 static void t3_gate_rx_traffic(struct cmac *mac, u32 *rx_cfg, in t3_gate_rx_traffic()
1155 static void t3_open_rx_traffic(struct cmac *mac, u32 rx_cfg, in t3_open_rx_traffic()
1180 struct cmac *mac = &pi->mac; in t3_link_changed()
1235 struct cmac *mac = &pi->mac; in t3_link_fault()
1298 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) in t3_link_start()
1781 struct cmac *mac = &adap2pinfo(adap, idx)->mac; in mac_intr_handler()
3475 static void mac_prep(struct cmac *mac, struct adapter *adapter, int index) in mac_prep()
Dcxgb3_main.c207 struct cmac *mac = &pi->mac; in t3_os_link_fault()
255 struct cmac *mac = &pi->mac; in t3_os_link_changed()
346 struct cmac *mac = &pi->mac; in link_start()
2702 struct cmac *mac = &p->mac; in check_t3b2_mac()
2749 struct cmac *mac = &adap2pinfo(adapter, port)->mac; in t3_adap_check_task()
/drivers/crypto/ccp/
DMakefile18 ccp-crypto-aes-cmac.o \