Home
last modified time | relevance | path

Searched refs:mc_addr (Results 1 – 25 of 60) sorted by relevance

123

/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dvega12_smumgr.c55 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 …]
Dvega20_smumgr.c180 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 …]
Dvega10_smumgr.c52 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 …]
Dsmu8_smumgr.c206 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 …]
Dsmu10_smumgr.c131 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()
Dsmu7_smumgr.c304 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 …]
Dsmu10_smumgr.h36 uint64_t mc_addr; member
Dvega10_smumgr.h32 uint64_t mc_addr; member
Dvega12_smumgr.h33 uint64_t mc_addr; member
Dvega20_smumgr.h32 uint64_t mc_addr; member
Dsmu8_smumgr.h63 uint64_t mc_addr; member
Dsmu7_smumgr.h34 uint64_t mc_addr; member
/linux-6.1.9/drivers/staging/media/meson/vdec/
Dvdec_1.c32 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()
Dvdec_hevc.c32 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/
Dixgb_hw.c18 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/
Dvf.c212 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/
Dvf.c168 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/
Digc_mac.c788 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/
Dstmmac_selftests.c625 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/
Dixgbe_common.c25 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/
Ddatagram.c44 saddr = inet->mc_addr; in __ip4_datagram_connect()
/linux-6.1.9/include/linux/
Digmp.h110 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/
Dcgs_common.h72 uint64_t mc_addr; member
/linux-6.1.9/drivers/net/ethernet/atheros/atl1e/
Datl1e_hw.c154 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/
Damdgpu_cgs.c220 gpu_addr = ucode->mc_addr; in amdgpu_cgs_get_firmware_info()
232 info->mc_addr = gpu_addr; in amdgpu_cgs_get_firmware_info()

123