Lines Matching refs:imem

115 			     struct ice_imem_item *imem)  in ice_bst_key_init()  argument
123 if (imem->b_kb.tsr_ctrl) in ice_bst_key_init()
126 key[idd] = imem->b_kb.prio; in ice_bst_key_init()
200 struct ice_imem_item *imem) in ice_imem_pgk_init() argument
203 rt->pg_key.next_proto = ice_pk_build(rt, &imem->np_kb); in ice_imem_pgk_init()
207 if (imem->pg_kb.flag0_ena) in ice_imem_pgk_init()
208 rt->pg_key.flag0 = ice_flag_get(rt, imem->pg_kb.flag0_idx); in ice_imem_pgk_init()
209 if (imem->pg_kb.flag1_ena) in ice_imem_pgk_init()
210 rt->pg_key.flag1 = ice_flag_get(rt, imem->pg_kb.flag1_idx); in ice_imem_pgk_init()
211 if (imem->pg_kb.flag2_ena) in ice_imem_pgk_init()
212 rt->pg_key.flag2 = ice_flag_get(rt, imem->pg_kb.flag2_idx); in ice_imem_pgk_init()
213 if (imem->pg_kb.flag3_ena) in ice_imem_pgk_init()
214 rt->pg_key.flag3 = ice_flag_get(rt, imem->pg_kb.flag3_idx); in ice_imem_pgk_init()
216 rt->pg_key.alu_reg = rt->gpr[imem->pg_kb.alu_reg_idx]; in ice_imem_pgk_init()
233 struct ice_imem_item *imem) in ice_imem_alu0_set() argument
235 rt->alu0 = &imem->alu0; in ice_imem_alu0_set()
237 imem->idx); in ice_imem_alu0_set()
241 struct ice_imem_item *imem) in ice_imem_alu1_set() argument
243 rt->alu1 = &imem->alu1; in ice_imem_alu1_set()
245 imem->idx); in ice_imem_alu1_set()
249 struct ice_imem_item *imem) in ice_imem_alu2_set() argument
251 rt->alu2 = &imem->alu2; in ice_imem_alu2_set()
253 imem->idx); in ice_imem_alu2_set()
257 struct ice_imem_item *imem) in ice_imem_pgp_set() argument
259 rt->pg_prio = imem->pg_prio; in ice_imem_pgp_set()
261 rt->pg_prio, imem->idx); in ice_imem_pgp_set()
769 struct ice_imem_item *imem; in ice_parser_rt_execute() local
772 imem = &psr->imem_table[pc]; in ice_parser_rt_execute()
776 ice_bst_key_init(rt, imem); in ice_parser_rt_execute()
780 status = ice_imem_pgk_init(rt, imem); in ice_parser_rt_execute()
783 ice_imem_alu0_set(rt, imem); in ice_parser_rt_execute()
784 ice_imem_alu1_set(rt, imem); in ice_parser_rt_execute()
785 ice_imem_alu2_set(rt, imem); in ice_parser_rt_execute()
786 ice_imem_pgp_set(rt, imem); in ice_parser_rt_execute()
790 if (imem->b_m.pg) { in ice_parser_rt_execute()
796 status = ice_imem_pgk_init(rt, imem); in ice_parser_rt_execute()
799 ice_imem_pgp_set(rt, imem); in ice_parser_rt_execute()
802 if (imem->b_m.alu0) in ice_parser_rt_execute()
805 ice_imem_alu0_set(rt, imem); in ice_parser_rt_execute()
807 if (imem->b_m.alu1) in ice_parser_rt_execute()
810 ice_imem_alu1_set(rt, imem); in ice_parser_rt_execute()
812 if (imem->b_m.alu2) in ice_parser_rt_execute()
815 ice_imem_alu2_set(rt, imem); in ice_parser_rt_execute()