Home
last modified time | relevance | path

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

/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 …]
/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.c668 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()
775 switch (hh->id) { in dsp_function()
869 hh->prim = DL_RELEASE_CNF; in dsp_function()
886 hh->prim = PH_DATA_REQ; in dsp_function()
1009 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.c872 struct mISDNhead *hh = mISDN_HEAD_P(skb); in handle_dmsg() local
877 switch (hh->prim) { in handle_dmsg()
904 queue_ch_frame(ch, PH_DATA_CNF, hh->id, skb); in handle_dmsg()
912 queue_ch_frame(ch, PH_ACTIVATE_IND, hh->id, skb); in handle_dmsg()
923 queue_ch_frame(ch, PH_ACTIVATE_IND, hh->id, skb); in handle_dmsg()
1092 struct mISDNhead *hh = mISDN_HEAD_P(skb); in handle_bmsg() local
1096 switch (hh->prim) { in handle_bmsg()
1116 queue_ch_frame(ch, PH_DATA_CNF, hh->id, skb); in handle_bmsg()
1127 queue_ch_frame(ch, PH_DATA_CNF, hh->id, skb); in handle_bmsg()
1147 queue_ch_frame(ch, PH_DATA_CNF, hh->id, skb); in handle_bmsg()
[all …]
A Ddsp_cmx.c1307 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;
1571 hh->id = 0;
1909 struct mISDNhead *hh; local
1926 hh->prim = PH_DATA_REQ;
1927 hh->id = 0;
1942 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 …]
/drivers/video/fbdev/
A Dcg3.c259 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()
/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_ras_eeprom.c394 u8 *hh; in amdgpu_ras_eeprom_correct_header_tag() local
400 hh = (void *) &hdr->header; in amdgpu_ras_eeprom_correct_header_tag()
401 csum -= (hh[0] + hh[1] + hh[2] + hh[3]); in amdgpu_ras_eeprom_correct_header_tag()
402 hh = (void *) &header; in amdgpu_ras_eeprom_correct_header_tag()
403 csum += hh[0] + hh[1] + hh[2] + hh[3]; in amdgpu_ras_eeprom_correct_header_tag()
/drivers/isdn/hardware/mISDN/
A DmISDNisar.c1472 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()
A Dw6692.c938 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()
A DmISDNipac.c559 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()
A Dhfcsusb.c202 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()
A Dhfcpci.c1580 struct mISDNhead *hh = mISDN_HEAD_P(skb); in hfcpci_l2l1D() local
1584 switch (hh->prim) { in hfcpci_l2l1D()
1589 id = hh->id; /* skb can be freed */ in hfcpci_l2l1D()
1614 ret = l1_event(dch->l1, hh->prim); in hfcpci_l2l1D()
1649 ret = l1_event(dch->l1, hh->prim); in hfcpci_l2l1D()
1668 struct mISDNhead *hh = mISDN_HEAD_P(skb); in hfcpci_l2l1B() local
1671 switch (hh->prim) { in hfcpci_l2l1B()
A Dhfcmulti.c1806 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()
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()
3438 switch (hh->prim) { in handle_bmsg()
3489 switch (hh->id) { in handle_bmsg()
[all …]
A Davmfritz.c686 struct mISDNhead *hh = mISDN_HEAD_P(skb); in avm_l2l1B() local
689 switch (hh->prim) { in avm_l2l1B()
A Dnetjet.c744 struct mISDNhead *hh = mISDN_HEAD_P(skb); in nj_l2l1B() local
747 switch (hh->prim) { in nj_l2l1B()
/drivers/rapidio/
A Drio_cm.c376 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()
/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()
/drivers/firewire/
A Dnet.c233 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()
/drivers/net/
A Dmacsec.c601 struct macsec_eth_header *hh; in macsec_encrypt() local
647 hh = skb_push(skb, macsec_extra_len(sci_present)); in macsec_encrypt()
648 memmove(hh, eth, 2 * ETH_ALEN); in macsec_encrypt()
656 macsec_fill_sectag(hh, secy, pn.lower, sci_present); in macsec_encrypt()
657 macsec_set_shortlen(hh, unprotected_len - 2 * ETH_ALEN); in macsec_encrypt()

Completed in 84 milliseconds