Lines Matching refs:arc_cdb_size
1067 srb->arc_cdb_size = arccdbsize; in arcmsr_build_srb()
1111 u_int32_t ccb_post_stamp, arc_cdb_size, cdb_phyaddr_hi32; in arcmsr_post_srb() local
1113 arc_cdb_size = (srb->arc_cdb_size > 0x300) ? 0x300 : srb->arc_cdb_size; in arcmsr_post_srb()
1114 ccb_post_stamp = (cdb_phyaddr_low | ((arc_cdb_size-1) >> 6) | 1); in arcmsr_post_srb()
1138 pinbound_srb->length = srb->arc_cdb_size >> 2; in arcmsr_post_srb()
1156 u_int32_t ccb_post_stamp, arc_cdb_size; in arcmsr_post_srb() local
1158 arc_cdb_size = (srb->arc_cdb_size > 0x300) ? 0x300 : srb->arc_cdb_size; in arcmsr_post_srb()
1159 ccb_post_stamp = (srb->smid | ((arc_cdb_size-1) >> 6)); in arcmsr_post_srb()
1165 u_int32_t ccb_post_stamp, arc_cdb_size; in arcmsr_post_srb() local
1167 if (srb->arc_cdb_size <= 0x300) in arcmsr_post_srb()
1168 arc_cdb_size = (srb->arc_cdb_size - 1) >> 6 | 1; in arcmsr_post_srb()
1170 arc_cdb_size = ((srb->arc_cdb_size + 0xff) >> 8) + 2; in arcmsr_post_srb()
1171 if (arc_cdb_size > 0xF) in arcmsr_post_srb()
1172 arc_cdb_size = 0xF; in arcmsr_post_srb()
1173 arc_cdb_size = (arc_cdb_size << 1) | 1; in arcmsr_post_srb()
1175 ccb_post_stamp = (srb->smid | arc_cdb_size); in arcmsr_post_srb()