Home
last modified time | relevance | path

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

/linux/drivers/crypto/bcm/
H A Dcipher.c44 struct bcm_device_private iproc_priv; variable
93 #define BCM_HDR_LEN iproc_priv.bcm_hdr_len
107 u8 chan_idx = atomic_inc_return(&iproc_priv.next_chan); in select_channel()
109 return chan_idx % iproc_priv.spu.num_chan; in select_channel()
138 struct spu_hw *spu = &iproc_priv.spu; in spu_skcipher_rx_sg_create()
201 struct spu_hw *spu = &iproc_priv.spu; in spu_skcipher_tx_sg_create()
248 struct device *dev = &(iproc_priv.pdev->dev); in mailbox_send_message()
250 err = mbox_send_message(iproc_priv.mbox[chan_idx], mssg); in mailbox_send_message()
259 err = mbox_send_message(iproc_priv.mbox[chan_idx], in mailbox_send_message()
261 atomic_inc(&iproc_priv.mb_no_spc); in mailbox_send_message()
[all …]
H A Dutil.c490 if (!iproc_priv.debugfs_dir) in spu_setup_debugfs()
491 iproc_priv.debugfs_dir = debugfs_create_dir(KBUILD_MODNAME, in spu_setup_debugfs()
494 if (!iproc_priv.debugfs_stats) in spu_setup_debugfs()
496 debugfs_create_file("stats", 0400, iproc_priv.debugfs_dir, in spu_setup_debugfs()
497 &iproc_priv, &spu_debugfs_stats); in spu_setup_debugfs()
502 debugfs_remove_recursive(iproc_priv.debugfs_dir); in spu_free_debugfs()
503 iproc_priv.debugfs_dir = NULL; in spu_free_debugfs()
H A Dcipher.h467 extern struct bcm_device_private iproc_priv;