Home
last modified time | relevance | path

Searched refs:bytes_written (Results 1 – 24 of 24) sorted by relevance

/drivers/staging/rtl8188eu/os_dep/
Drtw_android.c94 int bytes_written = 0; in rtw_android_get_rssi() local
97 bytes_written += snprintf(&command[bytes_written], total_len, in rtw_android_get_rssi()
102 return bytes_written; in rtw_android_get_rssi()
153 int bytes_written = 0; in rtw_android_priv_cmd() local
189 bytes_written = rtw_android_get_rssi(net, command, in rtw_android_priv_cmd()
193 bytes_written = rtw_android_get_link_speed(net, command, in rtw_android_priv_cmd()
197 bytes_written = rtw_android_get_macaddr(net, command, in rtw_android_priv_cmd()
201 bytes_written = rtw_android_set_block(net, command, in rtw_android_priv_cmd()
227 bytes_written = android_set_cntry(net, command, in rtw_android_priv_cmd()
231 bytes_written = android_get_p2p_addr(net, command, in rtw_android_priv_cmd()
[all …]
/drivers/scsi/fnic/
Dcq_exch_desc.h63 u16 bytes_written; member
96 u32 *bytes_written, in cq_fcp_rq_desc_dec() argument
117 *bytes_written = in cq_fcp_rq_desc_dec()
118 desc_ptr->bytes_written & CQ_FCP_RQ_DESC_BYTES_WRITTEN_MASK; in cq_fcp_rq_desc_dec()
120 (desc_ptr->bytes_written & CQ_FCP_RQ_DESC_PACKET_ERR_MASK) >> in cq_fcp_rq_desc_dec()
123 (desc_ptr->bytes_written & CQ_FCP_RQ_DESC_VS_STRIPPED_MASK) >> in cq_fcp_rq_desc_dec()
Dcq_enet_desc.h96 u8 *csum_not_calc, u32 *rss_hash, u16 *bytes_written, u8 *packet_error, in cq_enet_rq_desc_dec() argument
126 *bytes_written = bytes_written_flags & in cq_enet_rq_desc_dec()
Dfnic_fcs.c806 u16 q_number, completed_index, bytes_written = 0, vlan, checksum; in fnic_rq_cmpl_frame_recv() local
839 &bytes_written, &packet_error, in fnic_rq_cmpl_frame_recv()
847 skb_trim(skb, bytes_written); in fnic_rq_cmpl_frame_recv()
/drivers/usb/misc/sisusbvga/
Dsisusb.c346 ssize_t *bytes_written, unsigned int tflags, int async) in sisusb_send_bulk_msg() argument
355 (*bytes_written) = 0; in sisusb_send_bulk_msg()
438 (*bytes_written) += passsize; in sisusb_send_bulk_msg()
449 (*bytes_written) = len; in sisusb_send_bulk_msg()
453 (*bytes_written) = transferred_len; in sisusb_send_bulk_msg()
458 return ((*bytes_written) == len) ? 0 : -EIO; in sisusb_send_bulk_msg()
785 ssize_t *bytes_written) in sisusb_write_mem_bulk() argument
801 (*bytes_written = 0); in sisusb_write_mem_bulk()
821 (*bytes_written)++; in sisusb_write_mem_bulk()
838 (*bytes_written) += 2; in sisusb_write_mem_bulk()
[all …]
Dsisusb_init.h831 u32 dest, int length, size_t * bytes_written);
/drivers/ps3/
Dps3-vuart.c364 const void *buf, unsigned int bytes, u64 *bytes_written) in ps3_vuart_raw_write() argument
370 ps3_mm_phys_to_lpar(__pa(buf)), bytes, bytes_written); in ps3_vuart_raw_write()
378 priv->stats.bytes_written += *bytes_written; in ps3_vuart_raw_write()
381 *bytes_written, bytes, priv->stats.bytes_written); in ps3_vuart_raw_write()
501 u64 bytes_written; in ps3_vuart_write() local
503 result = ps3_vuart_raw_write(dev, buf, bytes, &bytes_written); in ps3_vuart_write()
514 if (bytes_written == bytes) { in ps3_vuart_write()
520 bytes -= bytes_written; in ps3_vuart_write()
521 buf += bytes_written; in ps3_vuart_write()
744 u64 bytes_written; in ps3_vuart_handle_interrupt_tx() local
[all …]
Dvuart.h27 unsigned long bytes_written; member
/drivers/char/
Dppdev.c195 ssize_t bytes_written = 0; in pp_write() local
218 while (bytes_written < count) { in pp_write()
219 ssize_t n = min_t(unsigned long, count - bytes_written, PP_BUFFER_SIZE); in pp_write()
221 if (copy_from_user (kbuffer, buf + bytes_written, n)) { in pp_write()
222 bytes_written = -EFAULT; in pp_write()
240 if (!bytes_written) { in pp_write()
241 bytes_written = wrote; in pp_write()
246 bytes_written += wrote; in pp_write()
249 if (!bytes_written) in pp_write()
250 bytes_written = -EAGAIN; in pp_write()
[all …]
/drivers/usb/atm/
Dusbatm.c475 unsigned int bytes_written; in usbatm_write_cells() local
478 for (bytes_written = 0; bytes_written < avail_space && ctrl->len; in usbatm_write_cells()
479 bytes_written += stride, target += stride) { in usbatm_write_cells()
521 return bytes_written; in usbatm_write_cells()
588 unsigned int bytes_written = 0; in usbatm_tx_process() local
600 bytes_written = (urb->status == -EAGAIN) ? in usbatm_tx_process()
604 bytes_written += usbatm_write_cells(instance, skb, in usbatm_tx_process()
605 buffer + bytes_written, in usbatm_tx_process()
606 buf_size - bytes_written); in usbatm_tx_process()
610 __func__, bytes_written, skb, urb); in usbatm_tx_process()
[all …]
/drivers/i2c/busses/
Di2c-bcm-kona.c455 unsigned int bytes_written = 0; in bcm_kona_i2c_write_fifo() local
460 while (bytes_written < msg->len) { in bcm_kona_i2c_write_fifo()
461 if (msg->len - bytes_written <= MAX_TX_FIFO_SIZE) in bcm_kona_i2c_write_fifo()
462 bytes_to_write = msg->len - bytes_written; in bcm_kona_i2c_write_fifo()
469 bytes_written += bytes_to_write; in bcm_kona_i2c_write_fifo()
/drivers/net/ethernet/cisco/enic/
Dcq_enet_desc.h107 u8 *csum_not_calc, u32 *rss_hash, u16 *bytes_written, u8 *packet_error, in cq_enet_rq_desc_dec() argument
141 *bytes_written = bytes_written_flags & in cq_enet_rq_desc_dec()
Denic_main.c1118 u16 q_number, completed_index, bytes_written, vlan_tci, checksum; in enic_rq_indicate_buf() local
1129 &csum_not_calc, &rss_hash, &bytes_written, in enic_rq_indicate_buf()
1139 if (bytes_written > 0) in enic_rq_indicate_buf()
1141 else if (bytes_written == 0) in enic_rq_indicate_buf()
1153 if (eop && bytes_written > 0) { in enic_rq_indicate_buf()
1158 if (!enic_rxcopybreak(netdev, &skb, buf, bytes_written)) { in enic_rq_indicate_buf()
1165 skb_put(skb, bytes_written); in enic_rq_indicate_buf()
1197 bytes_written); in enic_rq_indicate_buf()
/drivers/usb/misc/
Dadutux.c518 size_t bytes_written = 0; in adu_write() local
568 retval = bytes_written ? bytes_written : retval; in adu_write()
617 bytes_written += bytes_to_write; in adu_write()
621 return bytes_written; in adu_write()
/drivers/media/pci/ivtv/
Divtv-fileops.c556 int bytes_written = 0; in ivtv_write() local
612 bytes_written += itv->dma_data_req_size; in ivtv_write()
617 IVTV_DEBUG_HI_FILE("Wrote %d bytes to %s (%d)\n", bytes_written, s->name, s->q_full.bytesused); in ivtv_write()
618 return bytes_written; in ivtv_write()
664 bytes_written += rc; in ivtv_write()
716 IVTV_DEBUG_HI_FILE("Wrote %d bytes to %s (%d)\n", bytes_written, s->name, s->q_full.bytesused); in ivtv_write()
717 return bytes_written; in ivtv_write()
Divtv-irq.c359 int bytes_written = 0; in ivtv_dma_stream_dec_prepare() local
378 (bytes_written + buf->bytesused) >= y_size) { in ivtv_dma_stream_dec_prepare()
381 s->sg_pending[idx].size = y_size - bytes_written; in ivtv_dma_stream_dec_prepare()
399 bytes_written += buf->bytesused; in ivtv_dma_stream_dec_prepare()
/drivers/crypto/ux500/cryp/
Dcryp_core.c830 int bytes_written = 0; in ablk_dma_crypt() local
854 bytes_written = cryp_dma_write(ctx, areq->src, ctx->datalen); in ablk_dma_crypt()
855 bytes_read = cryp_dma_read(ctx, areq->dst, bytes_written); in ablk_dma_crypt()
875 if (unlikely(bytes_written != bytes_read)) in ablk_dma_crypt()
/drivers/crypto/ux500/hash/
Dhash_core.c876 int bytes_written = 0; in hash_dma_final() local
933 bytes_written = hash_dma_write(ctx, req->src, req->nbytes); in hash_dma_final()
934 if (bytes_written != req->nbytes) { in hash_dma_final()
937 ret = bytes_written; in hash_dma_final()
/drivers/staging/comedi/
Dcomedi_fops.c1133 bi.bytes_written = 0; in do_bufinfo_ioctl()
1138 bi.bytes_written = 0; in do_bufinfo_ioctl()
1154 if (bi.bytes_written && (async->cmd.flags & CMDF_WRITE)) { in do_bufinfo_ioctl()
1155 bi.bytes_written = in do_bufinfo_ioctl()
1156 comedi_buf_write_alloc(s, bi.bytes_written); in do_bufinfo_ioctl()
1157 comedi_buf_write_free(s, bi.bytes_written); in do_bufinfo_ioctl()
Dcomedi.h498 unsigned int bytes_written; member
/drivers/usb/serial/
Dquatech2.c514 int bytes_written; in qt2_process_xmit_empty() local
516 bytes_written = (int)(*ch) + (int)(*(ch + 1) << 4); in qt2_process_xmit_empty()
/drivers/md/bcache/
Dbset.h375 size_t bytes_written, bytes_unwritten; member
Dsysfs.c445 op.stats.bytes_written, op.stats.bytes_unwritten, in bch_bset_print_stats()
Dbset.c1329 stats->bytes_written += bytes; in bch_btree_keys_stats()