| /linux/drivers/net/usb/ |
| H A D | sierra_net.c | 263 static int parse_hip(const u8 *buf, const u32 buflen, struct hip_hdr *hh) in parse_hip() argument 271 curp = save16bit(&hh->payload_len, curp); in parse_hip() 272 curp = save8bit(&hh->msgid, curp); in parse_hip() 273 curp = save8bit(&hh->msgspecific, curp); in parse_hip() 275 padded = hh->msgid.byte & 0x80; in parse_hip() 276 hh->msgid.byte &= 0x7F; /* 7 bits */ in parse_hip() 278 hh->extmsgid.is_present = (hh->msgid.byte == SIERRA_NET_HIP_EXTENDEDID); in parse_hip() 279 if (hh->extmsgid.is_present) { in parse_hip() 283 hh->payload_len.word &= 0x3FFF; /* 14 bits */ in parse_hip() 285 curp = save16bit(&hh->extmsgid, curp); in parse_hip() [all …]
|
| /linux/drivers/isdn/mISDN/ |
| H A D | hwchannel.c | 213 struct mISDNhead *hh; in recv_Dchannel() local 220 hh = mISDN_HEAD_P(dch->rx_skb); in recv_Dchannel() 221 hh->prim = PH_DATA_IND; in recv_Dchannel() 222 hh->id = get_sapi_tei(dch->rx_skb->data); in recv_Dchannel() 232 struct mISDNhead *hh; in recv_Echannel() local 239 hh = mISDN_HEAD_P(ech->rx_skb); in recv_Echannel() 240 hh->prim = PH_DATA_E_IND; in recv_Echannel() 241 hh->id = get_sapi_tei(ech->rx_skb->data); in recv_Echannel() 251 struct mISDNhead *hh; in recv_Bchannel() local 266 hh = mISDN_HEAD_P(bch->rx_skb); in recv_Bchannel() [all …]
|
| H A D | stack.c | 23 struct mISDNhead *hh = mISDN_HEAD_P(skb); in _queue_message() local 27 __func__, hh->prim, hh->id, skb); in _queue_message() 85 struct mISDNhead *hh = mISDN_HEAD_P(skb); in send_layer2() local 92 if ((hh->id & MISDN_ID_ADDR_MASK) == MISDN_ID_ANY) { /* L2 for all */ in send_layer2() 108 hh->prim, ch->addr, ret); in send_layer2() 119 if ((hh->id & MISDN_ID_ADDR_MASK) == ch->addr) { in send_layer2() 132 __func__, hh->prim, ret); in send_layer2() 142 struct mISDNhead *hh = mISDN_HEAD_P(skb); in send_msg_to_layer() local 146 lm = hh->prim & MISDN_LAYERMASK; in send_msg_to_layer() 149 __func__, hh->prim, hh->id, skb); in send_msg_to_layer() [all …]
|
| H A D | dsp_core.c | 282 dsp_control_req(struct dsp *dsp, struct mISDNhead *hh, struct sk_buff *skb) in dsp_control_req() argument 668 struct mISDNhead *hh; in dsp_function() local 673 hh = mISDN_HEAD_P(skb); in dsp_function() 674 switch (hh->prim) { in dsp_function() 707 hh->prim = DL_DATA_IND; in dsp_function() 721 skb->len, hh->id); in dsp_function() 766 hh->prim = DL_DATA_IND; in dsp_function() 774 hh->id, skb->len, dsp->name); in dsp_function() 775 switch (hh->id) { in dsp_function() 826 "%s\n", __func__, hh->id, dsp->name); in dsp_function() [all …]
|
| H A D | layer2.c | 158 struct mISDNhead *hh; in l2up_create() local 166 hh = mISDN_HEAD_P(skb); in l2up_create() 167 hh->prim = prim; in l2up_create() 168 hh->id = (l2->ch.nr << 16) | l2->ch.addr; in l2up_create() 193 struct mISDNhead *hh = mISDN_HEAD_P(skb); in l2down_raw() local 195 if (hh->prim == PH_DATA_REQ) { in l2down_raw() 208 struct mISDNhead *hh = mISDN_HEAD_P(skb); in l2down() local 210 hh->prim = prim; in l2down() 211 hh->id = id; in l2down() 220 struct mISDNhead *hh; in l2down_create() local [all …]
|
| H A D | dsp_cmx.c | 1175 struct mISDNhead *hh = mISDN_HEAD_P(skb); in dsp_cmx_receive() local 1198 dsp->rx_R = (hh->id & CMX_BUFF_MASK); in dsp_cmx_receive() 1215 dsp->rx_W = (hh->id & CMX_BUFF_MASK); in dsp_cmx_receive() 1230 dsp->rx_R = (hh->id & CMX_BUFF_MASK); in dsp_cmx_receive() 1258 dsp->rx_R = (hh->id & CMX_BUFF_MASK); in dsp_cmx_receive() 1307 struct mISDNhead *hh, *thh; local 1350 hh = mISDN_HEAD_P(nskb); 1351 hh->prim = PH_DATA_REQ; 1352 hh->id = 0; 1570 hh->prim = DL_DATA_REQ; [all …]
|
| H A D | tei.c | 296 struct mISDNhead *hh; in teiup_create() local 302 hh = mISDN_HEAD_P(skb); in teiup_create() 303 hh->prim = prim; in teiup_create() 304 hh->id = (mgr->ch.nr << 16) | mgr->ch.addr; in teiup_create() 1099 struct mISDNhead *hh = mISDN_HEAD_P(skb); in mgr_send() local 1105 __func__, hh->prim, hh->id); in mgr_send() 1106 switch (hh->prim) { in mgr_send() 1112 do_ack(mgr, hh->id); in mgr_send() 1199 struct mISDNhead *hh = mISDN_HEAD_P(skb); in check_data() local 1205 __func__, hh->prim, hh->id); in check_data() [all …]
|
| /linux/include/net/ |
| H A D | neighbour.h | 161 struct hh_cache hh; 490 static inline int neigh_hh_bridge(struct hh_cache *hh, struct sk_buff *skb) in neigh_hh_bridge() 495 seq = read_seqbegin(&hh->hh_lock); in neigh_hh_output() 497 memcpy(skb->data - hh_alen, hh->hh_data, ETH_ALEN + hh_alen - ETH_HLEN); in neigh_hh_output() 498 } while (read_seqretry(&hh->hh_lock, seq)); in neigh_hh_output() 503 static inline int neigh_hh_output(const struct hh_cache *hh, struct sk_buff *skb) in neigh_hh_output() 510 seq = read_seqbegin(&hh->hh_lock); in neigh_hh_output() 511 hh_len = READ_ONCE(hh->hh_len); in neigh_hh_output() 521 memcpy(skb->data - HH_DATA_MOD, hh->hh_data, in neigh_hh_output() 528 memcpy(skb->data - hh_alen, hh in neigh_hh_output() 159 struct hh_cache hh; global() member 481 neigh_hh_bridge(struct hh_cache * hh,struct sk_buff * skb) neigh_hh_bridge() argument 494 neigh_hh_output(const struct hh_cache * hh,struct sk_buff * skb) neigh_hh_output() argument 537 const struct hh_cache *hh = &n->hh; neigh_output() local [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/include/linux/ |
| H A D | mISDNif.h | 551 struct mISDNhead *hh; in _alloc_mISDN_skb() local 557 hh = mISDN_HEAD_P(skb); in _alloc_mISDN_skb() 558 hh->prim = prim; in _alloc_mISDN_skb() 559 hh->id = id; in _alloc_mISDN_skb()
|
| /linux/arch/s390/include/uapi/asm/ |
| H A D | vtoc.h | 25 __u16 hh; member 32 __u16 hh; member
|
| /linux/drivers/isdn/hardware/mISDN/ |
| H A D | mISDNisar.c | 1472 struct mISDNhead *hh = mISDN_HEAD_P(skb); in isar_l2l1() local 1476 switch (hh->prim) { in isar_l2l1() 1509 hh->id, *val); in isar_l2l1() 1510 if ((hh->id == 0) && ((*val & ~DTMF_TONE_MASK) == in isar_l2l1() 1530 } else if ((hh->id == HW_MOD_FRM) || (hh->id == HW_MOD_FRH) || in isar_l2l1() 1531 (hh->id == HW_MOD_FTM) || (hh->id == HW_MOD_FTH)) { in isar_l2l1() 1538 isar_pump_cmd(ich, hh->id, *val); in isar_l2l1() 1545 } else if (hh->id == HW_MOD_LASTDATA) in isar_l2l1() 1549 ich->is->name, hh->id); in isar_l2l1() 1555 ich->is->name, __func__, hh->prim, hh->id); in isar_l2l1()
|
| H A D | w6692.c | 938 struct mISDNhead *hh = mISDN_HEAD_P(skb); in w6692_l2l1B() local 941 switch (hh->prim) { in w6692_l2l1B() 973 card->name, __func__, hh->prim, hh->id); in w6692_l2l1B() 1064 struct mISDNhead *hh = mISDN_HEAD_P(skb); in w6692_l2l1D() local 1068 switch (hh->prim) { in w6692_l2l1D() 1073 id = hh->id; /* skb can be freed */ in w6692_l2l1D() 1082 ret = l1_event(dch->l1, hh->prim); in w6692_l2l1D() 1086 ret = l1_event(dch->l1, hh->prim); in w6692_l2l1D()
|
| H A D | mISDNipac.c | 559 struct mISDNhead *hh = mISDN_HEAD_P(skb); in isac_l1hw() local 563 switch (hh->prim) { in isac_l1hw() 568 id = hh->id; /* skb can be freed */ in isac_l1hw() 577 ret = l1_event(dch->l1, hh->prim); in isac_l1hw() 581 ret = l1_event(dch->l1, hh->prim); in isac_l1hw() 1337 struct mISDNhead *hh = mISDN_HEAD_P(skb); in hscx_l2l1() local 1340 switch (hh->prim) { in hscx_l2l1() 1372 hx->ip->name, __func__, hh->prim, hh->id); in hscx_l2l1()
|
| H A D | hfcsusb.c | 202 struct mISDNhead *hh = mISDN_HEAD_P(skb); in hfcusb_l2l1B() local 208 switch (hh->prim) { in hfcusb_l2l1B() 279 struct mISDNhead *hh = mISDN_HEAD_P(skb); in hfcusb_l2l1D() local 284 switch (hh->prim) { in hfcusb_l2l1D() 295 queue_ch_frame(ch, PH_DATA_CNF, hh->id, NULL); in hfcusb_l2l1D() 319 ret = l1_event(dch->l1, hh->prim); in hfcusb_l2l1D() 354 ret = l1_event(dch->l1, hh->prim); in hfcusb_l2l1D()
|
| H A D | hfcpci.c | 1581 struct mISDNhead *hh = mISDN_HEAD_P(skb); in hfcpci_l2l1D() local 1585 switch (hh->prim) { in hfcpci_l2l1D() 1590 id = hh->id; /* skb can be freed */ in hfcpci_l2l1D() 1615 ret = l1_event(dch->l1, hh->prim); in hfcpci_l2l1D() 1650 ret = l1_event(dch->l1, hh->prim); in hfcpci_l2l1D() 1669 struct mISDNhead *hh = mISDN_HEAD_P(skb); in hfcpci_l2l1B() local 1672 switch (hh->prim) { in hfcpci_l2l1B()
|
| H A D | hfcmulti.c | 1806 struct mISDNhead *hh; in hfcmulti_dtmf() local 1882 hh = mISDN_HEAD_P(skb); in hfcmulti_dtmf() 1883 hh->prim = PH_CONTROL_IND; in hfcmulti_dtmf() 1884 hh->id = DTMF_HFC_COEF; in hfcmulti_dtmf() 3302 struct mISDNhead *hh = mISDN_HEAD_P(skb); in handle_dmsg() local 3307 switch (hh->prim) { in handle_dmsg() 3314 id = hh->id; /* skb can be freed */ in handle_dmsg() 3356 ret = l1_event(dch->l1, hh->prim); in handle_dmsg() 3406 ret = l1_event(dch->l1, hh->prim); in handle_dmsg() 3435 struct mISDNhead *hh = mISDN_HEAD_P(skb); in handle_bmsg() local [all …]
|
| H A D | avmfritz.c | 686 struct mISDNhead *hh = mISDN_HEAD_P(skb); in avm_l2l1B() local 689 switch (hh->prim) { in avm_l2l1B()
|
| /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/net/core/ |
| H A D | neighbour.c | 533 seqlock_init(&n->hh.hh_lock); in neigh_alloc() 1289 struct hh_cache *hh; in neigh_update_hhs() 1297 hh = &neigh->hh; in neigh_update_hhs() 1298 if (READ_ONCE(hh->hh_len)) { in neigh_update_hhs() 1299 write_seqlock_bh(&hh->hh_lock); in neigh_update_hhs() 1300 update(hh, neigh->dev, neigh->ha); in neigh_update_hhs() 1301 write_sequnlock_bh(&hh->hh_lock); in neigh_update_hhs() 1559 struct hh_cache *hh = &n->hh; in neigh_hh_init() 1290 struct hh_cache *hh; neigh_update_hhs() local 1560 struct hh_cache *hh = &n->hh; neigh_hh_init() local [all...] |
| /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/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 | 290 READ_ONCE(neigh->hh.hh_len)) { in br_nf_pre_routing_finish_bridge() 299 neigh_hh_bridge(&neigh->hh, skb); in br_nf_pre_routing_finish_bridge()
|