| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | flash.c | 190 int *s_first, int *s_last, in flash_fill_sect_ranges() argument 201 s_last [bank] = -1; /* last sector to erase */ in flash_fill_sect_ranges() 233 s_last[bank] = sect; in flash_fill_sect_ranges() 237 if (s_last[bank] < 0) { in flash_fill_sect_ranges() 239 s_last[bank] = s_end; in flash_fill_sect_ranges() 247 if (s_last[bank] < s_first[bank]) { in flash_fill_sect_ranges() 253 sect = s_last[bank]; in flash_fill_sect_ranges() 255 (*s_count) += s_last[bank] - s_first[bank] + 1; in flash_fill_sect_ranges() 260 } else if (s_last[bank] >= 0) { in flash_fill_sect_ranges() 398 int s_first[CONFIG_SYS_MAX_FLASH_BANKS], s_last[CONFIG_SYS_MAX_FLASH_BANKS]; in flash_sect_erase() local [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/ |
| H A D | cfi_mtd.c | 30 int s_last = -1; in cfi_mtd_erase() local 39 s_last = sect; in cfi_mtd_erase() 43 s_last = sect; in cfi_mtd_erase() 48 if (s_first >= 0 && s_first <= s_last) { in cfi_mtd_erase() 52 error = flash_erase(fi, s_first, s_last); in cfi_mtd_erase()
|
| H A D | pic32_flash.c | 106 int flash_erase(flash_info_t *info, int s_first, int s_last) in flash_erase() argument 118 if ((s_first < 0) || (s_first > s_last)) { in flash_erase() 124 for (sect = s_first; sect <= s_last; ++sect) { in flash_erase() 136 for (sect = s_first; sect <= s_last; sect++) { in flash_erase()
|
| H A D | st_smi.c | 532 int flash_erase(flash_info_t *info, int s_first, int s_last) in flash_erase() argument 538 if ((s_first < 0) || (s_first > s_last)) { in flash_erase() 543 for (sect = s_first; sect <= s_last; ++sect) { in flash_erase() 554 for (sect = s_first; sect <= s_last; sect++) { in flash_erase()
|
| H A D | altera_qspi.c | 84 int flash_erase(flash_info_t *info, int s_first, int s_last) in flash_erase() argument 93 instr.len = mtd->erasesize * (s_last + 1 - s_first); in flash_erase()
|
| H A D | cfi_flash.c | 1056 int flash_erase(flash_info_t *info, int s_first, int s_last) in flash_erase() argument 1067 if (s_first < 0 || s_first > s_last) { in flash_erase() 1073 for (sect = s_first; sect <= s_last; ++sect) in flash_erase() 1083 for (sect = s_first; sect <= s_last; sect++) { in flash_erase()
|
| /OK3568_Linux_fs/u-boot/board/freescale/m5253demo/ |
| H A D | flash.c | 178 int flash_erase(flash_info_t * info, int s_first, int s_last) in flash_erase() argument 185 if ((s_first < 0) || (s_first > s_last)) { in flash_erase() 207 for (sect = s_first; sect <= s_last; ++sect) { in flash_erase() 223 if ((s_last - s_first) == (CONFIG_SYS_SST_SECT - 1)) { in flash_erase() 265 for (sect = s_first; sect <= s_last; sect++) { in flash_erase()
|
| /OK3568_Linux_fs/u-boot/board/cobra5272/ |
| H A D | flash.c | 129 int flash_erase (flash_info_t * info, int s_first, int s_last) in flash_erase() argument 142 if ((s_first < 0) || (s_first > s_last)) { in flash_erase() 152 for (sect = s_first; sect <= s_last; ++sect) { in flash_erase() 175 for (sect = s_first; sect <= s_last && !ctrlc (); sect++) { in flash_erase()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/sw/rdmavt/ |
| H A D | qp.c | 632 while (qp->s_last != qp->s_head) { in rvt_clear_mr_refs() 633 struct rvt_swqe *wqe = rvt_get_swqe_ptr(qp, qp->s_last); in rvt_clear_mr_refs() 636 if (++qp->s_last >= qp->s_size) in rvt_clear_mr_refs() 637 qp->s_last = 0; in rvt_clear_mr_refs() 683 u32 s_last = qp->s_last; in rvt_qp_sends_has_lkey() local 685 while (s_last != qp->s_head) { in rvt_qp_sends_has_lkey() 686 struct rvt_swqe *wqe = rvt_get_swqe_ptr(qp, s_last); in rvt_qp_sends_has_lkey() 691 if (++s_last >= qp->s_size) in rvt_qp_sends_has_lkey() 692 s_last = 0; in rvt_qp_sends_has_lkey() 896 qp->s_last = 0; in rvt_init_qp() [all …]
|
| H A D | trace_tx.h | 126 __entry->last = qp->s_last;
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-at91/arm926ejs/ |
| H A D | eflash.c | 206 int flash_erase (flash_info_t *info, int s_first, int s_last) in flash_erase() argument 208 debug("erase first=%d last=%d\n", s_first, s_last); in flash_erase()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/ |
| H A D | uc.c | 82 if (qp->s_last == READ_ONCE(qp->s_head)) in hfi1_make_uc_req() 90 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in hfi1_make_uc_req() 134 if (qp->s_last != qp->s_cur) in hfi1_make_uc_req()
|
| H A D | rc.c | 482 if (qp->s_last == READ_ONCE(qp->s_head)) in hfi1_make_rc_req() 490 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in hfi1_make_rc_req() 491 hfi1_trdma_send_complete(qp, wqe, qp->s_last != qp->s_acked ? in hfi1_make_rc_req() 552 if (qp->s_last != qp->s_cur) in hfi1_make_rc_req() 1619 } else if (qp->s_last == qp->s_acked) { in hfi1_restart_rc() 1680 u32 n = qp->s_last; in reset_sending_psn() 1830 while (qp->s_last != qp->s_acked) { in hfi1_rc_send_complete() 1831 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in hfi1_rc_send_complete() 1836 trace_hfi1_qp_send_completion(qp, wqe, qp->s_last); in hfi1_rc_send_complete() 1882 trace_hfi1_qp_send_completion(qp, wqe, qp->s_last); in do_rc_completion() [all …]
|
| H A D | qp.c | 628 qp->s_last == qp->s_acked && in qp_idle() 651 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in qp_iter_print() 675 qp->s_last, qp->s_acked, qp->s_cur, in qp_iter_print()
|
| H A D | trace_tid.h | 878 __field(u32, s_last) 896 __entry->s_last = qp->s_last; 916 __entry->s_last,
|
| H A D | ud.c | 494 if (qp->s_last == READ_ONCE(qp->s_head)) in hfi1_make_ud_req() 501 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in hfi1_make_ud_req()
|
| H A D | tid_rdma.c | 2564 if (qp->s_last == qp->s_acked) in hfi1_rc_rcv_tid_rdma_read_resp()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/qib/ |
| H A D | qib_rc.c | 244 if (qp->s_last == READ_ONCE(qp->s_head)) in qib_make_rc_req() 251 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in qib_make_rc_req() 252 rvt_send_complete(qp, wqe, qp->s_last != qp->s_acked ? in qib_make_rc_req() 829 } else if (qp->s_last == qp->s_acked) { in qib_restart_rc() 859 u32 n = qp->s_last; in reset_sending_psn() 917 while (qp->s_last != qp->s_acked) { in qib_rc_send_complete() 918 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in qib_rc_send_complete() 1194 if (qp->s_last == qp->s_acked) { in do_rc_ack() 1465 if (qp->s_last == qp->s_acked) { in qib_rc_rcv_resp()
|
| H A D | qib_qp.c | 430 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in qib_qp_iter_print() 448 qp->s_last, qp->s_acked, qp->s_cur, in qib_qp_iter_print()
|
| H A D | qib_uc.c | 63 if (qp->s_last == READ_ONCE(qp->s_head)) in qib_make_uc_req() 70 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in qib_make_uc_req()
|
| H A D | qib_ud.c | 250 if (qp->s_last == READ_ONCE(qp->s_head)) in qib_make_ud_req() 257 wqe = rvt_get_swqe_ptr(qp, qp->s_last); in qib_make_ud_req()
|
| /OK3568_Linux_fs/kernel/include/rdma/ |
| H A D | rdmavt_qp.h | 421 u32 s_last; /* last completed entry */ member 851 last = rvt_qp_swqe_incr(qp, qp->s_last); in rvt_qp_complete_swqe() 853 smp_store_release(&qp->s_last, last); in rvt_qp_complete_swqe()
|