Home
last modified time | relevance | path

Searched refs:len32 (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h188 #define REG_RD_DMAE(bp, offset, valp, len32) \ argument
190 bnx2x_read_dmae(bp, offset, len32);\
191 memcpy(valp, bnx2x_sp(bp, wb_data[0]), (len32) * 4); \
194 #define REG_WR_DMAE(bp, offset, valp, len32) \ argument
196 memcpy(bnx2x_sp(bp, wb_data[0]), valp, (len32) * 4); \
198 offset, len32); \
201 #define REG_WR_DMAE_LEN(bp, offset, valp, len32) \ argument
202 REG_WR_DMAE(bp, offset, valp, len32)
204 #define VIRT_WR_DMAE_LEN(bp, data, addr, len32, le32_swap) \ argument
206 memcpy(GUNZIP_BUF(bp), data, (len32) * 4); \
[all …]
Dbnx2x_vfpf.c1079 u32 vf_addr_lo, u32 len32) in bnx2x_copy32_vf_dmae() argument
1119 dmae.len = len32; in bnx2x_copy32_vf_dmae()
Dbnx2x_main.c583 u32 len32) in bnx2x_write_dmae() argument
592 bnx2x_init_ind_wr(bp, dst_addr, data, len32); in bnx2x_write_dmae()
594 bnx2x_init_str_wr(bp, dst_addr, data, len32); in bnx2x_write_dmae()
606 dmae.len = len32; in bnx2x_write_dmae()
618 void bnx2x_read_dmae(struct bnx2x *bp, u32 src_addr, u32 len32) in bnx2x_read_dmae() argument
628 for (i = 0; i < len32; i++) in bnx2x_read_dmae()
631 for (i = 0; i < len32; i++) in bnx2x_read_dmae()
645 dmae.len = len32; in bnx2x_read_dmae()
/drivers/crypto/
Datmel-tdes.c380 int len32; in atmel_tdes_crypt_pdc() local
391 len32 = DIV_ROUND_UP(length, sizeof(u8)); in atmel_tdes_crypt_pdc()
395 len32 = DIV_ROUND_UP(length, sizeof(u16)); in atmel_tdes_crypt_pdc()
399 len32 = DIV_ROUND_UP(length, sizeof(u32)); in atmel_tdes_crypt_pdc()
405 atmel_tdes_write(dd, TDES_TCR, len32); in atmel_tdes_crypt_pdc()
407 atmel_tdes_write(dd, TDES_RCR, len32); in atmel_tdes_crypt_pdc()
Datmel-sha.c565 int count, len32; in atmel_sha_xmit_cpu() local
581 len32 = DIV_ROUND_UP(length, sizeof(u32)); in atmel_sha_xmit_cpu()
585 for (count = 0; count < len32; count++) in atmel_sha_xmit_cpu()
595 int len32; in atmel_sha_xmit_pdc() local
600 len32 = DIV_ROUND_UP(length1, sizeof(u32)); in atmel_sha_xmit_pdc()
603 atmel_sha_write(dd, SHA_TCR, len32); in atmel_sha_xmit_pdc()
605 len32 = DIV_ROUND_UP(length2, sizeof(u32)); in atmel_sha_xmit_pdc()
607 atmel_sha_write(dd, SHA_TNCR, len32); in atmel_sha_xmit_pdc()
Domap-sham.c504 int count, len32, bs32, offset = 0; in omap_sham_xmit_cpu() local
524 len32 = DIV_ROUND_UP(length, sizeof(u32)); in omap_sham_xmit_cpu()
532 while (len32) { in omap_sham_xmit_cpu()
536 for (count = 0; count < min(len32, bs32); count++, offset++) { in omap_sham_xmit_cpu()
551 len32 -= min(len32, bs32); in omap_sham_xmit_cpu()
Dimg-hash.c194 u32 count, len32; in img_hash_xmit_cpu() local
202 len32 = DIV_ROUND_UP(length, sizeof(u32)); in img_hash_xmit_cpu()
204 for (count = 0; count < len32; count++) in img_hash_xmit_cpu()
/drivers/net/ethernet/broadcom/
Dbnx2.c4404 u32 cmd_flags, offset32, len32, extra; in bnx2_nvram_read() local
4416 len32 = buf_size; in bnx2_nvram_read()
4429 if (pre_len >= len32) { in bnx2_nvram_read()
4430 pre_len = len32; in bnx2_nvram_read()
4447 len32 -= pre_len; in bnx2_nvram_read()
4449 if (len32 & 3) { in bnx2_nvram_read()
4450 extra = 4 - (len32 & 3); in bnx2_nvram_read()
4451 len32 = (len32 + 4) & ~3; in bnx2_nvram_read()
4454 if (len32 == 4) { in bnx2_nvram_read()
4467 else if (len32 > 0) { in bnx2_nvram_read()
[all …]
/drivers/crypto/stm32/
Dstm32-hash.c372 unsigned int count, len32; in stm32_hash_xmit_cpu() local
387 len32 = DIV_ROUND_UP(length, sizeof(u32)); in stm32_hash_xmit_cpu()
390 __func__, length, final, len32); in stm32_hash_xmit_cpu()
407 for (count = 0; count < len32; count++) in stm32_hash_xmit_cpu()