Lines Matching refs:gpr

8 	rt->gpr[ICE_GPR_TSR_IDX] = tsr;  in ice_rt_tsr_set()
13 rt->gpr[ICE_GPR_HO_IDX] = ho; in ice_rt_ho_set()
14 memcpy(&rt->gpr[ICE_GPR_HV_IDX], &rt->pkt_buf[ho], ICE_GPR_HV_SIZE); in ice_rt_ho_set()
19 rt->gpr[ICE_GPR_NP_IDX] = pc; in ice_rt_np_set()
24 rt->gpr[ICE_GPR_NN_IDX] = node; in ice_rt_nn_set()
37 rt->gpr[ICE_GPR_FLG_IDX + word] |= (u16)BIT(id); in ice_rt_flag_set()
40 rt->gpr[ICE_GPR_FLG_IDX + word] &= ~(u16)BIT(id); in ice_rt_flag_set()
52 rt->gpr[idx] = val; in ice_rt_gpr_set()
62 rt->gpr[ICE_GPR_ERR_IDX] |= (u16)BIT(idx); in ice_rt_err_set()
65 rt->gpr[ICE_GPR_ERR_IDX] &= ~(u16)BIT(idx); in ice_rt_err_set()
106 u16 ho = rt->gpr[ICE_GPR_HO_IDX]; in ice_parser_rt_pktbuf_set()
111 memcpy(&rt->gpr[ICE_GPR_HV_IDX], &rt->pkt_buf[ho], ICE_GPR_HV_SIZE); in ice_parser_rt_pktbuf_set()
117 u8 tsr = (u8)rt->gpr[ICE_GPR_TSR_IDX]; in ice_bst_key_init()
118 u16 ho = rt->gpr[ICE_GPR_HO_IDX]; in ice_bst_key_init()
164 memcpy(buf, &rt->gpr[offset], sizeof(buf)); in ice_hv_bit_sel()
181 return rt->gpr[kb->start_reg0] | in ice_pk_build()
182 ((u32)rt->gpr[kb->len_reg1] << BITS_PER_TYPE(u16)); in ice_pk_build()
196 return !!(rt->gpr[ICE_GPR_FLG_IDX + word] & (u16)BIT(id)); in ice_flag_get()
216 rt->pg_key.alu_reg = rt->gpr[imem->pg_kb.alu_reg_idx]; in ice_imem_pgk_init()
217 rt->pg_key.node_id = rt->gpr[ICE_GPR_NN_IDX]; in ice_imem_pgk_init()
282 rt->pg_key.alu_reg = rt->gpr[bst->pg_kb.alu_reg_idx]; in ice_bst_pgk_init()
283 rt->pg_key.node_id = rt->gpr[ICE_GPR_NN_IDX]; in ice_bst_pgk_init()
415 rt->po = (u16)(rt->gpr[ICE_GPR_HO_IDX] + alu->proto_offset); in ice_po_update()
417 rt->po = (u16)(rt->gpr[ICE_GPR_HO_IDX] - alu->proto_offset); in ice_po_update()
419 rt->po = rt->gpr[ICE_GPR_HO_IDX]; in ice_po_update()
433 memcpy(&val, &rt->gpr[offset], sizeof(val)); in ice_reg_bit_sel()
499 dst = rt->gpr[alu->dst_reg_id]; in ice_alu_exe()
624 ice_rt_ho_set(rt, rt->gpr[ICE_GPR_HO_IDX] + rt->action->ho_inc); in ice_alu_pg_exe()
626 ice_rt_ho_set(rt, rt->gpr[ICE_GPR_HO_IDX] - rt->action->ho_inc); in ice_alu_pg_exe()
736 memcpy(&rslt->flags_psr, &rt->gpr[ICE_GPR_FLG_IDX], in ice_result_resolve()
764 node = rt->gpr[ICE_GPR_NN_IDX]; in ice_parser_rt_execute()
771 pc = rt->gpr[ICE_GPR_NP_IDX]; in ice_parser_rt_execute()
851 if (rt->gpr[ICE_GPR_HO_IDX] >= rt->pkt_len) { in ice_parser_rt_execute()
853 rt->gpr[ICE_GPR_HO_IDX], rt->pkt_len); in ice_parser_rt_execute()