Lines Matching refs:ALIGN8
15 #define ALIGN8(x) ALIGN(x, 8) macro
186 return ALIGN8(sizeof(struct nfp_dump_error) + sizeof(*spec) + in nfp_dump_error_tlv_size()
194 return sizeof(struct nfp_dump_tl) + ALIGN8(fwname_len + 1); in nfp_calc_fwname_tlv_size()
211 return sizeof(struct nfp_dump_tl) + ALIGN8(key_len + strlen(value) + 2); in nfp_calc_hwinfo_field_sz()
246 return ALIGN8(offsetof(struct nfp_dump_rtsym, rtsym) + key_len + 1) + in nfp_calc_rtsym_dump_sz()
247 ALIGN8(nfp_rtsym_size(sym)); in nfp_calc_rtsym_dump_sz()
268 *size += ALIGN8(sizeof(struct nfp_dump_csr)) + in nfp_add_tlv_size()
269 ALIGN8(be32_to_cpu(spec_csr->cpp.dump_length)); in nfp_add_tlv_size()
276 *size += ALIGN8(sizeof(struct nfp_dump_csr)) + in nfp_add_tlv_size()
277 ALIGN8(be32_to_cpu(spec_csr->cpp.dump_length) * in nfp_add_tlv_size()
285 *size += sizeof(struct nfp_dump_tl) + ALIGN8(hwinfo_size); in nfp_add_tlv_size()
319 lev_sz.total_size = ALIGN8(sizeof(struct nfp_dump_prolog)); in nfp_net_dump_calculate_size()
357 total_size = ALIGN8(sizeof(*dump_header) + total_spec_size); in nfp_dump_error_tlv()
378 total_size = sizeof(*dump_header) + ALIGN8(fwname_len + 1); in nfp_dump_fwname()
400 total_size = sizeof(*dump_header) + ALIGN8(hwinfo_size); in nfp_dump_hwinfo()
431 total_size = sizeof(*dump_header) + ALIGN8(key_len + val_len + 2); in nfp_dump_hwinfo_field()
464 header_size = ALIGN8(sizeof(*dump_header)); in nfp_dump_csr_range()
466 ALIGN8(be32_to_cpu(spec_csr->cpp.dump_length)); in nfp_dump_csr_range()
566 header_size = ALIGN8(sizeof(*dump_header)); in nfp_dump_indirect_csr_range()
569 total_size = header_size + ALIGN8(reg_data_length); in nfp_dump_indirect_csr_range()
621 ALIGN8(offsetof(struct nfp_dump_rtsym, rtsym) + key_len + 1); in nfp_dump_single_rtsym()
622 total_size = header_size + ALIGN8(sym_size); in nfp_dump_single_rtsym()
726 total_size = ALIGN8(sizeof(*prolog)); in nfp_dump_populate_prolog()