Home
last modified time | relevance | path

Searched refs:event_w_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()
6244 lstate->event_w_idx = 0; in ahc_queue_lstate_event()
6259 event = &lstate->event_buffer[lstate->event_w_idx]; in ahc_queue_lstate_event()
6263 lstate->event_w_idx++; in ahc_queue_lstate_event()
6264 if (lstate->event_w_idx == AHC_TMODE_EVENT_BUFFER_SIZE) in ahc_queue_lstate_event()
6265 lstate->event_w_idx = 0; in ahc_queue_lstate_event()
6278 while (lstate->event_r_idx != lstate->event_w_idx in ahc_send_lstate_events()
Daic7xxx.h681 uint8_t event_w_idx; member
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()
7998 lstate->event_w_idx = 0; in ahd_queue_lstate_event()
8013 event = &lstate->event_buffer[lstate->event_w_idx]; in ahd_queue_lstate_event()
8017 lstate->event_w_idx++; in ahd_queue_lstate_event()
8018 if (lstate->event_w_idx == AHD_TMODE_EVENT_BUFFER_SIZE) in ahd_queue_lstate_event()
8019 lstate->event_w_idx = 0; in ahd_queue_lstate_event()
8032 while (lstate->event_r_idx != lstate->event_w_idx in ahd_send_lstate_events()
Daic79xx.h732 uint8_t event_w_idx; member