Home
last modified time | relevance | path

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

12

/drivers/crypto/nx/
Dnx-aes-ccm.c283 unsigned int processed = 0, to_process; in generate_pat() local
285 processed += iauth_len; in generate_pat()
294 to_process = min_t(u32, assoclen - processed, in generate_pat()
299 req->src, processed, in generate_pat()
302 if ((to_process + processed) < assoclen) { in generate_pat()
330 processed += to_process; in generate_pat()
331 } while (processed < assoclen); in generate_pat()
351 unsigned int processed = 0, to_process; in ccm_nx_decrypt() local
373 to_process = nbytes - processed; in ccm_nx_decrypt()
375 if ((to_process + processed) < nbytes) in ccm_nx_decrypt()
[all …]
Dnx-aes-gcm.c120 unsigned int processed = 0, to_process; in nx_gca() local
143 to_process = min_t(u64, nbytes - processed, in nx_gca()
149 req->src, processed, &to_process); in nx_gca()
151 if ((to_process + processed) < nbytes) in nx_gca()
172 processed += to_process; in nx_gca()
173 } while (processed < nbytes); in nx_gca()
189 unsigned int processed = 0, to_process; in gmac() local
211 to_process = min_t(u64, nbytes - processed, in gmac()
217 req->src, processed, &to_process); in gmac()
219 if ((to_process + processed) < nbytes) in gmac()
[all …]
Dnx-aes-ecb.c74 unsigned int processed = 0, to_process; in ecb_aes_nx_crypt() local
85 to_process = nbytes - processed; in ecb_aes_nx_crypt()
88 processed, NULL); in ecb_aes_nx_crypt()
106 processed += to_process; in ecb_aes_nx_crypt()
107 } while (processed < nbytes); in ecb_aes_nx_crypt()
Dnx-aes-cbc.c74 unsigned int processed = 0, to_process; in cbc_aes_nx_crypt() local
85 to_process = nbytes - processed; in cbc_aes_nx_crypt()
88 processed, csbcpb->cpb.aes_cbc.iv); in cbc_aes_nx_crypt()
107 processed += to_process; in cbc_aes_nx_crypt()
108 } while (processed < nbytes); in cbc_aes_nx_crypt()
Dnx-aes-ctr.c92 unsigned int processed = 0, to_process; in ctr_aes_nx_crypt() local
98 to_process = nbytes - processed; in ctr_aes_nx_crypt()
101 processed, csbcpb->cpb.aes_ctr.iv); in ctr_aes_nx_crypt()
121 processed += to_process; in ctr_aes_nx_crypt()
122 } while (processed < nbytes); in ctr_aes_nx_crypt()
/drivers/usb/host/whci/
Dint.c71 int processed = 0; in process_dn_buf() local
79 processed++; in process_dn_buf()
82 return processed; in process_dn_buf()
88 int processed; in whc_dn_work() local
91 processed = process_dn_buf(whc); in whc_dn_work()
92 } while (processed); in whc_dn_work()
/drivers/misc/
Dpanel.c1071 int processed = 0; in handle_lcd_special_code() local
1080 processed = 1; in handle_lcd_special_code()
1084 processed = 1; in handle_lcd_special_code()
1088 processed = 1; in handle_lcd_special_code()
1092 processed = 1; in handle_lcd_special_code()
1096 processed = 1; in handle_lcd_special_code()
1100 processed = 1; in handle_lcd_special_code()
1104 processed = 1; in handle_lcd_special_code()
1108 processed = 1; in handle_lcd_special_code()
1118 processed = 1; in handle_lcd_special_code()
[all …]
/drivers/iio/
Dinkern.c592 int raw, int *processed, unsigned int scale) in iio_convert_raw_to_processed_unlocked() argument
609 *processed = raw64 * scale_val; in iio_convert_raw_to_processed_unlocked()
613 *processed = -raw64 * scale_val; in iio_convert_raw_to_processed_unlocked()
615 *processed = raw64 * scale_val; in iio_convert_raw_to_processed_unlocked()
616 *processed += div_s64(raw64 * (s64)scale_val2 * scale, in iio_convert_raw_to_processed_unlocked()
621 *processed = -raw64 * scale_val; in iio_convert_raw_to_processed_unlocked()
623 *processed = raw64 * scale_val; in iio_convert_raw_to_processed_unlocked()
624 *processed += div_s64(raw64 * (s64)scale_val2 * scale, in iio_convert_raw_to_processed_unlocked()
628 *processed = div_s64(raw64 * (s64)scale_val * scale, in iio_convert_raw_to_processed_unlocked()
632 *processed = (raw64 * (s64)scale_val * scale) >> scale_val2; in iio_convert_raw_to_processed_unlocked()
[all …]
/drivers/i2c/busses/
Di2c-rk3x.c221 unsigned int processed; member
270 i2c->processed = 0; in rk3x_i2c_stop()
306 unsigned int len = i2c->msg->len - i2c->processed; in rk3x_i2c_prepare_read()
323 if (i2c->processed != 0) { in rk3x_i2c_prepare_read()
345 if ((i2c->processed == i2c->msg->len) && (cnt != 0)) in rk3x_i2c_fill_transmit_buf()
348 if (i2c->processed == 0 && cnt == 0) in rk3x_i2c_fill_transmit_buf()
351 byte = i2c->msg->buf[i2c->processed++]; in rk3x_i2c_fill_transmit_buf()
359 if (i2c->processed == i2c->msg->len) in rk3x_i2c_fill_transmit_buf()
410 if (i2c->processed == i2c->msg->len) in rk3x_i2c_handle_write()
419 unsigned int len = i2c->msg->len - i2c->processed; in rk3x_i2c_handle_read()
[all …]
/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c1824 int processed = 0; in xgbe_tx_poll() local
1841 while ((processed < XGBE_TX_DESC_MAX_PROC) && in xgbe_tx_poll()
1865 processed++; in xgbe_tx_poll()
1869 if (!processed) in xgbe_tx_poll()
1880 DBGPR("<--xgbe_tx_poll: processed=%d\n", processed); in xgbe_tx_poll()
1882 return processed; in xgbe_tx_poll()
2070 int processed = 0; in xgbe_one_poll() local
2078 processed = xgbe_rx_poll(channel, budget); in xgbe_one_poll()
2081 if (processed < budget) { in xgbe_one_poll()
2083 napi_complete_done(napi, processed); in xgbe_one_poll()
[all …]
/drivers/firmware/
Dqemu_fw_cfg.c646 int processed, consumed = 0; in fw_cfg_cmdline_set() local
662 processed = sscanf(str, PH_ADDR_SCAN_FMT, in fw_cfg_cmdline_set()
673 (processed != 1 && processed != 3)) in fw_cfg_cmdline_set()
682 if (processed > 1) { in fw_cfg_cmdline_set()
695 PLATFORM_DEVID_NONE, res, processed); in fw_cfg_cmdline_set()
/drivers/bluetooth/
Dhci_h5.c519 int processed; in h5_recv() local
534 processed = h5->rx_func(hu, *ptr); in h5_recv()
535 if (processed < 0) in h5_recv()
536 return processed; in h5_recv()
538 ptr += processed; in h5_recv()
539 count -= processed; in h5_recv()
/drivers/dma/
Dimg-mdc-dma.c600 u32 val1, val2, done, processed, residue; in mdc_tx_status() local
620 processed = (val1 >> MDC_CMDS_PROCESSED_CMDS_PROCESSED_SHIFT) & in mdc_tx_status()
622 cmds = (done - processed) % in mdc_tx_status()
656 u32 val, processed, done1, done2; in mdc_get_new_events() local
660 processed = (val >> MDC_CMDS_PROCESSED_CMDS_PROCESSED_SHIFT) & in mdc_get_new_events()
687 if (done1 >= processed) in mdc_get_new_events()
688 ret = done1 - processed; in mdc_get_new_events()
691 processed) + done1; in mdc_get_new_events()
Dedma.c175 int processed; member
772 left = edesc->pset_nr - edesc->processed; in edma_execute()
778 j = i + edesc->processed; in edma_execute()
807 edesc->processed += nslots; in edma_execute()
814 if (edesc->processed == edesc->pset_nr) { in edma_execute()
834 } else if (edesc->processed <= MAX_NR_SG) { in edma_execute()
840 echan->ch_num, edesc->processed); in edma_execute()
1419 } else if (edesc->processed == edesc->pset_nr) { in edma_completion_handler()
1436 edesc->processed_stat = edesc->processed; in edma_completion_handler()
1779 for (i = edesc->processed_stat; i < edesc->processed; i++, pset++) { in edma_residue()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dmsgbuf.c1265 u16 processed; in brcmf_msgbuf_process_rx() local
1272 processed = 0; in brcmf_msgbuf_process_rx()
1277 processed++; in brcmf_msgbuf_process_rx()
1278 if (processed == BRCMF_MSGBUF_UPDATE_RX_PTR_THRS) { in brcmf_msgbuf_process_rx()
1279 brcmf_commonring_read_complete(commonring, processed); in brcmf_msgbuf_process_rx()
1280 processed = 0; in brcmf_msgbuf_process_rx()
1284 if (processed) in brcmf_msgbuf_process_rx()
1285 brcmf_commonring_read_complete(commonring, processed); in brcmf_msgbuf_process_rx()
/drivers/net/ethernet/chelsio/cxgb/
Dsge.c181 unsigned int processed; /* total # of descs HW has processed */ member
689 q->processed = q->cleaned = 0; in alloc_tx_resources()
1291 unsigned int reclaim = q->processed - q->cleaned; in reclaim_completed_tx()
1295 q->processed, q->cleaned); in reclaim_completed_tx()
1399 unsigned int r = q->processed - q->cleaned; in enough_free_Tx_descs()
1438 cmdq->processed += pr0; in update_tx_info()
1446 if (cmdq->cleaned + cmdq->in_use != cmdq->processed && in update_tx_info()
1492 sge->cmdQ[1].processed += cmdq_processed[1]; in process_responses()
1536 sge->cmdQ[1].processed += cmdq_processed[1]; in process_responses()
1592 sge->cmdQ[1].processed += cmdq_processed[1]; in process_pure_responses()
/drivers/net/ethernet/cirrus/
Dep93xx_eth.c231 static int ep93xx_rx(struct net_device *dev, int processed, int budget) in ep93xx_rx() argument
235 while (processed < budget) { in ep93xx_rx()
307 processed++; in ep93xx_rx()
310 return processed; in ep93xx_rx()
/drivers/virtio/
Dvirtio_mmio.c604 int processed, consumed = 0; in vm_cmdline_set() local
611 processed = sscanf(str, "@%lli:%u%n:%d%n", in vm_cmdline_set()
620 if (processed < 2 || str[consumed]) in vm_cmdline_set()
/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.c595 int ret, desc_count, count = 0, processed = 0; in xgene_enet_process_ring() local
633 processed++; in xgene_enet_process_ring()
649 return processed; in xgene_enet_process_ring()
655 int processed; in xgene_enet_napi() local
658 processed = xgene_enet_process_ring(ring, budget); in xgene_enet_napi()
660 if (processed != budget) { in xgene_enet_napi()
665 return processed; in xgene_enet_napi()
/drivers/gpu/drm/sti/
DNOTES9 - The graphics planes are internally processed by the Generic Display
/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c328 unsigned int reclaim = q->processed - q->cleaned; in reclaim_completed_tx()
336 return q->processed - q->cleaned; in reclaim_completed_tx()
347 unsigned int r = q->processed - q->cleaned; in should_restart_tx()
1404 unsigned int reclaim = q->processed - q->cleaned; in reclaim_completed_tx_imm()
2160 qs->txq[TXQ_ETH].processed += credits; in handle_rsp_cntrl_info()
2164 qs->txq[TXQ_CTRL].processed += credits; in handle_rsp_cntrl_info()
2172 qs->txq[TXQ_OFLD].processed += credits; in handle_rsp_cntrl_info()
2191 if (txq->cleaned + txq->in_use != txq->processed && in check_ring_db()
2202 if (txq->cleaned + txq->in_use != txq->processed && in check_ring_db()
Dadapter.h169 unsigned int processed; /* total # of descs HW has processed */ member
/drivers/net/ethernet/broadcom/
Dbcmsysport.c569 unsigned int processed = 0, to_process; in bcm_sysport_desc_rx() local
590 while ((processed < to_process) && (processed < budget)) { in bcm_sysport_desc_rx()
669 processed++; in bcm_sysport_desc_rx()
676 return processed; in bcm_sysport_desc_rx()
/drivers/net/ethernet/ti/
Dcpmac.c418 int received = 0, processed = 0; in cpmac_poll() local
433 processed++; in cpmac_poll()
509 if (processed == 0) { in cpmac_poll()
/drivers/net/ethernet/faraday/
Dftmac100.c397 static bool ftmac100_rx_packet(struct ftmac100 *priv, int *processed) in ftmac100_rx_packet() argument
464 (*processed)++; in ftmac100_rx_packet()

12