/drivers/i2c/busses/ |
D | i2c-viperboard.c | 116 u16 remain_len, len1, len2, start = 0x0000; in vprbrd_i2c_read() local 120 remain_len = msg->len; in vprbrd_i2c_read() 122 while (remain_len > 0) { in vprbrd_i2c_read() 124 if (remain_len <= 255) { in vprbrd_i2c_read() 125 len1 = remain_len; in vprbrd_i2c_read() 127 rmsg->header.len0 = remain_len; in vprbrd_i2c_read() 133 remain_len = 0; in vprbrd_i2c_read() 134 } else if (remain_len <= 510) { in vprbrd_i2c_read() 135 len1 = remain_len; in vprbrd_i2c_read() 137 rmsg->header.len0 = remain_len - 255; in vprbrd_i2c_read() [all …]
|
/drivers/staging/r8188eu/core/ |
D | rtw_ieee80211.c | 301 uint remain_len = search_len - (remain_ies - start); in rtw_ies_remove_ie() local 303 memcpy(buf, remain_ies, remain_len); in rtw_ies_remove_ie() 304 memcpy(target_ie, buf, remain_len); in rtw_ies_remove_ie() 309 search_len = remain_len; in rtw_ies_remove_ie() 1263 uint remain_len = ielen - (next_attr - ie); in rtw_p2p_attr_remove() local 1266 memcpy(target_attr, next_attr, remain_len); in rtw_p2p_attr_remove() 1267 memset(target_attr + remain_len, 0, target_attr_len); in rtw_p2p_attr_remove() 1288 uint remain_len = bss_ex->IELength - (next_ie_ori - bss_ex->IEs); in rtw_wlan_bssid_ex_remove_p2p_attr() local 1290 memcpy(next_ie, next_ie_ori, remain_len); in rtw_wlan_bssid_ex_remove_p2p_attr() 1291 memset(next_ie + remain_len, 0, p2p_ielen_ori - p2p_ielen); in rtw_wlan_bssid_ex_remove_p2p_attr()
|
D | rtw_mlme_ext.c | 4390 u32 remain_len = 0; in update_hidden_ssid() local 4392 remain_len = ies_len - (next_ie - ies); in update_hidden_ssid() 4395 memcpy(ssid_ie + 2, next_ie, remain_len); in update_hidden_ssid()
|
/drivers/net/ethernet/pensando/ionic/ |
D | ionic_txrx.c | 359 unsigned int remain_len; in ionic_rx_fill() local 377 remain_len = len; in ionic_rx_fill() 395 remain_len -= frag_len; in ionic_rx_fill() 401 for (j = 0; remain_len > 0 && j < q->max_sg_elems; j++) { in ionic_rx_fill() 412 frag_len = min_t(u16, remain_len, min_t(u32, IONIC_MAX_BUF_LEN, in ionic_rx_fill() 416 remain_len -= frag_len; in ionic_rx_fill()
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_ieee80211.c | 239 uint remain_len = search_len - (remain_ies - start); in rtw_ies_remove_ie() local 241 memcpy(target_ie, remain_ies, remain_len); in rtw_ies_remove_ie() 246 search_len = remain_len; in rtw_ies_remove_ie()
|
D | rtw_mlme_ext.c | 2110 u32 remain_len = 0; in update_hidden_ssid() local 2112 remain_len = ies_len - (next_ie-ies); in update_hidden_ssid() 2115 memcpy(ssid_ie+2, next_ie, remain_len); in update_hidden_ssid()
|
/drivers/spi/ |
D | spi-tegra20-sflash.c | 161 unsigned remain_len = t->len - tsd->cur_pos; in tegra_sflash_calculate_curr_xfer_param() local 165 max_word = remain_len / tsd->bytes_per_word; in tegra_sflash_calculate_curr_xfer_param()
|
D | spi-tegra20-slink.c | 255 unsigned remain_len = t->len - tspi->cur_pos; in tegra_slink_calculate_curr_xfer_param() local 274 max_len = min(remain_len, tspi->max_buf_size); in tegra_slink_calculate_curr_xfer_param() 278 max_word = (remain_len - 1) / tspi->bytes_per_word + 1; in tegra_slink_calculate_curr_xfer_param()
|
D | spi-tegra210-quad.c | 228 unsigned int remain_len = t->len - tqspi->cur_pos; in tegra_qspi_calculate_curr_xfer_param() local 250 max_len = min(remain_len, tqspi->max_buf_size); in tegra_qspi_calculate_curr_xfer_param() 254 max_word = (remain_len - 1) / tqspi->bytes_per_word + 1; in tegra_qspi_calculate_curr_xfer_param()
|
D | spi-tegra114.c | 262 unsigned remain_len = t->len - tspi->cur_pos; in tegra_spi_calculate_curr_xfer_param() local 280 max_len = min(remain_len, tspi->max_buf_size); in tegra_spi_calculate_curr_xfer_param() 284 max_word = (remain_len - 1) / tspi->bytes_per_word + 1; in tegra_spi_calculate_curr_xfer_param()
|
/drivers/dma/ |
D | tegra20-apb-dma.c | 1186 size_t len, remain_len; in tegra_dma_prep_dma_cyclic() local 1260 remain_len = buf_len; in tegra_dma_prep_dma_cyclic() 1263 while (remain_len) { in tegra_dma_prep_dma_cyclic() 1284 remain_len -= len; in tegra_dma_prep_dma_cyclic()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 6208 u16 remain_len = len; in bnx2x_get_ext_phy_fw_version() local 6220 &remain_len); in bnx2x_get_ext_phy_fw_version() 6221 ver_p += (len - remain_len); in bnx2x_get_ext_phy_fw_version() 6229 remain_len--; in bnx2x_get_ext_phy_fw_version() 6233 &remain_len); in bnx2x_get_ext_phy_fw_version() 6234 ver_p = version + (len - remain_len); in bnx2x_get_ext_phy_fw_version()
|