Home
last modified time | relevance | path

Searched refs:event_w_idx (Results 1 – 4 of 4) sorted by relevance

/drivers/scsi/aic7xxx/
Daic7xxx_core.c6750 if (lstate->event_w_idx >= lstate->event_r_idx) in ahc_queue_lstate_event()
6751 pending = lstate->event_w_idx - lstate->event_r_idx; in ahc_queue_lstate_event()
6754 - (lstate->event_r_idx - lstate->event_w_idx); in ahc_queue_lstate_event()
6765 lstate->event_w_idx = 0; in ahc_queue_lstate_event()
6780 event = &lstate->event_buffer[lstate->event_w_idx]; in ahc_queue_lstate_event()
6784 lstate->event_w_idx++; in ahc_queue_lstate_event()
6785 if (lstate->event_w_idx == AHC_TMODE_EVENT_BUFFER_SIZE) in ahc_queue_lstate_event()
6786 lstate->event_w_idx = 0; in ahc_queue_lstate_event()
6799 while (lstate->event_r_idx != lstate->event_w_idx in ahc_send_lstate_events()
Daic7xxx.h671 uint8_t event_w_idx; member
Daic79xx.h725 uint8_t event_w_idx; member
Daic79xx_core.c9250 if (lstate->event_w_idx >= lstate->event_r_idx) in ahd_queue_lstate_event()
9251 pending = lstate->event_w_idx - lstate->event_r_idx; in ahd_queue_lstate_event()
9254 - (lstate->event_r_idx - lstate->event_w_idx); in ahd_queue_lstate_event()
9265 lstate->event_w_idx = 0; in ahd_queue_lstate_event()
9280 event = &lstate->event_buffer[lstate->event_w_idx]; in ahd_queue_lstate_event()
9284 lstate->event_w_idx++; in ahd_queue_lstate_event()
9285 if (lstate->event_w_idx == AHD_TMODE_EVENT_BUFFER_SIZE) in ahd_queue_lstate_event()
9286 lstate->event_w_idx = 0; in ahd_queue_lstate_event()
9299 while (lstate->event_r_idx != lstate->event_w_idx in ahd_send_lstate_events()