Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/aic7xxx/
Daic7xxx_core.c6716 if (lstate->event_w_idx >= lstate->event_r_idx) in ahc_queue_lstate_event()
6717 pending = lstate->event_w_idx - lstate->event_r_idx; in ahc_queue_lstate_event()
6720 - (lstate->event_r_idx - lstate->event_w_idx); in ahc_queue_lstate_event()
6730 lstate->event_r_idx = 0; in ahc_queue_lstate_event()
6738 lstate->event_buffer[lstate->event_r_idx].event_type, in ahc_queue_lstate_event()
6739 lstate->event_buffer[lstate->event_r_idx].event_arg); in ahc_queue_lstate_event()
6740 lstate->event_r_idx++; in ahc_queue_lstate_event()
6741 if (lstate->event_r_idx == AHC_TMODE_EVENT_BUFFER_SIZE) in ahc_queue_lstate_event()
6742 lstate->event_r_idx = 0; in ahc_queue_lstate_event()
6765 while (lstate->event_r_idx != lstate->event_w_idx in ahc_send_lstate_events()
[all …]
Daic79xx_core.c9198 if (lstate->event_w_idx >= lstate->event_r_idx) in ahd_queue_lstate_event()
9199 pending = lstate->event_w_idx - lstate->event_r_idx; in ahd_queue_lstate_event()
9202 - (lstate->event_r_idx - lstate->event_w_idx); in ahd_queue_lstate_event()
9212 lstate->event_r_idx = 0; in ahd_queue_lstate_event()
9220 lstate->event_buffer[lstate->event_r_idx].event_type, in ahd_queue_lstate_event()
9221 lstate->event_buffer[lstate->event_r_idx].event_arg); in ahd_queue_lstate_event()
9222 lstate->event_r_idx++; in ahd_queue_lstate_event()
9223 if (lstate->event_r_idx == AHD_TMODE_EVENT_BUFFER_SIZE) in ahd_queue_lstate_event()
9224 lstate->event_r_idx = 0; in ahd_queue_lstate_event()
9247 while (lstate->event_r_idx != lstate->event_w_idx in ahd_send_lstate_events()
[all …]
Daic7xxx.h667 uint8_t event_r_idx; member
Daic79xx.h721 uint8_t event_r_idx; member