Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/char/hw_random/
Dbcm2835-rng.c69 u32 num_words, count; in bcm2835_rng_read() local
77 num_words = rng_readl(priv, RNG_STATUS) >> 24; in bcm2835_rng_read()
78 if (num_words > max_words) in bcm2835_rng_read()
79 num_words = max_words; in bcm2835_rng_read()
81 for (count = 0; count < num_words; count++) in bcm2835_rng_read()
84 return num_words * sizeof(u32); in bcm2835_rng_read()
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/crypto/caam/
Dqi.c322 u32 num_words; in caam_drv_ctx_update() local
326 num_words = desc_len(sh_desc); in caam_drv_ctx_update()
327 if (num_words > MAX_SDLEN) { in caam_drv_ctx_update()
328 dev_err(qidev, "Invalid descriptor len: %d words\n", num_words); in caam_drv_ctx_update()
365 num_words); in caam_drv_ctx_update()
400 u32 num_words; in caam_drv_ctx_init() local
405 num_words = desc_len(sh_desc); in caam_drv_ctx_init()
406 if (num_words > MAX_SDLEN) { in caam_drv_ctx_init()
408 num_words); in caam_drv_ctx_init()
421 num_words); in caam_drv_ctx_init()
/linux-6.1.9/drivers/spi/
Dspi-qup.c229 static void spi_qup_read_from_fifo(struct spi_qup *controller, u32 num_words) in spi_qup_read_from_fifo() argument
235 for (; num_words; num_words--) { in spi_qup_read_from_fifo()
264 u32 remainder, words_per_block, num_words; in spi_qup_read() local
280 num_words = (remainder > words_per_block) ? in spi_qup_read()
287 num_words = 1; in spi_qup_read()
291 spi_qup_read_from_fifo(controller, num_words); in spi_qup_read()
293 remainder -= num_words; in spi_qup_read()
317 static void spi_qup_write_to_fifo(struct spi_qup *controller, u32 num_words) in spi_qup_write_to_fifo() argument
323 for (; num_words; num_words--) { in spi_qup_write_to_fifo()
351 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-6.1.9/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-6.1.9/drivers/nvmem/
Dbcm-ocotp.c251 u32 num_words; in bcm_otpc_probe() local
276 err = device_property_read_u32(dev, "brcm,ocotp-size", &num_words); in bcm_otpc_probe()
280 } else if (num_words == 0) { in bcm_otpc_probe()
285 bcm_otpc_nvmem_config.size = 4 * num_words; in bcm_otpc_probe()
/linux-6.1.9/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.c132 u16 num_words = ALIGN((response->resp_size), (4)) / 4U; in mpfs_mbox_rx_data() local
166 for (i = 0; i < num_words; i++) { in mpfs_mbox_rx_data()
/linux-6.1.9/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
1774 for (i = 0; i < num_words; ++i) { in atmel_sha_hmac_compute_ipad_hash()
1791 size_t i, num_words = hs / sizeof(u32); in atmel_sha_hmac_compute_opad_hash() local
1793 for (i = 0; i < num_words; ++i) in atmel_sha_hmac_compute_opad_hash()
1806 size_t i, num_words = hs / sizeof(u32); in atmel_sha_hmac_setup_done() local
[all …]
/linux-6.1.9/drivers/platform/chrome/wilco_ec/
Devent.c217 size_t num_words, event_size; in enqueue_events() local
223 num_words = ec_event_num_words(event); in enqueue_events()
225 if (num_words > EC_ACPI_MAX_EVENT_WORDS) { in enqueue_events()
227 num_words, EC_ACPI_MAX_EVENT_WORDS); in enqueue_events()
/linux-6.1.9/drivers/video/fbdev/
Dpxa3xx-gcu.h22 unsigned int num_words; member
Dpxa3xx-gcu.c389 priv->shared->num_words += words; in pxa3xx_gcu_write()
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/include/linux/soundwire/
Dsdw.h244 u32 num_words; member
318 u32 num_words; member
/linux-6.1.9/include/linux/firmware/cirrus/
Dcs_dsp.h247 unsigned int num_words, __be32 *data);
/linux-6.1.9/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-6.1.9/drivers/dma/ipu/
Dipu_idmac.c436 uint32_t num_words) in ipu_write_param_mem() argument
438 for (; num_words > 0; num_words--) { in ipu_write_param_mem()
/linux-6.1.9/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-6.1.9/arch/arm/mach-omap2/
Dsleep34xx.S363 subs r2, r2, #0x1 @ num_words--

12