Searched refs:rest_len (Results 1 – 2 of 2) sorted by relevance
333 u32 raw_len, rest_len = fw->size - IOSM_DEVLINK_HDR_SIZE; in ipc_flash_download_region() local346 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()
334 u32 rest_len; in virtio_transport_send_pkt_info() local377 rest_len = pkt_len; in virtio_transport_send_pkt_info()383 skb_len = min(max_skb_len, rest_len); in virtio_transport_send_pkt_info()399 skb_len == rest_len && info->op == VIRTIO_VSOCK_OP_RW) { in virtio_transport_send_pkt_info()421 rest_len -= ret; in virtio_transport_send_pkt_info()427 } while (rest_len); in virtio_transport_send_pkt_info()429 virtio_transport_put_credit(vvs, rest_len); in virtio_transport_send_pkt_info()432 if (rest_len != pkt_len) in virtio_transport_send_pkt_info()433 ret = pkt_len - rest_len; in virtio_transport_send_pkt_info()