• Home
  • Raw
  • Download

Lines Matching refs:sdt

3144 	struct ipr_sdt *sdt;  in ipr_get_ioa_dump()  local
3202 sdt = &ioa_dump->sdt; in ipr_get_ioa_dump()
3214 rc = ipr_get_ldump_data_section(ioa_cfg, start_addr, (__be32 *)sdt, in ipr_get_ioa_dump()
3218 if (rc || ((be32_to_cpu(sdt->hdr.state) != IPR_FMT3_SDT_READY_TO_USE) && in ipr_get_ioa_dump()
3219 (be32_to_cpu(sdt->hdr.state) != IPR_FMT2_SDT_READY_TO_USE))) { in ipr_get_ioa_dump()
3222 rc, be32_to_cpu(sdt->hdr.state)); in ipr_get_ioa_dump()
3229 num_entries = be32_to_cpu(sdt->hdr.num_entries_used); in ipr_get_ioa_dump()
3249 if (sdt->entry[i].flags & IPR_SDT_VALID_ENTRY) { in ipr_get_ioa_dump()
3250 sdt_word = be32_to_cpu(sdt->entry[i].start_token); in ipr_get_ioa_dump()
3252 bytes_to_copy = be32_to_cpu(sdt->entry[i].end_token); in ipr_get_ioa_dump()
3255 end_off = be32_to_cpu(sdt->entry[i].end_token); in ipr_get_ioa_dump()
3264 sdt->entry[i].flags &= ~IPR_SDT_VALID_ENTRY; in ipr_get_ioa_dump()
4315 sdt_end = offsetof(struct ipr_ioa_dump, sdt.entry) + in ipr_read_dump()
4316 (be32_to_cpu(dump->ioa_dump.sdt.hdr.num_entries_used) * in ipr_read_dump()
4319 sdt_end = offsetof(struct ipr_ioa_dump, sdt.entry) + in ipr_read_dump()
8556 struct ipr_uc_sdt sdt; in ipr_get_unit_check_buffer() local
8567 memset(&sdt, 0, sizeof(struct ipr_uc_sdt)); in ipr_get_unit_check_buffer()
8568 rc = ipr_get_ldump_data_section(ioa_cfg, mailbox, (__be32 *) &sdt, in ipr_get_unit_check_buffer()
8571 if (rc || !(sdt.entry[0].flags & IPR_SDT_VALID_ENTRY) || in ipr_get_unit_check_buffer()
8572 ((be32_to_cpu(sdt.hdr.state) != IPR_FMT3_SDT_READY_TO_USE) && in ipr_get_unit_check_buffer()
8573 (be32_to_cpu(sdt.hdr.state) != IPR_FMT2_SDT_READY_TO_USE))) { in ipr_get_unit_check_buffer()
8579 if (be32_to_cpu(sdt.hdr.state) == IPR_FMT3_SDT_READY_TO_USE) in ipr_get_unit_check_buffer()
8580 length = be32_to_cpu(sdt.entry[0].end_token); in ipr_get_unit_check_buffer()
8582 length = (be32_to_cpu(sdt.entry[0].end_token) - in ipr_get_unit_check_buffer()
8583 be32_to_cpu(sdt.entry[0].start_token)) & in ipr_get_unit_check_buffer()
8592 be32_to_cpu(sdt.entry[0].start_token), in ipr_get_unit_check_buffer()