Home
last modified time | relevance | path

Searched refs:num_words (Results 1 – 21 of 21) sorted by relevance

/Linux-v4.19/drivers/char/hw_random/
Dbcm2835-rng.c70 u32 num_words, count; in bcm2835_rng_read() local
78 num_words = rng_readl(priv, RNG_STATUS) >> 24; in bcm2835_rng_read()
79 if (num_words > max_words) in bcm2835_rng_read()
80 num_words = max_words; in bcm2835_rng_read()
82 for (count = 0; count < num_words; count++) in bcm2835_rng_read()
85 return num_words * sizeof(u32); in bcm2835_rng_read()
/Linux-v4.19/drivers/char/xilinx_hwicap/
Dfifo_icap.c214 u32 *frame_buffer, u32 num_words) in fifo_icap_set_configuration() argument
232 remaining_words = num_words; in fifo_icap_set_configuration()
290 u32 *frame_buffer, u32 num_words) in fifo_icap_get_configuration() argument
307 remaining_words = num_words; in fifo_icap_get_configuration()
/Linux-v4.19/drivers/soundwire/
Dmipi_disco.c137 dp0->num_words = nval; in sdw_slave_read_dp0()
139 dp0->num_words, sizeof(*dp0->words), in sdw_slave_read_dp0()
146 dp0->words, dp0->num_words); in sdw_slave_read_dp0()
195 dpn[i].num_words = nval; in sdw_slave_read_dpn()
197 dpn[i].num_words, in sdw_slave_read_dpn()
204 dpn[i].words, dpn[i].num_words); in sdw_slave_read_dpn()
/Linux-v4.19/drivers/crypto/caam/
Dqi.c312 u32 num_words; in caam_drv_ctx_update() local
316 num_words = desc_len(sh_desc); in caam_drv_ctx_update()
317 if (num_words > MAX_SDLEN) { in caam_drv_ctx_update()
318 dev_err(qidev, "Invalid descriptor len: %d words\n", num_words); in caam_drv_ctx_update()
355 num_words); in caam_drv_ctx_update()
389 u32 num_words; in caam_drv_ctx_init() local
394 num_words = desc_len(sh_desc); in caam_drv_ctx_init()
395 if (num_words > MAX_SDLEN) { in caam_drv_ctx_init()
397 num_words); in caam_drv_ctx_init()
410 num_words); in caam_drv_ctx_init()
/Linux-v4.19/drivers/spi/
Dspi-qup.c237 static void spi_qup_read_from_fifo(struct spi_qup *controller, u32 num_words) in spi_qup_read_from_fifo() argument
243 for (; num_words; num_words--) { in spi_qup_read_from_fifo()
272 u32 remainder, words_per_block, num_words; in spi_qup_read() local
285 num_words = (remainder > words_per_block) ? in spi_qup_read()
292 num_words = 1; in spi_qup_read()
296 spi_qup_read_from_fifo(controller, num_words); in spi_qup_read()
298 remainder -= num_words; in spi_qup_read()
320 static void spi_qup_write_to_fifo(struct spi_qup *controller, u32 num_words) in spi_qup_write_to_fifo() argument
326 for (; num_words; num_words--) { in spi_qup_write_to_fifo()
354 u32 remainder, words_per_block, num_words; in spi_qup_write() local
[all …]
/Linux-v4.19/arch/parisc/kernel/
Dperf.c66 uint8_t num_words; member
680 i = tentry->num_words; in perf_rdr_read_ubuf()
693 i = tentry->num_words; in perf_rdr_read_ubuf()
730 i = tentry->num_words; in perf_rdr_clear()
780 dwords = tentry->num_words; in perf_write_image()
842 i = tentry->num_words; in perf_rdr_write()
/Linux-v4.19/drivers/mailbox/
Dti-msgmgr.c209 int msg_count, num_words; in ti_msgmgr_queue_rx_interrupt() local
264 num_words = (desc->max_message_size / sizeof(u32)); in ti_msgmgr_queue_rx_interrupt()
265 num_words; num_words--, data_reg += sizeof(u32), word_data++) in ti_msgmgr_queue_rx_interrupt()
352 int num_words, trail_bytes; in ti_msgmgr_send_data() local
376 num_words = message->len / sizeof(u32), in ti_msgmgr_send_data()
378 num_words; num_words--, data_reg += sizeof(u32), word_data++) in ti_msgmgr_send_data()
/Linux-v4.19/drivers/nvmem/
Dbcm-ocotp.c254 u32 num_words; in bcm_otpc_probe() local
284 err = of_property_read_u32(dn, "brcm,ocotp-size", &num_words); in bcm_otpc_probe()
288 } else if (num_words == 0) { in bcm_otpc_probe()
293 bcm_otpc_nvmem_config.size = 4 * num_words; in bcm_otpc_probe()
/Linux-v4.19/drivers/crypto/
Datmel-sha.c1575 size_t i, num_words; in atmel_sha_cpu_transfer() local
1581 num_words = DIV_ROUND_UP(ctx->bufcnt, sizeof(u32)); in atmel_sha_cpu_transfer()
1582 for (i = 0, din = 0; i < num_words; ++i, din += din_inc) in atmel_sha_cpu_transfer()
1824 size_t i, num_words = ds / sizeof(u32); in atmel_sha_hmac_prehash_key_done() local
1827 for (i = 0; i < num_words; ++i) in atmel_sha_hmac_prehash_key_done()
1840 size_t i, num_words = bs / sizeof(u32); in atmel_sha_hmac_compute_ipad_hash() local
1843 for (i = 0; i < num_words; ++i) { in atmel_sha_hmac_compute_ipad_hash()
1860 size_t i, num_words = hs / sizeof(u32); in atmel_sha_hmac_compute_opad_hash() local
1862 for (i = 0; i < num_words; ++i) in atmel_sha_hmac_compute_opad_hash()
1875 size_t i, num_words = hs / sizeof(u32); in atmel_sha_hmac_setup_done() local
[all …]
/Linux-v4.19/drivers/video/fbdev/
Dpxa3xx-gcu.h22 unsigned int num_words; member
Dpxa3xx-gcu.c402 priv->shared->num_words += words; in pxa3xx_gcu_write()
/Linux-v4.19/drivers/gpu/host1x/hw/
Dchannel_hw.c48 u32 num_words = min(words - i, TRACE_MAX_LENGTH); in trace_write_gather() local
53 num_words, offset, in trace_write_gather()
/Linux-v4.19/include/linux/soundwire/
Dsdw.h168 u32 num_words; member
241 u32 num_words; member
/Linux-v4.19/drivers/gpu/drm/via/
Dvia_verifier.c239 eat_words(const uint32_t **buf, const uint32_t *buf_end, unsigned num_words) in eat_words() argument
241 if ((buf_end - *buf) >= num_words) { in eat_words()
242 *buf += num_words; in eat_words()
/Linux-v4.19/tools/testing/selftests/net/
Dmsg_zerocopy.c107 static uint16_t get_ip_csum(const uint16_t *start, int num_words) in get_ip_csum() argument
112 for (i = 0; i < num_words; i++) in get_ip_csum()
/Linux-v4.19/drivers/dma/ipu/
Dipu_idmac.c439 uint32_t num_words) in ipu_write_param_mem() argument
441 for (; num_words > 0; num_words--) { in ipu_write_param_mem()
/Linux-v4.19/drivers/net/ethernet/ti/
Dnetcp_core.c151 static void get_words(dma_addr_t *words, int num_words, __le32 *desc) in get_words() argument
155 for (i = 0; i < num_words; i++) in get_words()
193 static void set_words(u32 *words, int num_words, __le32 *desc) in set_words() argument
197 for (i = 0; i < num_words; i++) in set_words()
/Linux-v4.19/arch/arm/mach-omap2/
Dsleep34xx.S375 subs r2, r2, #0x1 @ num_words--
/Linux-v4.19/drivers/block/drbd/
Ddrbd_main.c1249 unsigned long num_words; in send_bitmap_rle_or_plain() local
1253 num_words = min_t(size_t, data_size / sizeof(*p), in send_bitmap_rle_or_plain()
1255 len = num_words * sizeof(*p); in send_bitmap_rle_or_plain()
1257 drbd_bm_get_lel(device, c->word_offset, num_words, p); in send_bitmap_rle_or_plain()
1259 c->word_offset += num_words; in send_bitmap_rle_or_plain()
Ddrbd_receiver.c4508 unsigned int num_words = min_t(size_t, data_size / sizeof(*p), in receive_bitmap_plain() local
4510 unsigned int want = num_words * sizeof(*p); in receive_bitmap_plain()
4523 drbd_bm_merge_lel(peer_device->device, c->word_offset, num_words, p); in receive_bitmap_plain()
4525 c->word_offset += num_words; in receive_bitmap_plain()
/Linux-v4.19/sound/soc/codecs/
Dwm_adsp.c3170 unsigned int num_words, u32 *data) in wm_adsp_read_data_block() argument
3182 sizeof(*data) * num_words); in wm_adsp_read_data_block()
3186 for (i = 0; i < num_words; ++i) in wm_adsp_read_data_block()