Home
last modified time | relevance | path

Searched refs:processed (Results 1 – 25 of 61) sorted by relevance

123

/drivers/auxdisplay/
Dcharlcd.c201 int processed = 0; in handle_lcd_special_code() local
213 processed = 1; in handle_lcd_special_code()
220 processed = 1; in handle_lcd_special_code()
227 processed = 1; in handle_lcd_special_code()
234 processed = 1; in handle_lcd_special_code()
241 processed = 1; in handle_lcd_special_code()
248 processed = 1; in handle_lcd_special_code()
255 processed = 1; in handle_lcd_special_code()
262 processed = 1; in handle_lcd_special_code()
266 processed = 1; in handle_lcd_special_code()
[all …]
/drivers/crypto/nx/
Dnx-aes-ccm.c271 unsigned int processed = 0, to_process; in generate_pat() local
273 processed += iauth_len; in generate_pat()
282 to_process = min_t(u32, assoclen - processed, in generate_pat()
287 req->src, processed, in generate_pat()
290 if ((to_process + processed) < assoclen) { in generate_pat()
318 processed += to_process; in generate_pat()
319 } while (processed < assoclen); in generate_pat()
339 unsigned int processed = 0, to_process; in ccm_nx_decrypt() local
361 to_process = nbytes - processed; in ccm_nx_decrypt()
363 if ((to_process + processed) < nbytes) in ccm_nx_decrypt()
[all …]
Dnx-aes-gcm.c109 unsigned int processed = 0, to_process; in nx_gca() local
132 to_process = min_t(u64, nbytes - processed, in nx_gca()
138 req->src, processed, &to_process); in nx_gca()
140 if ((to_process + processed) < nbytes) in nx_gca()
161 processed += to_process; in nx_gca()
162 } while (processed < nbytes); in nx_gca()
177 unsigned int processed = 0, to_process; in gmac() local
199 to_process = min_t(u64, nbytes - processed, in gmac()
205 req->src, processed, &to_process); in gmac()
207 if ((to_process + processed) < nbytes) in gmac()
[all …]
Dnx-aes-ecb.c60 unsigned int processed = 0, to_process; in ecb_aes_nx_crypt() local
71 to_process = req->cryptlen - processed; in ecb_aes_nx_crypt()
74 &to_process, processed, NULL); in ecb_aes_nx_crypt()
92 processed += to_process; in ecb_aes_nx_crypt()
93 } while (processed < req->cryptlen); in ecb_aes_nx_crypt()
Dnx-aes-cbc.c60 unsigned int processed = 0, to_process; in cbc_aes_nx_crypt() local
71 to_process = req->cryptlen - processed; in cbc_aes_nx_crypt()
74 &to_process, processed, in cbc_aes_nx_crypt()
94 processed += to_process; in cbc_aes_nx_crypt()
95 } while (processed < req->cryptlen); in cbc_aes_nx_crypt()
Dnx-aes-ctr.c78 unsigned int processed = 0, to_process; in ctr_aes_nx_crypt() local
84 to_process = req->cryptlen - processed; in ctr_aes_nx_crypt()
87 &to_process, processed, in ctr_aes_nx_crypt()
108 processed += to_process; in ctr_aes_nx_crypt()
109 } while (processed < req->cryptlen); in ctr_aes_nx_crypt()
/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-net.c1045 int processed = 0; in xlgmac_tx_poll() local
1062 while ((processed < XLGMAC_TX_DESC_MAX_PROC) && in xlgmac_tx_poll()
1087 processed++; in xlgmac_tx_poll()
1091 if (!processed) in xlgmac_tx_poll()
1102 XLGMAC_PR("processed=%d\n", processed); in xlgmac_tx_poll()
1104 return processed; in xlgmac_tx_poll()
1285 int processed = 0; in xlgmac_one_poll() local
1293 processed = xlgmac_rx_poll(channel, budget); in xlgmac_one_poll()
1296 if (processed < budget) { in xlgmac_one_poll()
1298 napi_complete_done(napi, processed); in xlgmac_one_poll()
[all …]
/drivers/iio/
Dinkern.c583 int raw, int *processed, unsigned int scale) in iio_convert_raw_to_processed_unlocked() argument
622 *processed = raw * scale; in iio_convert_raw_to_processed_unlocked()
628 *processed = raw64 * scale_val * scale; in iio_convert_raw_to_processed_unlocked()
632 *processed = -raw64 * scale_val; in iio_convert_raw_to_processed_unlocked()
634 *processed = raw64 * scale_val; in iio_convert_raw_to_processed_unlocked()
635 *processed += div_s64(raw64 * (s64)scale_val2 * scale, in iio_convert_raw_to_processed_unlocked()
640 *processed = -raw64 * scale_val; in iio_convert_raw_to_processed_unlocked()
642 *processed = raw64 * scale_val; in iio_convert_raw_to_processed_unlocked()
643 *processed += div_s64(raw64 * (s64)scale_val2 * scale, in iio_convert_raw_to_processed_unlocked()
647 *processed = div_s64(raw64 * (s64)scale_val * scale, in iio_convert_raw_to_processed_unlocked()
[all …]
/drivers/infiniband/sw/siw/
Dsiw_qp_rx.c204 (wqe->processed + srx->fpdu_part_rem != wqe->bytes))) { in siw_rresp_check_ntoh()
207 wqe->processed + srx->fpdu_part_rem, wqe->bytes); in siw_rresp_check_ntoh()
301 if (unlikely(ddp_mo != wqe->processed)) { in siw_send_check_ntoh()
303 qp_id(rx_qp(srx)), ddp_mo, wqe->processed); in siw_send_check_ntoh()
316 if (unlikely(wqe->bytes < wqe->processed + srx->fpdu_part_rem)) { in siw_send_check_ntoh()
318 wqe->bytes, wqe->processed, srx->fpdu_part_rem); in siw_send_check_ntoh()
361 wqe->processed = 0; in siw_rqe_get()
500 wqe->processed += rcvd_bytes; in siw_proc_send()
520 wqe->processed += rcvd_bytes; in siw_proc_send()
692 tx_work->processed = 0; in siw_init_rresp()
[all …]
Dsiw_qp_tx.c231 wqe->processed = data; in siw_qp_prepare_tx()
461 wqe->processed += data_len; in siw_tx_hdt()
509 wqe->processed -= c_tx->bytes_unsent; in siw_tx_hdt()
564 wqe->processed -= c_tx->bytes_unsent; in siw_tx_hdt()
572 (data_len != 0 || wqe->processed < wqe->bytes)) { in siw_tx_hdt()
618 wqe->processed -= data_len; in siw_tx_hdt()
629 if (data_len > 0 && wqe->processed < wqe->bytes) { in siw_tx_hdt()
650 wqe->processed -= data_len - rv; in siw_tx_hdt()
727 c_tx->pkt.c_untagged.ddp_mo = cpu_to_be32(wqe->processed); in siw_prepare_fpdu()
730 cpu_to_be64(wqe->sqe.raddr + wqe->processed); in siw_prepare_fpdu()
[all …]
/drivers/i2c/busses/
Di2c-rk3x.c222 unsigned int processed; member
272 i2c->processed = 0; in rk3x_i2c_stop()
309 unsigned int len = i2c->msg->len - i2c->processed; in rk3x_i2c_prepare_read()
326 if (i2c->processed != 0) { in rk3x_i2c_prepare_read()
349 if ((i2c->processed == i2c->msg->len) && (cnt != 0)) in rk3x_i2c_fill_transmit_buf()
352 if (i2c->processed == 0 && cnt == 0) in rk3x_i2c_fill_transmit_buf()
355 byte = i2c->msg->buf[i2c->processed++]; in rk3x_i2c_fill_transmit_buf()
363 if (i2c->processed == i2c->msg->len) in rk3x_i2c_fill_transmit_buf()
414 if (i2c->processed == i2c->msg->len) in rk3x_i2c_handle_write()
423 unsigned int len = i2c->msg->len - i2c->processed; in rk3x_i2c_handle_read()
[all …]
/drivers/md/
Ddm-user.c804 ssize_t processed; in dev_read() local
879 processed = msg_copy_to_iov(c->cur_to_user, to); in dev_read()
880 total_processed += processed; in dev_read()
899 ssize_t processed; in dev_write() local
916 processed = msg_copy_from_iov(c->cur_from_user, from); in dev_write()
917 if (processed <= 0) { in dev_write()
919 processed); in dev_write()
923 total_processed += processed; in dev_write()
976 processed = msg_copy_from_iov(c->cur_from_user, from); in dev_write()
977 total_processed += processed; in dev_write()
/drivers/firmware/
Dqemu_fw_cfg.c802 int processed, consumed = 0; in fw_cfg_cmdline_set() local
818 processed = sscanf(str, PH_ADDR_SCAN_FMT, in fw_cfg_cmdline_set()
830 (processed != 1 && processed != 3 && processed != 4)) in fw_cfg_cmdline_set()
839 if (processed > 1) { in fw_cfg_cmdline_set()
847 if (processed > 3) { in fw_cfg_cmdline_set()
857 PLATFORM_DEVID_NONE, res, processed); in fw_cfg_cmdline_set()
/drivers/net/ethernet/apm/xgene-v2/
Dmain.c293 int processed = 0; in xge_rx_poll() local
343 processed++; in xge_rx_poll()
348 return processed; in xge_rx_poll()
514 int processed; in xge_napi() local
519 processed = xge_rx_poll(ndev, budget); in xge_napi()
521 if (processed < budget) { in xge_napi()
522 napi_complete_done(napi, processed); in xge_napi()
526 return processed; in xge_napi()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c2432 int processed = 0; in xgbe_tx_poll() local
2449 while ((processed < XGBE_TX_DESC_MAX_PROC) && in xgbe_tx_poll()
2473 processed++; in xgbe_tx_poll()
2477 if (!processed) in xgbe_tx_poll()
2488 DBGPR("<--xgbe_tx_poll: processed=%d\n", processed); in xgbe_tx_poll()
2490 return processed; in xgbe_tx_poll()
2698 int processed = 0; in xgbe_one_poll() local
2706 processed = xgbe_rx_poll(channel, budget); in xgbe_one_poll()
2709 if ((processed < budget) && napi_complete_done(napi, processed)) { in xgbe_one_poll()
2717 DBGPR("<--xgbe_one_poll: received = %d\n", processed); in xgbe_one_poll()
[all …]
/drivers/net/wan/
Dlapbether.c93 int processed = 0; in lapbeth_napi_poll() local
95 for (; processed < budget; ++processed) { in lapbeth_napi_poll()
102 if (processed < budget) in lapbeth_napi_poll()
105 return processed; in lapbeth_napi_poll()
/drivers/crypto/inside-secure/
Dsafexcel_hash.c61 u64 processed; member
72 return req->len - req->processed; in safexcel_queued_len()
143 } else if (!req->processed) { in safexcel_context_control()
167 req->hmac_zlen || (req->processed != req->block_sz)) { in safexcel_context_control()
168 count = req->processed / EIP197_COUNTER_BLOCK_SIZE; in safexcel_context_control()
186 (req->processed != req->block_sz)) { in safexcel_context_control()
280 sreq->processed = sreq->block_sz; in safexcel_handle_req_result()
358 if (unlikely(req->xcbcmac && req->processed > AES_BLOCK_SIZE)) { in safexcel_ahash_send_req()
489 req->processed += len - extra; in safexcel_ahash_send_req()
887 export->processed = req->processed; in safexcel_ahash_export()
[all …]
/drivers/net/wwan/iosm/
Diosm_ipc_imem.c288 bool processed = false; in ipc_imem_dl_pipe_process() local
314 processed = true; in ipc_imem_dl_pipe_process()
316 if (processed && !ipc_imem_check_wwan_ips(channel)) { in ipc_imem_dl_pipe_process()
320 processed = false; in ipc_imem_dl_pipe_process()
330 if (processed && (processed_td_cnt == pipe->nr_of_entries - 1)) { in ipc_imem_dl_pipe_process()
809 bool processed = false; in ipc_imem_tq_pipe_td_alloc() local
813 processed |= ipc_imem_dl_skb_alloc(ipc_imem, dl_pipe); in ipc_imem_tq_pipe_td_alloc()
818 if (processed) in ipc_imem_tq_pipe_td_alloc()
/drivers/dma/
Dimg-mdc-dma.c595 u32 val1, val2, done, processed, residue; in mdc_tx_status() local
615 processed = (val1 >> MDC_CMDS_PROCESSED_CMDS_PROCESSED_SHIFT) & in mdc_tx_status()
617 cmds = (done - processed) % in mdc_tx_status()
651 u32 val, processed, done1, done2; in mdc_get_new_events() local
655 processed = (val >> MDC_CMDS_PROCESSED_CMDS_PROCESSED_SHIFT) & in mdc_get_new_events()
682 if (done1 >= processed) in mdc_get_new_events()
683 ret = done1 - processed; in mdc_get_new_events()
686 processed) + done1; in mdc_get_new_events()
/drivers/bluetooth/
Dhci_h5.c567 int processed; in h5_recv() local
582 processed = h5->rx_func(hu, *ptr); in h5_recv()
583 if (processed < 0) in h5_recv()
584 return processed; in h5_recv()
586 ptr += processed; in h5_recv()
587 count -= processed; in h5_recv()
/drivers/crypto/chelsio/
Dchcr_crypto.h269 unsigned int processed; member
296 unsigned int processed; member
Dchcr_algo.c891 reqctx->processed + wrparam->bytes - AES_BLOCK_SIZE); in create_cipher_wr()
1104 ctr_add_iv(iv, req->iv, (reqctx->processed / in chcr_update_cipher_iv()
1108 CTR_RFC3686_IV_SIZE) = cpu_to_be32((reqctx->processed / in chcr_update_cipher_iv()
1138 ctr_add_iv(iv, req->iv, DIV_ROUND_UP(reqctx->processed, in chcr_final_cipher_iv()
1173 if (req->cryptlen == reqctx->processed) { in chcr_handle_cipher_resp()
1184 if ((bytes + reqctx->processed) >= req->cryptlen) in chcr_handle_cipher_resp()
1185 bytes = req->cryptlen - reqctx->processed; in chcr_handle_cipher_resp()
1190 bytes = req->cryptlen - reqctx->processed; in chcr_handle_cipher_resp()
1222 reqctx->processed += bytes; in chcr_handle_cipher_resp()
1256 reqctx->processed = 0; in process_cipher()
[all …]
/drivers/iio/adc/
Dab8500-gpadc.c897 int processed; in ab8500_gpadc_read_raw() local
916 processed = ab8500_gpadc_ad_to_voltage(gpadc, ch->id, raw_val); in ab8500_gpadc_read_raw()
917 if (processed < 0) in ab8500_gpadc_read_raw()
918 return processed; in ab8500_gpadc_read_raw()
921 *val = processed; in ab8500_gpadc_read_raw()
/drivers/virt/acrn/
Dioreq.c47 smp_store_release(&acrn_req->processed, ACRN_IOREQ_STATE_COMPLETE); in ioreq_complete_request()
512 if (smp_load_acquire(&req->processed) == in acrn_ioreq_dispatch()
538 smp_store_release(&req->processed, in acrn_ioreq_dispatch()
/drivers/net/ethernet/chelsio/cxgb/
Dsge.c181 unsigned int processed; /* total # of descs HW has processed */ member
693 q->processed = q->cleaned = 0; in alloc_tx_resources()
1301 unsigned int reclaim = q->processed - q->cleaned; in reclaim_completed_tx()
1305 q->processed, q->cleaned); in reclaim_completed_tx()
1410 unsigned int r = q->processed - q->cleaned; in enough_free_Tx_descs()
1449 cmdq->processed += pr0; in update_tx_info()
1457 if (cmdq->cleaned + cmdq->in_use != cmdq->processed && in update_tx_info()
1503 sge->cmdQ[1].processed += cmdq_processed[1]; in process_responses()
1547 sge->cmdQ[1].processed += cmdq_processed[1]; in process_responses()
1603 sge->cmdQ[1].processed += cmdq_processed[1]; in process_pure_responses()

123