Lines Matching refs:ADV_SG_BLOCK
956 * command uses one or more ADV_SG_BLOCK each with 15 scatter-gather
957 * elements. Allow each command to have at least one ADV_SG_BLOCK structure.
958 * This allows about 15 commands to have the maximum 17 ADV_SG_BLOCK
1804 } ADV_SG_BLOCK;
1845 ADV_SG_BLOCK *sg_list_ptr; /* SG list virtual address. */
1859 * Zero or more ADV_SG_BLOCK are used with each ADV_SCSI_REQ_Q. Each
1860 * ADV_SG_BLOCK structure holds 15 scatter-gather elements. Under Linux
1867 ADV_SG_BLOCK sg_block; /* Sgblock structure. */
2144 (sizeof(ADV_SG_BLOCK) * \
2640 * Display an ADV_SG_BLOCK structure.
2642 static void asc_prt_adv_sgblock(int sgblockno, ADV_SG_BLOCK *b)
2693 /* Display the request's ADV_SG_BLOCK structures. */
2698 &(((ADV_SG_BLOCK *)(q->sg_list_ptr))[sg_blk_cnt]);
8433 * Additional ADV_SG_BLOCK structures will need to be allocated
8435 * NO_OF_SG_PER_BLOCK (15). The ADV_SG_BLOCK structures are
8450 ADV_SG_BLOCK *sg_block, *prev_sg_block;
8491 * for the allocated ADV_SG_BLOCK structure.
8493 sg_block = (ADV_SG_BLOCK *)ADV_8BALIGN(&sgblkp->sg_block);
8505 * Set ADV_SCSI_REQ_T ADV_SG_BLOCK virtual and physical
8516 * Point the previous ADV_SG_BLOCK structure to
8517 * the newly allocated ADV_SG_BLOCK structure.
8530 if (--sg_elem_cnt == 0) { /* Last ADV_SG_BLOCK and scatter-gather entry. */
8532 sg_block->sg_ptr = 0L; /* Last ADV_SG_BLOCK in list. */
8577 * Get 32-byte aligned ADV_SCSI_REQ_Q and ADV_SG_BLOCK pointers.