Home
last modified time | relevance | path

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

/linux/drivers/ata/
H A Dlibata-scsi.c3830 unsigned six_byte, pg_len, hdr_len, bd_len; in ata_scsi_mode_select_xlat() local
3876 bd_len = p[3]; in ata_scsi_mode_select_xlat()
3878 bd_len = get_unaligned_be16(&p[6]); in ata_scsi_mode_select_xlat()
3882 if (len < bd_len) in ata_scsi_mode_select_xlat()
3884 if (bd_len != 0 && bd_len != 8) { in ata_scsi_mode_select_xlat()
3886 fp += bd_len + hdr_len; in ata_scsi_mode_select_xlat()
3890 len -= bd_len; in ata_scsi_mode_select_xlat()
3891 p += bd_len; in ata_scsi_mode_select_xlat()
3925 fp += hdr_len + bd_len; in ata_scsi_mode_select_xlat()
3936 fp += hdr_len + bd_len; in ata_scsi_mode_select_xlat()
[all …]
/linux/drivers/scsi/
H A Dscsi_debug.c2737 int pcontrol, pcode, subpcode, bd_len; in resp_mode_sense() local
2759 bd_len = llbaa ? 16 : 8; in resp_mode_sense()
2761 bd_len = 0; in resp_mode_sense()
2778 arr[3] = bd_len; in resp_mode_sense()
2782 if (16 == bd_len) in resp_mode_sense()
2784 arr[7] = bd_len; /* assume 255 or less */ in resp_mode_sense()
2788 if ((bd_len > 0) && (!sdebug_capacity)) in resp_mode_sense()
2791 if (8 == bd_len) { in resp_mode_sense()
2797 offset += bd_len; in resp_mode_sense()
2799 } else if (16 == bd_len) { in resp_mode_sense()
[all …]