Lines Matching refs:reg_encode

661 			val |= reg_encode(reg, CS_METADATA_HDR_OFFSET, off);  in ipa_endpoint_init_cfg()
674 val |= reg_encode(reg, CS_OFFLOAD_EN, enabled); in ipa_endpoint_init_cfg()
691 val = reg_encode(reg, NAT_EN, IPA_NAT_TYPE_BYPASS); in ipa_endpoint_init_nat()
725 val = reg_encode(reg, HDR_LEN, header_size & field_max); in ipa_header_size_encode()
734 val |= reg_encode(reg, HDR_LEN_MSB, header_size); in ipa_header_size_encode()
747 val = reg_encode(reg, HDR_OFST_METADATA, offset); in ipa_metadata_offset_encode()
756 val |= reg_encode(reg, HDR_OFST_METADATA_MSB, offset); in ipa_metadata_offset_encode()
812 val |= reg_encode(reg, HDR_OFST_PKT_SIZE, off); in ipa_endpoint_init_hdr()
856 val |= reg_encode(reg, HDR_PAD_TO_ALIGNMENT, pad_align); in ipa_endpoint_init_hdr_ext()
870 val |= reg_encode(reg, HDR_OFST_PKT_SIZE_MSB, off); in ipa_endpoint_init_hdr_ext()
914 val = reg_encode(reg, ENDP_MODE, IPA_DMA); in ipa_endpoint_init_mode()
915 val |= reg_encode(reg, DEST_PIPE_INDEX, dma_endpoint_id); in ipa_endpoint_init_mode()
917 val = reg_encode(reg, ENDP_MODE, IPA_BASIC); in ipa_endpoint_init_mode()
981 return reg_encode(reg, AGGR_GRAN_SEL, select) | in aggr_time_limit_encode()
982 reg_encode(reg, TIME_LIMIT, ticks); in aggr_time_limit_encode()
990 return reg_encode(reg, TIME_LIMIT, ticks); in aggr_time_limit_encode()
1008 val |= reg_encode(reg, AGGR_EN, IPA_ENABLE_AGGR); in ipa_endpoint_init_aggr()
1009 val |= reg_encode(reg, AGGR_TYPE, IPA_GENERIC); in ipa_endpoint_init_aggr()
1014 val |= reg_encode(reg, BYTE_LIMIT, limit); in ipa_endpoint_init_aggr()
1024 val |= reg_encode(reg, AGGR_EN, IPA_ENABLE_DEAGGR); in ipa_endpoint_init_aggr()
1025 val |= reg_encode(reg, AGGR_TYPE, IPA_QCMAP); in ipa_endpoint_init_aggr()
1031 val |= reg_encode(reg, AGGR_EN, IPA_BYPASS_AGGR); in ipa_endpoint_init_aggr()
1066 return reg_encode(reg, TIMER_GRAN_SEL, 1) | in hol_block_timer_encode()
1067 reg_encode(reg, TIMER_LIMIT, ticks); in hol_block_timer_encode()
1079 return reg_encode(reg, TIMER_BASE_VALUE, (u32)ticks); in hol_block_timer_encode()
1100 val = reg_encode(reg, TIMER_SCALE, scale); in hol_block_timer_encode()
1101 val |= reg_encode(reg, TIMER_BASE_VALUE, (u32)ticks >> scale); in hol_block_timer_encode()
1198 val = reg_encode(reg, ENDP_RSRC_GRP, resource_group); in ipa_endpoint_init_rsrc_grp()
1216 val = reg_encode(reg, SEQ_TYPE, endpoint->config.tx.seq_type); in ipa_endpoint_init_seq()
1220 val |= reg_encode(reg, SEQ_REP_TYPE, in ipa_endpoint_init_seq()
1286 val |= reg_encode(reg, STATUS_ENDP, status_endpoint_id); in ipa_endpoint_status()
1643 val = reg_encode(reg, ROUTE_DEF_PIPE, endpoint_id); in ipa_endpoint_default_route_set()
1646 val |= reg_encode(reg, ROUTE_FRAG_DEF_PIPE, endpoint_id); in ipa_endpoint_default_route_set()