Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/aic7xxx/
Daic7xxx.h668 uint8_t event_w_idx; member
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()
6698 lstate->event_w_idx = 0; in ahc_queue_lstate_event()
6713 event = &lstate->event_buffer[lstate->event_w_idx]; in ahc_queue_lstate_event()
6717 lstate->event_w_idx++; in ahc_queue_lstate_event()
6718 if (lstate->event_w_idx == AHC_TMODE_EVENT_BUFFER_SIZE) in ahc_queue_lstate_event()
6719 lstate->event_w_idx = 0; in ahc_queue_lstate_event()
6732 while (lstate->event_r_idx != lstate->event_w_idx in ahc_send_lstate_events()
Daic79xx.h722 uint8_t event_w_idx; member
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()
9169 lstate->event_w_idx = 0; in ahd_queue_lstate_event()
9184 event = &lstate->event_buffer[lstate->event_w_idx]; in ahd_queue_lstate_event()
9188 lstate->event_w_idx++; in ahd_queue_lstate_event()
9189 if (lstate->event_w_idx == AHD_TMODE_EVENT_BUFFER_SIZE) in ahd_queue_lstate_event()
9190 lstate->event_w_idx = 0; in ahd_queue_lstate_event()
9203 while (lstate->event_r_idx != lstate->event_w_idx in ahd_send_lstate_events()