Searched refs:mac_data (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 6342 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-6.1.9/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_main.c | 1618 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-6.1.9/drivers/net/ |
D | virtio_net.c | 2169 struct virtio_net_ctrl_mac *mac_data; in virtnet_set_rx_mode() local 2201 (2 * sizeof(mac_data->entries)), GFP_ATOMIC); in virtnet_set_rx_mode() 2202 mac_data = buf; in virtnet_set_rx_mode() 2209 mac_data->entries = cpu_to_virtio32(vi->vdev, uc_count); in virtnet_set_rx_mode() 2212 memcpy(&mac_data->macs[i++][0], ha->addr, ETH_ALEN); in virtnet_set_rx_mode() 2214 sg_set_buf(&sg[0], mac_data, in virtnet_set_rx_mode() 2215 sizeof(mac_data->entries) + (uc_count * ETH_ALEN)); in virtnet_set_rx_mode() 2218 mac_data = (void *)&mac_data->macs[uc_count][0]; in virtnet_set_rx_mode() 2220 mac_data->entries = cpu_to_virtio32(vi->vdev, mc_count); in virtnet_set_rx_mode() 2223 memcpy(&mac_data->macs[i++][0], ha->addr, ETH_ALEN); in virtnet_set_rx_mode() [all …]
|