Home
last modified time | relevance | path

Searched refs:mac_cfg (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/drivers/net/arm/
Dat91_ether.c148 unsigned int bmsr, bmcr, lpa, mac_cfg; in update_linkspeed() local
176 mac_cfg = at91_emac_read(AT91_EMAC_CFG) & ~(AT91_EMAC_SPD | AT91_EMAC_FD); in update_linkspeed()
179 mac_cfg |= AT91_EMAC_SPD | AT91_EMAC_FD; in update_linkspeed()
181 mac_cfg |= AT91_EMAC_SPD; in update_linkspeed()
184 mac_cfg |= AT91_EMAC_FD; in update_linkspeed()
187 at91_emac_write(AT91_EMAC_CFG, mac_cfg); in update_linkspeed()
/linux-2.6.39/drivers/net/netxen/
Dnetxen_nic_hw.c363 __u32 mac_cfg; in netxen_niu_disable_xg_port() local
372 mac_cfg = 0; in netxen_niu_disable_xg_port()
374 NETXEN_NIU_XGE_CONFIG_0 + (0x10000 * port), mac_cfg)) in netxen_niu_disable_xg_port()
390 u32 mac_cfg; in netxen_p2_nic_set_promisc() local
399 mac_cfg = NXRD32(adapter, NETXEN_NIU_XGE_CONFIG_0 + (0x10000 * port)); in netxen_p2_nic_set_promisc()
400 mac_cfg &= ~0x4; in netxen_p2_nic_set_promisc()
401 NXWR32(adapter, NETXEN_NIU_XGE_CONFIG_0 + (0x10000 * port), mac_cfg); in netxen_p2_nic_set_promisc()
433 mac_cfg |= 0x4; in netxen_p2_nic_set_promisc()
434 NXWR32(adapter, NETXEN_NIU_XGE_CONFIG_0 + (0x10000 * port), mac_cfg); in netxen_p2_nic_set_promisc()
/linux-2.6.39/drivers/net/
Ds2io.c1303 add = &bar0->mac_cfg; in init_nic()
1304 val64 = readq(&bar0->mac_cfg); in init_nic()
1796 add = &bar0->mac_cfg; in init_nic()
1797 val64 = readq(&bar0->mac_cfg); in init_nic()
1803 val64 = readq(&bar0->mac_cfg); in init_nic()
1806 add = &bar0->mac_cfg; in init_nic()
1807 val64 = readq(&bar0->mac_cfg); in init_nic()
1810 writeq(val64, &bar0->mac_cfg); in init_nic()
5044 add = &bar0->mac_cfg; in s2io_set_multicast()
5045 val64 = readq(&bar0->mac_cfg); in s2io_set_multicast()
[all …]
Ds2io-regs.h686 u64 mac_cfg; member
Dskge.c3488 u8 t8, mac_cfg, pmd_type; in skge_reset() local
3547 mac_cfg = skge_read8(hw, B2_MAC_CFG); in skge_reset()
3548 hw->ports = (mac_cfg & CFG_SNG_MAC) ? 1 : 2; in skge_reset()
3549 hw->chip_rev = (mac_cfg & CFG_CHIP_R_MSK) >> 4; in skge_reset()