Searched refs:len2 (Results 1 – 1 of 1) sorted by relevance
385 uint32_t len2; in spi_cmd_complete() local487 len2 = len + (NUM_SKIP_BYTES + NUM_RSP_BYTES + NUM_DUMMY_BYTES); in spi_cmd_complete()490 len2 = len + (NUM_RSP_BYTES + NUM_DATA_HDR_BYTES + NUM_DATA_BYTES in spi_cmd_complete()493 len2 = len + (NUM_RSP_BYTES + NUM_DATA_HDR_BYTES + NUM_DATA_BYTES in spi_cmd_complete()497 len2 = len + (NUM_RSP_BYTES + NUM_DUMMY_BYTES); in spi_cmd_complete()501 if(len2 > (sizeof(wb)/sizeof(wb[0]))) { in spi_cmd_complete()503 len2, (sizeof(wb)/sizeof(wb[0]))); in spi_cmd_complete()508 for(wix = len; wix< len2; wix++) { in spi_cmd_complete()513 if (nmi_spi_rw(wb, rb, len2) != M2M_SUCCESS) { in spi_cmd_complete()522 printk("--- cnd = %x, len=%d, len2=%d\n", cmd, len, len2); in spi_cmd_complete()[all …]