Searched refs:remain_len (Results 1 – 6 of 6) sorted by relevance
121 u16 remain_len, bytes_xfer, len1, len2, in vprbrd_i2c_read() local126 remain_len = msg->len; in vprbrd_i2c_read()128 while (remain_len > 0) { in vprbrd_i2c_read()130 if (remain_len <= 255) { in vprbrd_i2c_read()131 len1 = remain_len; in vprbrd_i2c_read()133 rmsg->header.len0 = remain_len; in vprbrd_i2c_read()139 remain_len = 0; in vprbrd_i2c_read()140 } else if (remain_len <= 510) { in vprbrd_i2c_read()141 len1 = remain_len; in vprbrd_i2c_read()143 rmsg->header.len0 = remain_len - 255; in vprbrd_i2c_read()[all …]
1033 size_t remain_len; in tegra_dma_prep_dma_cyclic() local1106 remain_len = buf_len; in tegra_dma_prep_dma_cyclic()1109 while (remain_len) { in tegra_dma_prep_dma_cyclic()1130 remain_len -= len; in tegra_dma_prep_dma_cyclic()
173 unsigned remain_len = t->len - tsd->cur_pos; in tegra_sflash_calculate_curr_xfer_param() local177 max_word = remain_len / tsd->bytes_per_word; in tegra_sflash_calculate_curr_xfer_param()
264 unsigned remain_len = t->len - tspi->cur_pos; in tegra_spi_calculate_curr_xfer_param() local281 max_len = min(remain_len, tspi->max_buf_size); in tegra_spi_calculate_curr_xfer_param()285 max_word = (remain_len - 1) / tspi->bytes_per_word + 1; in tegra_spi_calculate_curr_xfer_param()
279 unsigned remain_len = t->len - tspi->cur_pos; in tegra_slink_calculate_curr_xfer_param() local298 max_len = min(remain_len, tspi->max_buf_size); in tegra_slink_calculate_curr_xfer_param()302 max_word = (remain_len - 1) / tspi->bytes_per_word + 1; in tegra_slink_calculate_curr_xfer_param()
6164 u16 remain_len = len; in bnx2x_get_ext_phy_fw_version() local6176 &remain_len); in bnx2x_get_ext_phy_fw_version()6177 ver_p += (len - remain_len); in bnx2x_get_ext_phy_fw_version()6185 remain_len--; in bnx2x_get_ext_phy_fw_version()6189 &remain_len); in bnx2x_get_ext_phy_fw_version()6190 ver_p = version + (len - remain_len); in bnx2x_get_ext_phy_fw_version()