Searched refs:bd_len (Results 1 – 3 of 3) sorted by relevance
836 u32 bd_len; in cppi_next_rx_segment() local849 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()
3719 unsigned six_byte, pg_len, hdr_len, bd_len; in ata_scsi_mode_select_xlat() local3765 bd_len = p[3]; in ata_scsi_mode_select_xlat()3767 bd_len = get_unaligned_be16(&p[6]); in ata_scsi_mode_select_xlat()3771 if (len < bd_len) in ata_scsi_mode_select_xlat()3773 if (bd_len != 0 && bd_len != 8) { in ata_scsi_mode_select_xlat()3775 fp += bd_len + hdr_len; in ata_scsi_mode_select_xlat()3779 len -= bd_len; in ata_scsi_mode_select_xlat()3780 p += bd_len; in ata_scsi_mode_select_xlat()3810 fp += hdr_len + bd_len; in ata_scsi_mode_select_xlat()3819 fp += hdr_len + bd_len; in ata_scsi_mode_select_xlat()[all …]
2343 int pcontrol, pcode, subpcode, bd_len; in resp_mode_sense() local2362 bd_len = llbaa ? 16 : 8; in resp_mode_sense()2364 bd_len = 0; in resp_mode_sense()2382 arr[3] = bd_len; in resp_mode_sense()2386 if (16 == bd_len) in resp_mode_sense()2388 arr[7] = bd_len; /* assume 255 or less */ in resp_mode_sense()2392 if ((bd_len > 0) && (!sdebug_capacity)) in resp_mode_sense()2395 if (8 == bd_len) { in resp_mode_sense()2401 offset += bd_len; in resp_mode_sense()2403 } else if (16 == bd_len) { in resp_mode_sense()[all …]