Home
last modified time | relevance | path

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

/linux/drivers/scsi/aic7xxx/
H A Daic7xxx_core.c6683 if (lstate->event_w_idx >= lstate->event_r_idx) in ahc_queue_lstate_event()
6684 pending = lstate->event_w_idx - lstate->event_r_idx; in ahc_queue_lstate_event()
6687 - (lstate->event_r_idx - lstate->event_w_idx); in ahc_queue_lstate_event()
6697 lstate->event_r_idx = 0; in ahc_queue_lstate_event()
6705 lstate->event_buffer[lstate->event_r_idx].event_type, in ahc_queue_lstate_event()
6706 lstate->event_buffer[lstate->event_r_idx].event_arg); in ahc_queue_lstate_event()
6707 lstate->event_r_idx++; in ahc_queue_lstate_event()
6708 if (lstate->event_r_idx == AHC_TMODE_EVENT_BUFFER_SIZE) in ahc_queue_lstate_event()
6709 lstate->event_r_idx = 0; in ahc_queue_lstate_event()
6732 while (lstate->event_r_idx != lstate->event_w_idx in ahc_send_lstate_events()
[all …]
H A Daic79xx_core.c9154 if (lstate->event_w_idx >= lstate->event_r_idx) in ahd_queue_lstate_event()
9155 pending = lstate->event_w_idx - lstate->event_r_idx; in ahd_queue_lstate_event()
9158 - (lstate->event_r_idx - lstate->event_w_idx); in ahd_queue_lstate_event()
9168 lstate->event_r_idx = 0; in ahd_queue_lstate_event()
9176 lstate->event_buffer[lstate->event_r_idx].event_type, in ahd_queue_lstate_event()
9177 lstate->event_buffer[lstate->event_r_idx].event_arg); in ahd_queue_lstate_event()
9178 lstate->event_r_idx++; in ahd_queue_lstate_event()
9179 if (lstate->event_r_idx == AHD_TMODE_EVENT_BUFFER_SIZE) in ahd_queue_lstate_event()
9180 lstate->event_r_idx = 0; in ahd_queue_lstate_event()
9203 while (lstate->event_r_idx != lstate->event_w_idx in ahd_send_lstate_events()
[all …]
H A Daic79xx.h721 uint8_t event_r_idx; member