Home
last modified time | relevance | path

Searched refs:num_mb (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/crypto/
Dtcrypt.c68 static u32 num_mb = 8; variable
150 u32 num_mb, int *rc) in do_mult_aead_op() argument
155 for (i = 0; i < num_mb; i++) { in do_mult_aead_op()
163 for (i = 0; i < num_mb; i++) { in do_mult_aead_op()
176 int blen, int secs, u32 num_mb) in test_mb_aead_jiffies() argument
183 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_aead_jiffies()
189 ret = do_mult_aead_op(data, enc, num_mb, rc); in test_mb_aead_jiffies()
195 bcount * num_mb, secs, (u64)bcount * blen * num_mb); in test_mb_aead_jiffies()
203 int blen, u32 num_mb) in test_mb_aead_cycles() argument
210 rc = kcalloc(num_mb, sizeof(*rc), GFP_KERNEL); in test_mb_aead_cycles()
[all …]
/linux-6.12.1/drivers/firmware/arm_scmi/transports/
Dmailbox.c79 int num_mb; in mailbox_chan_available() local
86 num_mb = of_count_phandle_with_args(of_node, "mboxes", "#mbox-cells"); in mailbox_chan_available()
87 if (num_mb == 3 && idx == 1) in mailbox_chan_available()
115 int num_mb, num_sh, ret = 0; in mailbox_chan_validate() local
118 num_mb = of_count_phandle_with_args(np, "mboxes", "#mbox-cells"); in mailbox_chan_validate()
120 dev_dbg(cdev, "Found %d mboxes and %d shmems !\n", num_mb, num_sh); in mailbox_chan_validate()
123 if (num_mb <= 0 || num_sh <= 0 || num_sh > 2 || num_mb > 4 || in mailbox_chan_validate()
124 (num_mb == 1 && num_sh != 1) || (num_mb == 3 && num_sh != 2) || in mailbox_chan_validate()
125 (num_mb == 4 && num_sh != 2)) { in mailbox_chan_validate()
128 of_node_full_name(np), num_mb, num_sh); in mailbox_chan_validate()
[all …]