Lines Matching refs:reg_encode

664 			val |= reg_encode(reg, CS_METADATA_HDR_OFFSET, off);  in ipa_endpoint_init_cfg()
677 val |= reg_encode(reg, CS_OFFLOAD_EN, enabled); in ipa_endpoint_init_cfg()
694 val = reg_encode(reg, NAT_EN, IPA_NAT_TYPE_BYPASS); in ipa_endpoint_init_nat()
728 val = reg_encode(reg, HDR_LEN, header_size & field_max); in ipa_header_size_encode()
737 val |= reg_encode(reg, HDR_LEN_MSB, header_size); in ipa_header_size_encode()
750 val = reg_encode(reg, HDR_OFST_METADATA, offset); in ipa_metadata_offset_encode()
759 val |= reg_encode(reg, HDR_OFST_METADATA_MSB, offset); in ipa_metadata_offset_encode()
815 val |= reg_encode(reg, HDR_OFST_PKT_SIZE, off); in ipa_endpoint_init_hdr()
859 val |= reg_encode(reg, HDR_PAD_TO_ALIGNMENT, pad_align); in ipa_endpoint_init_hdr_ext()
873 val |= reg_encode(reg, HDR_OFST_PKT_SIZE_MSB, off); in ipa_endpoint_init_hdr_ext()
917 val = reg_encode(reg, ENDP_MODE, IPA_DMA); in ipa_endpoint_init_mode()
918 val |= reg_encode(reg, DEST_PIPE_INDEX, dma_endpoint_id); in ipa_endpoint_init_mode()
920 val = reg_encode(reg, ENDP_MODE, IPA_BASIC); in ipa_endpoint_init_mode()
984 return reg_encode(reg, AGGR_GRAN_SEL, select) | in aggr_time_limit_encode()
985 reg_encode(reg, TIME_LIMIT, ticks); in aggr_time_limit_encode()
993 return reg_encode(reg, TIME_LIMIT, ticks); in aggr_time_limit_encode()
1011 val |= reg_encode(reg, AGGR_EN, IPA_ENABLE_AGGR); in ipa_endpoint_init_aggr()
1012 val |= reg_encode(reg, AGGR_TYPE, IPA_GENERIC); in ipa_endpoint_init_aggr()
1017 val |= reg_encode(reg, BYTE_LIMIT, limit); in ipa_endpoint_init_aggr()
1027 val |= reg_encode(reg, AGGR_EN, IPA_ENABLE_DEAGGR); in ipa_endpoint_init_aggr()
1028 val |= reg_encode(reg, AGGR_TYPE, IPA_QCMAP); in ipa_endpoint_init_aggr()
1034 val |= reg_encode(reg, AGGR_EN, IPA_BYPASS_AGGR); in ipa_endpoint_init_aggr()
1069 return reg_encode(reg, TIMER_GRAN_SEL, 1) | in hol_block_timer_encode()
1070 reg_encode(reg, TIMER_LIMIT, ticks); in hol_block_timer_encode()
1082 return reg_encode(reg, TIMER_BASE_VALUE, (u32)ticks); in hol_block_timer_encode()
1103 val = reg_encode(reg, TIMER_SCALE, scale); in hol_block_timer_encode()
1104 val |= reg_encode(reg, TIMER_BASE_VALUE, (u32)ticks >> scale); in hol_block_timer_encode()
1201 val = reg_encode(reg, ENDP_RSRC_GRP, resource_group); in ipa_endpoint_init_rsrc_grp()
1219 val = reg_encode(reg, SEQ_TYPE, endpoint->config.tx.seq_type); in ipa_endpoint_init_seq()
1223 val |= reg_encode(reg, SEQ_REP_TYPE, in ipa_endpoint_init_seq()
1289 val |= reg_encode(reg, STATUS_ENDP, status_endpoint_id); in ipa_endpoint_status()
1646 val = reg_encode(reg, ROUTE_DEF_PIPE, endpoint_id); in ipa_endpoint_default_route_set()
1649 val |= reg_encode(reg, ROUTE_FRAG_DEF_PIPE, endpoint_id); in ipa_endpoint_default_route_set()