Home
last modified time | relevance | path

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

/linux-5.19.10/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 …]
/linux-5.19.10/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 …]
/linux-5.19.10/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
/linux-5.19.10/net/netfilter/
Dxt_ipcomp.c43 const struct ip_comp_hdr *chdr; in comp_mt() local
50 chdr = skb_header_pointer(skb, par->thoff, sizeof(_comphdr), &_comphdr); in comp_mt()
51 if (chdr == NULL) { in comp_mt()
61 ntohs(chdr->cpi), in comp_mt()
/linux-5.19.10/net/ipv6/
Dexthdrs.c491 struct ipv6_rpl_sr_hdr *hdr, *ohdr, *chdr; in ipv6_rpl_srh_rcv() local
607 chdr = (struct ipv6_rpl_sr_hdr *)(buf + ((ohdr->hdrlen + 1) << 3)); in ipv6_rpl_srh_rcv()
626 ipv6_rpl_srh_compress(chdr, ohdr, &ipv6_hdr(skb)->daddr, n); in ipv6_rpl_srh_rcv()
633 skb_push(skb, ((chdr->hdrlen + 1) << 3) + sizeof(struct ipv6hdr)); in ipv6_rpl_srh_rcv()
639 memcpy(skb_transport_header(skb), chdr, (chdr->hdrlen + 1) << 3); in ipv6_rpl_srh_rcv()
643 sizeof(struct ipv6hdr) + ((chdr->hdrlen + 1) << 3)); in ipv6_rpl_srh_rcv()
/linux-5.19.10/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()
/linux-5.19.10/fs/ksmbd/
Dsmb2pdu.c6617 struct smb2_hdr *chdr; in smb2_cancel() local
6630 chdr = smb2_get_msg(iter->request_buf); in smb2_cancel()
6639 le16_to_cpu(chdr->Command)); in smb2_cancel()
6649 chdr = smb2_get_msg(iter->request_buf); in smb2_cancel()
6651 if (chdr->MessageId != hdr->MessageId || in smb2_cancel()
6658 le16_to_cpu(chdr->Command)); in smb2_cancel()