Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/scsi/aic7xxx/
Daic7xxx_core.c6229 if (lstate->event_w_idx >= lstate->event_r_idx) in ahc_queue_lstate_event()
6230 pending = lstate->event_w_idx - lstate->event_r_idx; in ahc_queue_lstate_event()
6233 - (lstate->event_r_idx - lstate->event_w_idx); in ahc_queue_lstate_event()
6243 lstate->event_r_idx = 0; in ahc_queue_lstate_event()
6251 lstate->event_buffer[lstate->event_r_idx].event_type, in ahc_queue_lstate_event()
6252 lstate->event_buffer[lstate->event_r_idx].event_arg); in ahc_queue_lstate_event()
6253 lstate->event_r_idx++; in ahc_queue_lstate_event()
6254 if (lstate->event_r_idx == AHC_TMODE_EVENT_BUFFER_SIZE) in ahc_queue_lstate_event()
6255 lstate->event_r_idx = 0; in ahc_queue_lstate_event()
6278 while (lstate->event_r_idx != lstate->event_w_idx in ahc_send_lstate_events()
[all …]
Daic79xx_core.c7983 if (lstate->event_w_idx >= lstate->event_r_idx) in ahd_queue_lstate_event()
7984 pending = lstate->event_w_idx - lstate->event_r_idx; in ahd_queue_lstate_event()
7987 - (lstate->event_r_idx - lstate->event_w_idx); in ahd_queue_lstate_event()
7997 lstate->event_r_idx = 0; in ahd_queue_lstate_event()
8005 lstate->event_buffer[lstate->event_r_idx].event_type, in ahd_queue_lstate_event()
8006 lstate->event_buffer[lstate->event_r_idx].event_arg); in ahd_queue_lstate_event()
8007 lstate->event_r_idx++; in ahd_queue_lstate_event()
8008 if (lstate->event_r_idx == AHD_TMODE_EVENT_BUFFER_SIZE) in ahd_queue_lstate_event()
8009 lstate->event_r_idx = 0; in ahd_queue_lstate_event()
8032 while (lstate->event_r_idx != lstate->event_w_idx in ahd_send_lstate_events()
[all …]
Daic7xxx.h680 uint8_t event_r_idx; member
Daic79xx.h731 uint8_t event_r_idx; member