Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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.c285 struct crypto_ctx_hdr *chdr; in nitrox_aead_init() local
293 chdr = crypto_alloc_context(nctx->ndev); in nitrox_aead_init()
294 if (!chdr) { in nitrox_aead_init()
298 nctx->chdr = chdr; in nitrox_aead_init()
299 nctx->u.ctx_handle = (uintptr_t)((u8 *)chdr->vaddr + in nitrox_aead_init()
352 crypto_free_context((void *)nctx->chdr); in nitrox_aead_exit()
Dnitrox_req.h207 struct crypto_ctx_hdr *chdr; member
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/net/ipv6/
Dexthdrs.c473 struct ipv6_rpl_sr_hdr *hdr, *ohdr, *chdr; in ipv6_rpl_srh_rcv() local
590 chdr = (struct ipv6_rpl_sr_hdr *)(buf + ((ohdr->hdrlen + 1) << 3)); in ipv6_rpl_srh_rcv()
611 ipv6_rpl_srh_compress(chdr, ohdr, &ipv6_hdr(skb)->daddr, n); in ipv6_rpl_srh_rcv()
618 skb_push(skb, ((chdr->hdrlen + 1) << 3) + sizeof(struct ipv6hdr)); in ipv6_rpl_srh_rcv()
624 memcpy(skb_transport_header(skb), chdr, (chdr->hdrlen + 1) << 3); in ipv6_rpl_srh_rcv()
628 sizeof(struct ipv6hdr) + ((chdr->hdrlen + 1) << 3)); in ipv6_rpl_srh_rcv()
/kernel/linux/linux-5.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()