/titanic_44/usr/src/uts/common/io/chxge/com/ |
H A D | pm3393.c | 95 static int pmread(struct cmac *cmac, u32 reg, u32 * data32) in pmread() argument 97 (void) t1_tpi_read(cmac->adapter, OFFSET(reg), data32); in pmread() 101 static int pmwrite(struct cmac *cmac, u32 reg, u32 data32) in pmwrite() argument 103 (void) t1_tpi_write(cmac->adapter, OFFSET(reg), data32); in pmwrite() 109 static int pm3393_reset(struct cmac *cmac) in pm3393_reset() argument 122 static int pm3393_interrupt_enable(struct cmac *cmac) in pm3393_interrupt_enable() argument 131 (void) pmwrite(cmac, SUNI1x10GEXP_REG_SERDES_3125_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable() 132 (void) pmwrite(cmac, SUNI1x10GEXP_REG_XRF_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable() 133 (void) pmwrite(cmac, SUNI1x10GEXP_REG_XRF_DIAG_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable() 134 (void) pmwrite(cmac, SUNI1x10GEXP_REG_RXOAM_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable() [all …]
|
H A D | gmac.h | 79 void (*destroy)(struct cmac *); 80 int (*reset)(struct cmac *); 81 int (*interrupt_enable)(struct cmac *); 82 int (*interrupt_disable)(struct cmac *); 83 int (*interrupt_clear)(struct cmac *); 84 int (*interrupt_handler)(struct cmac *); 86 int (*enable)(struct cmac *, int); 87 int (*disable)(struct cmac *, int); 89 int (*loopback_enable)(struct cmac *); 90 int (*loopback_disable)(struct cmac *); [all …]
|
H A D | vsc7321.c | 240 static struct cmac *vsc7321_mac_create(adapter_t *adapter, int index) in vsc7321_mac_create() 242 struct cmac *mac; in vsc7321_mac_create() 286 static int mac_intr_handler(struct cmac *mac) in mac_intr_handler() 292 static int mac_intr_enable(struct cmac *mac) in mac_intr_enable() 298 static int mac_intr_disable(struct cmac *mac) in mac_intr_disable() 304 static int mac_intr_clear(struct cmac *mac) in mac_intr_clear() 311 static int mac_set_address(struct cmac* mac, u8 addr[6]) in mac_set_address() 329 static int mac_get_address(struct cmac *mac, u8 addr[6]) in mac_get_address() 347 static int mac_reset(struct cmac *mac) in mac_reset() 357 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 | 80 static int mac_intr_enable(struct cmac *mac) in mac_intr_enable() 106 static int mac_intr_disable(struct cmac *mac) in mac_intr_disable() 132 static int mac_intr_clear(struct cmac *mac) in mac_intr_clear() 157 static int mac_get_address(struct cmac *mac, u8 addr[6]) in mac_get_address() 175 static int mac_reset(struct cmac *mac) in mac_reset() 202 static int mac_set_rx_mode(struct cmac *mac, struct t1_rx_mode *rm) in mac_set_rx_mode() 217 static int mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, in mac_set_speed_duplex_fc() 253 static int mac_enable(struct cmac *mac, int which) in mac_enable() 268 static int mac_disable(struct cmac *mac, int which) in mac_disable() 284 mac_set_ifs(struct cmac *mac, u32 mode) in mac_set_ifs() [all …]
|
H A D | ixf1010.c | 165 static void disable_port(struct cmac *mac) in disable_port() 182 static void port_stats_update(struct cmac *mac) in port_stats_update() 220 static int mac_intr_op(struct cmac *mac) in mac_intr_op() 226 static int mac_set_address(struct cmac *mac, u8 addr[6]) in mac_set_address() 243 static int mac_get_address(struct cmac *mac, u8 addr[6]) in mac_get_address() 261 static int mac_reset(struct cmac *mac) in mac_reset() 266 static int mac_set_rx_mode(struct cmac *mac, struct t1_rx_mode *rm) in mac_set_rx_mode() 301 static int mac_set_mtu(struct cmac *mac, int mtu) in mac_set_mtu() 310 static int mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, in mac_set_speed_duplex_fc() 335 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 | 384 static int mac_intr_handler(struct cmac *mac) in mac_intr_handler() 390 static int mac_intr_enable(struct cmac *mac) in mac_intr_enable() 396 static int mac_intr_disable(struct cmac *mac) in mac_intr_disable() 402 static int mac_intr_clear(struct cmac *mac) in mac_intr_clear() 408 static int mac_set_address(struct cmac* mac, u8 addr[6]) in mac_set_address() 431 static int mac_get_address(struct cmac *mac, u8 addr[6]) in mac_get_address() 449 static int mac_reset(struct cmac *mac) in mac_reset() 459 static int mac_set_rx_mode(struct cmac *mac, struct t1_rx_mode *rm) in mac_set_rx_mode() 476 static int mac_set_mtu(struct cmac *mac, int mtu) in mac_set_mtu() 488 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 | 175 struct cmac *mac = adapter->port[port_id].mac; in link_changed() 822 t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) in t1_link_start() 930 struct cmac *mac = adapter->port[0].mac; in elmer0_ext_intr_handler() 947 struct cmac *mac = adapter->port[0].mac; in elmer0_ext_intr_handler() 1307 struct cmac *mac = adapter->port[i].mac; in t1_free_sw_modules() 1468 struct cmac *mac; in t1_init_sw_modules()
|
H A D | common.h | 251 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
|
/titanic_44/usr/src/uts/common/io/chxge/ |
H A D | oschtoe.h | 178 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()
|