Searched refs:bd_len (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/drivers/usb/musb/ |
H A D | cppi_dma.c | 837 u32 bd_len; cppi_next_rx_segment() local 850 bd_len = maxpacket; cppi_next_rx_segment() 852 bd_len = length; cppi_next_rx_segment() 855 addr += bd_len; cppi_next_rx_segment() 856 rx->offset += bd_len; cppi_next_rx_segment() 858 bd->hw_off_len = (0 /*offset*/ << 16) + bd_len; cppi_next_rx_segment() 859 bd->buflen = bd_len; cppi_next_rx_segment() 862 length -= bd_len; cppi_next_rx_segment()
|
/linux-4.1.27/drivers/block/ |
H A D | nvme-scsi.c | 1632 u16 *bd_len, u8 *llbaa) nvme_trans_modesel_get_bd_len() 1636 *bd_len = (parm_list[MODE_SELECT_10_BD_OFFSET] << 8) + nvme_trans_modesel_get_bd_len() 1642 *bd_len = parm_list[MODE_SELECT_6_BD_OFFSET]; nvme_trans_modesel_get_bd_len() 1647 u16 idx, u16 bd_len, u8 llbaa) nvme_trans_modesel_save_bd() 1651 bd_num = bd_len / ((llbaa == 0) ? nvme_trans_modesel_save_bd() 1740 u16 bd_len; nvme_trans_modesel_data() local 1757 nvme_trans_modesel_get_bd_len(parm_list, cdb10, &bd_len, &llbaa); nvme_trans_modesel_data() 1760 if (bd_len != 0) { nvme_trans_modesel_data() 1762 nvme_trans_modesel_save_bd(ns, parm_list, index, bd_len, llbaa); nvme_trans_modesel_data() 1763 index += bd_len; nvme_trans_modesel_data() 1631 nvme_trans_modesel_get_bd_len(u8 *parm_list, u8 cdb10, u16 *bd_len, u8 *llbaa) nvme_trans_modesel_get_bd_len() argument 1646 nvme_trans_modesel_save_bd(struct nvme_ns *ns, u8 *parm_list, u16 idx, u16 bd_len, u8 llbaa) nvme_trans_modesel_save_bd() argument
|
/linux-4.1.27/drivers/scsi/ |
H A D | scsi_debug.c | 2004 int pcontrol, pcode, subpcode, bd_len; resp_mode_sense() local 2019 bd_len = llbaa ? 16 : 8; resp_mode_sense() 2021 bd_len = 0; resp_mode_sense() 2037 arr[3] = bd_len; resp_mode_sense() 2041 if (16 == bd_len) resp_mode_sense() 2043 arr[7] = bd_len; /* assume 255 or less */ resp_mode_sense() 2047 if ((bd_len > 0) && (!sdebug_capacity)) resp_mode_sense() 2050 if (8 == bd_len) { resp_mode_sense() 2064 offset += bd_len; resp_mode_sense() 2066 } else if (16 == bd_len) { resp_mode_sense() 2075 offset += bd_len; resp_mode_sense() 2162 int pf, sp, ps, md_len, bd_len, off, spf, pg_len; resp_mode_select() local 2185 bd_len = mselect6 ? arr[3] : ((arr[6] << 8) + arr[7]); resp_mode_select() 2190 off = bd_len + (mselect6 ? 4 : 8); resp_mode_select()
|
/linux-4.1.27/drivers/ata/ |
H A D | libata-scsi.c | 3251 unsigned six_byte, pg_len, hdr_len, bd_len; ata_scsi_mode_select_xlat() local 3286 bd_len = p[3]; ata_scsi_mode_select_xlat() 3288 bd_len = (p[6] << 8) + p[7]; ata_scsi_mode_select_xlat() 3292 if (len < bd_len) ata_scsi_mode_select_xlat() 3294 if (bd_len != 0 && bd_len != 8) ata_scsi_mode_select_xlat() 3297 len -= bd_len; ata_scsi_mode_select_xlat() 3298 p += bd_len; ata_scsi_mode_select_xlat()
|
Completed in 653 milliseconds