Searched refs:chdr (Results 1 – 7 of 7) sorted by relevance
363 struct qlink_cmd chdr; member377 struct qlink_cmd chdr; member407 struct qlink_cmd chdr; member433 struct qlink_cmd chdr; member446 struct qlink_cmd chdr; member462 struct qlink_cmd chdr; member480 struct qlink_cmd chdr; member494 struct qlink_cmd chdr; member507 struct qlink_cmd chdr; member521 struct qlink_cmd chdr; member[all …]
128 struct cam_hdr *chdr = (void *)obuf; in send_cmd() local131 if (cmd_len & 1 || cmd_len > (0x400 - sizeof(*chdr))) { in send_cmd()136 chdr->magic[0] = 0x47; in send_cmd()137 chdr->magic[1] = 0x4d; in send_cmd()138 chdr->cmd = cpu_to_le16(cmd); in send_cmd()139 chdr->tag = cpu_to_le16(sd->cam_tag); in send_cmd()140 chdr->len = cpu_to_le16(cmd_len / 2); in send_cmd()142 memcpy(obuf+sizeof(*chdr), cmdbuf, cmd_len); in send_cmd()144 res = kinect_write(udev, obuf, cmd_len + sizeof(*chdr)); in send_cmd()169 if (rhdr->cmd != chdr->cmd) { in send_cmd()[all …]
218 struct crypto_ctx_hdr *chdr; in crypto_alloc_context() local222 chdr = kmalloc(sizeof(*chdr), GFP_KERNEL); in crypto_alloc_context()223 if (!chdr) in crypto_alloc_context()228 kfree(chdr); in crypto_alloc_context()238 chdr->pool = ndev->ctx_pool; in crypto_alloc_context()239 chdr->dma = dma; in crypto_alloc_context()240 chdr->vaddr = vaddr; in crypto_alloc_context()242 return chdr; in crypto_alloc_context()
111 struct crypto_ctx_hdr *chdr; in nitrox_skcipher_init() local119 chdr = crypto_alloc_context(nctx->ndev); in nitrox_skcipher_init()120 if (!chdr) { in nitrox_skcipher_init()126 nctx->chdr = chdr; in nitrox_skcipher_init()127 nctx->u.ctx_handle = (uintptr_t)((u8 *)chdr->vaddr + in nitrox_skcipher_init()157 crypto_free_context((void *)nctx->chdr); in nitrox_skcipher_exit()
284 struct crypto_ctx_hdr *chdr; in nitrox_aead_init() local292 chdr = crypto_alloc_context(nctx->ndev); in nitrox_aead_init()293 if (!chdr) { in nitrox_aead_init()297 nctx->chdr = chdr; in nitrox_aead_init()298 nctx->u.ctx_handle = (uintptr_t)((u8 *)chdr->vaddr + in nitrox_aead_init()351 crypto_free_context((void *)nctx->chdr); in nitrox_aead_exit()
208 struct crypto_ctx_hdr *chdr; member
341 static inline u8 wmi_cmd_hdr_get_if_idx(struct wmi_cmd_hdr *chdr) in wmi_cmd_hdr_get_if_idx() argument343 return le16_to_cpu(chdr->info1) & WMI_CMD_HDR_IF_ID_MASK; in wmi_cmd_hdr_get_if_idx()