Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/musb/
Dcppi_dma.c836 u32 bd_len; in cppi_next_rx_segment() local
849 bd_len = maxpacket; in cppi_next_rx_segment()
851 bd_len = length; in cppi_next_rx_segment()
854 addr += bd_len; in cppi_next_rx_segment()
855 rx->offset += bd_len; in cppi_next_rx_segment()
857 bd->hw_off_len = (0 /*offset*/ << 16) + bd_len; in cppi_next_rx_segment()
858 bd->buflen = bd_len; in cppi_next_rx_segment()
861 length -= bd_len; in cppi_next_rx_segment()
/linux-6.1.9/drivers/ata/
Dlibata-scsi.c3661 unsigned six_byte, pg_len, hdr_len, bd_len; in ata_scsi_mode_select_xlat() local
3707 bd_len = p[3]; in ata_scsi_mode_select_xlat()
3709 bd_len = get_unaligned_be16(&p[6]); in ata_scsi_mode_select_xlat()
3713 if (len < bd_len) in ata_scsi_mode_select_xlat()
3715 if (bd_len != 0 && bd_len != 8) { in ata_scsi_mode_select_xlat()
3717 fp += bd_len + hdr_len; in ata_scsi_mode_select_xlat()
3721 len -= bd_len; in ata_scsi_mode_select_xlat()
3722 p += bd_len; in ata_scsi_mode_select_xlat()
3752 fp += hdr_len + bd_len; in ata_scsi_mode_select_xlat()
3761 fp += hdr_len + bd_len; in ata_scsi_mode_select_xlat()
[all …]
/linux-6.1.9/drivers/scsi/
Dscsi_debug.c2342 int pcontrol, pcode, subpcode, bd_len; in resp_mode_sense() local
2361 bd_len = llbaa ? 16 : 8; in resp_mode_sense()
2363 bd_len = 0; in resp_mode_sense()
2381 arr[3] = bd_len; in resp_mode_sense()
2385 if (16 == bd_len) in resp_mode_sense()
2387 arr[7] = bd_len; /* assume 255 or less */ in resp_mode_sense()
2391 if ((bd_len > 0) && (!sdebug_capacity)) in resp_mode_sense()
2394 if (8 == bd_len) { in resp_mode_sense()
2400 offset += bd_len; in resp_mode_sense()
2402 } else if (16 == bd_len) { in resp_mode_sense()
[all …]