Lines Matching refs:chan_idx
108 u8 chan_idx = atomic_inc_return(&iproc_priv.next_chan); in select_channel() local
110 return chan_idx % iproc_priv.spu.num_chan; in select_channel()
245 u8 chan_idx) in mailbox_send_message() argument
251 err = mbox_send_message(iproc_priv.mbox[chan_idx], mssg); in mailbox_send_message()
260 err = mbox_send_message(iproc_priv.mbox[chan_idx], in mailbox_send_message()
278 mbox_client_txdone(iproc_priv.mbox[chan_idx], err); in mailbox_send_message()
459 err = mailbox_send_message(mssg, req->base.flags, rctx->chan_idx); in handle_skcipher_req()
880 err = mailbox_send_message(mssg, req->base.flags, rctx->chan_idx); in handle_ahash_req()
1518 err = mailbox_send_message(mssg, req->base.flags, rctx->chan_idx); in handle_aead_req()
1755 rctx->chan_idx = select_channel(); in skcipher_enqueue()
1942 rctx->chan_idx = select_channel(); in ahash_enqueue()
2747 rctx->chan_idx = select_channel(); in aead_enqueue()