• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/dev/isci/scil/

Lines Matching defs:uf_control

77  * @param[in,out] uf_control This parameter specifies the UF control
83 SCIC_SDS_UNSOLICITED_FRAME_CONTROL_T *uf_control
86 uf_control->address_table.count = SCU_MIN_UF_TABLE_ENTRIES;
88 (uf_control->address_table.count < uf_control->buffers.count)
89 && (uf_control->address_table.count < SCU_ABSOLUTE_MAX_UNSOLICITED_FRAMES)
92 uf_control->address_table.count <<= 1;
103 * @param[in,out] uf_control This parameter specifies the unsolicted
123 SCIC_SDS_UNSOLICITED_FRAME_CONTROL_T *uf_control,
137 uf = &uf_control->buffers.array[index];
140 uf_control->address_table.array[index], 0, 0
143 uf->header = &uf_control->headers.array[index];
153 uf = &uf_control->buffers.array[index];
155 uf_control->address_table.array[index] = uf_buffer_phys_address;
158 uf->header = &uf_control->headers.array[index];
174 * @param[in,out] uf_control This parameter specifies the unsolicited
181 * object associated with the uf_control being constructed.
186 SCIC_SDS_UNSOLICITED_FRAME_CONTROL_T *uf_control,
200 used_uf_buffer_bytes = uf_control->buffers.count
202 unused_uf_header_entries = uf_control->address_table.count
203 - uf_control->buffers.count;
204 used_uf_header_entries = uf_control->buffers.count;
223 uf_control->headers.physical_address = uf_buffer_phys_address;
225 uf_control->headers.physical_address, used_uf_buffer_bytes);
227 uf_control->headers.physical_address, unused_uf_header_bytes);
229 uf_control->headers.array = (SCU_UNSOLICITED_FRAME_HEADER_T*)
237 uf_control->address_table.physical_address = uf_buffer_phys_address;
239 uf_control->address_table.physical_address, used_uf_buffer_bytes);
241 uf_control->address_table.physical_address, used_uf_header_bytes);
243 uf_control->address_table.array = (SCI_PHYSICAL_ADDRESS*)
246 uf_control->get = 0;
258 uf_control,
270 * @param[in] uf_control
277 SCIC_SDS_UNSOLICITED_FRAME_CONTROL_T *uf_control,
282 if (frame_index < uf_control->address_table.count)
286 *frame_header = &uf_control->buffers.array[frame_index].header->data;
298 * @param[in] uf_control
305 SCIC_SDS_UNSOLICITED_FRAME_CONTROL_T *uf_control,
310 if (frame_index < uf_control->address_table.count)
312 *frame_buffer = uf_control->buffers.array[frame_index].buffer;
325 * @param[in] uf_control This parameter specifies the UF control object
337 SCIC_SDS_UNSOLICITED_FRAME_CONTROL_T *uf_control,
344 frame_get = uf_control->get & (uf_control->address_table.count - 1);
345 frame_cycle = uf_control->get & uf_control->address_table.count;
353 uf_control->address_table.array[frame_get]) == 0)
355 uf_control->address_table.array[frame_get]) == 0)
357 && (frame_get < uf_control->address_table.count)
365 ASSERT(frame_get < uf_control->address_table.count);
367 if (frame_index < uf_control->address_table.count)
369 uf_control->buffers.array[frame_index].state = UNSOLICITED_FRAME_RELEASED;
376 uf_control->buffers.array[frame_get].state
380 uf_control->buffers.array[frame_get].state = UNSOLICITED_FRAME_EMPTY;
385 uf_control->address_table.count - 1,
386 uf_control->address_table.count
390 uf_control->get =