Home
last modified time | relevance | path

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

12

/Linux-v6.6/drivers/char/hw_random/
Dbcm2835-rng.c68 u32 num_words, count; in bcm2835_rng_read() local
76 num_words = rng_readl(priv, RNG_STATUS) >> 24; in bcm2835_rng_read()
77 if (num_words > max_words) in bcm2835_rng_read()
78 num_words = max_words; in bcm2835_rng_read()
80 for (count = 0; count < num_words; count++) in bcm2835_rng_read()
83 return num_words * sizeof(u32); in bcm2835_rng_read()
/Linux-v6.6/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-v6.6/drivers/soundwire/
Dmipi_disco.c138 dp0->num_words = nval; in sdw_slave_read_dp0()
140 dp0->num_words, sizeof(*dp0->words), in sdw_slave_read_dp0()
147 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()
205 dpn[i].words, dpn[i].num_words); in sdw_slave_read_dpn()
Dsysfs_slave.c165 for (i = 0; i < slave->prop.dp0_prop->num_words; i++) in words_show()
/Linux-v6.6/drivers/crypto/caam/
Dqi.c329 u32 num_words; in caam_drv_ctx_update() local
333 num_words = desc_len(sh_desc); in caam_drv_ctx_update()
334 if (num_words > MAX_SDLEN) { in caam_drv_ctx_update()
335 dev_err(qidev, "Invalid descriptor len: %d words\n", num_words); in caam_drv_ctx_update()
372 num_words); in caam_drv_ctx_update()
407 u32 num_words; in caam_drv_ctx_init() local
412 num_words = desc_len(sh_desc); in caam_drv_ctx_init()
413 if (num_words > MAX_SDLEN) { in caam_drv_ctx_init()
415 num_words); in caam_drv_ctx_init()
428 num_words); in caam_drv_ctx_init()
/Linux-v6.6/drivers/spi/
Dspi-qup.c228 static void spi_qup_read_from_fifo(struct spi_qup *controller, u32 num_words) in spi_qup_read_from_fifo() argument
234 for (; num_words; num_words--) { in spi_qup_read_from_fifo()
263 u32 remainder, words_per_block, num_words; in spi_qup_read() local
279 num_words = (remainder > words_per_block) ? in spi_qup_read()
286 num_words = 1; in spi_qup_read()
290 spi_qup_read_from_fifo(controller, num_words); in spi_qup_read()
292 remainder -= num_words; in spi_qup_read()
316 static void spi_qup_write_to_fifo(struct spi_qup *controller, u32 num_words) in spi_qup_write_to_fifo() argument
322 for (; num_words; num_words--) { in spi_qup_write_to_fifo()
350 u32 remainder, words_per_block, num_words; in spi_qup_write() local
[all …]
Dspi-fsl-dspi.c694 static void dspi_xspi_fifo_write(struct fsl_dspi *dspi, int num_words) in dspi_xspi_fifo_write() argument
696 int num_bytes = num_words * dspi->oper_word_size; in dspi_xspi_fifo_write()
713 SPI_CTARE_DTCP(num_words)); in dspi_xspi_fifo_write()
722 while (num_words--) { in dspi_xspi_fifo_write()
813 int num_words, num_bytes; in dspi_fifo_write() local
826 num_words = dspi->len / dspi->oper_word_size; in dspi_fifo_write()
827 if (num_words > num_fifo_entries) in dspi_fifo_write()
828 num_words = num_fifo_entries; in dspi_fifo_write()
831 num_bytes = num_words * dspi->oper_word_size; in dspi_fifo_write()
839 dspi->words_in_flight = num_words; in dspi_fifo_write()
[all …]
/Linux-v6.6/arch/parisc/kernel/
Dperf.c53 uint8_t num_words; member
667 i = tentry->num_words; in perf_rdr_read_ubuf()
680 i = tentry->num_words; in perf_rdr_read_ubuf()
717 i = tentry->num_words; in perf_rdr_clear()
767 dwords = tentry->num_words; in perf_write_image()
829 i = tentry->num_words; in perf_rdr_write()
/Linux-v6.6/drivers/nvmem/
Dbcm-ocotp.c249 u32 num_words; in bcm_otpc_probe() local
273 err = device_property_read_u32(dev, "brcm,ocotp-size", &num_words); in bcm_otpc_probe()
277 } else if (num_words == 0) { in bcm_otpc_probe()
282 bcm_otpc_nvmem_config.size = 4 * num_words; in bcm_otpc_probe()
/Linux-v6.6/drivers/mailbox/
Dti-msgmgr.c199 int num_words; in ti_msgmgr_queue_rx_data() local
228 num_words = (desc->max_message_size / sizeof(u32)); in ti_msgmgr_queue_rx_data()
229 num_words; num_words--, data_reg += sizeof(u32), word_data++) in ti_msgmgr_queue_rx_data()
396 int num_words, trail_bytes; in ti_msgmgr_send_data() local
421 num_words = message->len / sizeof(u32), in ti_msgmgr_send_data()
423 num_words; num_words--, data_reg += sizeof(u32), word_data++) in ti_msgmgr_send_data()
Dmailbox-mpfs.c155 u16 num_words = ALIGN((response->resp_size), (4)) / 4U; in mpfs_mbox_rx_data() local
174 for (i = 0; i < num_words; i++) { in mpfs_mbox_rx_data()
/Linux-v6.6/drivers/crypto/
Datmel-sha.c1506 size_t i, num_words; in atmel_sha_cpu_transfer() local
1512 num_words = DIV_ROUND_UP(ctx->bufcnt, sizeof(u32)); in atmel_sha_cpu_transfer()
1513 for (i = 0, din = 0; i < num_words; ++i, din += din_inc) in atmel_sha_cpu_transfer()
1755 size_t i, num_words = ds / sizeof(u32); in atmel_sha_hmac_prehash_key_done() local
1758 for (i = 0; i < num_words; ++i) in atmel_sha_hmac_prehash_key_done()
1771 size_t i, num_words = bs / sizeof(u32); in atmel_sha_hmac_compute_ipad_hash() local
1775 for (i = 0; i < num_words; ++i) { in atmel_sha_hmac_compute_ipad_hash()
1792 size_t i, num_words = hs / sizeof(u32); in atmel_sha_hmac_compute_opad_hash() local
1794 for (i = 0; i < num_words; ++i) in atmel_sha_hmac_compute_opad_hash()
1807 size_t i, num_words = hs / sizeof(u32); in atmel_sha_hmac_setup_done() local
[all …]
/Linux-v6.6/drivers/platform/chrome/wilco_ec/
Devent.c216 size_t num_words, event_size; in enqueue_events() local
222 num_words = ec_event_num_words(event); in enqueue_events()
224 if (num_words > EC_ACPI_MAX_EVENT_WORDS) { in enqueue_events()
226 num_words, EC_ACPI_MAX_EVENT_WORDS); in enqueue_events()
/Linux-v6.6/drivers/video/fbdev/
Dpxa3xx-gcu.h22 unsigned int num_words; member
Dpxa3xx-gcu.c389 priv->shared->num_words += words; in pxa3xx_gcu_write()
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_flow_dissector.c212 int num_words) in build_udp_v4_csum() argument
220 return build_ip_csum((void *) udph, num_words, pseudo_sum); in build_udp_v4_csum()
225 int num_words) in build_udp_v6_csum() argument
233 return build_ip_csum((void *) udph, num_words, pseudo_sum); in build_udp_v6_csum()
/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/macsec/
Dmacsec_api.c60 u8 num_words, u8 table_id, in set_raw_ingress_record() argument
82 for (i = 0; i < num_words; i += 2) { in set_raw_ingress_record()
93 for (i = num_words; i < 24; i += 2) { in set_raw_ingress_record()
121 u8 num_words, u8 table_id, in get_raw_ingress_record() argument
148 memset(packed_record, 0, sizeof(u16) * num_words); in get_raw_ingress_record()
150 for (i = 0; i < num_words; i += 2) { in get_raw_ingress_record()
170 u8 num_words, u8 table_id, in set_raw_egress_record() argument
179 for (i = 0; i < num_words; i += 2) { in set_raw_egress_record()
189 for (i = num_words; i < 28; i += 2) { in set_raw_egress_record()
214 u8 num_words, u8 table_id, in get_raw_egress_record() argument
[all …]
/Linux-v6.6/drivers/gpu/host1x/hw/
Dchannel_hw.c37 u32 num_words = min(words - i, TRACE_MAX_LENGTH); in trace_write_gather() local
42 num_words, offset, in trace_write_gather()
/Linux-v6.6/include/linux/firmware/cirrus/
Dcs_dsp.h248 unsigned int num_words, __be32 *data);
/Linux-v6.6/include/linux/soundwire/
Dsdw.h248 u32 num_words; member
322 u32 num_words; member
/Linux-v6.6/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()
Dtxtimestamp.c401 static uint16_t get_ip_csum(const uint16_t *start, int num_words, in get_ip_csum() argument
406 for (i = 0; i < num_words; i++) in get_ip_csum()
/Linux-v6.6/drivers/net/ethernet/ti/
Dnetcp_core.c142 static void get_words(dma_addr_t *words, int num_words, __le32 *desc) in get_words() argument
146 for (i = 0; i < num_words; i++) in get_words()
184 static void set_words(u32 *words, int num_words, __le32 *desc) in set_words() argument
188 for (i = 0; i < num_words; i++) in set_words()
/Linux-v6.6/arch/arm/mach-omap2/
Dsleep34xx.S363 subs r2, r2, #0x1 @ num_words--
/Linux-v6.6/drivers/block/drbd/
Ddrbd_main.c1232 unsigned long num_words; in send_bitmap_rle_or_plain() local
1236 num_words = min_t(size_t, data_size / sizeof(*p), in send_bitmap_rle_or_plain()
1238 len = num_words * sizeof(*p); in send_bitmap_rle_or_plain()
1240 drbd_bm_get_lel(device, c->word_offset, num_words, p); in send_bitmap_rle_or_plain()
1243 c->word_offset += num_words; in send_bitmap_rle_or_plain()

12