Home
last modified time | relevance | path

Searched refs:chdr (Results 1 – 7 of 7) sorted by relevance

/drivers/net/wireless/quantenna/qtnfmac/
Dqlink.h363 struct qlink_cmd chdr; member
377 struct qlink_cmd chdr; member
407 struct qlink_cmd chdr; member
433 struct qlink_cmd chdr; member
446 struct qlink_cmd chdr; member
462 struct qlink_cmd chdr; member
480 struct qlink_cmd chdr; member
494 struct qlink_cmd chdr; member
507 struct qlink_cmd chdr; member
521 struct qlink_cmd chdr; member
[all …]
/drivers/media/usb/gspca/
Dkinect.c128 struct cam_hdr *chdr = (void *)obuf; in send_cmd() local
131 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 …]
/drivers/crypto/cavium/nitrox/
Dnitrox_lib.c218 struct crypto_ctx_hdr *chdr; in crypto_alloc_context() local
222 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()
Dnitrox_skcipher.c111 struct crypto_ctx_hdr *chdr; in nitrox_skcipher_init() local
119 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()
Dnitrox_aead.c284 struct crypto_ctx_hdr *chdr; in nitrox_aead_init() local
292 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()
Dnitrox_req.h208 struct crypto_ctx_hdr *chdr; member
/drivers/net/wireless/ath/ath6kl/
Dwmi.h341 static inline u8 wmi_cmd_hdr_get_if_idx(struct wmi_cmd_hdr *chdr) in wmi_cmd_hdr_get_if_idx() argument
343 return le16_to_cpu(chdr->info1) & WMI_CMD_HDR_IF_ID_MASK; in wmi_cmd_hdr_get_if_idx()