Lines Matching full: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()
54 ice_debug(hw, ICE_DBG_PARSER, "Set GPR %d value %d\n", 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()
162 memcpy(buf, &rt->gpr[offset], sizeof(buf)); in ice_hv_bit_sel()
179 return rt->gpr[kb->start_reg0] | in ice_pk_build()
180 ((u32)rt->gpr[kb->len_reg1] << BITS_PER_TYPE(u16)); in ice_pk_build()
194 return !!(rt->gpr[ICE_GPR_FLG_IDX + word] & (u16)BIT(id)); in ice_flag_get()
214 rt->pg_key.alu_reg = rt->gpr[imem->pg_kb.alu_reg_idx]; in ice_imem_pgk_init()
215 rt->pg_key.node_id = rt->gpr[ICE_GPR_NN_IDX]; in ice_imem_pgk_init()
280 rt->pg_key.alu_reg = rt->gpr[bst->pg_kb.alu_reg_idx]; in ice_bst_pgk_init()
281 rt->pg_key.node_id = rt->gpr[ICE_GPR_NN_IDX]; in ice_bst_pgk_init()
413 rt->po = (u16)(rt->gpr[ICE_GPR_HO_IDX] + alu->proto_offset); in ice_po_update()
415 rt->po = (u16)(rt->gpr[ICE_GPR_HO_IDX] - alu->proto_offset); in ice_po_update()
417 rt->po = rt->gpr[ICE_GPR_HO_IDX]; in ice_po_update()
431 memcpy(&val, &rt->gpr[offset], sizeof(val)); in ice_reg_bit_sel()
497 dst = rt->gpr[alu->dst_reg_id]; in ice_alu_exe()
622 ice_rt_ho_set(rt, rt->gpr[ICE_GPR_HO_IDX] + rt->action->ho_inc); in ice_alu_pg_exe()
624 ice_rt_ho_set(rt, rt->gpr[ICE_GPR_HO_IDX] - rt->action->ho_inc); in ice_alu_pg_exe()
734 memcpy(&rslt->flags_psr, &rt->gpr[ICE_GPR_FLG_IDX], in ice_result_resolve()
762 node = rt->gpr[ICE_GPR_NN_IDX]; in ice_parser_rt_execute()
769 pc = rt->gpr[ICE_GPR_NP_IDX]; in ice_parser_rt_execute()
849 if (rt->gpr[ICE_GPR_HO_IDX] >= rt->pkt_len) { in ice_parser_rt_execute()
851 rt->gpr[ICE_GPR_HO_IDX], rt->pkt_len); in ice_parser_rt_execute()