Searched refs:mac_data (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 6313 u32 mac_data; in e1000e_s0ix_entry_flow() local 6319 mac_data = er32(H2ME); in e1000e_s0ix_entry_flow() 6320 mac_data |= E1000_H2ME_START_DPG; in e1000e_s0ix_entry_flow() 6321 mac_data &= ~E1000_H2ME_EXIT_DPG; in e1000e_s0ix_entry_flow() 6322 trace_e1000e_trace_mac_register(mac_data); in e1000e_s0ix_entry_flow() 6323 ew32(H2ME, mac_data); in e1000e_s0ix_entry_flow() 6348 mac_data = er32(CTRL_EXT); in e1000e_s0ix_entry_flow() 6349 mac_data |= E1000_CTRL_EXT_FORCE_SMBUS; in e1000e_s0ix_entry_flow() 6350 ew32(CTRL_EXT, mac_data); in e1000e_s0ix_entry_flow() 6365 mac_data = er32(EXTCNF_CTRL); in e1000e_s0ix_entry_flow() [all …]
|
/Linux-v6.6/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-v6.6/drivers/net/ |
D | virtio_net.c | 2647 struct virtio_net_ctrl_mac *mac_data; in virtnet_set_rx_mode() local 2679 (2 * sizeof(mac_data->entries)), GFP_ATOMIC); in virtnet_set_rx_mode() 2680 mac_data = buf; in virtnet_set_rx_mode() 2687 mac_data->entries = cpu_to_virtio32(vi->vdev, uc_count); in virtnet_set_rx_mode() 2690 memcpy(&mac_data->macs[i++][0], ha->addr, ETH_ALEN); in virtnet_set_rx_mode() 2692 sg_set_buf(&sg[0], mac_data, in virtnet_set_rx_mode() 2693 sizeof(mac_data->entries) + (uc_count * ETH_ALEN)); in virtnet_set_rx_mode() 2696 mac_data = (void *)&mac_data->macs[uc_count][0]; in virtnet_set_rx_mode() 2698 mac_data->entries = cpu_to_virtio32(vi->vdev, mc_count); in virtnet_set_rx_mode() 2701 memcpy(&mac_data->macs[i++][0], ha->addr, ETH_ALEN); in virtnet_set_rx_mode() [all …]
|