Searched refs:fm_entry (Results 1 – 2 of 2) sorted by relevance
29 struct sof_man4_module *fm_entry; in sof_ipc4_fw_parse_ext_man() local92 fm_entry = (struct sof_man4_module *)((u8 *)fw_header + fw_header->len); in sof_ipc4_fw_parse_ext_man()95 if (remaining < fw_header->num_module_entries * sizeof(*fm_entry)) { in sof_ipc4_fw_parse_ext_man()102 (fm_entry + fw_header->num_module_entries); in sof_ipc4_fw_parse_ext_man()103 remaining -= (fw_header->num_module_entries * sizeof(*fm_entry)); in sof_ipc4_fw_parse_ext_man()105 memcpy(&fw_module->man4_module_entry, fm_entry, sizeof(*fm_entry)); in sof_ipc4_fw_parse_ext_man()107 if (fm_entry->cfg_count) { in sof_ipc4_fw_parse_ext_man()108 if (remaining < (fm_entry->cfg_offset + fm_entry->cfg_count) * in sof_ipc4_fw_parse_ext_man()111 fm_entry->cfg_offset); in sof_ipc4_fw_parse_ext_man()115 fw_module->fw_mod_cfg = &fm_config[fm_entry->cfg_offset]; in sof_ipc4_fw_parse_ext_man()[all …]
2848 struct ice_fltr_mgmt_list_entry *fm_entry; in ice_create_pkt_fwd_rule() local2859 fm_entry = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*fm_entry), in ice_create_pkt_fwd_rule()2861 if (!fm_entry) { in ice_create_pkt_fwd_rule()2866 fm_entry->fltr_info = f_entry->fltr_info; in ice_create_pkt_fwd_rule()2869 fm_entry->vsi_count = 1; in ice_create_pkt_fwd_rule()2870 fm_entry->lg_act_idx = ICE_INVAL_LG_ACT_INDEX; in ice_create_pkt_fwd_rule()2871 fm_entry->sw_marker_id = ICE_INVAL_SW_MARKER_ID; in ice_create_pkt_fwd_rule()2872 fm_entry->counter_index = ICE_INVAL_COUNTER_ID; in ice_create_pkt_fwd_rule()2874 ice_fill_sw_rule(hw, &fm_entry->fltr_info, s_rule, in ice_create_pkt_fwd_rule()2881 devm_kfree(ice_hw_to_dev(hw), fm_entry); in ice_create_pkt_fwd_rule()[all …]