Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/storage/
Dene_ub6250.c470 u32 bl_num; member
633 u32 bl_num; in sd_scsi_read_capacity() local
644 bl_num = info->HC_C_SIZE-1; in sd_scsi_read_capacity()
646 bl_num = (info->HC_C_SIZE + 1) * 1024 - 1; in sd_scsi_read_capacity()
649 bl_num = info->SD_Block_Mult * (info->SD_C_SIZE + 1) in sd_scsi_read_capacity()
652 info->bl_num = bl_num; in sd_scsi_read_capacity()
654 usb_stor_dbg(us, "bl_num = %x\n", bl_num); in sd_scsi_read_capacity()
657 buf[0] = (bl_num >> 24) & 0xff; in sd_scsi_read_capacity()
658 buf[1] = (bl_num >> 16) & 0xff; in sd_scsi_read_capacity()
659 buf[2] = (bl_num >> 8) & 0xff; in sd_scsi_read_capacity()
[all …]