/linux-master/drivers/net/usb/ |
H A D | sierra_net.c | 263 static int parse_hip(const u8 *buf, const u32 buflen, struct hip_hdr *hh) argument 271 curp = save16bit(&hh->payload_len, curp); 272 curp = save8bit(&hh->msgid, curp); 273 curp = save8bit(&hh->msgspecific, curp); 275 padded = hh->msgid.byte & 0x80; 276 hh->msgid.byte &= 0x7F; /* 7 bits */ 278 hh->extmsgid.is_present = (hh->msgid.byte == SIERRA_NET_HIP_EXTENDEDID); 279 if (hh->extmsgid.is_present) { 283 hh 412 sierra_net_handle_lsi(struct usbnet *dev, char *data, struct hip_hdr *hh) argument 491 struct hip_hdr hh; local 805 struct hip_hdr hh; local [all...] |
/linux-master/drivers/isdn/mISDN/ |
H A D | hwchannel.c | 213 struct mISDNhead *hh; local 220 hh = mISDN_HEAD_P(dch->rx_skb); 221 hh->prim = PH_DATA_IND; 222 hh->id = get_sapi_tei(dch->rx_skb->data); 232 struct mISDNhead *hh; local 239 hh = mISDN_HEAD_P(ech->rx_skb); 240 hh->prim = PH_DATA_E_IND; 241 hh->id = get_sapi_tei(ech->rx_skb->data); 251 struct mISDNhead *hh; local 266 hh 386 struct mISDNhead *hh; local [all...] |
H A D | dsp_core.c | 281 dsp_control_req(struct dsp *dsp, struct mISDNhead *hh, struct sk_buff *skb) argument 667 struct mISDNhead *hh; local 672 hh = mISDN_HEAD_P(skb); 673 switch (hh->prim) { 706 hh->prim = DL_DATA_IND; 720 skb->len, hh->id); 765 hh->prim = DL_DATA_IND; 773 hh->id, skb->len, dsp->name); 774 switch (hh->id) { 825 "%s\n", __func__, hh 1008 struct mISDNhead *hh; local [all...] |
H A D | stack.c | 23 struct mISDNhead *hh = mISDN_HEAD_P(skb); local 27 __func__, hh->prim, hh->id, skb); 85 struct mISDNhead *hh = mISDN_HEAD_P(skb); local 92 if ((hh->id & MISDN_ID_ADDR_MASK) == MISDN_ID_ANY) { /* L2 for all */ 108 hh->prim, ch->addr, ret); 119 if ((hh->id & MISDN_ID_ADDR_MASK) == ch->addr) { 132 __func__, hh->prim, ret); 142 struct mISDNhead *hh = mISDN_HEAD_P(skb); local 146 lm = hh [all...] |
H A D | layer2.c | 158 struct mISDNhead *hh; local 166 hh = mISDN_HEAD_P(skb); 167 hh->prim = prim; 168 hh->id = (l2->ch.nr << 16) | l2->ch.addr; 193 struct mISDNhead *hh = mISDN_HEAD_P(skb); local 195 if (hh->prim == PH_DATA_REQ) { 208 struct mISDNhead *hh = mISDN_HEAD_P(skb); local 210 hh->prim = prim; 211 hh->id = id; 220 struct mISDNhead *hh; local 237 ph_data_confirm(struct layer2 *l2, struct mISDNhead *hh, struct sk_buff *skb) argument 282 struct mISDNhead *hh; local 1856 ph_data_indication(struct layer2 *l2, struct mISDNhead *hh, struct sk_buff *skb) argument 1945 struct mISDNhead *hh = mISDN_HEAD_P(skb); local [all...] |
H A D | l1oip_core.c | 871 struct mISDNhead *hh = mISDN_HEAD_P(skb); local 876 switch (hh->prim) { 903 queue_ch_frame(ch, PH_DATA_CNF, hh->id, skb); 911 queue_ch_frame(ch, PH_ACTIVATE_IND, hh->id, skb); 913 queue_ch_frame(ch, PH_DEACTIVATE_IND, hh->id, skb); 922 queue_ch_frame(ch, PH_ACTIVATE_IND, hh->id, skb); 924 queue_ch_frame(ch, PH_DEACTIVATE_IND, hh->id, skb); 1091 struct mISDNhead *hh = mISDN_HEAD_P(skb); local 1095 switch (hh->prim) { 1115 queue_ch_frame(ch, PH_DATA_CNF, hh [all...] |
H A D | dsp_cmx.c | 1175 struct mISDNhead *hh = mISDN_HEAD_P(skb); local 1198 dsp->rx_R = (hh->id & CMX_BUFF_MASK); 1215 dsp->rx_W = (hh->id & CMX_BUFF_MASK); 1216 /* printk(KERN_DEBUG "%s %08x\n", dsp->name, hh->id); */ 1230 dsp->rx_R = (hh->id & CMX_BUFF_MASK); 1258 dsp->rx_R = (hh->id & CMX_BUFF_MASK); 1307 struct mISDNhead *hh, *thh; local 1350 hh = mISDN_HEAD_P(nskb); 1351 hh->prim = PH_DATA_REQ; 1352 hh 1909 struct mISDNhead *hh; local [all...] |
H A D | tei.c | 296 struct mISDNhead *hh; local 302 hh = mISDN_HEAD_P(skb); 303 hh->prim = prim; 304 hh->id = (mgr->ch.nr << 16) | mgr->ch.addr; 1099 struct mISDNhead *hh = mISDN_HEAD_P(skb); local 1105 __func__, hh->prim, hh->id); 1106 switch (hh->prim) { 1112 do_ack(mgr, hh->id); 1199 struct mISDNhead *hh local 1287 struct mISDNhead *hhc, *hh = mISDN_HEAD_P(skb); local [all...] |
/linux-master/include/net/ |
H A D | neighbour.h | 157 struct hh_cache hh; member in struct:neighbour 476 static inline int neigh_hh_bridge(struct hh_cache *hh, struct sk_buff *skb) argument 481 seq = read_seqbegin(&hh->hh_lock); 483 memcpy(skb->data - hh_alen, hh->hh_data, ETH_ALEN + hh_alen - ETH_HLEN); 484 } while (read_seqretry(&hh->hh_lock, seq)); 489 static inline int neigh_hh_output(const struct hh_cache *hh, struct sk_buff *skb) argument 496 seq = read_seqbegin(&hh->hh_lock); 497 hh_len = READ_ONCE(hh->hh_len); 507 memcpy(skb->data - HH_DATA_MOD, hh->hh_data, 514 memcpy(skb->data - hh_alen, hh 532 const struct hh_cache *hh = &n->hh; local [all...] |
/linux-master/arch/s390/include/uapi/asm/ |
H A D | vtoc.h | 25 __u16 hh; member in struct:vtoc_cchhb 32 __u16 hh; member in struct:vtoc_cchh
|
/linux-master/net/ethernet/ |
H A D | eth.c | 224 * @hh: destination cache entry 229 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh, __be16 type) argument 235 (((u8 *) hh->hh_data) + (HH_DATA_OFF(sizeof(*eth)))); 247 smp_store_release(&hh->hh_len, ETH_HLEN); 255 * @hh: destination cache entry 261 void eth_header_cache_update(struct hh_cache *hh, argument 265 memcpy(((u8 *) hh->hh_data) + HH_DATA_OFF(sizeof(struct ethhdr)),
|
/linux-master/drivers/video/fbdev/ |
H A D | cg3.c | 259 int ww, hh; local 265 hh = simple_strtoul(p + 1, &p, 10); 266 if (hh && *p == '-') { 268 var->yres != hh) { 270 var->yres = var->yres_virtual = hh;
|
/linux-master/include/linux/ |
H A D | mISDNif.h | 551 struct mISDNhead *hh; local 557 hh = mISDN_HEAD_P(skb); 558 hh->prim = prim; 559 hh->id = id;
|
H A D | etherdevice.h | 46 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh, 48 void eth_header_cache_update(struct hh_cache *hh, const struct net_device *dev,
|
/linux-master/block/partitions/ |
H A D | ibm.c | 37 cyl = ptr->hh & 0xFFF0; 40 head = ptr->hh & 0x000F; 55 cyl = ptr->hh & 0xFFF0; 58 head = ptr->hh & 0x000F;
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ras_eeprom.c | 387 u8 *hh; local 393 hh = (void *) &hdr->header; 394 csum -= (hh[0] + hh[1] + hh[2] + hh[3]); 395 hh = (void *) &header; 396 csum += hh[0] + hh[1] + hh[ [all...] |
/linux-master/drivers/isdn/hardware/mISDN/ |
H A D | mISDNisar.c | 1471 struct mISDNhead *hh = mISDN_HEAD_P(skb); local 1475 switch (hh->prim) { 1508 hh->id, *val); 1509 if ((hh->id == 0) && ((*val & ~DTMF_TONE_MASK) == 1529 } else if ((hh->id == HW_MOD_FRM) || (hh->id == HW_MOD_FRH) || 1530 (hh->id == HW_MOD_FTM) || (hh->id == HW_MOD_FTH)) { 1537 isar_pump_cmd(ich, hh->id, *val); 1544 } else if (hh [all...] |
H A D | w6692.c | 937 struct mISDNhead *hh = mISDN_HEAD_P(skb); local 940 switch (hh->prim) { 972 card->name, __func__, hh->prim, hh->id); 1063 struct mISDNhead *hh = mISDN_HEAD_P(skb); local 1067 switch (hh->prim) { 1072 id = hh->id; /* skb can be freed */ 1081 ret = l1_event(dch->l1, hh->prim); 1085 ret = l1_event(dch->l1, hh->prim);
|
H A D | mISDNipac.c | 558 struct mISDNhead *hh = mISDN_HEAD_P(skb); local 562 switch (hh->prim) { 567 id = hh->id; /* skb can be freed */ 576 ret = l1_event(dch->l1, hh->prim); 580 ret = l1_event(dch->l1, hh->prim); 1336 struct mISDNhead *hh = mISDN_HEAD_P(skb); local 1339 switch (hh->prim) { 1371 hx->ip->name, __func__, hh->prim, hh->id);
|
/linux-master/drivers/rapidio/ |
H A D | rio_cm.c | 382 struct rio_ch_chan_hdr *hh = req_data; local 385 chnum = ntohs(hh->dst_ch); 404 req->destid = ntohl(hh->bhdr.src_id); 405 req->chan = ntohs(hh->src_ch); 428 struct rio_ch_chan_hdr *hh = resp_data; local 431 chnum = ntohs(hh->dst_ch); 442 ch->rem_channel = ntohs(hh->src_ch); 460 struct rio_ch_chan_hdr *hh = data; local 463 riocm_debug(RX_CMD, "for ch=%d", ntohs(hh->dst_ch)); 466 ch = idr_find(&ch_idr, ntohs(hh [all...] |
/linux-master/net/core/ |
H A D | pktgen.c | 392 __u8 hh[14]; member in struct:pktgen_dev 401 __u16 pad; /* pad out the hh struct to an even 16 bytes */ 1561 ether_addr_copy(&pkt_dev->hh[0], pkt_dev->dst_mac); 1578 ether_addr_copy(&pkt_dev->hh[6], pkt_dev->src_mac); 2183 ether_addr_copy(&(pkt_dev->hh[6]), pkt_dev->odev->dev_addr); 2186 ether_addr_copy(&(pkt_dev->hh[0]), pkt_dev->dst_mac); 2443 pkt_dev->hh[11] = tmp; 2445 pkt_dev->hh[10] = tmp; 2447 pkt_dev->hh[9] = tmp; 2449 pkt_dev->hh[ [all...] |
H A D | neighbour.c | 505 seqlock_init(&n->hh.hh_lock); 1261 struct hh_cache *hh; local 1269 hh = &neigh->hh; 1270 if (READ_ONCE(hh->hh_len)) { 1271 write_seqlock_bh(&hh->hh_lock); 1272 update(hh, neigh->dev, neigh->ha); 1273 write_sequnlock_bh(&hh->hh_lock); 1528 struct hh_cache *hh = &n->hh; local [all...] |
/linux-master/arch/xtensa/lib/ |
H A D | umulsidi3.S | 91 #define umul_aa_hh umul.aa.hh
|
/linux-master/drivers/net/plip/ |
H A D | plip.c | 151 struct hh_cache *hh, __be16 type); 1044 struct hh_cache *hh, __be16 type) 1048 ret = eth_header_cache(neigh, hh, type); 1052 eth = (struct ethhdr*)(((u8*)hh->hh_data) + 1043 plip_hard_header_cache(const struct neighbour *neigh, struct hh_cache *hh, __be16 type) argument
|
/linux-master/drivers/firewire/ |
H A D | net.c | 233 struct hh_cache *hh, __be16 type) 241 h = (struct fwnet_header *)((u8 *)hh->hh_data + HH_DATA_OFF(sizeof(*h))); 248 smp_store_release(&hh->hh_len, FWNET_HLEN); 254 static void fwnet_header_cache_update(struct hh_cache *hh, argument 257 memcpy((u8 *)hh->hh_data + HH_DATA_OFF(FWNET_HLEN), haddr, net->addr_len); 232 fwnet_header_cache(const struct neighbour *neigh, struct hh_cache *hh, __be16 type) argument
|