Lines Matching refs:ALIGN8
15 #define ALIGN8(x) ALIGN(x, 8) macro
191 return ALIGN8(sizeof(struct nfp_dump_error) + sizeof(*spec) + in nfp_dump_error_tlv_size()
199 return sizeof(struct nfp_dump_tl) + ALIGN8(fwname_len + 1); in nfp_calc_fwname_tlv_size()
216 return sizeof(struct nfp_dump_tl) + ALIGN8(key_len + strlen(value) + 2); in nfp_calc_hwinfo_field_sz()
251 return ALIGN8(offsetof(struct nfp_dump_rtsym, rtsym) + key_len + 1) + in nfp_calc_rtsym_dump_sz()
252 ALIGN8(nfp_rtsym_size(sym)); in nfp_calc_rtsym_dump_sz()
273 *size += ALIGN8(sizeof(struct nfp_dump_csr)) + in nfp_add_tlv_size()
274 ALIGN8(be32_to_cpu(spec_csr->cpp.dump_length)); in nfp_add_tlv_size()
281 *size += ALIGN8(sizeof(struct nfp_dump_csr)) + in nfp_add_tlv_size()
282 ALIGN8(be32_to_cpu(spec_csr->cpp.dump_length) * in nfp_add_tlv_size()
290 *size += sizeof(struct nfp_dump_tl) + ALIGN8(hwinfo_size); in nfp_add_tlv_size()
324 lev_sz.total_size = ALIGN8(sizeof(struct nfp_dump_prolog)); in nfp_net_dump_calculate_size()
362 total_size = ALIGN8(sizeof(*dump_header) + total_spec_size); in nfp_dump_error_tlv()
383 total_size = sizeof(*dump_header) + ALIGN8(fwname_len + 1); in nfp_dump_fwname()
405 total_size = sizeof(*dump_header) + ALIGN8(hwinfo_size); in nfp_dump_hwinfo()
436 total_size = sizeof(*dump_header) + ALIGN8(key_len + val_len + 2); in nfp_dump_hwinfo_field()
471 header_size = ALIGN8(sizeof(*dump_header)); in nfp_dump_csr_range()
473 ALIGN8(be32_to_cpu(spec_csr->cpp.dump_length)); in nfp_dump_csr_range()
575 header_size = ALIGN8(sizeof(*dump_header)); in nfp_dump_indirect_csr_range()
578 total_size = header_size + ALIGN8(reg_data_length); in nfp_dump_indirect_csr_range()
632 ALIGN8(offsetof(struct nfp_dump_rtsym, rtsym) + key_len + 1); in nfp_dump_single_rtsym()
633 total_size = header_size + ALIGN8(sym_size); in nfp_dump_single_rtsym()
737 total_size = ALIGN8(sizeof(*prolog)); in nfp_dump_populate_prolog()