/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
A D | vega20_smumgr.c | 445 &priv->smu_tables.entry[TABLE_PPTABLE].mc_addr, in vega20_smu_init() 459 &priv->smu_tables.entry[TABLE_WATERMARKS].mc_addr, in vega20_smu_init() 473 &priv->smu_tables.entry[TABLE_PMSTATUSLOG].mc_addr, in vega20_smu_init() 487 &priv->smu_tables.entry[TABLE_OVERDRIVE].mc_addr, in vega20_smu_init() 501 &priv->smu_tables.entry[TABLE_SMU_METRICS].mc_addr, in vega20_smu_init() 531 &priv->smu_tables.entry[TABLE_SMU_METRICS].mc_addr, in vega20_smu_init() 535 &priv->smu_tables.entry[TABLE_OVERDRIVE].mc_addr, in vega20_smu_init() 543 &priv->smu_tables.entry[TABLE_WATERMARKS].mc_addr, in vega20_smu_init() 547 &priv->smu_tables.entry[TABLE_PPTABLE].mc_addr, in vega20_smu_init() 565 &priv->smu_tables.entry[TABLE_PPTABLE].mc_addr, in vega20_smu_fini() [all …]
|
A D | vega12_smumgr.c | 55 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega12_copy_table_from_smc() 60 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega12_copy_table_from_smc() 105 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega12_copy_table_to_smc() 111 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega12_copy_table_to_smc() 199 if (priv->smu_tables.entry[TABLE_PMSTATUSLOG].mc_addr) { in vega12_set_tools_address() 236 &priv->smu_tables.entry[TABLE_PPTABLE].mc_addr, in vega12_smu_init() 322 &priv->smu_tables.entry[TABLE_OVERDRIVE].mc_addr, in vega12_smu_init() 331 &priv->smu_tables.entry[TABLE_PMSTATUSLOG].mc_addr, in vega12_smu_init() 335 &priv->smu_tables.entry[TABLE_WATERMARKS].mc_addr, in vega12_smu_init() 339 &priv->smu_tables.entry[TABLE_PPTABLE].mc_addr, in vega12_smu_init() [all …]
|
A D | vega10_smumgr.c | 230 &priv->smu_tables.entry[PPTABLE].mc_addr, in vega10_smu_init() 245 &priv->smu_tables.entry[WMTABLE].mc_addr, in vega10_smu_init() 261 &priv->smu_tables.entry[AVFSTABLE].mc_addr, in vega10_smu_init() 278 &priv->smu_tables.entry[TOOLSTABLE].mc_addr, in vega10_smu_init() 308 &priv->smu_tables.entry[TOOLSTABLE].mc_addr, in vega10_smu_init() 312 &priv->smu_tables.entry[AVFSTABLE].mc_addr, in vega10_smu_init() 316 &priv->smu_tables.entry[WMTABLE].mc_addr, in vega10_smu_init() 320 &priv->smu_tables.entry[PPTABLE].mc_addr, in vega10_smu_init() 334 &priv->smu_tables.entry[PPTABLE].mc_addr, in vega10_smu_fini() 337 &priv->smu_tables.entry[WMTABLE].mc_addr, in vega10_smu_fini() [all …]
|
A D | smu8_smumgr.c | 206 reg_data = lower_32_bits(info.mc_addr) & in smu8_load_mec_firmware() 210 reg_data = upper_32_bits(info.mc_addr) & in smu8_load_mec_firmware() 568 smu8_smu->driver_buffer[i].mc_addr = info.mc_addr; in smu8_smu_populate_firmware_entries() 592 entry->mc_addr = smu8_smu->smu_buffer.mc_addr + smu8_smu->smu_buffer_used_bytes; in smu8_smu_populate_single_scratch_entry() 682 upper_32_bits(smu8_smu->toc_buffer.mc_addr), in smu8_request_smu_load_fw() 780 &smu8_smu->toc_buffer.mc_addr, in smu8_smu_init() 790 &smu8_smu->smu_buffer.mc_addr, in smu8_smu_init() 838 &smu8_smu->smu_buffer.mc_addr, in smu8_smu_init() 842 &smu8_smu->toc_buffer.mc_addr, in smu8_smu_init() 859 &smu8_smu->toc_buffer.mc_addr, in smu8_smu_fini() [all …]
|
A D | smu10_smumgr.c | 131 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr), in smu10_copy_table_from_smc() 135 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr), in smu10_copy_table_from_smc() 171 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr), in smu10_copy_table_to_smc() 175 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr), in smu10_copy_table_to_smc() 209 &priv->smu_tables.entry[SMU10_WMTABLE].mc_addr, in smu10_smu_fini() 212 &priv->smu_tables.entry[SMU10_CLOCKTABLE].mc_addr, in smu10_smu_fini() 257 &priv->smu_tables.entry[SMU10_WMTABLE].mc_addr, in smu10_smu_init() 273 &priv->smu_tables.entry[SMU10_CLOCKTABLE].mc_addr, in smu10_smu_init() 287 &priv->smu_tables.entry[SMU10_WMTABLE].mc_addr, in smu10_smu_init()
|
A D | smu7_smumgr.c | 301 entry->image_addr_high = upper_32_bits(info.mc_addr); in smu7_populate_single_firmware_entry() 302 entry->image_addr_low = lower_32_bits(info.mc_addr); in smu7_populate_single_firmware_entry() 340 upper_32_bits(smu_data->smu_buffer.mc_addr), in smu7_request_smu_load_fw() 344 lower_32_bits(smu_data->smu_buffer.mc_addr), in smu7_request_smu_load_fw() 412 upper_32_bits(smu_data->header_buffer.mc_addr), in smu7_request_smu_load_fw() 416 lower_32_bits(smu_data->header_buffer.mc_addr), in smu7_request_smu_load_fw() 549 &smu_data->header_buffer.mc_addr, in smu7_init() 564 &smu_data->smu_buffer.mc_addr, in smu7_init() 569 &smu_data->header_buffer.mc_addr, in smu7_init() 587 &smu_data->header_buffer.mc_addr, in smu7_smu_fini() [all …]
|
A D | smu10_smumgr.h | 36 uint64_t mc_addr; member
|
A D | vega10_smumgr.h | 32 uint64_t mc_addr; member
|
A D | vega12_smumgr.h | 33 uint64_t mc_addr; member
|
A D | vega20_smumgr.h | 32 uint64_t mc_addr; member
|
A D | smu8_smumgr.h | 63 uint64_t mc_addr; member
|
A D | smu7_smumgr.h | 34 uint64_t mc_addr; member
|
/linux/drivers/staging/media/meson/vdec/ |
A D | vdec_1.c | 32 static void *mc_addr; in vdec_1_load_firmware() local 48 mc_addr = dma_alloc_coherent(core->dev, MC_SIZE, in vdec_1_load_firmware() 50 if (!mc_addr) { in vdec_1_load_firmware() 55 memcpy(mc_addr, fw->data, MC_SIZE); in vdec_1_load_firmware() 80 dma_free_coherent(core->dev, MC_SIZE, mc_addr, mc_addr_map); in vdec_1_load_firmware()
|
A D | vdec_hevc.c | 32 static void *mc_addr; in vdec_hevc_load_firmware() local 50 mc_addr = dma_alloc_coherent(core->dev, MC_SIZE, &mc_addr_map, in vdec_hevc_load_firmware() 52 if (!mc_addr) { in vdec_hevc_load_firmware() 57 memcpy(mc_addr, fw->data, MC_SIZE); in vdec_hevc_load_firmware() 74 dma_free_coherent(core->dev, MC_SIZE, mc_addr, mc_addr_map); in vdec_hevc_load_firmware()
|
/linux/drivers/net/ethernet/intel/ixgb/ |
A D | ixgb_hw.c | 18 static u32 ixgb_hash_mc_addr(struct ixgb_hw *hw, u8 * mc_addr); 472 u8 *mc_addr) in ixgb_hash_mc_addr() argument 488 ((mc_addr[4] >> 4) | (((u16) mc_addr[5]) << 4)); in ixgb_hash_mc_addr() 492 ((mc_addr[4] >> 3) | (((u16) mc_addr[5]) << 5)); in ixgb_hash_mc_addr() 496 ((mc_addr[4] >> 2) | (((u16) mc_addr[5]) << 6)); in ixgb_hash_mc_addr() 499 hash_value = ((mc_addr[4]) | (((u16) mc_addr[5]) << 8)); in ixgb_hash_mc_addr()
|
/linux/drivers/net/ethernet/intel/ixgbevf/ |
A D | vf.c | 210 static s32 ixgbevf_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr) in ixgbevf_mta_vector() argument 216 vector = ((mc_addr[4] >> 4) | (((u16)mc_addr[5]) << 4)); in ixgbevf_mta_vector() 219 vector = ((mc_addr[4] >> 3) | (((u16)mc_addr[5]) << 5)); in ixgbevf_mta_vector() 222 vector = ((mc_addr[4] >> 2) | (((u16)mc_addr[5]) << 6)); in ixgbevf_mta_vector() 225 vector = ((mc_addr[4]) | (((u16)mc_addr[5]) << 8)); in ixgbevf_mta_vector()
|
/linux/drivers/net/ethernet/intel/igbvf/ |
A D | vf.c | 168 static u32 e1000_hash_mc_addr_vf(struct e1000_hw *hw, u8 *mc_addr) in e1000_hash_mc_addr_vf() argument 182 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in e1000_hash_mc_addr_vf() 183 (((u16)mc_addr[5]) << bit_shift))); in e1000_hash_mc_addr_vf()
|
/linux/drivers/net/ethernet/intel/igc/ |
A D | igc_mac.c | 788 static u32 igc_hash_mc_addr(struct igc_hw *hw, u8 *mc_addr) in igc_hash_mc_addr() argument 842 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in igc_hash_mc_addr() 843 (((u16)mc_addr[5]) << bit_shift))); in igc_hash_mc_addr()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_ucode.c | 569 uint64_t mc_addr, void *kptr) in amdgpu_ucode_init_single_fw() argument 581 ucode->mc_addr = mc_addr; in amdgpu_ucode_init_single_fw() 674 uint64_t mc_addr, void *kptr) in amdgpu_ucode_patch_jt() argument
|
A D | amdgpu_cgs.c | 220 gpu_addr = ucode->mc_addr; in amdgpu_cgs_get_firmware_info() 232 info->mc_addr = gpu_addr; in amdgpu_cgs_get_firmware_info()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_common.c | 25 static s32 ixgbe_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr); 1996 static s32 ixgbe_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr) in ixgbe_mta_vector() argument 2002 vector = ((mc_addr[4] >> 4) | (((u16)mc_addr[5]) << 4)); in ixgbe_mta_vector() 2005 vector = ((mc_addr[4] >> 3) | (((u16)mc_addr[5]) << 5)); in ixgbe_mta_vector() 2008 vector = ((mc_addr[4] >> 2) | (((u16)mc_addr[5]) << 6)); in ixgbe_mta_vector() 2011 vector = ((mc_addr[4]) | (((u16)mc_addr[5]) << 8)); in ixgbe_mta_vector() 2030 static void ixgbe_set_mta(struct ixgbe_hw *hw, u8 *mc_addr) in ixgbe_set_mta() argument 2038 vector = ixgbe_mta_vector(hw, mc_addr); in ixgbe_set_mta()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
A D | stmmac_selftests.c | 625 unsigned char mc_addr[ETH_ALEN] = {0xf1, 0xff, 0xff, 0xff, 0xff, 0xff}; in stmmac_test_mcfilt() local 638 mc_addr[ETH_ALEN - 1] = tries; in stmmac_test_mcfilt() 639 if (stmmac_hash_check(priv, mc_addr)) in stmmac_test_mcfilt() 657 attr.dst = mc_addr; in stmmac_test_mcfilt() 671 unsigned char mc_addr[ETH_ALEN] = {0xf1, 0xff, 0xff, 0xff, 0xff, 0xff}; in stmmac_test_ucfilt() local 692 ret = dev_mc_add(priv->dev, mc_addr); in stmmac_test_ucfilt() 696 attr.dst = mc_addr; in stmmac_test_ucfilt() 710 dev_mc_del(priv->dev, mc_addr); in stmmac_test_ucfilt()
|
/linux/drivers/net/ethernet/atheros/atl1e/ |
A D | atl1e_hw.c | 154 u32 atl1e_hash_mc_addr(struct atl1e_hw *hw, u8 *mc_addr) in atl1e_hash_mc_addr() argument 160 crc32 = ether_crc_le(6, mc_addr); in atl1e_hash_mc_addr()
|
/linux/drivers/gpu/drm/amd/include/ |
A D | cgs_common.h | 72 uint64_t mc_addr; member
|
/linux/include/linux/ |
A D | igmp.h | 110 extern int ip_check_mc_rcu(struct in_device *dev, __be32 mc_addr, __be32 src_addr, u8 proto);
|