Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/firmware/arm_scmi/
Dmailbox.c87 int num_mb, num_sh, ret = 0; in mailbox_chan_validate() local
91 num_sh = of_count_phandle_with_args(np, "shmem", NULL); in mailbox_chan_validate()
92 dev_dbg(cdev, "Found %d mboxes and %d shmems !\n", num_mb, num_sh); in mailbox_chan_validate()
95 if (num_mb <= 0 || num_sh <= 0 || num_sh > 2 || num_mb > 3 || in mailbox_chan_validate()
96 (num_mb == 1 && num_sh != 1) || (num_mb == 3 && num_sh != 2)) { in mailbox_chan_validate()
99 of_node_full_name(np), num_mb, num_sh); in mailbox_chan_validate()
104 if (num_sh > 1) { in mailbox_chan_validate()
127 if (num_sh == 2) { in mailbox_chan_validate()