Searched refs:mac_id (Results 1 – 6 of 6) sorted by relevance
57 uchar mac_id[6]; in misc_init_r() local59 if (!eth_env_get_enetaddr("ethaddr", mac_id) && !i2c_read_mac(mac_id)) in misc_init_r()60 eth_env_set_enetaddr("ethaddr", mac_id); in misc_init_r()
55 u32 mac_id; member
226 static int _dw_write_hwaddr(struct dw_eth_dev *priv, u8 *mac_id) in _dw_write_hwaddr() argument231 macid_lo = mac_id[0] + (mac_id[1] << 8) + (mac_id[2] << 16) + in _dw_write_hwaddr()232 (mac_id[3] << 24); in _dw_write_hwaddr()233 macid_hi = mac_id[4] + (mac_id[5] << 8); in _dw_write_hwaddr()
262 uchar *mac_id = pdata->enetaddr; in sun8i_eth_write_hwaddr() local265 macid_lo = mac_id[0] + (mac_id[1] << 8) + (mac_id[2] << 16) + in sun8i_eth_write_hwaddr()266 (mac_id[3] << 24); in sun8i_eth_write_hwaddr()267 macid_hi = mac_id[4] + (mac_id[5] << 8); in sun8i_eth_write_hwaddr()
35 MC_CMD_OP(cmd, 0, 0, 16, uint16_t, cfg->mac_id)183 int mac_id; member
886 dpmac_cfg.mac_id = priv->dpmac_id;
Completed in 10 milliseconds