Home
last modified time | relevance | path

Searched refs:mac_data (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/intel/e1000e/
Dnetdev.c6318 u32 mac_data; in e1000e_s0ix_entry_flow() local
6343 mac_data = er32(CTRL_EXT); in e1000e_s0ix_entry_flow()
6344 mac_data |= E1000_CTRL_EXT_FORCE_SMBUS; in e1000e_s0ix_entry_flow()
6345 ew32(CTRL_EXT, mac_data); in e1000e_s0ix_entry_flow()
6354 mac_data = er32(EXTCNF_CTRL); in e1000e_s0ix_entry_flow()
6355 mac_data |= E1000_EXTCNF_CTRL_GATE_PHY_CFG; in e1000e_s0ix_entry_flow()
6356 ew32(EXTCNF_CTRL, mac_data); in e1000e_s0ix_entry_flow()
6362 mac_data = er32(TDFH); in e1000e_s0ix_entry_flow()
6363 if (mac_data) in e1000e_s0ix_entry_flow()
6365 mac_data = er32(TDFT); in e1000e_s0ix_entry_flow()
[all …]
/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_main.c1618 struct dsaf_tbl_tcam_ucast_cfg mac_data; in hns_dsaf_set_mac_uc_entry() local
1658 mac_data.tbl_ucast_item_vld = 1; in hns_dsaf_set_mac_uc_entry()
1659 mac_data.tbl_ucast_mac_discard = 0; in hns_dsaf_set_mac_uc_entry()
1660 mac_data.tbl_ucast_old_en = 0; in hns_dsaf_set_mac_uc_entry()
1662 mac_data.tbl_ucast_dvc = 0; in hns_dsaf_set_mac_uc_entry()
1663 mac_data.tbl_ucast_out_port = mac_entry->port_num; in hns_dsaf_set_mac_uc_entry()
1667 hns_dsaf_tcam_uc_cfg(dsaf_dev, entry_index, &tcam_data, &mac_data); in hns_dsaf_set_mac_uc_entry()
1683 struct dsaf_tbl_tcam_ucast_cfg mac_data; in hns_dsaf_rm_mac_addr() local
1715 &mac_data); in hns_dsaf_rm_mac_addr()
1718 if (mac_entry->port_num != mac_data.tbl_ucast_out_port) in hns_dsaf_rm_mac_addr()
[all …]
/drivers/net/
Dvirtio_net.c1947 struct virtio_net_ctrl_mac *mac_data; in virtnet_set_rx_mode() local
1979 (2 * sizeof(mac_data->entries)), GFP_ATOMIC); in virtnet_set_rx_mode()
1980 mac_data = buf; in virtnet_set_rx_mode()
1987 mac_data->entries = cpu_to_virtio32(vi->vdev, uc_count); in virtnet_set_rx_mode()
1990 memcpy(&mac_data->macs[i++][0], ha->addr, ETH_ALEN); in virtnet_set_rx_mode()
1992 sg_set_buf(&sg[0], mac_data, in virtnet_set_rx_mode()
1993 sizeof(mac_data->entries) + (uc_count * ETH_ALEN)); in virtnet_set_rx_mode()
1996 mac_data = (void *)&mac_data->macs[uc_count][0]; in virtnet_set_rx_mode()
1998 mac_data->entries = cpu_to_virtio32(vi->vdev, mc_count); in virtnet_set_rx_mode()
2001 memcpy(&mac_data->macs[i++][0], ha->addr, ETH_ALEN); in virtnet_set_rx_mode()
[all …]