Lines Matching refs:next_stat_mbox

532 	cs->next_stat_mbox = cs->first_stat_mbox;  in myrs_enable_mmio_mbox()
2618 struct myrs_stat_mbox *next_stat_mbox; in DAC960_GEM_intr_handler() local
2623 next_stat_mbox = cs->next_stat_mbox; in DAC960_GEM_intr_handler()
2624 while (next_stat_mbox->id > 0) { in DAC960_GEM_intr_handler()
2625 unsigned short id = next_stat_mbox->id; in DAC960_GEM_intr_handler()
2639 cmd_blk->status = next_stat_mbox->status; in DAC960_GEM_intr_handler()
2640 cmd_blk->sense_len = next_stat_mbox->sense_len; in DAC960_GEM_intr_handler()
2641 cmd_blk->residual = next_stat_mbox->residual; in DAC960_GEM_intr_handler()
2646 memset(next_stat_mbox, 0, sizeof(struct myrs_stat_mbox)); in DAC960_GEM_intr_handler()
2647 if (++next_stat_mbox > cs->last_stat_mbox) in DAC960_GEM_intr_handler()
2648 next_stat_mbox = cs->first_stat_mbox; in DAC960_GEM_intr_handler()
2657 cs->next_stat_mbox = next_stat_mbox; in DAC960_GEM_intr_handler()
2868 struct myrs_stat_mbox *next_stat_mbox; in DAC960_BA_intr_handler() local
2873 next_stat_mbox = cs->next_stat_mbox; in DAC960_BA_intr_handler()
2874 while (next_stat_mbox->id > 0) { in DAC960_BA_intr_handler()
2875 unsigned short id = next_stat_mbox->id; in DAC960_BA_intr_handler()
2889 cmd_blk->status = next_stat_mbox->status; in DAC960_BA_intr_handler()
2890 cmd_blk->sense_len = next_stat_mbox->sense_len; in DAC960_BA_intr_handler()
2891 cmd_blk->residual = next_stat_mbox->residual; in DAC960_BA_intr_handler()
2896 memset(next_stat_mbox, 0, sizeof(struct myrs_stat_mbox)); in DAC960_BA_intr_handler()
2897 if (++next_stat_mbox > cs->last_stat_mbox) in DAC960_BA_intr_handler()
2898 next_stat_mbox = cs->first_stat_mbox; in DAC960_BA_intr_handler()
2907 cs->next_stat_mbox = next_stat_mbox; in DAC960_BA_intr_handler()
3118 struct myrs_stat_mbox *next_stat_mbox; in DAC960_LP_intr_handler() local
3123 next_stat_mbox = cs->next_stat_mbox; in DAC960_LP_intr_handler()
3124 while (next_stat_mbox->id > 0) { in DAC960_LP_intr_handler()
3125 unsigned short id = next_stat_mbox->id; in DAC960_LP_intr_handler()
3139 cmd_blk->status = next_stat_mbox->status; in DAC960_LP_intr_handler()
3140 cmd_blk->sense_len = next_stat_mbox->sense_len; in DAC960_LP_intr_handler()
3141 cmd_blk->residual = next_stat_mbox->residual; in DAC960_LP_intr_handler()
3146 memset(next_stat_mbox, 0, sizeof(struct myrs_stat_mbox)); in DAC960_LP_intr_handler()
3147 if (++next_stat_mbox > cs->last_stat_mbox) in DAC960_LP_intr_handler()
3148 next_stat_mbox = cs->first_stat_mbox; in DAC960_LP_intr_handler()
3157 cs->next_stat_mbox = next_stat_mbox; in DAC960_LP_intr_handler()