Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/isci/
Dunsolicited_frame_control.c109 for (i = 0; i < SCU_MAX_UNSOLICITED_FRAMES; i++) { in sci_unsolicited_frame_control_construct()
132 if (frame_index < SCU_MAX_UNSOLICITED_FRAMES) { in sci_unsolicited_frame_control_get_header()
148 if (frame_index < SCU_MAX_UNSOLICITED_FRAMES) { in sci_unsolicited_frame_control_get_buffer()
163 frame_get = uf_control->get & (SCU_MAX_UNSOLICITED_FRAMES - 1); in sci_unsolicited_frame_control_release_frame()
164 frame_cycle = uf_control->get & SCU_MAX_UNSOLICITED_FRAMES; in sci_unsolicited_frame_control_release_frame()
173 frame_get < SCU_MAX_UNSOLICITED_FRAMES) in sci_unsolicited_frame_control_release_frame()
180 BUG_ON(frame_get >= SCU_MAX_UNSOLICITED_FRAMES); in sci_unsolicited_frame_control_release_frame()
181 if (frame_index >= SCU_MAX_UNSOLICITED_FRAMES) in sci_unsolicited_frame_control_release_frame()
201 if (frame_get+1 == SCU_MAX_UNSOLICITED_FRAMES-1) { in sci_unsolicited_frame_control_release_frame()
202 frame_cycle ^= SCU_MAX_UNSOLICITED_FRAMES; in sci_unsolicited_frame_control_release_frame()
Dunsolicited_frame_control.h195 struct sci_unsolicited_frame array[SCU_MAX_UNSOLICITED_FRAMES];
260 #define SCI_UFI_BUF_SIZE (SCU_MAX_UNSOLICITED_FRAMES * SCU_UNSOLICITED_FRAME_BUFFER_SIZE)
261 #define SCI_UFI_HDR_SIZE (SCU_MAX_UNSOLICITED_FRAMES * sizeof(struct scu_unsolicited_frame_header))
262 #define SCI_UFI_TOTAL_SIZE (SCI_UFI_BUF_SIZE + SCI_UFI_HDR_SIZE + SCU_MAX_UNSOLICITED_FRAMES * size…
Disci.h90 #define SCU_MAX_UNSOLICITED_FRAMES (128) macro
94 + SCU_MAX_UNSOLICITED_FRAMES \
109 BUILD_BUG_ON(SCU_MAX_UNSOLICITED_FRAMES <= 8); in check_sizes()
110 BUILD_BUG_ON_NOT_POWER_OF_2(SCU_MAX_UNSOLICITED_FRAMES); in check_sizes()
112 BUILD_BUG_ON(SCU_MAX_UNSOLICITED_FRAMES > SCU_ABSOLUTE_MAX_UNSOLICITED_FRAMES); in check_sizes()
Dhost.c806 SCU_UFQC_GEN_VAL(QUEUE_SIZE, SCU_MAX_UNSOLICITED_FRAMES); in sci_controller_initialize_unsolicited_frame_queue()