mac_control 504 drivers/net/ethernet/neterion/s2io.c sp->mac_control.fifos[i].queue_state = FIFO_QUEUE_STOP; mac_control 512 drivers/net/ethernet/neterion/s2io.c sp->mac_control.fifos[fifo_no].queue_state = mac_control 524 drivers/net/ethernet/neterion/s2io.c sp->mac_control.fifos[i].queue_state = FIFO_QUEUE_START; mac_control 535 drivers/net/ethernet/neterion/s2io.c sp->mac_control.fifos[i].queue_state = FIFO_QUEUE_START; mac_control 575 drivers/net/ethernet/neterion/s2io.c struct mac_info *mac_control = &nic->mac_control; mac_control 612 drivers/net/ethernet/neterion/s2io.c struct fifo_info *fifo = &mac_control->fifos[i]; mac_control 627 drivers/net/ethernet/neterion/s2io.c struct fifo_info *fifo = &mac_control->fifos[i]; mac_control 656 drivers/net/ethernet/neterion/s2io.c mac_control->zerodma_virt_addr = tmp_v; mac_control 684 drivers/net/ethernet/neterion/s2io.c struct fifo_info *fifo = &mac_control->fifos[i]; mac_control 698 drivers/net/ethernet/neterion/s2io.c struct ring_info *ring = &mac_control->rings[i]; mac_control 718 drivers/net/ethernet/neterion/s2io.c struct ring_info *ring = &mac_control->rings[i]; mac_control 790 drivers/net/ethernet/neterion/s2io.c struct ring_info *ring = &mac_control->rings[i]; mac_control 837 drivers/net/ethernet/neterion/s2io.c mac_control->stats_mem = mac_control 839 drivers/net/ethernet/neterion/s2io.c &mac_control->stats_mem_phy); mac_control 841 drivers/net/ethernet/neterion/s2io.c if (!mac_control->stats_mem) { mac_control 850 drivers/net/ethernet/neterion/s2io.c mac_control->stats_mem_sz = size; mac_control 852 drivers/net/ethernet/neterion/s2io.c tmp_v_addr = mac_control->stats_mem; mac_control 853 drivers/net/ethernet/neterion/s2io.c mac_control->stats_info = tmp_v_addr; mac_control 857 drivers/net/ethernet/neterion/s2io.c mac_control->stats_info->sw_stat.mem_allocated += mem_allocated; mac_control 877 drivers/net/ethernet/neterion/s2io.c struct mac_info *mac_control; mac_control 887 drivers/net/ethernet/neterion/s2io.c mac_control = &nic->mac_control; mac_control 888 drivers/net/ethernet/neterion/s2io.c stats = mac_control->stats_info; mac_control 895 drivers/net/ethernet/neterion/s2io.c struct fifo_info *fifo = &mac_control->fifos[i]; mac_control 917 drivers/net/ethernet/neterion/s2io.c if (mac_control->zerodma_virt_addr) { mac_control 919 drivers/net/ethernet/neterion/s2io.c mac_control->zerodma_virt_addr, mac_control 924 drivers/net/ethernet/neterion/s2io.c dev->name, mac_control->zerodma_virt_addr); mac_control 934 drivers/net/ethernet/neterion/s2io.c struct ring_info *ring = &mac_control->rings[i]; mac_control 955 drivers/net/ethernet/neterion/s2io.c struct ring_info *ring = &mac_control->rings[i]; mac_control 984 drivers/net/ethernet/neterion/s2io.c struct fifo_info *fifo = &mac_control->fifos[i]; mac_control 994 drivers/net/ethernet/neterion/s2io.c if (mac_control->stats_mem) { mac_control 995 drivers/net/ethernet/neterion/s2io.c swstats->mem_freed += mac_control->stats_mem_sz; mac_control 997 drivers/net/ethernet/neterion/s2io.c mac_control->stats_mem_sz, mac_control 998 drivers/net/ethernet/neterion/s2io.c mac_control->stats_mem, mac_control 999 drivers/net/ethernet/neterion/s2io.c mac_control->stats_mem_phy); mac_control 1197 drivers/net/ethernet/neterion/s2io.c struct mac_info *mac_control = &nic->mac_control; mac_control 1641 drivers/net/ethernet/neterion/s2io.c writeq(mac_control->stats_mem_phy, &bar0->stat_addr); mac_control 1757 drivers/net/ethernet/neterion/s2io.c val64 |= RMAC_PAUSE_HG_PTIME(nic->mac_control.rmac_pause_time); mac_control 1769 drivers/net/ethernet/neterion/s2io.c nic->mac_control.mc_pause_threshold_q0q3) mac_control 1777 drivers/net/ethernet/neterion/s2io.c nic->mac_control.mc_pause_threshold_q4q7) mac_control 2209 drivers/net/ethernet/neterion/s2io.c struct mac_info *mac_control = &nic->mac_control; mac_control 2213 drivers/net/ethernet/neterion/s2io.c struct ring_info *ring = &mac_control->rings[i]; mac_control 2363 drivers/net/ethernet/neterion/s2io.c struct mac_info *mac_control = &nic->mac_control; mac_control 2364 drivers/net/ethernet/neterion/s2io.c struct stat_block *stats = mac_control->stats_info; mac_control 2369 drivers/net/ethernet/neterion/s2io.c struct fifo_info *fifo = &mac_control->fifos[i]; mac_control 2375 drivers/net/ethernet/neterion/s2io.c skb = s2io_txdl_getskb(&mac_control->fifos[i], txdp, j); mac_control 2455 drivers/net/ethernet/neterion/s2io.c struct swStat *swstats = &ring->nic->mac_control.stats_info->sw_stat; mac_control 2659 drivers/net/ethernet/neterion/s2io.c struct mac_info *mac_control = &sp->mac_control; mac_control 2660 drivers/net/ethernet/neterion/s2io.c struct stat_block *stats = mac_control->stats_info; mac_control 2664 drivers/net/ethernet/neterion/s2io.c rxdp = mac_control->rings[ring_no]. mac_control 2696 drivers/net/ethernet/neterion/s2io.c mac_control->rings[ring_no].rx_bufs_left -= 1; mac_control 2714 drivers/net/ethernet/neterion/s2io.c struct mac_info *mac_control = &sp->mac_control; mac_control 2717 drivers/net/ethernet/neterion/s2io.c struct ring_info *ring = &mac_control->rings[i]; mac_control 2791 drivers/net/ethernet/neterion/s2io.c struct mac_info *mac_control = &nic->mac_control; mac_control 2797 drivers/net/ethernet/neterion/s2io.c struct ring_info *ring = &mac_control->rings[i]; mac_control 2832 drivers/net/ethernet/neterion/s2io.c struct mac_info *mac_control = &nic->mac_control; mac_control 2847 drivers/net/ethernet/neterion/s2io.c tx_intr_handler(&mac_control->fifos[i]); mac_control 2851 drivers/net/ethernet/neterion/s2io.c struct ring_info *ring = &mac_control->rings[i]; mac_control 2857 drivers/net/ethernet/neterion/s2io.c struct ring_info *ring = &mac_control->rings[i]; mac_control 3001 drivers/net/ethernet/neterion/s2io.c struct stat_block *stats = nic->mac_control.stats_info; mac_control 3234 drivers/net/ethernet/neterion/s2io.c struct stat_block *stats = sp->mac_control.stats_info; mac_control 3456 drivers/net/ethernet/neterion/s2io.c stats = sp->mac_control.stats_info; mac_control 3723 drivers/net/ethernet/neterion/s2io.c struct stat_block *stats = nic->mac_control.stats_info; mac_control 3753 drivers/net/ethernet/neterion/s2io.c nic->s2io_entries[0].arg = &nic->mac_control.fifos; mac_control 3765 drivers/net/ethernet/neterion/s2io.c nic->s2io_entries[j+1].arg = &nic->mac_control.rings[j]; mac_control 3903 drivers/net/ethernet/neterion/s2io.c struct swStat *swstats = &sp->mac_control.stats_info->sw_stat; mac_control 4011 drivers/net/ethernet/neterion/s2io.c struct mac_info *mac_control = &sp->mac_control; mac_control 4012 drivers/net/ethernet/neterion/s2io.c struct stat_block *stats = mac_control->stats_info; mac_control 4067 drivers/net/ethernet/neterion/s2io.c fifo = &mac_control->fifos[queue]; mac_control 4144 drivers/net/ethernet/neterion/s2io.c tx_fifo = mac_control->tx_FIFO_start[queue]; mac_control 4359 drivers/net/ethernet/neterion/s2io.c struct swStat *sw_stat = &sp->mac_control.stats_info->sw_stat; mac_control 4360 drivers/net/ethernet/neterion/s2io.c struct xpakStat *stats = &sp->mac_control.stats_info->xpak_stat; mac_control 4660 drivers/net/ethernet/neterion/s2io.c struct mac_info *mac_control; mac_control 4671 drivers/net/ethernet/neterion/s2io.c mac_control = &sp->mac_control; mac_control 4706 drivers/net/ethernet/neterion/s2io.c struct ring_info *ring = &mac_control->rings[i]; mac_control 4721 drivers/net/ethernet/neterion/s2io.c tx_intr_handler(&mac_control->fifos[i]); mac_control 4731 drivers/net/ethernet/neterion/s2io.c struct ring_info *ring = &mac_control->rings[i]; mac_control 4787 drivers/net/ethernet/neterion/s2io.c struct mac_info *mac_control = &sp->mac_control; mac_control 4788 drivers/net/ethernet/neterion/s2io.c struct stat_block *stats = mac_control->stats_info; mac_control 5677 drivers/net/ethernet/neterion/s2io.c struct swStat *swstats = &nic->mac_control.stats_info->sw_stat; mac_control 6233 drivers/net/ethernet/neterion/s2io.c struct stat_block *stats = sp->mac_control.stats_info; mac_control 6747 drivers/net/ethernet/neterion/s2io.c struct swStat *stats = &sp->mac_control.stats_info->sw_stat; mac_control 6862 drivers/net/ethernet/neterion/s2io.c struct mac_info *mac_control = &sp->mac_control; mac_control 6879 drivers/net/ethernet/neterion/s2io.c struct ring_info *ring = &mac_control->rings[i]; mac_control 7033 drivers/net/ethernet/neterion/s2io.c napi_disable(&sp->mac_control.rings[off].napi); mac_control 7095 drivers/net/ethernet/neterion/s2io.c struct mac_info *mac_control; mac_control 7114 drivers/net/ethernet/neterion/s2io.c mac_control = &sp->mac_control; mac_control 7117 drivers/net/ethernet/neterion/s2io.c struct ring_info *ring = &mac_control->rings[i]; mac_control 7137 drivers/net/ethernet/neterion/s2io.c napi_enable(&sp->mac_control.rings[i].napi); mac_control 7244 drivers/net/ethernet/neterion/s2io.c struct swStat *swstats = &sp->mac_control.stats_info->sw_stat; mac_control 7281 drivers/net/ethernet/neterion/s2io.c struct swStat *swstats = &sp->mac_control.stats_info->sw_stat; mac_control 7437 drivers/net/ethernet/neterion/s2io.c sp->mac_control.rings[ring_no].rx_bufs_left -= 1; mac_control 7457 drivers/net/ethernet/neterion/s2io.c struct swStat *swstats = &sp->mac_control.stats_info->sw_stat; mac_control 7662 drivers/net/ethernet/neterion/s2io.c struct mac_info *mac_control; mac_control 7746 drivers/net/ethernet/neterion/s2io.c mac_control = &sp->mac_control; mac_control 7808 drivers/net/ethernet/neterion/s2io.c struct ring_info *ring = &mac_control->rings[i]; mac_control 7827 drivers/net/ethernet/neterion/s2io.c mac_control->rmac_pause_time = rmac_pause_time; mac_control 7828 drivers/net/ethernet/neterion/s2io.c mac_control->mc_pause_threshold_q0q3 = mc_pause_threshold_q0q3; mac_control 7829 drivers/net/ethernet/neterion/s2io.c mac_control->mc_pause_threshold_q4q7 = mc_pause_threshold_q4q7; mac_control 7857 drivers/net/ethernet/neterion/s2io.c mac_control->tx_FIFO_start[j] = sp->bar1 + (j * 0x00020000); mac_control 7914 drivers/net/ethernet/neterion/s2io.c struct ring_info *ring = &mac_control->rings[i]; mac_control 7994 drivers/net/ethernet/neterion/s2io.c struct fifo_info *fifo = &mac_control->fifos[i]; mac_control 8072 drivers/net/ethernet/neterion/s2io.c struct fifo_info *fifo = &mac_control->fifos[i]; mac_control 8255 drivers/net/ethernet/neterion/s2io.c struct swStat *swstats = &sp->mac_control.stats_info->sw_stat; mac_control 8368 drivers/net/ethernet/neterion/s2io.c struct swStat *swstats = &sp->mac_control.stats_info->sw_stat; mac_control 8483 drivers/net/ethernet/neterion/s2io.c struct swStat *swstats = &sp->mac_control.stats_info->sw_stat; mac_control 865 drivers/net/ethernet/neterion/s2io.h struct mac_info mac_control; mac_control 1060 drivers/net/ethernet/ti/cpsw.c u32 mac_control = 0; mac_control 1070 drivers/net/ethernet/ti/cpsw.c mac_control = CPSW_SL_CTL_GMII_EN; mac_control 1073 drivers/net/ethernet/ti/cpsw.c mac_control |= CPSW_SL_CTL_GIG; mac_control 1075 drivers/net/ethernet/ti/cpsw.c mac_control |= CPSW_SL_CTL_FULLDUPLEX; mac_control 1079 drivers/net/ethernet/ti/cpsw.c mac_control |= CPSW_SL_CTL_IFCTL_A; mac_control 1082 drivers/net/ethernet/ti/cpsw.c mac_control |= CPSW_SL_CTL_EXT_EN; /* In Band mode */ mac_control 1085 drivers/net/ethernet/ti/cpsw.c mac_control |= CPSW_SL_CTL_RX_FLOW_EN; mac_control 1088 drivers/net/ethernet/ti/cpsw.c mac_control |= CPSW_SL_CTL_TX_FLOW_EN; mac_control 1090 drivers/net/ethernet/ti/cpsw.c if (mac_control != slave->mac_control) mac_control 1091 drivers/net/ethernet/ti/cpsw.c cpsw_sl_ctl_set(slave->mac_sl, mac_control); mac_control 1105 drivers/net/ethernet/ti/cpsw.c mac_control = 0; mac_control 1115 drivers/net/ethernet/ti/cpsw.c if (mac_control != slave->mac_control) mac_control 1118 drivers/net/ethernet/ti/cpsw.c slave->mac_control = mac_control; mac_control 1243 drivers/net/ethernet/ti/cpsw.c slave->mac_control = 0; /* no link yet */ mac_control 2543 drivers/net/ethernet/ti/cpsw.c data->mac_control = prop; mac_control 292 drivers/net/ethernet/ti/cpsw_priv.h u32 mac_control; /* Mac control register */ mac_control 300 drivers/net/ethernet/ti/cpsw_priv.h u32 mac_control; mac_control 503 drivers/net/ethernet/ti/davinci_emac.c u32 mac_control; mac_control 508 drivers/net/ethernet/ti/davinci_emac.c mac_control = emac_read(EMAC_MACCONTROL); mac_control 509 drivers/net/ethernet/ti/davinci_emac.c cur_duplex = (mac_control & EMAC_MACCONTROL_FULLDUPLEXEN) ? mac_control 520 drivers/net/ethernet/ti/davinci_emac.c mac_control |= (EMAC_MACCONTROL_FULLDUPLEXEN); mac_control 522 drivers/net/ethernet/ti/davinci_emac.c mac_control &= ~(EMAC_MACCONTROL_FULLDUPLEXEN); mac_control 526 drivers/net/ethernet/ti/davinci_emac.c mac_control = emac_read(EMAC_MACCONTROL); mac_control 527 drivers/net/ethernet/ti/davinci_emac.c mac_control |= (EMAC_DM646X_MACCONTORL_GIG | mac_control 531 drivers/net/ethernet/ti/davinci_emac.c mac_control &= ~(EMAC_DM646X_MACCONTORL_GIGFORCE | mac_control 535 drivers/net/ethernet/ti/davinci_emac.c mac_control |= EMAC_MACCONTROL_RMIISPEED_MASK; mac_control 537 drivers/net/ethernet/ti/davinci_emac.c mac_control &= ~EMAC_MACCONTROL_RMIISPEED_MASK; mac_control 541 drivers/net/ethernet/ti/davinci_emac.c emac_write(EMAC_MACCONTROL, mac_control); mac_control 1150 drivers/net/ethernet/ti/davinci_emac.c u32 val, mbp_enable, mac_control; mac_control 1161 drivers/net/ethernet/ti/davinci_emac.c mac_control = mac_control 1166 drivers/net/ethernet/ti/davinci_emac.c emac_write(EMAC_MACCONTROL, mac_control); mac_control 1608 drivers/net/ethernet/ti/davinci_emac.c u32 mac_control; mac_control 1622 drivers/net/ethernet/ti/davinci_emac.c mac_control = emac_read(EMAC_MACCONTROL); mac_control 1624 drivers/net/ethernet/ti/davinci_emac.c if (mac_control & EMAC_MACCONTROL_GMIIEN) mac_control 280 drivers/net/ethernet/ti/netcp_ethss.c u32 mac_control; mac_control 441 drivers/net/ethernet/ti/netcp_ethss.c u32 mac_control; mac_control 624 drivers/net/ethernet/ti/netcp_ethss.c u32 mac_control; mac_control 637 drivers/net/ethernet/ti/netcp_ethss.c u16 mac_control; mac_control 701 drivers/net/ethernet/ti/netcp_ethss.c u32 mac_control; mac_control 2082 drivers/net/ethernet/ti/netcp_ethss.c u32 mac_control = 0; mac_control 2085 drivers/net/ethernet/ti/netcp_ethss.c mac_control = slave->mac_control; mac_control 2087 drivers/net/ethernet/ti/netcp_ethss.c mac_control |= MACSL_GIG_MODE; mac_control 2088 drivers/net/ethernet/ti/netcp_ethss.c mac_control &= ~MACSL_XGIG_MODE; mac_control 2090 drivers/net/ethernet/ti/netcp_ethss.c mac_control |= MACSL_XGIG_MODE; mac_control 2091 drivers/net/ethernet/ti/netcp_ethss.c mac_control &= ~MACSL_GIG_MODE; mac_control 2094 drivers/net/ethernet/ti/netcp_ethss.c writel(mac_control, GBE_REG_ADDR(slave, emac_regs, mac_control 2095 drivers/net/ethernet/ti/netcp_ethss.c mac_control)); mac_control 2107 drivers/net/ethernet/ti/netcp_ethss.c writel(mac_control, GBE_REG_ADDR(slave, emac_regs, mac_control 2108 drivers/net/ethernet/ti/netcp_ethss.c mac_control)); mac_control 2243 drivers/net/ethernet/ti/netcp_ethss.c writel(slave->mac_control, GBE_REG_ADDR(slave, emac_regs, mac_control)); mac_control 3025 drivers/net/ethernet/ti/netcp_ethss.c slave->mac_control = GBE_DEF_10G_MAC_CONTROL; mac_control 3027 drivers/net/ethernet/ti/netcp_ethss.c slave->mac_control = GBE_DEF_1G_MAC_CONTROL; mac_control 3075 drivers/net/ethernet/ti/netcp_ethss.c GBE_SET_REG_OFS(slave, emac_regs, mac_control); mac_control 3094 drivers/net/ethernet/ti/netcp_ethss.c GBENU_SET_REG_OFS(slave, emac_regs, mac_control); mac_control 3110 drivers/net/ethernet/ti/netcp_ethss.c XGBE_SET_REG_OFS(slave, emac_regs, mac_control); mac_control 295 drivers/net/wireless/ath/carl9170/debug.c le16_to_cpu(txc->f.mac_control), le32_to_cpu(txc->f.phy_control), mac_control 422 drivers/net/wireless/ath/carl9170/tx.c if (super->f.mac_control & cpu_to_le16(AR9170_TX_MAC_IMM_BA)) { mac_control 935 drivers/net/wireless/ath/carl9170/tx.c txc->f.mac_control |= mac_tmp; mac_control 1069 drivers/net/wireless/ath/carl9170/tx.c txc->f.mac_control = mac_tmp; mac_control 1087 drivers/net/wireless/ath/carl9170/tx.c super->f.mac_control |= cpu_to_le16(AR9170_TX_MAC_IMM_BA); mac_control 287 drivers/net/wireless/ath/carl9170/wlan.h __le16 mac_control; mac_control 1345 drivers/net/wireless/marvell/libertas/cfg.c priv->mac_control |= CMD_ACT_MAC_WEP_ENABLE; mac_control 1362 drivers/net/wireless/marvell/libertas/cfg.c priv->mac_control &= ~CMD_ACT_MAC_WEP_ENABLE; mac_control 1087 drivers/net/wireless/marvell/libertas/cmd.c cmd.action = cpu_to_le16(priv->mac_control); mac_control 1099 drivers/net/wireless/marvell/libertas/cmd.c cmd.action = cpu_to_le16(priv->mac_control); mac_control 172 drivers/net/wireless/marvell/libertas/dev.h u16 mac_control; mac_control 366 drivers/net/wireless/marvell/libertas/main.c int old_mac_control = priv->mac_control; mac_control 374 drivers/net/wireless/marvell/libertas/main.c priv->mac_control |= CMD_ACT_MAC_PROMISCUOUS_ENABLE; mac_control 375 drivers/net/wireless/marvell/libertas/main.c priv->mac_control &= ~(CMD_ACT_MAC_ALL_MULTICAST_ENABLE | mac_control 380 drivers/net/wireless/marvell/libertas/main.c priv->mac_control |= CMD_ACT_MAC_ALL_MULTICAST_ENABLE; mac_control 381 drivers/net/wireless/marvell/libertas/main.c priv->mac_control &= ~(CMD_ACT_MAC_PROMISCUOUS_ENABLE | mac_control 403 drivers/net/wireless/marvell/libertas/main.c priv->mac_control |= CMD_ACT_MAC_MULTICAST_ENABLE; mac_control 405 drivers/net/wireless/marvell/libertas/main.c priv->mac_control &= ~CMD_ACT_MAC_MULTICAST_ENABLE; mac_control 407 drivers/net/wireless/marvell/libertas/main.c priv->mac_control &= ~(CMD_ACT_MAC_PROMISCUOUS_ENABLE | mac_control 410 drivers/net/wireless/marvell/libertas/main.c if (priv->mac_control != old_mac_control) mac_control 834 drivers/net/wireless/marvell/libertas/main.c priv->mac_control = CMD_ACT_MAC_RX_ON | CMD_ACT_MAC_TX_ON; mac_control 425 drivers/net/wireless/marvell/libertas_tf/cmd.c cmd.action = cpu_to_le16(priv->mac_control); mac_control 241 drivers/net/wireless/marvell/libertas_tf/libertas_tf.h u16 mac_control; mac_control 262 drivers/net/wireless/marvell/libertas_tf/main.c priv->mac_control = CMD_ACT_MAC_RX_ON | CMD_ACT_MAC_TX_ON; mac_control 380 drivers/net/wireless/marvell/libertas_tf/main.c int old_mac_control = priv->mac_control; mac_control 392 drivers/net/wireless/marvell/libertas_tf/main.c priv->mac_control &= ~CMD_ACT_MAC_PROMISCUOUS_ENABLE; mac_control 395 drivers/net/wireless/marvell/libertas_tf/main.c priv->mac_control |= CMD_ACT_MAC_ALL_MULTICAST_ENABLE; mac_control 396 drivers/net/wireless/marvell/libertas_tf/main.c priv->mac_control &= ~CMD_ACT_MAC_MULTICAST_ENABLE; mac_control 398 drivers/net/wireless/marvell/libertas_tf/main.c priv->mac_control |= CMD_ACT_MAC_MULTICAST_ENABLE; mac_control 399 drivers/net/wireless/marvell/libertas_tf/main.c priv->mac_control &= ~CMD_ACT_MAC_ALL_MULTICAST_ENABLE; mac_control 402 drivers/net/wireless/marvell/libertas_tf/main.c priv->mac_control &= ~(CMD_ACT_MAC_MULTICAST_ENABLE | mac_control 411 drivers/net/wireless/marvell/libertas_tf/main.c if (priv->mac_control != old_mac_control)