Home
last modified time | relevance | path

Searched refs:mac (Results 226 – 250 of 1888) sorted by relevance

12345678910>>...76

/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-ls1028a-kontron-sl28-var2.dts40 nvmem-cell-names = "mac-address";
46 nvmem-cell-names = "mac-address";
60 nvmem-cell-names = "mac-address";
70 nvmem-cell-names = "mac-address";
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sysfs.c36 ixgbe_attr->hw->mac.ops.get_thermal_sensor_data(ixgbe_attr->hw); in ixgbe_hwmon_show_temp()
121 &adapter->hw.mac.thermal_sensor_data.sensor[offset]; in ixgbe_add_hwmon_attr()
154 if (adapter->hw.mac.ops.init_thermal_sensor_thresh == NULL) { in ixgbe_sysfs_init()
159 if (adapter->hw.mac.ops.init_thermal_sensor_thresh(&adapter->hw)) in ixgbe_sysfs_init()
175 if (adapter->hw.mac.thermal_sensor_data.sensor[i].location == 0) in ixgbe_sysfs_init()
H A Dixgbe_phy.c318 if (hw->mac.type == ixgbe_mac_82598EB) in ixgbe_check_reset_blocked()
709 hw->mac.ops.release_swfw_sync(hw, gssr); in ixgbe_mii_bus_read_generic_c22()
747 hw->mac.ops.release_swfw_sync(hw, gssr); in ixgbe_mii_bus_read_generic_c45()
777 hw->mac.ops.release_swfw_sync(hw, gssr); in ixgbe_mii_bus_write_generic_c22()
814 hw->mac.ops.release_swfw_sync(hw, gssr); in ixgbe_mii_bus_write_generic_c45()
1120 if (hw->mac.type == ixgbe_mac_X550) { in ixgbe_setup_phy_link_generic()
1234 switch (hw->mac.type) { in ixgbe_get_copper_speeds_supported()
1550 hw->mac.ops.set_lan_id(hw); in ixgbe_identify_sfp_module_generic()
1756 if (hw->mac.type == ixgbe_mac_82598EB) in ixgbe_identify_sfp_module_generic()
1817 hw->mac.ops.set_lan_id(hw); in ixgbe_identify_qsfp_module_generic()
[all …]
/openbmc/linux/drivers/media/usb/dvb-usb/
H A Dnova-t-usb2.c131 static int nova_t_read_mac_address (struct dvb_usb_device *d, u8 mac[6]) in nova_t_read_mac_address()
136 mac[0] = 0x00; in nova_t_read_mac_address()
137 mac[1] = 0x0d; in nova_t_read_mac_address()
138 mac[2] = 0xfe; in nova_t_read_mac_address()
146 mac[5 - (i - 136)] = b; in nova_t_read_mac_address()
/openbmc/google-misc/subprojects/ncsid/src/
H A Dncsi_state_machine.cpp142 mac_addr_t mac; in poll_l2_config() local
143 net_config_->get_mac_addr(&mac); in poll_l2_config()
145 &ncsi_state_, &network_debug_, &ncsi_buf_, &mac); in poll_l2_config()
160 net_config_->set_mac_addr(mac); in poll_l2_config()
180 mac_addr_t mac; in poll_simple() local
181 net_config_->get_mac_addr(&mac); in poll_simple()
185 poll_func(&ncsi_state_, &network_debug_, &ncsi_buf_, &mac, 0, rx_port); in poll_simple()
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00config.c22 const u8 *mac, const u8 *bssid) in rt2x00lib_config_intf() argument
51 memset(conf.mac, 0, sizeof(conf.mac)); in rt2x00lib_config_intf()
52 if (mac) in rt2x00lib_config_intf()
53 memcpy(conf.mac, mac, ETH_ALEN); in rt2x00lib_config_intf()
60 if (mac || (!rt2x00dev->intf_ap_count && !rt2x00dev->intf_sta_count)) in rt2x00lib_config_intf()
/openbmc/linux/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c410 sol->desc.mac.fd_desc.fip_dlen = sizeof(sol->desc.mac) / FIP_BPW; in fcoe_ctlr_solicit()
570 kal->mac.fd_desc.fip_dlen = sizeof(kal->mac) / FIP_BPW; in fcoe_ctlr_send_keep_alive()
655 dlen += sizeof(*mac); in fcoe_ctlr_encaps()
656 mac = skb_put_zero(skb, sizeof(*mac)); in fcoe_ctlr_encaps()
658 mac->fd_desc.fip_dlen = sizeof(*mac) / FIP_BPW; in fcoe_ctlr_encaps()
704 u8 mac[ETH_ALEN]; in fcoe_ctlr_els_send() local
1792 u8 *mac; in fcoe_ctlr_timer_work() local
1976 (u64) mac[5]; in fcoe_wwn_from_mac()
2063 frame->mac.fd_desc.fip_dlen = sizeof(frame->mac) / FIP_BPW; in fcoe_ctlr_vn_send()
2930 frame->mac.fd_desc.fip_dlen = sizeof(frame->mac) / FIP_BPW; in fcoe_ctlr_vlan_send()
[all …]
/openbmc/linux/drivers/s390/net/
H A Dqeth_l2_main.c87 ether_addr_copy(cmd->data.setdelmac.mac, mac); in qeth_l2_send_setdelmac()
148 struct qeth_mac *mac; in qeth_l2_drain_rx_mode_cache() local
153 hash_del(&mac->hnode); in qeth_l2_drain_rx_mode_cache()
154 kfree(mac); in qeth_l2_drain_rx_mode_cache()
435 struct qeth_mac *mac; in qeth_l2_add_mac() local
445 if (!mac) in qeth_l2_add_mac()
460 struct qeth_mac *mac; in qeth_l2_rx_mode_work() local
478 hash_del(&mac->hnode); in qeth_l2_rx_mode_work()
479 kfree(mac); in qeth_l2_rx_mode_work()
485 kfree(mac); in qeth_l2_rx_mode_work()
[all …]
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dcommon.h703 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);
712 int t3_mac_set_num_ucast(struct cmac *mac, int n);
713 const struct mac_stats *t3_mac_update_stats(struct cmac *mac);
[all …]
H A Dcxgb3_main.c207 struct cmac *mac = &pi->mac; in t3_os_link_fault() local
216 pi->mac.offset); in t3_os_link_fault()
223 pi->mac.offset, in t3_os_link_fault()
255 struct cmac *mac = &pi->mac; in t3_os_link_changed() local
270 pi->mac.offset); in t3_os_link_changed()
346 struct cmac *mac = &pi->mac; in link_start() local
348 t3_mac_reset(mac); in link_start()
350 t3_mac_set_mtu(mac, dev->mtu); in link_start()
353 t3_mac_set_rx_mode(mac, dev); in link_start()
2702 struct cmac *mac = &p->mac; in check_t3b2_mac() local
[all …]
H A Dt3_hw.c1180 struct cmac *mac = &pi->mac; in t3_link_changed() local
1196 mac->stats.link_faults++; in t3_link_changed()
1214 t3b_pcs_reset(mac); in t3_link_changed()
1235 struct cmac *mac = &pi->mac; in t3_link_fault() local
1271 mac->stats.link_faults++; in t3_link_fault()
1781 struct cmac *mac = &adap2pinfo(adap, idx)->mac; in mac_intr_handler() local
1800 mac->stats.tx_fifo_urun++; in mac_intr_handler()
1802 mac->stats.rx_fifo_ovfl++; in mac_intr_handler()
1813 mac->stats.link_faults++; in mac_intr_handler()
3479 mac->adapter = adapter; in mac_prep()
[all …]
/openbmc/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek.c729 hellcreek_write(hellcreek, entry->mac[1] | (entry->mac[0] << 8), HR_FDBWDH); in __hellcreek_fdb_add()
730 hellcreek_write(hellcreek, entry->mac[3] | (entry->mac[2] << 8), HR_FDBWDM); in __hellcreek_fdb_add()
731 hellcreek_write(hellcreek, entry->mac[5] | (entry->mac[4] << 8), HR_FDBWDL); in __hellcreek_fdb_add()
769 u16 meta, mac; in hellcreek_populate_fdb_entry() local
774 addr[5] = mac & 0xff; in hellcreek_populate_fdb_entry()
775 addr[4] = (mac & 0xff00) >> 8; in hellcreek_populate_fdb_entry()
777 addr[3] = mac & 0xff; in hellcreek_populate_fdb_entry()
778 addr[2] = (mac & 0xff00) >> 8; in hellcreek_populate_fdb_entry()
780 addr[1] = mac & 0xff; in hellcreek_populate_fdb_entry()
781 addr[0] = (mac & 0xff00) >> 8; in hellcreek_populate_fdb_entry()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A Dfw.c598 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl92d_set_fw_rsvdpagepkt() local
612 SET_80211_HDR_ADDRESS2(beacon, mac->mac_addr); in rtl92d_set_fw_rsvdpagepkt()
613 SET_80211_HDR_ADDRESS3(beacon, mac->bssid); in rtl92d_set_fw_rsvdpagepkt()
619 SET_80211_PS_POLL_BSSID(p_pspoll, mac->bssid); in rtl92d_set_fw_rsvdpagepkt()
620 SET_80211_PS_POLL_TA(p_pspoll, mac->mac_addr); in rtl92d_set_fw_rsvdpagepkt()
626 SET_80211_HDR_ADDRESS1(nullfunc, mac->bssid); in rtl92d_set_fw_rsvdpagepkt()
627 SET_80211_HDR_ADDRESS2(nullfunc, mac->mac_addr); in rtl92d_set_fw_rsvdpagepkt()
628 SET_80211_HDR_ADDRESS3(nullfunc, mac->bssid); in rtl92d_set_fw_rsvdpagepkt()
634 SET_80211_HDR_ADDRESS1(p_probersp, mac->bssid); in rtl92d_set_fw_rsvdpagepkt()
635 SET_80211_HDR_ADDRESS2(p_probersp, mac->mac_addr); in rtl92d_set_fw_rsvdpagepkt()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/clock/
H A Dqcom,sdx75-gcc.yaml27 - description: EMAC0 sgmiiphy mac rclk source
28 - description: EMAC0 sgmiiphy mac tclk source
31 - description: EMAC1 sgmiiphy mac rclk source
32 - description: EMAC1 sgmiiphy mac tclk source
/openbmc/linux/arch/arm64/boot/dts/ti/
H A Dk3-j7200-evm-quad-port-eth-exp.dtso34 mac-address = [00 00 00 00 00 00];
42 mac-address = [00 00 00 00 00 00];
50 mac-address = [00 00 00 00 00 00];
58 mac-address = [00 00 00 00 00 00];
/openbmc/linux/net/llc/
H A Dllc_if.c93 memcpy(daddr.mac, dmac, sizeof(daddr.mac)); in llc_establish_connection()
94 memcpy(laddr.mac, lmac, sizeof(laddr.mac)); in llc_establish_connection()
H A Dllc_sap.c238 memcpy(ev->saddr.mac, skb->dev->dev_addr, IFHWADDRLEN); in llc_build_and_send_test_pkt()
239 memcpy(ev->daddr.mac, dmac, IFHWADDRLEN); in llc_build_and_send_test_pkt()
264 memcpy(ev->saddr.mac, skb->dev->dev_addr, IFHWADDRLEN); in llc_build_and_send_xid_pkt()
265 memcpy(ev->daddr.mac, dmac, IFHWADDRLEN); in llc_build_and_send_xid_pkt()
305 ether_addr_equal(llc->laddr.mac, laddr->mac); in llc_dgram_match()
429 llc_pdu_decode_da(skb, laddr.mac); in llc_sap_handler()
432 if (is_multicast_ether_addr(laddr.mac)) { in llc_sap_handler()
/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_hw.h155 int prestera_hw_switch_mac_set(struct prestera_switch *sw, const char *mac);
175 int prestera_hw_port_mac_set(const struct prestera_port *port, const char *mac);
176 int prestera_hw_port_mac_get(const struct prestera_port *port, char *mac);
200 int prestera_hw_fdb_add(struct prestera_port *port, const unsigned char *mac,
202 int prestera_hw_fdb_del(struct prestera_port *port, const unsigned char *mac,
256 struct prestera_iface *iif, u8 *mac, u16 *rif_id);
299 const unsigned char *mac, u16 vid, bool dynamic);
301 const unsigned char *mac, u16 vid);
/openbmc/openbmc/meta-google/recipes-google/networking/gbmc-bridge/
H A Dgbmc-br-from-ra.sh89 if [[ $action == add && $mac != "$gbmc_br_from_ra_mac" ]]; then
90 gbmc_br_from_ra_mac="$mac"
93 if [[ $action == del && $mac == "$gbmc_br_from_ra_mac" ]]; then
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H A Dhw.c175 if (!mac->ht_enable) in rtl92ce_set_hw_reg()
220 mac->min_space_cfg = ((mac->min_space_cfg & in rtl92ce_set_hw_reg()
228 mac->min_space_cfg); in rtl92ce_set_hw_reg()
231 mac->min_space_cfg); in rtl92ce_set_hw_reg()
243 mac->min_space_cfg); in rtl92ce_set_hw_reg()
246 mac->min_space_cfg); in rtl92ce_set_hw_reg()
466 mac->assoc_id)); in rtl92ce_set_hw_reg()
1773 u8 nmode = mac->ht_enable; in rtl92ce_update_hal_rate_table()
1880 curtxbw_40mhz = mac->bw_40; in rtl92ce_update_hal_rate_mask()
2003 &mac->slot_time); in rtl92ce_update_channel_access_setting()
[all …]
/openbmc/u-boot/lib/efi_loader/
H A Defi_device_path_to_text.c126 mdp->mac.addr[0], mdp->mac.addr[1], in dp_msging()
127 mdp->mac.addr[2], mdp->mac.addr[3], in dp_msging()
128 mdp->mac.addr[4], mdp->mac.addr[5], in dp_msging()
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A Digb_hwmon.c42 igb_attr->hw->mac.ops.get_thermal_sensor_data(igb_attr->hw); in igb_hwmon_show_temp()
127 &adapter->hw.mac.thermal_sensor_data.sensor[offset]; in igb_add_hwmon_attr()
161 if (adapter->hw.mac.ops.init_thermal_sensor_thresh == NULL) in igb_sysfs_init()
165 rc = (adapter->hw.mac.ops.init_thermal_sensor_thresh(&adapter->hw)); in igb_sysfs_init()
182 if (adapter->hw.mac.thermal_sensor_data.sensor[i].location == 0) in igb_sysfs_init()
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Dcavium-pip.txt63 local-mac-address = [ 00 0f b7 10 63 60 ];
69 local-mac-address = [ 00 0f b7 10 63 61 ];
75 local-mac-address = [ 00 0f b7 10 63 62 ];
81 local-mac-address = [ 00 0f b7 10 63 63 ];
95 local-mac-address = [ 00 0f b7 10 63 64 ];
/openbmc/google-misc/subprojects/ncsid/test/
H A Dncsi_test.cpp38 int get_mac_addr(mac_addr_t* mac) override in get_mac_addr() argument
40 std::memcpy(mac, &mac_addr, sizeof(mac_addr_t)); in get_mac_addr()
45 int set_mac_addr(const mac_addr_t& mac) override in set_mac_addr() argument
47 mac_addr = mac; in set_mac_addr()
155 EXPECT_EQ(nic_mac.octet[i], ch_filter.mac[i]); in ExpectFiltersConfigured()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Dhw.c179 if (!mac->ht_enable) in rtl8723e_set_hw_reg()
224 mac->min_space_cfg = ((mac->min_space_cfg & in rtl8723e_set_hw_reg()
232 mac->min_space_cfg); in rtl8723e_set_hw_reg()
235 mac->min_space_cfg); in rtl8723e_set_hw_reg()
247 mac->min_space_cfg); in rtl8723e_set_hw_reg()
250 mac->min_space_cfg); in rtl8723e_set_hw_reg()
482 (u32)(mac->tsf & 0xffffffff)); in rtl8723e_set_hw_reg()
1840 u8 b_nmode = mac->ht_enable; in rtl8723e_update_hal_rate_table()
1843 u8 curtxbw_40mhz = mac->bw_40; in rtl8723e_update_hal_rate_table()
1946 curtxbw_40mhz = mac->bw_40; in rtl8723e_update_hal_rate_mask()
[all …]

12345678910>>...76