Searched refs:dp (Results 1 – 4 of 4) sorted by relevance
154 #define CCP_CODE(dp) ((dp)[0]) argument155 #define CCP_ID(dp) ((dp)[1]) argument156 #define CCP_LENGTH(dp) (((dp)[2] << 8) + (dp)[3]) argument159 #define CCP_OPT_CODE(dp) ((dp)[0]) argument160 #define CCP_OPT_LENGTH(dp) ((dp)[1]) argument
168 #define DIRSIZ(dp) ((sizeof (struct venus_dirent) - (CODA_MAXNAMLEN+1)) + \ argument169 (((dp)->d_namlen+1 + 3) &~ 3))
127 unsigned char *dp; in fix_read_capacity() local133 dp = (unsigned char*) find_data_location(srb); in fix_read_capacity()135 capacity = (dp[0]<<24) + (dp[1]<<16) + (dp[2]<<8) + (dp[3]); in fix_read_capacity()139 dp[0] = (capacity >> 24); in fix_read_capacity()140 dp[1] = (capacity >> 16); in fix_read_capacity()141 dp[2] = (capacity >> 8); in fix_read_capacity()142 dp[3] = (capacity); in fix_read_capacity()
179 unsigned char *dp; in ms_usb_transparent_scsi_command() local190 dp = (unsigned char*) ms_usb_find_data_location(request_block); in ms_usb_transparent_scsi_command()192 capacity = (dp[0]<<24) + (dp[1]<<16) + (dp[2]<<8) + (dp[3]); in ms_usb_transparent_scsi_command()195 dp[0] = (capacity >> 24); in ms_usb_transparent_scsi_command()196 dp[1] = (capacity >> 16); in ms_usb_transparent_scsi_command()197 dp[2] = (capacity >> 8); in ms_usb_transparent_scsi_command()198 dp[3] = (capacity); in ms_usb_transparent_scsi_command()