/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
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() 202 upper_32_bits(priv->smu_tables.entry[TABLE_PMSTATUSLOG].mc_addr), in vega12_set_tools_address() 206 lower_32_bits(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() 250 &priv->smu_tables.entry[TABLE_WATERMARKS].mc_addr, in vega12_smu_init() 266 &priv->smu_tables.entry[TABLE_PMSTATUSLOG].mc_addr, in vega12_smu_init() [all …]
|
D | vega20_smumgr.c | 180 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega20_copy_table_from_smc() 186 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega20_copy_table_from_smc() 230 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega20_copy_table_to_smc() 236 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega20_copy_table_to_smc() 263 upper_32_bits(priv->smu_tables.entry[TABLE_ACTIVITY_MONITOR_COEFF].mc_addr), in vega20_set_activity_monitor_coeff() 269 lower_32_bits(priv->smu_tables.entry[TABLE_ACTIVITY_MONITOR_COEFF].mc_addr), in vega20_set_activity_monitor_coeff() 293 upper_32_bits(priv->smu_tables.entry[TABLE_ACTIVITY_MONITOR_COEFF].mc_addr), in vega20_get_activity_monitor_coeff() 299 lower_32_bits(priv->smu_tables.entry[TABLE_ACTIVITY_MONITOR_COEFF].mc_addr), in vega20_get_activity_monitor_coeff() 381 if (priv->smu_tables.entry[TABLE_PMSTATUSLOG].mc_addr) { in vega20_set_tools_address() 384 upper_32_bits(priv->smu_tables.entry[TABLE_PMSTATUSLOG].mc_addr), in vega20_set_tools_address() [all …]
|
D | vega10_smumgr.c | 52 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega10_copy_table_from_smc() 56 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega10_copy_table_from_smc() 97 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega10_copy_table_to_smc() 101 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega10_copy_table_to_smc() 161 if (priv->smu_tables.entry[TOOLSTABLE].mc_addr) { in vega10_set_tools_address() 164 upper_32_bits(priv->smu_tables.entry[TOOLSTABLE].mc_addr), in vega10_set_tools_address() 168 lower_32_bits(priv->smu_tables.entry[TOOLSTABLE].mc_addr), in vega10_set_tools_address() 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() [all …]
|
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() 349 task->addr.low = lower_32_bits(smu8_smu->scratch_buffer[i].mc_addr); in smu8_smu_populate_single_scratch_task() 350 task->addr.high = upper_32_bits(smu8_smu->scratch_buffer[i].mc_addr); in smu8_smu_populate_single_scratch_task() 386 task->addr.low = lower_32_bits(smu8_smu->driver_buffer[i].mc_addr); in smu8_smu_populate_single_ucode_load_task() 387 task->addr.high = upper_32_bits(smu8_smu->driver_buffer[i].mc_addr); in smu8_smu_populate_single_ucode_load_task() 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() 615 upper_32_bits(smu8_smu->scratch_buffer[i].mc_addr), in smu8_download_pptable_settings() 620 lower_32_bits(smu8_smu->scratch_buffer[i].mc_addr), in smu8_download_pptable_settings() [all …]
|
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()
|
D | smu7_smumgr.c | 304 entry->image_addr_high = upper_32_bits(info.mc_addr); in smu7_populate_single_firmware_entry() 305 entry->image_addr_low = lower_32_bits(info.mc_addr); in smu7_populate_single_firmware_entry() 343 upper_32_bits(smu_data->smu_buffer.mc_addr), in smu7_request_smu_load_fw() 347 lower_32_bits(smu_data->smu_buffer.mc_addr), in smu7_request_smu_load_fw() 415 upper_32_bits(smu_data->header_buffer.mc_addr), in smu7_request_smu_load_fw() 419 lower_32_bits(smu_data->header_buffer.mc_addr), in smu7_request_smu_load_fw() 552 &smu_data->header_buffer.mc_addr, in smu7_init() 567 &smu_data->smu_buffer.mc_addr, in smu7_init() 572 &smu_data->header_buffer.mc_addr, in smu7_init() 590 &smu_data->header_buffer.mc_addr, in smu7_smu_fini() [all …]
|
D | smu10_smumgr.h | 36 uint64_t mc_addr; member
|
D | vega10_smumgr.h | 32 uint64_t mc_addr; member
|
D | vega12_smumgr.h | 33 uint64_t mc_addr; member
|
D | vega20_smumgr.h | 32 uint64_t mc_addr; member
|
D | smu8_smumgr.h | 63 uint64_t mc_addr; member
|
D | smu7_smumgr.h | 34 uint64_t mc_addr; member
|
/linux-6.1.9/drivers/staging/media/meson/vdec/ |
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()
|
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-6.1.9/drivers/net/ethernet/intel/ixgb/ |
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-6.1.9/drivers/net/ethernet/intel/ixgbevf/ |
D | vf.c | 212 static s32 ixgbevf_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr) in ixgbevf_mta_vector() argument 218 vector = ((mc_addr[4] >> 4) | (((u16)mc_addr[5]) << 4)); in ixgbevf_mta_vector() 221 vector = ((mc_addr[4] >> 3) | (((u16)mc_addr[5]) << 5)); in ixgbevf_mta_vector() 224 vector = ((mc_addr[4] >> 2) | (((u16)mc_addr[5]) << 6)); in ixgbevf_mta_vector() 227 vector = ((mc_addr[4]) | (((u16)mc_addr[5]) << 8)); in ixgbevf_mta_vector()
|
/linux-6.1.9/drivers/net/ethernet/intel/igbvf/ |
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-6.1.9/drivers/net/ethernet/intel/igc/ |
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-6.1.9/drivers/net/ethernet/stmicro/stmmac/ |
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-6.1.9/drivers/net/ethernet/intel/ixgbe/ |
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-6.1.9/net/ipv4/ |
D | datagram.c | 44 saddr = inet->mc_addr; in __ip4_datagram_connect()
|
/linux-6.1.9/include/linux/ |
D | igmp.h | 110 extern int ip_check_mc_rcu(struct in_device *dev, __be32 mc_addr, __be32 src_addr, u8 proto);
|
/linux-6.1.9/drivers/gpu/drm/amd/include/ |
D | cgs_common.h | 72 uint64_t mc_addr; member
|
/linux-6.1.9/drivers/net/ethernet/atheros/atl1e/ |
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-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
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()
|