/drivers/net/wireless/zd1211rw/ |
H A D | zd_mac.c | 138 static void housekeeping_init(struct zd_mac *mac); 139 static void housekeeping_enable(struct zd_mac *mac); 140 static void housekeeping_disable(struct zd_mac *mac); 141 static void beacon_init(struct zd_mac *mac); 142 static void beacon_enable(struct zd_mac *mac); 143 static void beacon_disable(struct zd_mac *mac); 144 static void set_rts_cts(struct zd_mac *mac, unsigned int short_preamble); 165 struct zd_mac *mac = zd_hw_mac(hw); local 167 dev_dbg_f_cond(zd_mac_dev(mac), signal < 0 || signal > 100, 183 struct zd_mac *mac local 197 struct zd_mac *mac = zd_hw_mac(hw); local 235 zd_mac_clear(struct zd_mac *mac) argument 243 set_rx_filter(struct zd_mac *mac) argument 256 set_mac_and_bssid(struct zd_mac *mac) argument 276 set_mc_hash(struct zd_mac *mac) argument 285 struct zd_mac *mac = zd_hw_mac(hw); local 345 struct zd_mac *mac = zd_hw_mac(hw); local 371 zd_restore_settings(struct zd_mac *mac) argument 503 struct zd_mac *mac = zd_hw_mac(hw); local 587 struct zd_mac *mac = zd_hw_mac(hw); local 658 cs_set_control(struct zd_mac *mac, struct zd_ctrlset *cs, struct ieee80211_hdr *header, struct ieee80211_tx_info *info) argument 691 zd_mac_match_cur_beacon(struct zd_mac *mac, struct sk_buff *beacon) argument 702 zd_mac_free_cur_beacon_locked(struct zd_mac *mac) argument 710 zd_mac_free_cur_beacon(struct zd_mac *mac) argument 720 struct zd_mac *mac = zd_hw_mac(hw); local 865 fill_ctrlset(struct zd_mac *mac, struct sk_buff *skb) argument 942 struct zd_mac *mac = zd_hw_mac(hw); local 978 struct zd_mac *mac = zd_hw_mac(hw); local 1032 struct zd_mac *mac = zd_hw_mac(hw); local 1116 struct zd_mac *mac = zd_hw_mac(hw); local 1142 struct zd_mac *mac = zd_hw_mac(hw); local 1153 struct zd_mac *mac = zd_hw_mac(hw); local 1163 zd_beacon_done(struct zd_mac *mac) argument 1198 struct zd_mac *mac = container_of(work, struct zd_mac, process_intr); local 1218 struct zd_mac *mac = zd_hw_mac(hw); local 1244 struct zd_mac *mac = zd_hw_mac(hw); local 1286 set_rts_cts(struct zd_mac *mac, unsigned int short_preamble) argument 1298 struct zd_mac *mac = zd_hw_mac(hw); local 1355 struct zd_mac *mac = zd_hw_mac(hw); local 1374 struct zd_mac *mac; local 1436 struct zd_mac *mac = local 1483 beacon_init(struct zd_mac *mac) argument 1488 beacon_enable(struct zd_mac *mac) argument 1497 beacon_disable(struct zd_mac *mac) argument 1509 struct zd_mac *mac = local 1532 housekeeping_init(struct zd_mac *mac) argument 1537 housekeeping_enable(struct zd_mac *mac) argument 1544 housekeeping_disable(struct zd_mac *mac) argument [all...] |
/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac.c | 101 static unsigned int read_mac_reg(const struct pasemi_mac *mac, unsigned int reg) argument 103 return pasemi_read_mac_reg(mac->dma_if, reg); 106 static void write_mac_reg(const struct pasemi_mac *mac, unsigned int reg, argument 109 pasemi_write_mac_reg(mac->dma_if, reg, val); 122 static struct pasemi_mac_rxring *rx_ring(const struct pasemi_mac *mac) argument 124 return mac->rx; 127 static struct pasemi_mac_txring *tx_ring(const struct pasemi_mac *mac) argument 129 return mac->tx; 142 static int mac_to_intf(struct pasemi_mac *mac) argument 144 struct pci_dev *pdev = mac 170 pasemi_mac_intf_disable(struct pasemi_mac *mac) argument 179 pasemi_mac_intf_enable(struct pasemi_mac *mac) argument 188 pasemi_get_mac_addr(struct pasemi_mac *mac) argument 236 struct pasemi_mac *mac = netdev_priv(dev); local 292 pasemi_mac_unmap_tx_skb(struct pasemi_mac *mac, const int nfrags, struct sk_buff *skb, const dma_addr_t *dmas) argument 315 pasemi_mac_setup_csring(struct pasemi_mac *mac) argument 389 pasemi_mac_setup_csrings(struct pasemi_mac *mac) argument 416 struct pasemi_mac *mac = netdev_priv(dev); local 498 struct pasemi_mac *mac = netdev_priv(dev); local 557 pasemi_mac_free_tx_resources(struct pasemi_mac *mac) argument 591 pasemi_mac_free_rx_buffers(struct pasemi_mac *mac) argument 614 pasemi_mac_free_rx_resources(struct pasemi_mac *mac) argument 629 const struct pasemi_mac *mac = netdev_priv(dev); local 675 pasemi_mac_restart_rx_intr(const struct pasemi_mac *mac) argument 693 pasemi_mac_restart_tx_intr(const struct pasemi_mac *mac) argument 706 pasemi_mac_rx_error(const struct pasemi_mac *mac, const u64 macrx) argument 725 pasemi_mac_tx_error(const struct pasemi_mac *mac, const u64 mactx) argument 746 struct pasemi_mac *mac = rx->mac; local 867 struct pasemi_mac *mac = txring->mac; local 959 struct pasemi_mac *mac = rxring->mac; local 988 struct pasemi_mac *mac = txring->mac; local 1001 struct pasemi_mac *mac = txring->mac; local 1026 struct pasemi_mac *mac = netdev_priv(dev); local 1089 struct pasemi_mac *mac = netdev_priv(dev); local 1117 struct pasemi_mac *mac = netdev_priv(dev); local 1267 pasemi_mac_pause_txchan(struct pasemi_mac *mac) argument 1289 pasemi_mac_pause_rxchan(struct pasemi_mac *mac) argument 1309 pasemi_mac_pause_rxint(struct pasemi_mac *mac) argument 1330 struct pasemi_mac *mac = netdev_priv(dev); local 1480 struct pasemi_mac * const mac = netdev_priv(dev); local 1597 const struct pasemi_mac *mac = netdev_priv(dev); local 1614 struct pasemi_mac *mac = container_of(napi, struct pasemi_mac, napi); local 1637 const struct pasemi_mac *mac = netdev_priv(dev); local 1651 struct pasemi_mac *mac = netdev_priv(dev); local 1734 struct pasemi_mac *mac; local 1855 struct pasemi_mac *mac; local [all...] |
H A D | pasemi_mac_ethtool.c | 71 struct pasemi_mac *mac = netdev_priv(netdev); local 72 struct phy_device *phydev = mac->phydev; 84 struct pasemi_mac *mac = netdev_priv(netdev); local 85 struct phy_device *phydev = mac->phydev; 96 struct pasemi_mac *mac = netdev_priv(netdev); local 97 return mac->msg_enable; 104 struct pasemi_mac *mac = netdev_priv(netdev); local 105 mac->msg_enable = level; 113 struct pasemi_mac *mac = netdev_priv(netdev); local 116 ering->tx_pending = RING_USED(mac 134 struct pasemi_mac *mac = netdev_priv(netdev); local [all...] |
/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | xgmac.c | 41 static inline int macidx(const struct cmac *mac) argument 43 return mac->offset / (XGMAC0_1_BASE_ADDR - XGMAC0_0_BASE_ADDR); 46 static void xaui_serdes_reset(struct cmac *mac) argument 54 struct adapter *adap = mac->adapter; 55 u32 ctrl = A_XGM_SERDES_CTRL0 + mac->offset; 57 t3_write_reg(adap, ctrl, adap->params.vpd.xauicfg[macidx(mac)] | 70 void t3b_pcs_reset(struct cmac *mac) argument 72 t3_set_reg_field(mac->adapter, A_XGM_RESET_CTRL + mac->offset, 75 t3_set_reg_field(mac 79 t3_mac_reset(struct cmac *mac) argument 150 t3b2_mac_reset(struct cmac *mac) argument 230 set_addr_filter(struct cmac *mac, int idx, const u8 * addr) argument 243 t3_mac_set_address(struct cmac *mac, unsigned int idx, u8 addr[6]) argument 256 t3_mac_set_num_ucast(struct cmac *mac, int n) argument 264 t3_mac_disable_exact_filters(struct cmac *mac) argument 275 t3_mac_enable_exact_filters(struct cmac *mac) argument 300 t3_mac_set_rx_mode(struct cmac *mac, struct net_device *dev) argument 345 t3_mac_set_mtu(struct cmac *mac, unsigned int mtu) argument 428 t3_mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, int fc) argument 467 t3_mac_enable(struct cmac *mac, int which) argument 506 t3_mac_disable(struct cmac *mac, int which) argument 532 t3b2_mac_watchdog_task(struct cmac *mac) argument 598 t3_mac_update_stats(struct cmac *mac) argument [all...] |
/drivers/net/ethernet/freescale/fs_enet/ |
H A D | Makefile | 7 fs_enet-$(CONFIG_FS_ENET_HAS_SCC) += mac-scc.o 8 fs_enet-$(CONFIG_FS_ENET_HAS_FEC) += mac-fec.o 9 fs_enet-$(CONFIG_FS_ENET_HAS_FCC) += mac-fcc.o
|
/drivers/net/ethernet/chelsio/cxgb/ |
H A D | vsc7326.c | 85 val |= 0x1; /* Enable mac MAC itself */ 362 static int mac_intr_handler(struct cmac *mac) argument 367 static int mac_intr_enable(struct cmac *mac) argument 372 static int mac_intr_disable(struct cmac *mac) argument 377 static int mac_intr_clear(struct cmac *mac) argument 383 static int mac_set_address(struct cmac* mac, u8 addr[6]) argument 386 int port = mac->instance->index; 388 vsc_write(mac->adapter, REG_MAC_LOW_ADDR(port), 390 vsc_write(mac->adapter, REG_MAC_HIGH_ADDR(port), 393 vsc_read(mac 406 mac_get_address(struct cmac *mac, u8 addr[6]) argument 424 mac_reset(struct cmac *mac) argument 434 mac_set_rx_mode(struct cmac *mac, struct t1_rx_mode *rm) argument 451 mac_set_mtu(struct cmac *mac, int mtu) argument 463 mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, int fc) argument 532 mac_enable(struct cmac *mac, int which) argument 549 mac_disable(struct cmac *mac, int which) argument 575 rmon_update(struct cmac *mac, unsigned int addr, u64 *stat) argument 590 port_stats_update(struct cmac *mac) argument 643 mac_update_statistics(struct cmac *mac, int flag) argument 664 mac_destroy(struct cmac *mac) argument 688 struct cmac *mac; local [all...] |
/drivers/net/ethernet/xscale/ixp2000/ |
H A D | pm3386.h | 18 void pm3386_get_mac(int port, u8 *mac); 19 void pm3386_set_mac(int port, u8 *mac);
|
H A D | pm3386.c | 95 u8 mac[3][6]; local 101 pm3386_get_mac(0, mac[0]); 102 pm3386_get_mac(1, mac[1]); 104 pm3386_get_mac(2, mac[2]); 125 pm3386_set_mac(0, mac[0]); 126 pm3386_set_mac(1, mac[1]); 128 pm3386_set_mac(2, mac[2]); 248 void pm3386_get_mac(int port, u8 *mac) argument 253 mac[0] = temp & 0xff; 254 mac[ 265 pm3386_set_mac(int port, u8 *mac) argument [all...] |
/drivers/net/ethernet/intel/e1000e/ |
H A D | mac.c | 41 struct e1000_mac_info *mac = &hw->mac; local 58 mac->ops.set_lan_id(hw); 146 e1000e_rar_set(hw, hw->mac.addr, 0); 178 if (hw->mac.type == e1000_82573) 274 hash_mask = (hw->mac.mta_reg_count * 32) - 1; 309 switch (hw->mac.mc_filter_type) { 346 memset(&hw->mac.mta_shadow, 0, sizeof(hw->mac.mta_shadow)); 352 hash_reg = (hash_value >> 5) & (hw->mac 422 struct e1000_mac_info *mac = &hw->mac; local 491 struct e1000_mac_info *mac = &hw->mac; local 558 struct e1000_mac_info *mac = &hw->mac; local 763 struct e1000_mac_info *mac = &hw->mac; local 834 struct e1000_mac_info *mac = &hw->mac; local 1055 struct e1000_mac_info *mac = &hw->mac; local 1407 struct e1000_mac_info *mac = &hw->mac; local 1656 struct e1000_mac_info *mac = &hw->mac; local 1682 struct e1000_mac_info *mac = &hw->mac; local [all...] |
H A D | 82571.c | 105 switch (hw->mac.type) { 134 switch (hw->mac.type) { 187 switch (hw->mac.type) { 221 switch (hw->mac.type) { 240 struct e1000_mac_info *mac = &hw->mac; local 251 mac->ops.setup_physical_interface = 253 mac->ops.check_for_link = e1000e_check_for_fiber_link; 254 mac->ops.get_link_up_info = 262 mac 1113 struct e1000_mac_info *mac = &hw->mac; local 1545 struct e1000_mac_info *mac = &hw->mac; local 1853 struct e1000_mac_info *mac = &hw->mac; local [all...] |
H A D | Makefile | 36 mac.o manage.o nvm.o phy.o \
|
H A D | manage.c | 81 if (!hw->mac.arc_subsystem_valid) { 138 hw->mac.tx_pkt_filtering = true; 141 if (!hw->mac.ops.check_mng_mode(hw)) { 142 hw->mac.tx_pkt_filtering = false; 143 return hw->mac.tx_pkt_filtering; 152 hw->mac.tx_pkt_filtering = false; 153 return hw->mac.tx_pkt_filtering; 172 hw->mac.tx_pkt_filtering = true; 173 return hw->mac.tx_pkt_filtering; 178 hw->mac [all...] |
/drivers/uwb/i1480/dfu/ |
H A D | Makefile | 5 mac.o \
|
/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_param.c | 333 hw->mac.autoneg = hw->mac.fc_autoneg = 1; 336 hw->mac.link_speed = SPEED_10; 337 hw->mac.link_duplex = DUPLEX_HALF; 342 hw->mac.autoneg = hw->mac.fc_autoneg = 1; 345 hw->mac.link_speed = SPEED_10; 346 hw->mac.link_duplex = DUPLEX_HALF; 351 hw->mac.autoneg = hw->mac [all...] |
/drivers/net/ethernet/intel/igbvf/ |
H A D | vf.c | 49 struct e1000_mac_info *mac = &hw->mac; local 52 mac->mta_reg_count = 128; 54 mac->rar_entry_count = 1; 58 mac->ops.reset_hw = e1000_reset_hw_vf; 60 mac->ops.init_hw = e1000_init_hw_vf; 62 mac->ops.check_for_link = e1000_check_for_link_vf; 64 mac->ops.get_link_up_info = e1000_get_link_up_info_vf; 66 mac->ops.update_mc_addr_list = e1000_update_mc_addr_list_vf; 67 /* set mac addres 352 struct e1000_mac_info *mac = &hw->mac; local [all...] |
/drivers/net/wireless/rtlwifi/ |
H A D | core.c | 100 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local 114 mac->link_state = MAC80211_NOLINK; 115 memset(mac->bssid, 0, 6); 116 mac->vendor = PEER_UNKNOWN; 154 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local 159 if (mac->vif) { 161 "vif has been set!! mac->vif = 0x%p\n", mac->vif); 170 if (mac->beacon_enabled == 1) { 173 mac 228 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local 261 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local 404 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local 556 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local 581 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local 835 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local 909 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local 932 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local 955 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local [all...] |
/drivers/media/dvb/b2c2/ |
H A D | flexcop-eeprom.c | 61 static char eeprom_set_mac_addr(struct adapter *adapter, char type, u8 *mac) 66 tmp[0] = mac[0]; 67 tmp[1] = mac[1]; 68 tmp[2] = mac[2]; 69 tmp[3] = mac[5]; 70 tmp[4] = mac[6]; 71 tmp[5] = mac[7]; 73 tmp[0] = mac[0]; 74 tmp[1] = mac[1]; 75 tmp[2] = mac[ [all...] |
/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac100_core.c | 8 This only implements the mac core functions for this chip. 175 struct mac_device_info *mac; local 177 mac = kzalloc(sizeof(const struct mac_device_info), GFP_KERNEL); 178 if (!mac) 183 mac->mac = &dwmac100_ops; 184 mac->dma = &dwmac100_dma_ops; 186 mac->link.port = MAC_CONTROL_PS; 187 mac->link.duplex = MAC_CONTROL_F; 188 mac [all...] |
/drivers/net/ethernet/broadcom/ |
H A D | Makefile | 10 obj-$(CONFIG_SB1250_MAC) += sb1250-mac.o
|
/drivers/net/wireless/iwlegacy/ |
H A D | Makefile | 9 iwl4965-objs := 4965.o 4965-mac.o 4965-rs.o 4965-calib.o 14 iwl3945-objs := 3945-mac.o 3945.o 3945-rs.o
|
/drivers/media/video/cx23885/ |
H A D | netup-eeprom.h | 29 u8 mac[6];/* card MAC address */ member in struct:netup_port_info
|
/drivers/net/wireless/ath/carl9170/ |
H A D | Makefile | 1 carl9170-objs := main.o usb.o cmd.o mac.o phy.o led.o fw.o tx.o rx.o
|
/drivers/net/wireless/rtlwifi/rtl8192cu/ |
H A D | Makefile | 5 mac.o \
|
/drivers/staging/rtl8712/ |
H A D | sta_info.h | 119 static inline u32 wifi_mac_hash(u8 *mac) argument 123 x = mac[0]; 124 x = (x << 2) ^ mac[1]; 125 x = (x << 2) ^ mac[2]; 126 x = (x << 2) ^ mac[3]; 127 x = (x << 2) ^ mac[4]; 128 x = (x << 2) ^ mac[5];
|
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_x540.c | 56 struct ixgbe_mac_info *mac = &hw->mac; local 61 mac->mcft_size = IXGBE_X540_MC_TBL_SIZE; 62 mac->vft_size = IXGBE_X540_VFT_TBL_SIZE; 63 mac->num_rar_entries = IXGBE_X540_RAR_ENTRIES; 64 mac->max_rx_queues = IXGBE_X540_MAX_RX_QUEUES; 65 mac->max_tx_queues = IXGBE_X540_MAX_TX_QUEUES; 66 mac->max_msix_vectors = ixgbe_get_pcie_msix_count_generic(hw); 100 status = hw->mac.ops.stop_adapter(hw); 132 if (hw->mac [all...] |