Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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()
106 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega12_copy_table_to_smc()
112 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega12_copy_table_to_smc()
200 if (priv->smu_tables.entry[TABLE_PMSTATUSLOG].mc_addr) { in vega12_set_tools_address()
203 upper_32_bits(priv->smu_tables.entry[TABLE_PMSTATUSLOG].mc_addr), in vega12_set_tools_address()
207 lower_32_bits(priv->smu_tables.entry[TABLE_PMSTATUSLOG].mc_addr), in vega12_set_tools_address()
237 &priv->smu_tables.entry[TABLE_PPTABLE].mc_addr, in vega12_smu_init()
251 &priv->smu_tables.entry[TABLE_WATERMARKS].mc_addr, in vega12_smu_init()
267 &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()
231 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega20_copy_table_to_smc()
237 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega20_copy_table_to_smc()
264 upper_32_bits(priv->smu_tables.entry[TABLE_ACTIVITY_MONITOR_COEFF].mc_addr), in vega20_set_activity_monitor_coeff()
270 lower_32_bits(priv->smu_tables.entry[TABLE_ACTIVITY_MONITOR_COEFF].mc_addr), in vega20_set_activity_monitor_coeff()
294 upper_32_bits(priv->smu_tables.entry[TABLE_ACTIVITY_MONITOR_COEFF].mc_addr), in vega20_get_activity_monitor_coeff()
300 lower_32_bits(priv->smu_tables.entry[TABLE_ACTIVITY_MONITOR_COEFF].mc_addr), in vega20_get_activity_monitor_coeff()
383 if (priv->smu_tables.entry[TABLE_PMSTATUSLOG].mc_addr) { in vega20_set_tools_address()
386 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()
98 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega10_copy_table_to_smc()
102 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega10_copy_table_to_smc()
162 if (priv->smu_tables.entry[TOOLSTABLE].mc_addr) { in vega10_set_tools_address()
165 upper_32_bits(priv->smu_tables.entry[TOOLSTABLE].mc_addr), in vega10_set_tools_address()
169 lower_32_bits(priv->smu_tables.entry[TOOLSTABLE].mc_addr), in vega10_set_tools_address()
233 &priv->smu_tables.entry[PPTABLE].mc_addr, in vega10_smu_init()
248 &priv->smu_tables.entry[WMTABLE].mc_addr, in vega10_smu_init()
264 &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()
172 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr), in smu10_copy_table_to_smc()
176 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr), in smu10_copy_table_to_smc()
210 &priv->smu_tables.entry[SMU10_WMTABLE].mc_addr, in smu10_smu_fini()
213 &priv->smu_tables.entry[SMU10_CLOCKTABLE].mc_addr, in smu10_smu_fini()
258 &priv->smu_tables.entry[SMU10_WMTABLE].mc_addr, in smu10_smu_init()
274 &priv->smu_tables.entry[SMU10_CLOCKTABLE].mc_addr, in smu10_smu_init()
288 &priv->smu_tables.entry[SMU10_WMTABLE].mc_addr, in smu10_smu_init()
Dsmu7_smumgr.c301 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 …]
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
/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/
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()
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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/
Dvf.c208 static s32 ixgbevf_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr) in ixgbevf_mta_vector() argument
214 vector = ((mc_addr[4] >> 4) | (((u16)mc_addr[5]) << 4)); in ixgbevf_mta_vector()
217 vector = ((mc_addr[4] >> 3) | (((u16)mc_addr[5]) << 5)); in ixgbevf_mta_vector()
220 vector = ((mc_addr[4] >> 2) | (((u16)mc_addr[5]) << 6)); in ixgbevf_mta_vector()
223 vector = ((mc_addr[4]) | (((u16)mc_addr[5]) << 8)); in ixgbevf_mta_vector()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ucode.c470 uint64_t mc_addr, void *kptr) in amdgpu_ucode_init_single_fw() argument
481 ucode->mc_addr = mc_addr; in amdgpu_ucode_init_single_fw()
585 uint64_t mc_addr, void *kptr) in amdgpu_ucode_patch_jt() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/include/
Dcgs_common.h72 uint64_t mc_addr; member
/kernel/linux/linux-5.10/net/ipv4/
Ddatagram.c45 saddr = inet->mc_addr; in __ip4_datagram_connect()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c25 static s32 ixgbe_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr);
1995 static s32 ixgbe_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr) in ixgbe_mta_vector() argument
2001 vector = ((mc_addr[4] >> 4) | (((u16)mc_addr[5]) << 4)); in ixgbe_mta_vector()
2004 vector = ((mc_addr[4] >> 3) | (((u16)mc_addr[5]) << 5)); in ixgbe_mta_vector()
2007 vector = ((mc_addr[4] >> 2) | (((u16)mc_addr[5]) << 6)); in ixgbe_mta_vector()
2010 vector = ((mc_addr[4]) | (((u16)mc_addr[5]) << 8)); in ixgbe_mta_vector()
2029 static void ixgbe_set_mta(struct ixgbe_hw *hw, u8 *mc_addr) in ixgbe_set_mta() argument
2037 vector = ixgbe_mta_vector(hw, mc_addr); in ixgbe_set_mta()
/kernel/linux/linux-5.10/include/linux/
Digmp.h113 extern int ip_check_mc_rcu(struct in_device *dev, __be32 mc_addr, __be32 src_addr, u8 proto);
/kernel/linux/linux-5.10/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()

123