Home
last modified time | relevance | path

Searched refs:todo (Results 1 – 25 of 82) sorted by relevance

1234

/linux/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss-cipher.c32 unsigned int todo; in sun4i_ss_opti_poll() local
90 todo = min(rx_cnt, ileft); in sun4i_ss_opti_poll()
91 todo = min_t(size_t, todo, (mi.length - oi) / 4); in sun4i_ss_opti_poll()
92 if (todo) { in sun4i_ss_opti_poll()
93 ileft -= todo; in sun4i_ss_opti_poll()
94 writesl(ss->base + SS_RXFIFO, mi.addr + oi, todo); in sun4i_ss_opti_poll()
95 oi += todo * 4; in sun4i_ss_opti_poll()
118 todo = min(tx_cnt, oleft); in sun4i_ss_opti_poll()
119 todo = min_t(size_t, todo, (mo.length - oo) / 4); in sun4i_ss_opti_poll()
120 if (todo) { in sun4i_ss_opti_poll()
[all …]
H A Dsun4i-ss-hash.c189 unsigned int i = 0, end, fill, min_fill, nwait, nbw = 0, j = 0, todo; in sun4i_hash() local
315 todo = min3((u32)(end - i) / 4, rx_cnt, (u32)in_r / 4); in sun4i_hash()
316 writesl(ss->base + SS_RXFIFO, mi.addr + in_i, todo); in sun4i_hash()
317 op->byte_count += todo * 4; in sun4i_hash()
318 i += todo * 4; in sun4i_hash()
319 in_i += todo * 4; in sun4i_hash()
320 rx_cnt -= todo; in sun4i_hash()
/linux/kernel/power/
H A Dprocess.c34 unsigned int todo; in try_to_freeze_tasks() local
51 todo = 0; in try_to_freeze_tasks()
57 todo++; in try_to_freeze_tasks()
63 todo += wq_busy; in try_to_freeze_tasks()
66 if (!todo || time_after(jiffies, end_time)) in try_to_freeze_tasks()
88 if (todo) { in try_to_freeze_tasks()
93 todo - wq_busy, wq_busy); in try_to_freeze_tasks()
111 return todo ? -EBUSY : 0; in try_to_freeze_tasks()
/linux/drivers/usb/gadget/udc/
H A Dmax3420_udc.c163 u32 todo; member
182 u32 todo; member
319 int todo; in spi_max3420_enable() local
322 todo = ep->todo & ENABLE_EP; in spi_max3420_enable()
323 ep->todo &= ~ENABLE_EP; in spi_max3420_enable()
326 if (!todo || ep->id == 0) in spi_max3420_enable()
332 if (todo == ENABLE) { in spi_max3420_enable()
351 int todo; in spi_max3420_stall() local
354 todo = ep->todo & STALL_EP; in spi_max3420_stall()
355 ep->todo &= ~STALL_EP; in spi_max3420_stall()
[all …]
/linux/arch/powerpc/platforms/powernv/
H A Dopal-lpc.c188 u32 data, pos, len, todo; in lpc_debug_read() local
194 todo = count; in lpc_debug_read()
195 while (todo) { in lpc_debug_read()
205 if (todo > 3 && (pos & 3) == 0) in lpc_debug_read()
207 else if (todo > 1 && (pos & 1) == 0) in lpc_debug_read()
269 todo -= len; in lpc_debug_read()
279 u32 data, pos, len, todo; in lpc_debug_write() local
285 todo = count; in lpc_debug_write()
286 while (todo) { in lpc_debug_write()
296 if (todo > 3 && (pos & 3) == 0) in lpc_debug_write()
[all …]
/linux/lib/crypto/powerpc/
H A Dchacha.h59 unsigned int todo = min_t(unsigned int, bytes, SZ_4K); in chacha_crypt_arch() local
62 chacha_p10_do_8x(state, dst, src, todo, nrounds); in chacha_crypt_arch()
65 bytes -= todo; in chacha_crypt_arch()
66 src += todo; in chacha_crypt_arch()
67 dst += todo; in chacha_crypt_arch()
/linux/lib/crypto/arm/
H A Dpoly1305.h32 unsigned int todo = min_t(unsigned int, len, SZ_4K); in poly1305_blocks() local
35 poly1305_blocks_neon(state, src, todo, padbit); in poly1305_blocks()
37 len -= todo; in poly1305_blocks()
38 src += todo; in poly1305_blocks()
H A Dchacha.h86 unsigned int todo = min_t(unsigned int, bytes, SZ_4K); in chacha_crypt_arch() local
89 chacha_doneon(state, dst, src, todo, nrounds); in chacha_crypt_arch()
91 bytes -= todo; in chacha_crypt_arch()
92 src += todo; in chacha_crypt_arch()
93 dst += todo; in chacha_crypt_arch()
/linux/drivers/w1/slaves/
H A Dw1_ds2430.c102 int todo = count; in eeprom_read() local
111 while (todo > 0) { in eeprom_read()
114 if (todo >= W1_F14_READ_MAXLEN) in eeprom_read()
117 block_read = todo; in eeprom_read()
122 todo -= W1_F14_READ_MAXLEN; in eeprom_read()
H A Dw1_ds2805.c99 int todo = count; in w1_f0d_read_bin() local
108 while (todo > 0) { in w1_f0d_read_bin()
111 if (todo >= W1_F0D_READ_MAXLEN) in w1_f0d_read_bin()
114 block_read = todo; in w1_f0d_read_bin()
121 todo -= W1_F0D_READ_MAXLEN; in w1_f0d_read_bin()
H A Dw1_ds2431.c102 int todo = count; in eeprom_read() local
111 while (todo > 0) { in eeprom_read()
114 if (todo >= W1_F2D_READ_MAXLEN) in eeprom_read()
117 block_read = todo; in eeprom_read()
122 todo -= W1_F2D_READ_MAXLEN; in eeprom_read()
/linux/lib/crypto/x86/
H A Dchacha.h147 unsigned int todo = min_t(unsigned int, bytes, SZ_4K); in chacha_crypt_arch() local
150 chacha_dosimd(state, dst, src, todo, nrounds); in chacha_crypt_arch()
153 bytes -= todo; in chacha_crypt_arch()
154 src += todo; in chacha_crypt_arch()
155 dst += todo; in chacha_crypt_arch()
/linux/tools/testing/selftests/rcutorture/bin/
H A Dtorture.sh768 find "$tdir" -type d -name '*-k[ac]san' -print > $T/xz-todo-all
770 grep -e '-k[ac]san$' > $T/xz-todo-copy
771 sort $T/xz-todo-all $T/xz-todo-copy | uniq -u > $T/xz-todo
774 if test -s $T/xz-todo
776 for i in `cat $T/xz-todo`
779 done | wc -l | awk '{ print $1 }' > $T/xz-todo-count
780 n2compress="`cat $T/xz-todo-count`"
782 for i in `cat $T/xz-todo`
[all...]
/linux/drivers/media/pci/bt8xx/
H A Dbttv-risc.c41 u32 instructions,line,todo; in bttv_risc_packed() local
85 todo = bpl; in bttv_risc_packed()
89 todo -= (sg_dma_len(sg)-offset); in bttv_risc_packed()
92 while (todo > sg_dma_len(sg)) { in bttv_risc_packed()
96 todo -= sg_dma_len(sg); in bttv_risc_packed()
100 todo); in bttv_risc_packed()
102 offset += todo; in bttv_risc_packed()
122 unsigned int instructions,line,todo,ylen,chroma; in bttv_risc_planar() local
174 for (todo = ybpl; todo > 0; todo -= ylen) { in bttv_risc_planar()
182 ylen = todo; in bttv_risc_planar()
[all …]
/linux/drivers/gpu/drm/display/
H A Ddrm_dp_aux_dev.c159 ssize_t todo = min(iov_iter_count(to), sizeof(buf)); in auxdev_read_iter() local
166 res = drm_dp_dpcd_read(aux_dev->aux, pos, buf, todo); in auxdev_read_iter()
202 ssize_t todo = min(iov_iter_count(from), sizeof(buf)); in auxdev_write_iter() local
209 if (!copy_from_iter_full(buf, todo, from)) { in auxdev_write_iter()
214 res = drm_dp_dpcd_write(aux_dev->aux, pos, buf, todo); in auxdev_write_iter()
/linux/drivers/crypto/amlogic/
H A Damlogic-gxl-cipher.c93 unsigned int todo, eat, len; in meson_cipher() local
166 todo = min(keyivlen - eat, 16u); in meson_cipher()
172 eat += todo; in meson_cipher()
212 todo = min(len, sg_dma_len(src_sg)); in meson_cipher()
213 v = (op->keymode << 20) | DESC_OWN | todo | (algt->blockmode << 26); in meson_cipher()
216 len -= todo; in meson_cipher()
/linux/scripts/
H A Dmake_fit.py323 todo = []
339 if fn not in fdts and fn not in todo:
340 todo.append(fn)
344 if todo and args.compress != 'none':
349 compress_args = [(fn, args.compress) for fn in todo]
/linux/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-hash.c493 int j, i, k, todo; in sun8i_ss_hash_run() local
548 todo = min(len, sg_dma_len(sg)); in sun8i_ss_hash_run()
550 if (todo % 64 == 0) { in sun8i_ss_hash_run()
552 rctx->t_src[i].len = todo / 4; in sun8i_ss_hash_run()
555 len -= todo; in sun8i_ss_hash_run()
557 scatterwalk_map_and_copy(bf, sg, 0, todo, 0); in sun8i_ss_hash_run()
558 j += todo / 4; in sun8i_ss_hash_run()
559 len -= todo; in sun8i_ss_hash_run()
/linux/drivers/firewire/
H A Dcore-cdev.c145 } todo; member
157 } todo; member
1330 int current_generation, resource_generation, channel, bandwidth, todo; in iso_resource_auto_work() local
1339 todo = r->todo; in iso_resource_auto_work()
1342 switch (todo) { in iso_resource_auto_work()
1363 &channel, &bandwidth, todo != ISO_RES_AUTO_DEALLOC); in iso_resource_auto_work()
1365 if (todo == ISO_RES_AUTO_DEALLOC) { in iso_resource_auto_work()
1390 if (todo == ISO_RES_AUTO_REALLOC) { in iso_resource_auto_work()
1401 if (r->todo == ISO_RES_AUTO_ALLOC) in iso_resource_auto_work()
1402 r->todo = ISO_RES_AUTO_REALLOC; in iso_resource_auto_work()
[all …]
/linux/drivers/crypto/rockchip/
H A Drk3288_crypto_skcipher.c290 struct scatterlist *sgd, unsigned int todo) in crypto_dma_start() argument
293 CRYPTO_WRITE(dev, RK_CRYPTO_BRDMAL, todo); in crypto_dma_start()
312 unsigned int todo; in rk_cipher_run() local
375 todo = min(sg_dma_len(sgs), len); in rk_cipher_run()
376 len -= todo; in rk_cipher_run()
377 crypto_dma_start(rkc, sgs, sgd, todo / 4); in rk_cipher_run()
/linux/drivers/s390/cio/
H A Ddevice.c1849 enum cdev_todo todo; in ccw_device_todo() local
1856 todo = priv->todo; in ccw_device_todo()
1857 priv->todo = CDEV_TODO_NOTHING; in ccw_device_todo()
1859 priv->dev_id.ssid, priv->dev_id.devno, todo); in ccw_device_todo()
1862 switch (todo) { in ccw_device_todo()
1898 void ccw_device_sched_todo(struct ccw_device *cdev, enum cdev_todo todo) in ccw_device_sched_todo() argument
1902 todo); in ccw_device_sched_todo()
1903 if (cdev->private->todo >= todo) in ccw_device_sched_todo()
1905 cdev->private->todo = todo; in ccw_device_sched_todo()
/linux/drivers/media/pci/cx88/
H A Dcx88-core.c76 unsigned int line, todo, sol; in cx88_risc_field() local
106 todo = bpl; in cx88_risc_field()
110 todo -= (sg_dma_len(sg) - offset); in cx88_risc_field()
113 while (todo > sg_dma_len(sg)) { in cx88_risc_field()
117 todo -= sg_dma_len(sg); in cx88_risc_field()
120 *(rp++) = cpu_to_le32(RISC_WRITE | RISC_EOL | todo); in cx88_risc_field()
122 offset += todo; in cx88_risc_field()
/linux/Documentation/arch/arm/nwfpe/
H A Dindex.rst13 todo
/linux/Documentation/translations/zh_CN/arch/openrisc/
H A Dtodo.rst3 :Original: Documentation/arch/openrisc/todo.rst
/linux/Documentation/translations/zh_TW/arch/openrisc/
H A Dtodo.rst3 :Original: Documentation/arch/openrisc/todo.rst

1234