Home
last modified time | relevance | path

Searched refs:hh (Results 1 – 25 of 36) sorted by relevance

12

/linux/drivers/net/usb/
A Dsierra_net.c278 hh->extmsgid.is_present = (hh->msgid.byte == SIERRA_NET_HIP_EXTENDEDID); in parse_hip()
295 hh->hdrlen++; in parse_hip()
296 hh->payload_len.word--; in parse_hip()
300 if (buflen < (hh->hdrlen + hh->payload_len.word)) in parse_hip()
413 struct hip_hdr *hh) in sierra_net_handle_lsi() argument
419 hh->payload_len.word); in sierra_net_handle_lsi()
491 struct hip_hdr hh; in sierra_net_kevent() local
505 if (len != hh.hdrlen + hh.payload_len.word) { in sierra_net_kevent()
508 hh.hdrlen + hh.payload_len.word); in sierra_net_kevent()
517 hh.msgspecific.byte); in sierra_net_kevent()
[all …]
/linux/drivers/isdn/mISDN/
A Dhwchannel.c213 struct mISDNhead *hh; in recv_Dchannel() local
221 hh->prim = PH_DATA_IND; in recv_Dchannel()
232 struct mISDNhead *hh; in recv_Echannel() local
240 hh->prim = PH_DATA_E_IND; in recv_Echannel()
251 struct mISDNhead *hh; in recv_Bchannel() local
267 hh->prim = PH_DATA_IND; in recv_Bchannel()
268 hh->id = id; in recv_Bchannel()
386 struct mISDNhead *hh; in queue_ch_frame() local
392 hh = mISDN_HEAD_P(skb); in queue_ch_frame()
393 hh->prim = pr; in queue_ch_frame()
[all …]
A Dstack.c23 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
108 hh->prim, ch->addr, ret); in send_layer2()
132 __func__, hh->prim, ret); in send_layer2()
146 lm = hh->prim & MISDN_LAYERMASK; in send_msg_to_layer()
149 __func__, hh->prim, hh->id, skb); in send_msg_to_layer()
162 ch = get_channel4id(st, hh->id); in send_msg_to_layer()
169 hh->id); in send_msg_to_layer()
172 ch = get_channel4id(st, hh->id); in send_msg_to_layer()
[all …]
A Ddsp_core.c667 struct mISDNhead *hh; in dsp_function() local
672 hh = mISDN_HEAD_P(skb); in dsp_function()
673 switch (hh->prim) { in dsp_function()
706 hh->prim = DL_DATA_IND; in dsp_function()
720 skb->len, hh->id); in dsp_function()
765 hh->prim = DL_DATA_IND; in dsp_function()
774 switch (hh->id) { in dsp_function()
868 hh->prim = DL_RELEASE_CNF; in dsp_function()
885 hh->prim = PH_DATA_REQ; in dsp_function()
1008 struct mISDNhead *hh; in dsp_send_bh() local
[all …]
A Dlayer2.c158 struct mISDNhead *hh; in l2up_create() local
167 hh->prim = prim; in l2up_create()
210 hh->prim = prim; in l2down()
211 hh->id = id; in l2down()
226 hh->prim = prim; in l2down_create()
227 hh->id = id; in l2down_create()
293 hh->id = l2->ch.nr; in l2_timeout()
1950 __func__, mISDNDevName4ch(&l2->ch), hh->prim, hh->id, in l2_send()
1955 *hh = *chh; in l2_send()
1958 mISDNDevName4ch(&l2->ch), hh->prim, hh->id); in l2_send()
[all …]
A Dl1oip_core.c869 struct mISDNhead *hh = mISDN_HEAD_P(skb); in handle_dmsg() local
874 switch (hh->prim) { in handle_dmsg()
901 queue_ch_frame(ch, PH_DATA_CNF, hh->id, skb); in handle_dmsg()
909 queue_ch_frame(ch, PH_ACTIVATE_IND, hh->id, skb); in handle_dmsg()
920 queue_ch_frame(ch, PH_ACTIVATE_IND, hh->id, skb); in handle_dmsg()
1089 struct mISDNhead *hh = mISDN_HEAD_P(skb); in handle_bmsg() local
1093 switch (hh->prim) { in handle_bmsg()
1113 queue_ch_frame(ch, PH_DATA_CNF, hh->id, skb); in handle_bmsg()
1124 queue_ch_frame(ch, PH_DATA_CNF, hh->id, skb); in handle_bmsg()
1144 queue_ch_frame(ch, PH_DATA_CNF, hh->id, skb); in handle_bmsg()
[all …]
A Ddsp_cmx.c1318 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;
1582 hh->id = 0;
1920 struct mISDNhead *hh; local
1937 hh->prim = PH_DATA_REQ;
1938 hh->id = 0;
1953 hh->prim = PH_DATA_REQ;
[all …]
A Dtei.c296 struct mISDNhead *hh; in teiup_create() local
302 hh = mISDN_HEAD_P(skb); in teiup_create()
303 hh->prim = prim; in teiup_create()
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()
1205 __func__, hh->prim, hh->id); in check_data()
1208 if (hh->prim != PH_DATA_IND) in check_data()
1295 if ((hh->id & MISDN_ID_SAPI_MASK) == in mgr_bcast()
1308 *hhc = *hh; in mgr_bcast()
[all …]
/linux/include/net/
A Dneighbour.h154 struct hh_cache hh; member
466 seq = read_seqbegin(&hh->hh_lock); in neigh_hh_bridge()
469 } while (read_seqretry(&hh->hh_lock, seq)); in neigh_hh_bridge()
481 seq = read_seqbegin(&hh->hh_lock); in neigh_hh_output()
482 hh_len = READ_ONCE(hh->hh_len); in neigh_hh_output()
492 memcpy(skb->data - HH_DATA_MOD, hh->hh_data, in neigh_hh_output()
499 memcpy(skb->data - hh_alen, hh->hh_data, in neigh_hh_output()
503 } while (read_seqretry(&hh->hh_lock, seq)); in neigh_hh_output()
517 const struct hh_cache *hh = &n->hh; in neigh_output() local
524 READ_ONCE(hh->hh_len)) in neigh_output()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_ras_eeprom.c237 u8 *hh; in amdgpu_ras_eeprom_correct_header_tag() local
243 hh = (void *) &hdr->header; in amdgpu_ras_eeprom_correct_header_tag()
244 csum -= (hh[0] + hh[1] + hh[2] + hh[3]); in amdgpu_ras_eeprom_correct_header_tag()
245 hh = (void *) &header; in amdgpu_ras_eeprom_correct_header_tag()
246 csum += hh[0] + hh[1] + hh[2] + hh[3]; in amdgpu_ras_eeprom_correct_header_tag()
/linux/drivers/video/fbdev/
A Dcg3.c265 int ww, hh; in cg3_rdi_maybe_fixup_var() local
271 hh = simple_strtoul(p + 1, &p, 10); in cg3_rdi_maybe_fixup_var()
272 if (hh && *p == '-') { in cg3_rdi_maybe_fixup_var()
274 var->yres != hh) { in cg3_rdi_maybe_fixup_var()
276 var->yres = var->yres_virtual = hh; in cg3_rdi_maybe_fixup_var()
/linux/net/ethernet/
A Deth.c229 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh, __be16 type) in eth_header_cache() argument
235 (((u8 *) hh->hh_data) + (HH_DATA_OFF(sizeof(*eth)))); in eth_header_cache()
247 smp_store_release(&hh->hh_len, ETH_HLEN); in eth_header_cache()
261 void eth_header_cache_update(struct hh_cache *hh, in eth_header_cache_update() argument
265 memcpy(((u8 *) hh->hh_data) + HH_DATA_OFF(sizeof(struct ethhdr)), in eth_header_cache_update()
/linux/block/partitions/
A Dibm.c37 cyl = ptr->hh & 0xFFF0; in cchh2blk()
40 head = ptr->hh & 0x000F; in cchh2blk()
55 cyl = ptr->hh & 0xFFF0; in cchhb2blk()
58 head = ptr->hh & 0x000F; in cchhb2blk()
/linux/include/linux/
A DmISDNif.h551 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()
A Detherdevice.h46 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/drivers/isdn/hardware/mISDN/
A DmISDNisar.c1471 struct mISDNhead *hh = mISDN_HEAD_P(skb); in isar_l2l1() local
1475 switch (hh->prim) { in isar_l2l1()
1508 hh->id, *val); in isar_l2l1()
1509 if ((hh->id == 0) && ((*val & ~DTMF_TONE_MASK) == in isar_l2l1()
1529 } else if ((hh->id == HW_MOD_FRM) || (hh->id == HW_MOD_FRH) || in isar_l2l1()
1530 (hh->id == HW_MOD_FTM) || (hh->id == HW_MOD_FTH)) { in isar_l2l1()
1537 isar_pump_cmd(ich, hh->id, *val); in isar_l2l1()
1544 } else if (hh->id == HW_MOD_LASTDATA) in isar_l2l1()
1548 ich->is->name, hh->id); in isar_l2l1()
1554 ich->is->name, __func__, hh->prim, hh->id); in isar_l2l1()
A Dw6692.c937 struct mISDNhead *hh = mISDN_HEAD_P(skb); in w6692_l2l1B() local
940 switch (hh->prim) { in w6692_l2l1B()
972 card->name, __func__, hh->prim, hh->id); in w6692_l2l1B()
1063 struct mISDNhead *hh = mISDN_HEAD_P(skb); in w6692_l2l1D() local
1067 switch (hh->prim) { in w6692_l2l1D()
1072 id = hh->id; /* skb can be freed */ in w6692_l2l1D()
1081 ret = l1_event(dch->l1, hh->prim); in w6692_l2l1D()
1085 ret = l1_event(dch->l1, hh->prim); in w6692_l2l1D()
A DmISDNipac.c558 struct mISDNhead *hh = mISDN_HEAD_P(skb); in isac_l1hw() local
562 switch (hh->prim) { in isac_l1hw()
567 id = hh->id; /* skb can be freed */ in isac_l1hw()
576 ret = l1_event(dch->l1, hh->prim); in isac_l1hw()
580 ret = l1_event(dch->l1, hh->prim); in isac_l1hw()
1336 struct mISDNhead *hh = mISDN_HEAD_P(skb); in hscx_l2l1() local
1339 switch (hh->prim) { in hscx_l2l1()
1371 hx->ip->name, __func__, hh->prim, hh->id); in hscx_l2l1()
A Dhfcsusb.c201 struct mISDNhead *hh = mISDN_HEAD_P(skb); in hfcusb_l2l1B() local
207 switch (hh->prim) { in hfcusb_l2l1B()
278 struct mISDNhead *hh = mISDN_HEAD_P(skb); in hfcusb_l2l1D() local
283 switch (hh->prim) { in hfcusb_l2l1D()
294 queue_ch_frame(ch, PH_DATA_CNF, hh->id, NULL); in hfcusb_l2l1D()
318 ret = l1_event(dch->l1, hh->prim); in hfcusb_l2l1D()
349 ret = l1_event(dch->l1, hh->prim); in hfcusb_l2l1D()
/linux/arch/s390/include/uapi/asm/
A Dvtoc.h25 __u16 hh; member
32 __u16 hh; member
/linux/net/core/
A Dpktgen.c391 __u8 hh[14]; member
2422 pkt_dev->hh[11] = tmp; in mod_cur_headers()
2424 pkt_dev->hh[10] = tmp; in mod_cur_headers()
2426 pkt_dev->hh[9] = tmp; in mod_cur_headers()
2428 pkt_dev->hh[8] = tmp; in mod_cur_headers()
2430 pkt_dev->hh[7] = tmp; in mod_cur_headers()
2450 pkt_dev->hh[5] = tmp; in mod_cur_headers()
2452 pkt_dev->hh[4] = tmp; in mod_cur_headers()
2454 pkt_dev->hh[3] = tmp; in mod_cur_headers()
2456 pkt_dev->hh[2] = tmp; in mod_cur_headers()
[all …]
A Dneighbour.c444 seqlock_init(&n->hh.hh_lock); in neigh_alloc()
1220 struct hh_cache *hh; in neigh_update_hhs() local
1228 hh = &neigh->hh; in neigh_update_hhs()
1229 if (READ_ONCE(hh->hh_len)) { in neigh_update_hhs()
1230 write_seqlock_bh(&hh->hh_lock); in neigh_update_hhs()
1231 update(hh, neigh->dev, neigh->ha); in neigh_update_hhs()
1232 write_sequnlock_bh(&hh->hh_lock); in neigh_update_hhs()
1487 struct hh_cache *hh = &n->hh; in neigh_hh_init() local
1494 if (!hh->hh_len) in neigh_hh_init()
1495 dev->header_ops->cache(n, hh, prot); in neigh_hh_init()
[all …]
/linux/drivers/rapidio/
A Drio_cm.c380 struct rio_ch_chan_hdr *hh = req_data; in riocm_req_handler() local
383 chnum = ntohs(hh->dst_ch); in riocm_req_handler()
402 req->destid = ntohl(hh->bhdr.src_id); in riocm_req_handler()
403 req->chan = ntohs(hh->src_ch); in riocm_req_handler()
426 struct rio_ch_chan_hdr *hh = resp_data; in riocm_resp_handler() local
429 chnum = ntohs(hh->dst_ch); in riocm_resp_handler()
440 ch->rem_channel = ntohs(hh->src_ch); in riocm_resp_handler()
458 struct rio_ch_chan_hdr *hh = data; in riocm_close_handler() local
461 riocm_debug(RX_CMD, "for ch=%d", ntohs(hh->dst_ch)); in riocm_close_handler()
464 ch = idr_find(&ch_idr, ntohs(hh->dst_ch)); in riocm_close_handler()
/linux/drivers/net/plip/
A Dplip.c151 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/
A Dnet.c242 struct hh_cache *hh, __be16 type) in fwnet_header_cache() argument
250 h = (struct fwnet_header *)((u8 *)hh->hh_data + HH_DATA_OFF(sizeof(*h))); in fwnet_header_cache()
257 smp_store_release(&hh->hh_len, FWNET_HLEN); in fwnet_header_cache()
263 static void fwnet_header_cache_update(struct hh_cache *hh, in fwnet_header_cache_update() argument
266 memcpy((u8 *)hh->hh_data + HH_DATA_OFF(FWNET_HLEN), haddr, net->addr_len); in fwnet_header_cache_update()

Completed in 72 milliseconds

12