Searched refs:reg_encode (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/net/ipa/ |
| H A D | ipa_endpoint.c | 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() [all …]
|
| H A D | ipa_resource.c | 78 val = reg_encode(reg, X_MIN_LIM, xlimits->min); in ipa_resource_config_common() 79 val |= reg_encode(reg, X_MAX_LIM, xlimits->max); in ipa_resource_config_common() 81 val |= reg_encode(reg, Y_MIN_LIM, ylimits->min); in ipa_resource_config_common() 82 val |= reg_encode(reg, Y_MAX_LIM, ylimits->max); in ipa_resource_config_common()
|
| H A D | reg.h | 102 static inline u32 reg_encode(const struct reg *reg, u32 field_id, u32 val) in reg_encode() function
|