Lines Matching refs:ALIGN8
45 #define ALIGN8(x) ALIGN(x, 8) macro
220 return ALIGN8(sizeof(struct nfp_dump_error) + sizeof(*spec) + in nfp_dump_error_tlv_size()
228 return sizeof(struct nfp_dump_tl) + ALIGN8(fwname_len + 1); in nfp_calc_fwname_tlv_size()
245 return sizeof(struct nfp_dump_tl) + ALIGN8(key_len + strlen(value) + 2); in nfp_calc_hwinfo_field_sz()
286 return ALIGN8(offsetof(struct nfp_dump_rtsym, rtsym) + key_len + 1) + in nfp_calc_rtsym_dump_sz()
287 ALIGN8(size); in nfp_calc_rtsym_dump_sz()
308 *size += ALIGN8(sizeof(struct nfp_dump_csr)) + in nfp_add_tlv_size()
309 ALIGN8(be32_to_cpu(spec_csr->cpp.dump_length)); in nfp_add_tlv_size()
316 *size += ALIGN8(sizeof(struct nfp_dump_csr)) + in nfp_add_tlv_size()
317 ALIGN8(be32_to_cpu(spec_csr->cpp.dump_length) * in nfp_add_tlv_size()
325 *size += sizeof(struct nfp_dump_tl) + ALIGN8(hwinfo_size); in nfp_add_tlv_size()
359 lev_sz.total_size = ALIGN8(sizeof(struct nfp_dump_prolog)); in nfp_net_dump_calculate_size()
397 total_size = ALIGN8(sizeof(*dump_header) + total_spec_size); in nfp_dump_error_tlv()
418 total_size = sizeof(*dump_header) + ALIGN8(fwname_len + 1); in nfp_dump_fwname()
440 total_size = sizeof(*dump_header) + ALIGN8(hwinfo_size); in nfp_dump_hwinfo()
471 total_size = sizeof(*dump_header) + ALIGN8(key_len + val_len + 2); in nfp_dump_hwinfo_field()
504 header_size = ALIGN8(sizeof(*dump_header)); in nfp_dump_csr_range()
506 ALIGN8(be32_to_cpu(spec_csr->cpp.dump_length)); in nfp_dump_csr_range()
606 header_size = ALIGN8(sizeof(*dump_header)); in nfp_dump_indirect_csr_range()
609 total_size = header_size + ALIGN8(reg_data_length); in nfp_dump_indirect_csr_range()
666 ALIGN8(offsetof(struct nfp_dump_rtsym, rtsym) + key_len + 1); in nfp_dump_single_rtsym()
667 total_size = header_size + ALIGN8(sym_size); in nfp_dump_single_rtsym()
774 total_size = ALIGN8(sizeof(*prolog)); in nfp_dump_populate_prolog()