Searched refs:rest_len (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_flash.c | 333 u32 raw_len, rest_len = fw->size - IOSM_DEVLINK_HDR_SIZE; in ipc_flash_download_region() local 346 reg_info[1] = cpu_to_le32(nand_address + rest_len - 2); in ipc_flash_download_region() 366 FLASH_WRITE_IMAGE_RAW, (u8 *)&rest_len, in ipc_flash_download_region() 372 raw_len = (rest_len > IOSM_FLS_BUF_SIZE) ? IOSM_FLS_BUF_SIZE : in ipc_flash_download_region() 373 rest_len; in ipc_flash_download_region() 381 rest_len -= raw_len; in ipc_flash_download_region() 382 } while (rest_len); in ipc_flash_download_region()
|
/openbmc/linux/drivers/net/wireless/intersil/hostap/ |
H A D | hostap_download.c | 549 u32 bufaddr, int rest_len) in prism2_download_block() argument 554 block_len = rest_len < 4096 ? rest_len : 4096; in prism2_download_block() 648 int rest_len = dl->data[i].len; in prism2_download_nonvolatile() local 651 while (rest_len > 0) { in prism2_download_nonvolatile() 657 rest_len); in prism2_download_nonvolatile() 664 rest_len -= block_len; in prism2_download_nonvolatile()
|
/openbmc/linux/net/vmw_vsock/ |
H A D | virtio_transport_common.c | 209 u32 rest_len; in virtio_transport_send_pkt_info() local 237 rest_len = pkt_len; in virtio_transport_send_pkt_info() 243 skb_len = min_t(u32, VIRTIO_VSOCK_MAX_PKT_BUF_SIZE, rest_len); in virtio_transport_send_pkt_info() 265 rest_len -= ret; in virtio_transport_send_pkt_info() 271 } while (rest_len); in virtio_transport_send_pkt_info() 273 virtio_transport_put_credit(vvs, rest_len); in virtio_transport_send_pkt_info() 276 if (rest_len != pkt_len) in virtio_transport_send_pkt_info() 277 ret = pkt_len - rest_len; in virtio_transport_send_pkt_info()
|
/openbmc/linux/fs/smb/client/ |
H A D | file.c | 2536 unsigned int rest_len = wdata->bytes; in cifs_writev_requeue() local 2545 if (wsize < rest_len) { in cifs_writev_requeue() 2550 cur_len = min(round_down(wsize, PAGE_SIZE), rest_len); in cifs_writev_requeue() 2552 cur_len = rest_len; in cifs_writev_requeue() 2595 rest_len -= cur_len; in cifs_writev_requeue() 2600 rest_len -= cur_len; in cifs_writev_requeue() 2601 } while (rest_len > 0); in cifs_writev_requeue() 2605 cifs_pages_write_failed(inode, fpos, rest_len); in cifs_writev_requeue()
|