/linux/drivers/char/hw_random/ |
H A D | bcm2835-rng.c | 68 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/drivers/soundwire/ |
H A D | mipi_disco.c | 144 dp0->num_words = nval; in sdw_slave_read_dp0() 146 dp0->num_words, sizeof(*dp0->words), in sdw_slave_read_dp0() 153 dp0->words, dp0->num_words); in sdw_slave_read_dp0() 201 dpn[i].num_words = nval; in sdw_slave_read_dpn() 203 dpn[i].num_words, in sdw_slave_read_dpn() 213 dpn[i].words, dpn[i].num_words); in sdw_slave_read_dpn()
|
/linux/drivers/char/xilinx_hwicap/ |
H A D | fifo_icap.c | 214 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/drivers/crypto/caam/ |
H A D | qi.c | 329 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/drivers/spi/ |
H A D | spi-qup.c | 253 static void spi_qup_read_from_fifo(struct spi_qup *controller, u32 num_words) in spi_qup_read_from_fifo() argument 259 for (; num_words; num_words--) { in spi_qup_read_from_fifo() 288 u32 remainder, words_per_block, num_words; in spi_qup_read() local 304 num_words = (remainder > words_per_block) ? in spi_qup_read() 311 num_words = 1; in spi_qup_read() 315 spi_qup_read_from_fifo(controller, num_words); in spi_qup_read() 317 remainder -= num_words; in spi_qup_read() 341 static void spi_qup_write_to_fifo(struct spi_qup *controller, u32 num_words) in spi_qup_write_to_fifo() argument 347 for (; num_words; num_words--) { in spi_qup_write_to_fifo() 375 u32 remainder, words_per_block, num_words; in spi_qup_write() local [all …]
|
H A D | spi-fsl-dspi.c | 689 static void dspi_xspi_fifo_write(struct fsl_dspi *dspi, int num_words) in dspi_xspi_fifo_write() argument 691 int num_bytes = num_words * dspi->oper_word_size; in dspi_xspi_fifo_write() 708 SPI_CTARE_DTCP(num_words)); in dspi_xspi_fifo_write() 717 while (num_words--) { in dspi_xspi_fifo_write() 808 int num_words, num_bytes; in dspi_fifo_write() local 821 num_words = dspi->len / dspi->oper_word_size; in dspi_fifo_write() 822 if (num_words > num_fifo_entries) in dspi_fifo_write() 823 num_words = num_fifo_entries; in dspi_fifo_write() 826 num_bytes = num_words * dspi->oper_word_size; in dspi_fifo_write() 834 dspi->words_in_flight = num_words; in dspi_fifo_write() [all …]
|
/linux/drivers/nvmem/ |
H A D | bcm-ocotp.c | 249 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/drivers/mailbox/ |
H A D | ti-msgmgr.c | 199 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()
|
H A D | mailbox-mpfs.c | 155 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/drivers/crypto/ |
H A D | atmel-sha.c | 1504 size_t i, num_words; in atmel_sha_cpu_transfer() local 1510 num_words = DIV_ROUND_UP(ctx->bufcnt, sizeof(u32)); in atmel_sha_cpu_transfer() 1511 for (i = 0, din = 0; i < num_words; ++i, din += din_inc) in atmel_sha_cpu_transfer() 1753 size_t i, num_words = ds / sizeof(u32); in atmel_sha_hmac_prehash_key_done() local 1756 for (i = 0; i < num_words; ++i) in atmel_sha_hmac_prehash_key_done() 1769 size_t i, num_words = bs / sizeof(u32); in atmel_sha_hmac_compute_ipad_hash() local 1773 for (i = 0; i < num_words; ++i) { in atmel_sha_hmac_compute_ipad_hash() 1790 size_t i, num_words = hs / sizeof(u32); in atmel_sha_hmac_compute_opad_hash() local 1792 for (i = 0; i < num_words; ++i) in atmel_sha_hmac_compute_opad_hash() 1805 size_t i, num_words = hs / sizeof(u32); in atmel_sha_hmac_setup_done() local [all …]
|
/linux/drivers/video/fbdev/ |
H A D | pxa3xx-gcu.h | 22 unsigned int num_words; member
|
H A D | pxa3xx-gcu.c | 389 priv->shared->num_words += words; in pxa3xx_gcu_write()
|
/linux/tools/testing/selftests/bpf/ |
H A D | test_flow_dissector.c | 212 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/drivers/net/ethernet/aquantia/atlantic/macsec/ |
H A D | macsec_api.c | 60 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/drivers/gpu/host1x/hw/ |
H A D | channel_hw.c | 37 u32 num_words = min(words - i, TRACE_MAX_LENGTH); in trace_write_gather() local 42 num_words, offset, in trace_write_gather()
|
/linux/include/linux/soundwire/ |
H A D | sdw.h | 249 u32 num_words; member 324 u32 num_words; member
|
/linux/include/linux/firmware/cirrus/ |
H A D | cs_dsp.h | 261 unsigned int num_words, __be32 *data);
|
/linux/tools/testing/selftests/net/ |
H A D | msg_zerocopy.c | 109 static uint16_t get_ip_csum(const uint16_t *start, int num_words) in get_ip_csum() argument 114 for (i = 0; i < num_words; i++) in get_ip_csum()
|
H A D | txtimestamp.c | 406 static uint16_t get_ip_csum(const uint16_t *start, int num_words, in get_ip_csum() argument 411 for (i = 0; i < num_words; i++) in get_ip_csum()
|
/linux/drivers/net/ethernet/ti/ |
H A D | netcp_core.c | 142 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/drivers/block/drbd/ |
H A D | drbd_main.c | 1218 unsigned long num_words; in send_bitmap_rle_or_plain() local 1222 num_words = min_t(size_t, data_size / sizeof(*p), in send_bitmap_rle_or_plain() 1224 len = num_words * sizeof(*p); in send_bitmap_rle_or_plain() 1226 drbd_bm_get_lel(device, c->word_offset, num_words, p); in send_bitmap_rle_or_plain() 1229 c->word_offset += num_words; in send_bitmap_rle_or_plain()
|
H A D | drbd_receiver.c | 4638 unsigned int num_words = min_t(size_t, data_size / sizeof(*p), in receive_bitmap_plain() local 4640 unsigned int want = num_words * sizeof(*p); in receive_bitmap_plain() 4653 drbd_bm_merge_lel(peer_device->device, c->word_offset, num_words, p); in receive_bitmap_plain() 4655 c->word_offset += num_words; in receive_bitmap_plain()
|
/linux/arch/arm/mach-omap2/ |
H A D | sleep34xx.S | 363 subs r2, r2, #0x1 @ num_words--
|
/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_submission.c | 4609 u32 max_words, num_words; member 4618 u32 *end = policy->h2g.data + policy->num_words; in __guc_scheduling_policy_action_size() 4628 policy->num_words = 0; in __guc_scheduling_policy_start_klv() 4637 u32 *klv_ptr = policy->h2g.data + policy->num_words; in __guc_scheduling_policy_add_klv() 4639 GEM_BUG_ON((policy->num_words + 1 + len) > policy->max_words); in __guc_scheduling_policy_add_klv() 4643 policy->num_words += 1 + len; in __guc_scheduling_policy_add_klv()
|
/linux/drivers/firmware/cirrus/ |
H A D | cs_dsp.c | 3048 unsigned int num_words, __be32 *data) in cs_dsp_read_raw_data_block() argument 3062 sizeof(*data) * num_words); in cs_dsp_read_raw_data_block()
|