| /linux/drivers/net/usb/ |
| H A D | sierra_net.c | 261 static int parse_hip(const u8 *buf, const u32 buflen, struct hip_hdr *hh) in parse_hip() argument 269 curp = save16bit(&hh->payload_len, curp); in parse_hip() 270 curp = save8bit(&hh->msgid, curp); in parse_hip() 271 curp = save8bit(&hh->msgspecific, curp); in parse_hip() 273 padded = hh->msgid.byte & 0x80; in parse_hip() 274 hh->msgid.byte &= 0x7F; /* 7 bits */ in parse_hip() 276 hh->extmsgid.is_present = (hh->msgid.byte == SIERRA_NET_HIP_EXTENDEDID); in parse_hip() 277 if (hh->extmsgid.is_present) { in parse_hip() 281 hh->payload_len.word &= 0x3FFF; /* 14 bits */ in parse_hip() 283 curp = save16bit(&hh->extmsgid, curp); in parse_hip() [all …]
|
| /linux/include/net/ |
| H A D | neighbour.h | 161 struct hh_cache hh; member 490 static inline int neigh_hh_bridge(struct hh_cache *hh, struct sk_buff *skb) in neigh_hh_bridge() argument 500 seq = read_seqbegin(&hh->hh_lock); in neigh_hh_bridge() 501 memcpy(skb->data - hh_alen, hh->hh_data, ETH_ALEN + hh_alen - ETH_HLEN); in neigh_hh_bridge() 502 } while (read_seqretry(&hh->hh_lock, seq)); in neigh_hh_bridge() 507 static inline int neigh_hh_output(const struct hh_cache *hh, struct sk_buff *skb) in neigh_hh_output() argument 514 seq = read_seqbegin(&hh->hh_lock); in neigh_hh_output() 515 hh_len = READ_ONCE(hh->hh_len); in neigh_hh_output() 525 memcpy(skb->data - HH_DATA_MOD, hh->hh_data, in neigh_hh_output() 532 memcpy(skb->data - hh_alen, hh->hh_data, in neigh_hh_output() [all …]
|
| /linux/drivers/video/fbdev/ |
| H A D | cg3.c | 259 int ww, hh; in cg3_rdi_maybe_fixup_var() local 265 hh = simple_strtoul(p + 1, &p, 10); in cg3_rdi_maybe_fixup_var() 266 if (hh && *p == '-') { in cg3_rdi_maybe_fixup_var() 268 var->yres != hh) { in cg3_rdi_maybe_fixup_var() 270 var->yres = var->yres_virtual = hh; in cg3_rdi_maybe_fixup_var()
|
| /linux/net/ethernet/ |
| H A D | eth.c | 214 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh, __be16 type) in eth_header_cache() argument 220 (((u8 *) hh->hh_data) + (HH_DATA_OFF(sizeof(*eth)))); in eth_header_cache() 232 smp_store_release(&hh->hh_len, ETH_HLEN); in eth_header_cache() 246 void eth_header_cache_update(struct hh_cache *hh, in eth_header_cache_update() argument 250 memcpy(((u8 *) hh->hh_data) + HH_DATA_OFF(sizeof(struct ethhdr)), in eth_header_cache_update()
|
| /linux/arch/s390/include/uapi/asm/ |
| H A D | vtoc.h | 25 __u16 hh; member 32 __u16 hh; member
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_ras_eeprom.c | 397 u8 *hh; in amdgpu_ras_eeprom_correct_header_tag() local 403 hh = (void *) &hdr->header; in amdgpu_ras_eeprom_correct_header_tag() 404 csum -= (hh[0] + hh[1] + hh[2] + hh[3]); in amdgpu_ras_eeprom_correct_header_tag() 405 hh = (void *) &header; in amdgpu_ras_eeprom_correct_header_tag() 406 csum += hh[0] + hh[1] + hh[2] + hh[3]; in amdgpu_ras_eeprom_correct_header_tag()
|
| /linux/drivers/rapidio/ |
| H A D | rio_cm.c | 376 struct rio_ch_chan_hdr *hh = req_data; in riocm_req_handler() local 379 chnum = ntohs(hh->dst_ch); in riocm_req_handler() 398 req->destid = ntohl(hh->bhdr.src_id); in riocm_req_handler() 399 req->chan = ntohs(hh->src_ch); in riocm_req_handler() 422 struct rio_ch_chan_hdr *hh = resp_data; in riocm_resp_handler() local 425 chnum = ntohs(hh->dst_ch); in riocm_resp_handler() 436 ch->rem_channel = ntohs(hh->src_ch); in riocm_resp_handler() 454 struct rio_ch_chan_hdr *hh = data; in riocm_close_handler() local 457 riocm_debug(RX_CMD, "for ch=%d", ntohs(hh->dst_ch)); in riocm_close_handler() 460 ch = idr_find(&ch_idr, ntohs(hh->dst_ch)); in riocm_close_handler()
|
| /linux/include/linux/ |
| H A D | etherdevice.h | 47 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh, 49 void eth_header_cache_update(struct hh_cache *hh, const struct net_device *dev,
|
| H A D | netdevice.h | 317 int (*cache)(const struct neighbour *neigh, struct hh_cache *hh, __be16 type); 318 void (*cache_update)(struct hh_cache *hh,
|
| /linux/drivers/net/plip/ |
| H A D | plip.c | 151 struct hh_cache *hh, __be16 type); 1044 struct hh_cache *hh, __be16 type) in plip_hard_header_cache() argument 1048 ret = eth_header_cache(neigh, hh, type); in plip_hard_header_cache() 1052 eth = (struct ethhdr*)(((u8*)hh->hh_data) + in plip_hard_header_cache()
|
| /linux/drivers/firewire/ |
| H A D | net.c | 233 struct hh_cache *hh, __be16 type) in fwnet_header_cache() argument 241 h = (struct fwnet_header *)((u8 *)hh->hh_data + HH_DATA_OFF(sizeof(*h))); in fwnet_header_cache() 248 smp_store_release(&hh->hh_len, FWNET_HLEN); in fwnet_header_cache() 254 static void fwnet_header_cache_update(struct hh_cache *hh, in fwnet_header_cache_update() argument 257 memcpy((u8 *)hh->hh_data + HH_DATA_OFF(FWNET_HLEN), haddr, net->addr_len); in fwnet_header_cache_update()
|
| /linux/net/core/ |
| H A D | neighbour.c | 532 seqlock_init(&n->hh.hh_lock); in neigh_alloc() 1295 struct hh_cache *hh; in neigh_update_hhs() local 1303 hh = &neigh->hh; in neigh_update_hhs() 1304 if (READ_ONCE(hh->hh_len)) { in neigh_update_hhs() 1305 write_seqlock_bh(&hh->hh_lock); in neigh_update_hhs() 1306 update(hh, neigh->dev, neigh->ha); in neigh_update_hhs() 1307 write_sequnlock_bh(&hh->hh_lock); in neigh_update_hhs() 1584 struct hh_cache *hh = &n->hh; in neigh_hh_init() local 1591 if (!hh->hh_len) in neigh_hh_init() 1592 dev->header_ops->cache(n, hh, prot); in neigh_hh_init() [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-rtc | 66 (RO) RTC-provided time in 24-hour notation (hh:mm:ss)
|
| /linux/arch/xtensa/lib/ |
| H A D | umulsidi3.S | 91 #define umul_aa_hh umul.aa.hh
|
| /linux/net/bridge/ |
| H A D | br_netfilter_hooks.c | 291 READ_ONCE(neigh->hh.hh_len)) { in br_nf_pre_routing_finish_bridge() 300 if (neigh_hh_bridge(&neigh->hh, skb)) { in br_nf_pre_routing_finish_bridge()
|
| /linux/drivers/net/ |
| H A D | macsec.c | 605 struct macsec_eth_header *hh; in macsec_encrypt() local 651 hh = skb_push(skb, macsec_extra_len(sci_present)); in macsec_encrypt() 652 memmove(hh, eth, 2 * ETH_ALEN); in macsec_encrypt() 660 macsec_fill_sectag(hh, secy, pn.lower, sci_present); in macsec_encrypt() 661 macsec_set_shortlen(hh, unprotected_len - 2 * ETH_ALEN); in macsec_encrypt()
|
| /linux/Documentation/input/devices/ |
| H A D | atarikbd.rst | 573 hh ; hour 593 hh ; hour
|