Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/intel/e1000e/
Dnetdev.c6342 u32 mac_data; in e1000e_s0ix_entry_flow() local
6348 mac_data = er32(H2ME); in e1000e_s0ix_entry_flow()
6349 mac_data |= E1000_H2ME_START_DPG; in e1000e_s0ix_entry_flow()
6350 mac_data &= ~E1000_H2ME_EXIT_DPG; in e1000e_s0ix_entry_flow()
6351 ew32(H2ME, mac_data); in e1000e_s0ix_entry_flow()
6376 mac_data = er32(CTRL_EXT); in e1000e_s0ix_entry_flow()
6377 mac_data |= E1000_CTRL_EXT_FORCE_SMBUS; in e1000e_s0ix_entry_flow()
6378 ew32(CTRL_EXT, mac_data); in e1000e_s0ix_entry_flow()
6393 mac_data = er32(EXTCNF_CTRL); in e1000e_s0ix_entry_flow()
6394 mac_data |= E1000_EXTCNF_CTRL_GATE_PHY_CFG; in e1000e_s0ix_entry_flow()
[all …]
/linux-5.19.10/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 …]
/linux-5.19.10/drivers/net/
Dvirtio_net.c2083 struct virtio_net_ctrl_mac *mac_data; in virtnet_set_rx_mode() local
2115 (2 * sizeof(mac_data->entries)), GFP_ATOMIC); in virtnet_set_rx_mode()
2116 mac_data = buf; in virtnet_set_rx_mode()
2123 mac_data->entries = cpu_to_virtio32(vi->vdev, uc_count); in virtnet_set_rx_mode()
2126 memcpy(&mac_data->macs[i++][0], ha->addr, ETH_ALEN); in virtnet_set_rx_mode()
2128 sg_set_buf(&sg[0], mac_data, in virtnet_set_rx_mode()
2129 sizeof(mac_data->entries) + (uc_count * ETH_ALEN)); in virtnet_set_rx_mode()
2132 mac_data = (void *)&mac_data->macs[uc_count][0]; in virtnet_set_rx_mode()
2134 mac_data->entries = cpu_to_virtio32(vi->vdev, mc_count); in virtnet_set_rx_mode()
2137 memcpy(&mac_data->macs[i++][0], ha->addr, ETH_ALEN); in virtnet_set_rx_mode()
[all …]