Home
last modified time | relevance | path

Searched refs:fm_entry (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/sound/soc/sof/
Dipc4-loader.c26 struct sof_man4_module *fm_entry; in sof_ipc4_fw_parse_ext_man() local
89 fm_entry = (struct sof_man4_module *)((u8 *)fw_header + fw_header->len); in sof_ipc4_fw_parse_ext_man()
92 if (remaining < fw_header->num_module_entries * sizeof(*fm_entry)) { in sof_ipc4_fw_parse_ext_man()
99 (fm_entry + fw_header->num_module_entries); in sof_ipc4_fw_parse_ext_man()
100 remaining -= (fw_header->num_module_entries * sizeof(*fm_entry)); in sof_ipc4_fw_parse_ext_man()
102 memcpy(&fw_module->man4_module_entry, fm_entry, sizeof(*fm_entry)); in sof_ipc4_fw_parse_ext_man()
104 if (fm_entry->cfg_count) { in sof_ipc4_fw_parse_ext_man()
105 if (remaining < (fm_entry->cfg_offset + fm_entry->cfg_count) * in sof_ipc4_fw_parse_ext_man()
108 fm_entry->cfg_offset); in sof_ipc4_fw_parse_ext_man()
113 fw_module->bss_size = fm_config[fm_entry->cfg_offset].is_bytes; in sof_ipc4_fw_parse_ext_man()
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_switch.c2826 struct ice_fltr_mgmt_list_entry *fm_entry; in ice_create_pkt_fwd_rule() local
2837 fm_entry = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*fm_entry), in ice_create_pkt_fwd_rule()
2839 if (!fm_entry) { in ice_create_pkt_fwd_rule()
2844 fm_entry->fltr_info = f_entry->fltr_info; in ice_create_pkt_fwd_rule()
2847 fm_entry->vsi_count = 1; in ice_create_pkt_fwd_rule()
2848 fm_entry->lg_act_idx = ICE_INVAL_LG_ACT_INDEX; in ice_create_pkt_fwd_rule()
2849 fm_entry->sw_marker_id = ICE_INVAL_SW_MARKER_ID; in ice_create_pkt_fwd_rule()
2850 fm_entry->counter_index = ICE_INVAL_COUNTER_ID; in ice_create_pkt_fwd_rule()
2852 ice_fill_sw_rule(hw, &fm_entry->fltr_info, s_rule, in ice_create_pkt_fwd_rule()
2859 devm_kfree(ice_hw_to_dev(hw), fm_entry); in ice_create_pkt_fwd_rule()
[all …]