Home
last modified time | relevance | path

Searched refs:mc_mask (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gmc.c179 u64 max_mc_address = min(adev->gmc.mc_mask, AMDGPU_GMC_HOLE_START - 1); in amdgpu_gmc_gart_location()
234 size_af = mc->mc_mask + 1 - ALIGN(mc->fb_end + 1, sixteen_gb); in amdgpu_gmc_agp_location()
Damdgpu_gmc.h151 u64 mc_mask; member
Dgmc_v10_0.c677 adev->gmc.mc_mask = 0xffffffffffffULL; /* 48 bit MC */ in gmc_v10_0_sw_init()
Dgmc_v6_0.c864 adev->gmc.mc_mask = 0xffffffffffULL; in gmc_v6_0_sw_init()
Dgmc_v9_0.c1193 adev->gmc.mc_mask = 0xffffffffffffULL; /* 48 bit MC */ in gmc_v9_0_sw_init()
Dgmc_v7_0.c992 adev->gmc.mc_mask = 0xffffffffffULL; /* 40 bit MC */ in gmc_v7_0_sw_init()
Dgmc_v8_0.c1118 adev->gmc.mc_mask = 0xffffffffffULL; /* 40 bit MC */ in gmc_v8_0_sw_init()
/Linux-v5.4/drivers/gpu/drm/radeon/
Dradeon_device.c571 if (mc->mc_vram_size > (rdev->mc.mc_mask - base + 1)) { in radeon_vram_location()
606 size_af = ((rdev->mc.mc_mask - mc->vram_end) + mc->gtt_base_align) & ~mc->gtt_base_align; in radeon_gtt_location()
1360 rdev->mc.mc_mask = 0xffffffffffULL; /* 40 bit MC */ in radeon_device_init()
1362 rdev->mc.mc_mask = 0xfffffffffULL; /* 36 bit MC */ in radeon_device_init()
1364 rdev->mc.mc_mask = 0xffffffffULL; /* 32 bit MC */ in radeon_device_init()
Drv770.c1618 size_af = mc->mc_mask - mc->gtt_end; in r700_vram_gtt_location()
Dradeon.h695 u64 mc_mask; member
Dr600.c1402 size_af = mc->mc_mask - mc->gtt_end; in r600_vram_gtt_location()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_main.c1729 memcpy(mask, dsaf_dev->mac_cb[port_num]->mc_mask, ETH_ALEN); in hns_dsaf_setup_mc_mask()
1770 u8 mc_mask[ETH_ALEN]; in hns_dsaf_add_mac_mc_port() local
1774 mc_mask, mac_entry->addr); in hns_dsaf_add_mac_mc_port()
1775 hns_dsaf_mc_mask_bit_clear(mc_addr, mc_mask); in hns_dsaf_add_mac_mc_port()
1781 mc_mask); in hns_dsaf_add_mac_mc_port()
1940 u8 mc_mask[ETH_ALEN]; in hns_dsaf_del_mac_mc_port() local
1944 mc_mask, mac_entry->addr); in hns_dsaf_del_mac_mc_port()
1945 hns_dsaf_mc_mask_bit_clear(mc_addr, mc_mask); in hns_dsaf_del_mac_mc_port()
1948 hns_dsaf_set_mac_key(dsaf_dev, &mask_key, 0x00, 0xff, mc_mask); in hns_dsaf_del_mac_mc_port()
Dhns_dsaf_mac.h313 char mc_mask[ETH_ALEN]; member
Dhns_dsaf_mac.c942 mac_cb->mc_mask, ETH_ALEN)) { in hns_mac_get_info()
945 eth_broadcast_addr(mac_cb->mc_mask); in hns_mac_get_info()