/linux-4.1.27/drivers/net/usb/ |
D | sierra_net.c | 251 static int parse_hip(const u8 *buf, const u32 buflen, struct hip_hdr *hh) in parse_hip() argument 259 curp = save16bit(&hh->payload_len, curp); in parse_hip() 260 curp = save8bit(&hh->msgid, curp); in parse_hip() 261 curp = save8bit(&hh->msgspecific, curp); in parse_hip() 263 padded = hh->msgid.byte & 0x80; in parse_hip() 264 hh->msgid.byte &= 0x7F; /* 7 bits */ in parse_hip() 266 hh->extmsgid.is_present = (hh->msgid.byte == SIERRA_NET_HIP_EXTENDEDID); in parse_hip() 267 if (hh->extmsgid.is_present) { in parse_hip() 271 hh->payload_len.word &= 0x3FFF; /* 14 bits */ in parse_hip() 273 curp = save16bit(&hh->extmsgid, curp); in parse_hip() [all …]
|
/linux-4.1.27/drivers/isdn/mISDN/ |
D | hwchannel.c | 222 struct mISDNhead *hh; in recv_Dchannel() local 229 hh = mISDN_HEAD_P(dch->rx_skb); in recv_Dchannel() 230 hh->prim = PH_DATA_IND; in recv_Dchannel() 231 hh->id = get_sapi_tei(dch->rx_skb->data); in recv_Dchannel() 241 struct mISDNhead *hh; in recv_Echannel() local 248 hh = mISDN_HEAD_P(ech->rx_skb); in recv_Echannel() 249 hh->prim = PH_DATA_E_IND; in recv_Echannel() 250 hh->id = get_sapi_tei(ech->rx_skb->data); in recv_Echannel() 260 struct mISDNhead *hh; in recv_Bchannel() local 275 hh = mISDN_HEAD_P(bch->rx_skb); in recv_Bchannel() [all …]
|
D | stack.c | 29 struct mISDNhead *hh = mISDN_HEAD_P(skb); in _queue_message() local 33 __func__, hh->prim, hh->id, skb); in _queue_message() 92 struct mISDNhead *hh = mISDN_HEAD_P(skb); in send_layer2() local 99 if ((hh->id & MISDN_ID_ADDR_MASK) == MISDN_ID_ANY) { /* L2 for all */ in send_layer2() 115 hh->prim, ch->addr, ret); in send_layer2() 126 if ((hh->id & MISDN_ID_ADDR_MASK) == ch->addr) { in send_layer2() 139 __func__, hh->prim, ret); in send_layer2() 150 struct mISDNhead *hh = mISDN_HEAD_P(skb); in send_msg_to_layer() local 154 lm = hh->prim & MISDN_LAYERMASK; in send_msg_to_layer() 157 __func__, hh->prim, hh->id, skb); in send_msg_to_layer() [all …]
|
D | dsp_core.c | 283 dsp_control_req(struct dsp *dsp, struct mISDNhead *hh, struct sk_buff *skb) in dsp_control_req() argument 669 struct mISDNhead *hh; in dsp_function() local 674 hh = mISDN_HEAD_P(skb); in dsp_function() 675 switch (hh->prim) { in dsp_function() 708 hh->prim = DL_DATA_IND; in dsp_function() 722 skb->len, hh->id); in dsp_function() 767 hh->prim = DL_DATA_IND; in dsp_function() 775 hh->id, skb->len, dsp->name); in dsp_function() 776 switch (hh->id) { in dsp_function() 827 "%s\n", __func__, hh->id, dsp->name); in dsp_function() [all …]
|
D | layer2.c | 167 struct mISDNhead *hh; in l2up_create() local 175 hh = mISDN_HEAD_P(skb); in l2up_create() 176 hh->prim = prim; in l2up_create() 177 hh->id = (l2->ch.nr << 16) | l2->ch.addr; in l2up_create() 202 struct mISDNhead *hh = mISDN_HEAD_P(skb); in l2down_raw() local 204 if (hh->prim == PH_DATA_REQ) { in l2down_raw() 217 struct mISDNhead *hh = mISDN_HEAD_P(skb); in l2down() local 219 hh->prim = prim; in l2down() 220 hh->id = id; in l2down() 229 struct mISDNhead *hh; in l2down_create() local [all …]
|
D | l1oip_core.c | 891 struct mISDNhead *hh = mISDN_HEAD_P(skb); in handle_dmsg() local 896 switch (hh->prim) { in handle_dmsg() 919 queue_ch_frame(ch, PH_DATA_CNF, hh->id, skb); in handle_dmsg() 927 queue_ch_frame(ch, PH_ACTIVATE_IND, hh->id, skb); in handle_dmsg() 929 queue_ch_frame(ch, PH_DEACTIVATE_IND, hh->id, skb); in handle_dmsg() 938 queue_ch_frame(ch, PH_ACTIVATE_IND, hh->id, skb); in handle_dmsg() 940 queue_ch_frame(ch, PH_DEACTIVATE_IND, hh->id, skb); in handle_dmsg() 1107 struct mISDNhead *hh = mISDN_HEAD_P(skb); in handle_bmsg() local 1111 switch (hh->prim) { in handle_bmsg() 1131 queue_ch_frame(ch, PH_DATA_CNF, hh->id, skb); in handle_bmsg() [all …]
|
D | dsp_cmx.c | 1186 struct mISDNhead *hh = mISDN_HEAD_P(skb); in dsp_cmx_receive() local 1209 dsp->rx_R = (hh->id & CMX_BUFF_MASK); in dsp_cmx_receive() 1226 dsp->rx_W = (hh->id & CMX_BUFF_MASK); in dsp_cmx_receive() 1241 dsp->rx_R = (hh->id & CMX_BUFF_MASK); in dsp_cmx_receive() 1269 dsp->rx_R = (hh->id & CMX_BUFF_MASK); in dsp_cmx_receive() 1318 struct mISDNhead *hh, *thh; local 1361 hh = mISDN_HEAD_P(nskb); 1362 hh->prim = PH_DATA_REQ; 1363 hh->id = 0; 1581 hh->prim = DL_DATA_REQ; [all …]
|
D | tei.c | 305 struct mISDNhead *hh; in teiup_create() local 311 hh = mISDN_HEAD_P(skb); in teiup_create() 312 hh->prim = prim; in teiup_create() 313 hh->id = (mgr->ch.nr << 16) | mgr->ch.addr; in teiup_create() 1108 struct mISDNhead *hh = mISDN_HEAD_P(skb); in mgr_send() local 1114 __func__, hh->prim, hh->id); in mgr_send() 1115 switch (hh->prim) { in mgr_send() 1121 do_ack(mgr, hh->id); in mgr_send() 1209 struct mISDNhead *hh = mISDN_HEAD_P(skb); in check_data() local 1215 __func__, hh->prim, hh->id); in check_data() [all …]
|
/linux-4.1.27/include/net/ |
D | neighbour.h | 151 struct hh_cache hh; member 435 static inline int neigh_hh_bridge(struct hh_cache *hh, struct sk_buff *skb) in neigh_hh_bridge() argument 440 seq = read_seqbegin(&hh->hh_lock); in neigh_hh_bridge() 442 memcpy(skb->data - hh_alen, hh->hh_data, ETH_ALEN + hh_alen - ETH_HLEN); in neigh_hh_bridge() 443 } while (read_seqretry(&hh->hh_lock, seq)); in neigh_hh_bridge() 448 static inline int neigh_hh_output(const struct hh_cache *hh, struct sk_buff *skb) in neigh_hh_output() argument 454 seq = read_seqbegin(&hh->hh_lock); in neigh_hh_output() 455 hh_len = hh->hh_len; in neigh_hh_output() 458 memcpy(skb->data - HH_DATA_MOD, hh->hh_data, HH_DATA_MOD); in neigh_hh_output() 462 memcpy(skb->data - hh_alen, hh->hh_data, hh_alen); in neigh_hh_output() [all …]
|
D | dst.h | 439 const struct hh_cache *hh; in dst_neigh_output() local 450 hh = &n->hh; in dst_neigh_output() 451 if ((n->nud_state & NUD_CONNECTED) && hh->hh_len) in dst_neigh_output() 452 return neigh_hh_output(hh, skb); in dst_neigh_output()
|
/linux-4.1.27/net/ethernet/ |
D | eth.c | 222 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh, __be16 type) in eth_header_cache() argument 228 (((u8 *) hh->hh_data) + (HH_DATA_OFF(sizeof(*eth)))); in eth_header_cache() 236 hh->hh_len = ETH_HLEN; in eth_header_cache() 249 void eth_header_cache_update(struct hh_cache *hh, in eth_header_cache_update() argument 253 memcpy(((u8 *) hh->hh_data) + HH_DATA_OFF(sizeof(struct ethhdr)), in eth_header_cache_update()
|
/linux-4.1.27/drivers/video/fbdev/ |
D | cg3.c | 264 int ww, hh; in cg3_rdi_maybe_fixup_var() local 270 hh = simple_strtoul(p + 1, &p, 10); in cg3_rdi_maybe_fixup_var() 271 if (hh && *p == '-') { in cg3_rdi_maybe_fixup_var() 273 var->yres != hh) { in cg3_rdi_maybe_fixup_var() 275 var->yres = var->yres_virtual = hh; in cg3_rdi_maybe_fixup_var()
|
/linux-4.1.27/block/partitions/ |
D | ibm.c | 36 cyl = ptr->hh & 0xFFF0; in cchh2blk() 39 head = ptr->hh & 0x000F; in cchh2blk() 54 cyl = ptr->hh & 0xFFF0; in cchhb2blk() 57 head = ptr->hh & 0x000F; in cchhb2blk()
|
/linux-4.1.27/include/linux/ |
D | mISDNif.h | 552 struct mISDNhead *hh; in _alloc_mISDN_skb() local 558 hh = mISDN_HEAD_P(skb); in _alloc_mISDN_skb() 559 hh->prim = prim; in _alloc_mISDN_skb() 560 hh->id = id; in _alloc_mISDN_skb()
|
D | etherdevice.h | 39 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh, 41 void eth_header_cache_update(struct hh_cache *hh, const struct net_device *dev,
|
D | netdevice.h | 264 int (*cache)(const struct neighbour *neigh, struct hh_cache *hh, __be16 type); 265 void (*cache_update)(struct hh_cache *hh,
|
/linux-4.1.27/arch/s390/include/uapi/asm/ |
D | vtoc.h | 24 __u16 hh; member 31 __u16 hh; member
|
/linux-4.1.27/drivers/isdn/hardware/mISDN/ |
D | mISDNisar.c | 1483 struct mISDNhead *hh = mISDN_HEAD_P(skb); in isar_l2l1() local 1487 switch (hh->prim) { in isar_l2l1() 1520 hh->id, *val); in isar_l2l1() 1521 if ((hh->id == 0) && ((*val & ~DTMF_TONE_MASK) == in isar_l2l1() 1541 } else if ((hh->id == HW_MOD_FRM) || (hh->id == HW_MOD_FRH) || in isar_l2l1() 1542 (hh->id == HW_MOD_FTM) || (hh->id == HW_MOD_FTH)) { in isar_l2l1() 1549 isar_pump_cmd(ich, hh->id, *val); in isar_l2l1() 1556 } else if (hh->id == HW_MOD_LASTDATA) in isar_l2l1() 1560 ich->is->name, hh->id); in isar_l2l1() 1565 ich->is->name, __func__, hh->prim, hh->id); in isar_l2l1()
|
D | w6692.c | 958 struct mISDNhead *hh = mISDN_HEAD_P(skb); in w6692_l2l1B() local 961 switch (hh->prim) { in w6692_l2l1B() 993 card->name, __func__, hh->prim, hh->id); in w6692_l2l1B() 1084 struct mISDNhead *hh = mISDN_HEAD_P(skb); in w6692_l2l1D() local 1088 switch (hh->prim) { in w6692_l2l1D() 1093 id = hh->id; /* skb can be freed */ in w6692_l2l1D() 1102 ret = l1_event(dch->l1, hh->prim); in w6692_l2l1D() 1106 ret = l1_event(dch->l1, hh->prim); in w6692_l2l1D()
|
D | mISDNipac.c | 574 struct mISDNhead *hh = mISDN_HEAD_P(skb); in isac_l1hw() local 578 switch (hh->prim) { in isac_l1hw() 583 id = hh->id; /* skb can be freed */ in isac_l1hw() 592 ret = l1_event(dch->l1, hh->prim); in isac_l1hw() 596 ret = l1_event(dch->l1, hh->prim); in isac_l1hw() 1354 struct mISDNhead *hh = mISDN_HEAD_P(skb); in hscx_l2l1() local 1357 switch (hh->prim) { in hscx_l2l1() 1389 hx->ip->name, __func__, hh->prim, hh->id); in hscx_l2l1()
|
D | hfcsusb.c | 215 struct mISDNhead *hh = mISDN_HEAD_P(skb); in hfcusb_l2l1B() local 221 switch (hh->prim) { in hfcusb_l2l1B() 289 struct mISDNhead *hh = mISDN_HEAD_P(skb); in hfcusb_l2l1D() local 294 switch (hh->prim) { in hfcusb_l2l1D() 305 queue_ch_frame(ch, PH_DATA_CNF, hh->id, NULL); in hfcusb_l2l1D() 329 ret = l1_event(dch->l1, hh->prim); in hfcusb_l2l1D() 360 ret = l1_event(dch->l1, hh->prim); in hfcusb_l2l1D()
|
D | hfcpci.c | 1593 struct mISDNhead *hh = mISDN_HEAD_P(skb); in hfcpci_l2l1D() local 1597 switch (hh->prim) { in hfcpci_l2l1D() 1602 id = hh->id; /* skb can be freed */ in hfcpci_l2l1D() 1627 ret = l1_event(dch->l1, hh->prim); in hfcpci_l2l1D() 1657 ret = l1_event(dch->l1, hh->prim); in hfcpci_l2l1D() 1676 struct mISDNhead *hh = mISDN_HEAD_P(skb); in hfcpci_l2l1B() local 1679 switch (hh->prim) { in hfcpci_l2l1B()
|
D | hfcmulti.c | 1850 struct mISDNhead *hh; in hfcmulti_dtmf() local 1926 hh = mISDN_HEAD_P(skb); in hfcmulti_dtmf() 1927 hh->prim = PH_CONTROL_IND; in hfcmulti_dtmf() 1928 hh->id = DTMF_HFC_COEF; in hfcmulti_dtmf() 3345 struct mISDNhead *hh = mISDN_HEAD_P(skb); in handle_dmsg() local 3350 switch (hh->prim) { in handle_dmsg() 3357 id = hh->id; /* skb can be freed */ in handle_dmsg() 3399 ret = l1_event(dch->l1, hh->prim); in handle_dmsg() 3445 ret = l1_event(dch->l1, hh->prim); in handle_dmsg() 3474 struct mISDNhead *hh = mISDN_HEAD_P(skb); in handle_bmsg() local [all …]
|
D | avmfritz.c | 698 struct mISDNhead *hh = mISDN_HEAD_P(skb); in avm_l2l1B() local 701 switch (hh->prim) { in avm_l2l1B()
|
D | netjet.c | 757 struct mISDNhead *hh = mISDN_HEAD_P(skb); in nj_l2l1B() local 760 switch (hh->prim) { in nj_l2l1B()
|
/linux-4.1.27/net/core/ |
D | pktgen.c | 358 __u8 hh[14]; member 1471 ether_addr_copy(&pkt_dev->hh[0], pkt_dev->dst_mac); in pktgen_if_write() 1488 ether_addr_copy(&pkt_dev->hh[6], pkt_dev->src_mac); in pktgen_if_write() 2091 ether_addr_copy(&(pkt_dev->hh[6]), pkt_dev->odev->dev_addr); in pktgen_setup_inject() 2094 ether_addr_copy(&(pkt_dev->hh[0]), pkt_dev->dst_mac); in pktgen_setup_inject() 2355 pkt_dev->hh[11] = tmp; in mod_cur_headers() 2357 pkt_dev->hh[10] = tmp; in mod_cur_headers() 2359 pkt_dev->hh[9] = tmp; in mod_cur_headers() 2361 pkt_dev->hh[8] = tmp; in mod_cur_headers() 2363 pkt_dev->hh[7] = tmp; in mod_cur_headers() [all …]
|
D | neighbour.c | 291 seqlock_init(&n->hh.hh_lock); in neigh_alloc() 1030 struct hh_cache *hh; in neigh_update_hhs() local 1038 hh = &neigh->hh; in neigh_update_hhs() 1039 if (hh->hh_len) { in neigh_update_hhs() 1040 write_seqlock_bh(&hh->hh_lock); in neigh_update_hhs() 1041 update(hh, neigh->dev, neigh->ha); in neigh_update_hhs() 1042 write_sequnlock_bh(&hh->hh_lock); in neigh_update_hhs() 1269 struct hh_cache *hh = &n->hh; in neigh_hh_init() local 1276 if (!hh->hh_len) in neigh_hh_init() 1277 dev->header_ops->cache(n, hh, prot); in neigh_hh_init() [all …]
|
/linux-4.1.27/drivers/net/plip/ |
D | plip.c | 154 struct hh_cache *hh, __be16 type); 1028 struct hh_cache *hh, __be16 type) in plip_hard_header_cache() argument 1032 ret = eth_header_cache(neigh, hh, type); in plip_hard_header_cache() 1036 eth = (struct ethhdr*)(((u8*)hh->hh_data) + in plip_hard_header_cache()
|
/linux-4.1.27/drivers/firewire/ |
D | net.c | 241 struct hh_cache *hh, __be16 type) in fwnet_header_cache() argument 249 h = (struct fwnet_header *)((u8 *)hh->hh_data + HH_DATA_OFF(sizeof(*h))); in fwnet_header_cache() 252 hh->hh_len = FWNET_HLEN; in fwnet_header_cache() 258 static void fwnet_header_cache_update(struct hh_cache *hh, in fwnet_header_cache_update() argument 261 memcpy((u8 *)hh->hh_data + HH_DATA_OFF(FWNET_HLEN), haddr, net->addr_len); in fwnet_header_cache_update()
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/ |
D | hash.c | 304 cfs_hash_head_dep_t *hh = container_of(cfs_hash_hd_hhead(hs, bd), in cfs_hash_hd_hnode_add() local 306 hlist_add_head(hnode, &hh->hd_head); in cfs_hash_hd_hnode_add() 307 return ++hh->hd_depth; in cfs_hash_hd_hnode_add() 314 cfs_hash_head_dep_t *hh = container_of(cfs_hash_hd_hhead(hs, bd), in cfs_hash_hd_hnode_del() local 317 return --hh->hd_depth; in cfs_hash_hd_hnode_del()
|
/linux-4.1.27/net/bridge/ |
D | br_netfilter.c | 323 if (neigh->hh.hh_len) { in br_nf_pre_routing_finish_bridge() 324 neigh_hh_bridge(&neigh->hh, skb); in br_nf_pre_routing_finish_bridge()
|
/linux-4.1.27/sound/drivers/vx/ |
D | vx_mixer.c | 57 u8 hh; member 71 u8 hh; member
|
/linux-4.1.27/drivers/isdn/i4l/ |
D | isdn_net.c | 1954 static int isdn_header_cache(const struct neighbour *neigh, struct hh_cache *hh, in isdn_header_cache() argument 1961 return eth_header_cache(neigh, hh, type); in isdn_header_cache() 1965 static void isdn_header_cache_update(struct hh_cache *hh, in isdn_header_cache_update() argument 1971 eth_header_cache_update(hh, dev, haddr); in isdn_header_cache_update()
|
/linux-4.1.27/Documentation/networking/ |
D | de4x5.txt | 64 hh = device number
|
/linux-4.1.27/Documentation/input/ |
D | atarikbd.txt | 481 hh ; hour 498 hh ; hour
|