/drivers/char/hw_random/ |
D | bcm2835-rng.c | 67 u32 num_words, count; in bcm2835_rng_read() local 75 num_words = rng_readl(priv, RNG_STATUS) >> 24; in bcm2835_rng_read() 76 if (num_words > max_words) in bcm2835_rng_read() 77 num_words = max_words; in bcm2835_rng_read() 79 for (count = 0; count < num_words; count++) in bcm2835_rng_read() 82 return num_words * sizeof(u32); in bcm2835_rng_read()
|
/drivers/crypto/caam/ |
D | qi.c | 318 u32 num_words; in caam_drv_ctx_update() local 322 num_words = desc_len(sh_desc); in caam_drv_ctx_update() 323 if (num_words > MAX_SDLEN) { in caam_drv_ctx_update() 324 dev_err(qidev, "Invalid descriptor len: %d words\n", num_words); in caam_drv_ctx_update() 361 num_words); in caam_drv_ctx_update() 396 u32 num_words; in caam_drv_ctx_init() local 401 num_words = desc_len(sh_desc); in caam_drv_ctx_init() 402 if (num_words > MAX_SDLEN) { in caam_drv_ctx_init() 404 num_words); in caam_drv_ctx_init() 417 num_words); in caam_drv_ctx_init()
|
/drivers/soundwire/ |
D | mipi_disco.c | 138 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()
|
/drivers/char/xilinx_hwicap/ |
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()
|
/drivers/spi/ |
D | spi-qup.c | 229 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 …]
|
/drivers/mailbox/ |
D | ti-msgmgr.c | 209 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()
|
/drivers/nvmem/ |
D | bcm-ocotp.c | 261 u32 num_words; in bcm_otpc_probe() local 286 err = device_property_read_u32(dev, "brcm,ocotp-size", &num_words); in bcm_otpc_probe() 290 } else if (num_words == 0) { in bcm_otpc_probe() 295 bcm_otpc_nvmem_config.size = 4 * num_words; in bcm_otpc_probe()
|
/drivers/crypto/ |
D | atmel-sha.c | 1572 size_t i, num_words; in atmel_sha_cpu_transfer() local 1578 num_words = DIV_ROUND_UP(ctx->bufcnt, sizeof(u32)); in atmel_sha_cpu_transfer() 1579 for (i = 0, din = 0; i < num_words; ++i, din += din_inc) in atmel_sha_cpu_transfer() 1821 size_t i, num_words = ds / sizeof(u32); in atmel_sha_hmac_prehash_key_done() local 1824 for (i = 0; i < num_words; ++i) in atmel_sha_hmac_prehash_key_done() 1837 size_t i, num_words = bs / sizeof(u32); in atmel_sha_hmac_compute_ipad_hash() local 1840 for (i = 0; i < num_words; ++i) { in atmel_sha_hmac_compute_ipad_hash() 1857 size_t i, num_words = hs / sizeof(u32); in atmel_sha_hmac_compute_opad_hash() local 1859 for (i = 0; i < num_words; ++i) in atmel_sha_hmac_compute_opad_hash() 1872 size_t i, num_words = hs / sizeof(u32); in atmel_sha_hmac_setup_done() local [all …]
|
/drivers/platform/chrome/wilco_ec/ |
D | event.c | 217 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()
|
/drivers/video/fbdev/ |
D | pxa3xx-gcu.h | 22 unsigned int num_words; member
|
D | pxa3xx-gcu.c | 390 priv->shared->num_words += words; in pxa3xx_gcu_write()
|
/drivers/gpu/host1x/hw/ |
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()
|
/drivers/gpu/drm/via/ |
D | via_verifier.c | 239 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()
|
/drivers/net/ethernet/ti/ |
D | netcp_core.c | 143 static void get_words(dma_addr_t *words, int num_words, __le32 *desc) in get_words() argument 147 for (i = 0; i < num_words; i++) in get_words() 185 static void set_words(u32 *words, int num_words, __le32 *desc) in set_words() argument 189 for (i = 0; i < num_words; i++) in set_words()
|
/drivers/dma/ipu/ |
D | ipu_idmac.c | 436 uint32_t num_words) in ipu_write_param_mem() argument 438 for (; num_words > 0; num_words--) { in ipu_write_param_mem()
|
/drivers/block/drbd/ |
D | drbd_main.c | 1238 unsigned long num_words; in send_bitmap_rle_or_plain() local 1242 num_words = min_t(size_t, data_size / sizeof(*p), in send_bitmap_rle_or_plain() 1244 len = num_words * sizeof(*p); in send_bitmap_rle_or_plain() 1246 drbd_bm_get_lel(device, c->word_offset, num_words, p); in send_bitmap_rle_or_plain() 1248 c->word_offset += num_words; in send_bitmap_rle_or_plain()
|
D | drbd_receiver.c | 4684 unsigned int num_words = min_t(size_t, data_size / sizeof(*p), in receive_bitmap_plain() local 4686 unsigned int want = num_words * sizeof(*p); in receive_bitmap_plain() 4699 drbd_bm_merge_lel(peer_device->device, c->word_offset, num_words, p); in receive_bitmap_plain() 4701 c->word_offset += num_words; in receive_bitmap_plain()
|