Lines Matching refs:next_stat_mbox
531 cs->next_stat_mbox = cs->first_stat_mbox; in myrs_enable_mmio_mbox()
2576 struct myrs_stat_mbox *next_stat_mbox; in DAC960_GEM_intr_handler() local
2581 next_stat_mbox = cs->next_stat_mbox; in DAC960_GEM_intr_handler()
2582 while (next_stat_mbox->id > 0) { in DAC960_GEM_intr_handler()
2583 unsigned short id = next_stat_mbox->id; in DAC960_GEM_intr_handler()
2597 cmd_blk->status = next_stat_mbox->status; in DAC960_GEM_intr_handler()
2598 cmd_blk->sense_len = next_stat_mbox->sense_len; in DAC960_GEM_intr_handler()
2599 cmd_blk->residual = next_stat_mbox->residual; in DAC960_GEM_intr_handler()
2604 memset(next_stat_mbox, 0, sizeof(struct myrs_stat_mbox)); in DAC960_GEM_intr_handler()
2605 if (++next_stat_mbox > cs->last_stat_mbox) in DAC960_GEM_intr_handler()
2606 next_stat_mbox = cs->first_stat_mbox; in DAC960_GEM_intr_handler()
2615 cs->next_stat_mbox = next_stat_mbox; in DAC960_GEM_intr_handler()
2795 struct myrs_stat_mbox *next_stat_mbox; in DAC960_BA_intr_handler() local
2800 next_stat_mbox = cs->next_stat_mbox; in DAC960_BA_intr_handler()
2801 while (next_stat_mbox->id > 0) { in DAC960_BA_intr_handler()
2802 unsigned short id = next_stat_mbox->id; in DAC960_BA_intr_handler()
2816 cmd_blk->status = next_stat_mbox->status; in DAC960_BA_intr_handler()
2817 cmd_blk->sense_len = next_stat_mbox->sense_len; in DAC960_BA_intr_handler()
2818 cmd_blk->residual = next_stat_mbox->residual; in DAC960_BA_intr_handler()
2823 memset(next_stat_mbox, 0, sizeof(struct myrs_stat_mbox)); in DAC960_BA_intr_handler()
2824 if (++next_stat_mbox > cs->last_stat_mbox) in DAC960_BA_intr_handler()
2825 next_stat_mbox = cs->first_stat_mbox; in DAC960_BA_intr_handler()
2834 cs->next_stat_mbox = next_stat_mbox; in DAC960_BA_intr_handler()
3014 struct myrs_stat_mbox *next_stat_mbox; in DAC960_LP_intr_handler() local
3019 next_stat_mbox = cs->next_stat_mbox; in DAC960_LP_intr_handler()
3020 while (next_stat_mbox->id > 0) { in DAC960_LP_intr_handler()
3021 unsigned short id = next_stat_mbox->id; in DAC960_LP_intr_handler()
3035 cmd_blk->status = next_stat_mbox->status; in DAC960_LP_intr_handler()
3036 cmd_blk->sense_len = next_stat_mbox->sense_len; in DAC960_LP_intr_handler()
3037 cmd_blk->residual = next_stat_mbox->residual; in DAC960_LP_intr_handler()
3042 memset(next_stat_mbox, 0, sizeof(struct myrs_stat_mbox)); in DAC960_LP_intr_handler()
3043 if (++next_stat_mbox > cs->last_stat_mbox) in DAC960_LP_intr_handler()
3044 next_stat_mbox = cs->first_stat_mbox; in DAC960_LP_intr_handler()
3053 cs->next_stat_mbox = next_stat_mbox; in DAC960_LP_intr_handler()