Searched refs:chdr (Results 1 – 8 of 8) 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() local136 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()169 if (rhdr->cmd != chdr->cmd) { in send_cmd()171 rhdr->cmd, chdr->cmd); in send_cmd()174 if (rhdr->tag != chdr->tag) { 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
421 struct cper_hdr *chdr; in amdgpu_cper_is_hdr() local423 chdr = (struct cper_hdr *)&(ring->ring[pos]); in amdgpu_cper_is_hdr()424 return strcmp(chdr->signature, "CPER") ? false : true; in amdgpu_cper_is_hdr()429 struct cper_hdr *chdr; in amdgpu_cper_ring_get_ent_sz() local433 chdr = (struct cper_hdr *)&(ring->ring[pos]); in amdgpu_cper_ring_get_ent_sz()436 if (!strcmp(chdr->signature, "CPER")) { in amdgpu_cper_ring_get_ent_sz()437 rec_len = chdr->record_length; in amdgpu_cper_ring_get_ent_sz()446 chdr = (struct cper_hdr *)&(ring->ring[p]); in amdgpu_cper_ring_get_ent_sz()447 if (!strcmp(chdr->signature, "CPER")) { in amdgpu_cper_ring_get_ent_sz()
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()
Completed in 34 milliseconds