Lines Matching refs:sham
244 static struct omap_sham_drv sham = { variable
245 .dev_list = LIST_HEAD_INIT(sham.dev_list),
246 .lock = __SPIN_LOCK_UNLOCKED(sham.lock),
934 spin_lock_bh(&sham.lock); in omap_sham_find_dev()
935 dd = list_first_entry(&sham.dev_list, struct omap_sham_dev, list); in omap_sham_find_dev()
936 list_move_tail(&dd->list, &sham.dev_list); in omap_sham_find_dev()
938 spin_unlock_bh(&sham.lock); in omap_sham_find_dev()
1309 if (!test_bit(FLAGS_AUTO_XOR, &sham.flags)) { in omap_sham_setkey()
2108 sham.flags |= dd->pdata->flags; in omap_sham_probe()
2130 spin_lock_bh(&sham.lock); in omap_sham_probe()
2131 list_add_tail(&dd->list, &sham.dev_list); in omap_sham_probe()
2132 spin_unlock_bh(&sham.lock); in omap_sham_probe()
2180 spin_lock_bh(&sham.lock); in omap_sham_probe()
2182 spin_unlock_bh(&sham.lock); in omap_sham_probe()
2202 spin_lock_bh(&sham.lock); in omap_sham_remove()
2204 spin_unlock_bh(&sham.lock); in omap_sham_remove()