Home
last modified time | relevance | path

Searched refs:remain_len (Results 1 – 6 of 6) sorted by relevance

/drivers/i2c/busses/
Di2c-viperboard.c121 u16 remain_len, bytes_xfer, len1, len2, in vprbrd_i2c_read() local
126 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 …]
/drivers/dma/
Dtegra20-apb-dma.c1033 size_t remain_len; in tegra_dma_prep_dma_cyclic() local
1106 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()
/drivers/spi/
Dspi-tegra20-sflash.c173 unsigned remain_len = t->len - tsd->cur_pos; in tegra_sflash_calculate_curr_xfer_param() local
177 max_word = remain_len / tsd->bytes_per_word; in tegra_sflash_calculate_curr_xfer_param()
Dspi-tegra114.c264 unsigned remain_len = t->len - tspi->cur_pos; in tegra_spi_calculate_curr_xfer_param() local
281 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()
Dspi-tegra20-slink.c279 unsigned remain_len = t->len - tspi->cur_pos; in tegra_slink_calculate_curr_xfer_param() local
298 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()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c6164 u16 remain_len = len; in bnx2x_get_ext_phy_fw_version() local
6176 &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()