Home
last modified time | relevance | path

Searched refs:hh (Results 1 - 25 of 66) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/net/usb/
H A Dsierra_net.c263 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 in parse_hip()
412 sierra_net_handle_lsi(struct usbnet *dev, char *data, struct hip_hdr *hh) sierra_net_handle_lsi() argument
491 struct hip_hdr hh; sierra_net_kevent() local
803 struct hip_hdr hh; sierra_net_rx_fixup() local
[all...]
/kernel/linux/linux-6.6/drivers/net/usb/
H A Dsierra_net.c263 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 in parse_hip()
412 sierra_net_handle_lsi(struct usbnet *dev, char *data, struct hip_hdr *hh) sierra_net_handle_lsi() argument
491 struct hip_hdr hh; sierra_net_kevent() local
805 struct hip_hdr hh; sierra_net_rx_fixup() local
[all...]
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
H A Dhwchannel.c213 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 in recv_Bchannel()
386 struct mISDNhead *hh; queue_ch_frame() local
[all...]
H A Ddsp_core.c281 dsp_control_req(struct dsp *dsp, struct mISDNhead *hh, struct sk_buff *skb) in dsp_control_req() argument
667 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()
773 hh->id, skb->len, dsp->name); in dsp_function()
774 switch (hh->id) { in dsp_function()
825 "%s\n", __func__, hh in dsp_function()
1009 struct mISDNhead *hh; dsp_send_bh() local
[all...]
H 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
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 in send_msg_to_layer()
[all...]
H A Dlayer2.c158 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
237 ph_data_confirm(struct layer2 *l2, struct mISDNhead *hh, struct sk_buff *skb) ph_data_confirm() argument
282 struct mISDNhead *hh; l2_timeout() local
1856 ph_data_indication(struct layer2 *l2, struct mISDNhead *hh, struct sk_buff *skb) ph_data_indication() argument
1945 struct mISDNhead *hh = mISDN_HEAD_P(skb); l2_send() local
[all...]
H A Dl1oip_core.c871 struct mISDNhead *hh = mISDN_HEAD_P(skb); in handle_dmsg() local
876 switch (hh->prim) { in handle_dmsg()
903 queue_ch_frame(ch, PH_DATA_CNF, hh->id, skb); in handle_dmsg()
911 queue_ch_frame(ch, PH_ACTIVATE_IND, hh->id, skb); in handle_dmsg()
913 queue_ch_frame(ch, PH_DEACTIVATE_IND, hh->id, skb); in handle_dmsg()
922 queue_ch_frame(ch, PH_ACTIVATE_IND, hh->id, skb); in handle_dmsg()
924 queue_ch_frame(ch, PH_DEACTIVATE_IND, hh->id, skb); in handle_dmsg()
1091 struct mISDNhead *hh = mISDN_HEAD_P(skb); in handle_bmsg() local
1095 switch (hh->prim) { in handle_bmsg()
1115 queue_ch_frame(ch, PH_DATA_CNF, hh in handle_bmsg()
[all...]
H A Ddsp_cmx.c1186 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()
1227 /* printk(KERN_DEBUG "%s %08x\n", dsp->name, hh->id); */ 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
1920 struct mISDNhead *hh; global() local
[all...]
H 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()
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 in check_data() local
1287 struct mISDNhead *hhc, *hh = mISDN_HEAD_P(skb); mgr_bcast() local
[all...]
/kernel/linux/linux-6.6/drivers/isdn/mISDN/
H A Dhwchannel.c213 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 in recv_Bchannel()
386 struct mISDNhead *hh; queue_ch_frame() local
[all...]
H A Ddsp_core.c281 dsp_control_req(struct dsp *dsp, struct mISDNhead *hh, struct sk_buff *skb) in dsp_control_req() argument
667 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()
773 hh->id, skb->len, dsp->name); in dsp_function()
774 switch (hh->id) { in dsp_function()
825 "%s\n", __func__, hh in dsp_function()
1008 struct mISDNhead *hh; dsp_send_bh() local
[all...]
H 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
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 in send_msg_to_layer()
[all...]
H A Dlayer2.c158 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
237 ph_data_confirm(struct layer2 *l2, struct mISDNhead *hh, struct sk_buff *skb) ph_data_confirm() argument
282 struct mISDNhead *hh; l2_timeout() local
1856 ph_data_indication(struct layer2 *l2, struct mISDNhead *hh, struct sk_buff *skb) ph_data_indication() argument
1945 struct mISDNhead *hh = mISDN_HEAD_P(skb); l2_send() local
[all...]
H A Dl1oip_core.c871 struct mISDNhead *hh = mISDN_HEAD_P(skb); in handle_dmsg() local
876 switch (hh->prim) { in handle_dmsg()
903 queue_ch_frame(ch, PH_DATA_CNF, hh->id, skb); in handle_dmsg()
911 queue_ch_frame(ch, PH_ACTIVATE_IND, hh->id, skb); in handle_dmsg()
913 queue_ch_frame(ch, PH_DEACTIVATE_IND, hh->id, skb); in handle_dmsg()
922 queue_ch_frame(ch, PH_ACTIVATE_IND, hh->id, skb); in handle_dmsg()
924 queue_ch_frame(ch, PH_DEACTIVATE_IND, hh->id, skb); in handle_dmsg()
1091 struct mISDNhead *hh = mISDN_HEAD_P(skb); in handle_bmsg() local
1095 switch (hh->prim) { in handle_bmsg()
1115 queue_ch_frame(ch, PH_DATA_CNF, hh in handle_bmsg()
[all...]
H A Ddsp_cmx.c1175 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()
1216 /* printk(KERN_DEBUG "%s %08x\n", dsp->name, hh->id); */ 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
1909 struct mISDNhead *hh; global() local
[all...]
H 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()
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 in check_data() local
1287 struct mISDNhead *hhc, *hh = mISDN_HEAD_P(skb); mgr_bcast() local
[all...]
/kernel/linux/linux-5.10/include/net/
H A Dneighbour.h154 struct hh_cache hh; member
446 static inline int neigh_hh_bridge(struct hh_cache *hh, struct sk_buff *skb) in neigh_hh_bridge() argument
451 seq = read_seqbegin(&hh->hh_lock); in neigh_hh_bridge()
453 memcpy(skb->data - hh_alen, hh->hh_data, ETH_ALEN + hh_alen - ETH_HLEN); in neigh_hh_bridge()
454 } while (read_seqretry(&hh->hh_lock, seq)); in neigh_hh_bridge()
459 static inline int neigh_hh_output(const struct hh_cache *hh, struct sk_buff *skb) in neigh_hh_output() argument
466 seq = read_seqbegin(&hh->hh_lock); in neigh_hh_output()
467 hh_len = READ_ONCE(hh->hh_len); in neigh_hh_output()
477 memcpy(skb->data - HH_DATA_MOD, hh->hh_data, in neigh_hh_output()
484 memcpy(skb->data - hh_alen, hh in neigh_hh_output()
502 const struct hh_cache *hh = &n->hh; neigh_output() local
[all...]
/kernel/linux/linux-6.6/include/net/
H A Dneighbour.h157 struct hh_cache hh; member
476 static inline int neigh_hh_bridge(struct hh_cache *hh, struct sk_buff *skb) in neigh_hh_bridge() argument
481 seq = read_seqbegin(&hh->hh_lock); in neigh_hh_bridge()
483 memcpy(skb->data - hh_alen, hh->hh_data, ETH_ALEN + hh_alen - ETH_HLEN); in neigh_hh_bridge()
484 } while (read_seqretry(&hh->hh_lock, seq)); in neigh_hh_bridge()
489 static inline int neigh_hh_output(const struct hh_cache *hh, struct sk_buff *skb) in neigh_hh_output() argument
496 seq = read_seqbegin(&hh->hh_lock); in neigh_hh_output()
497 hh_len = READ_ONCE(hh->hh_len); in neigh_hh_output()
507 memcpy(skb->data - HH_DATA_MOD, hh->hh_data, in neigh_hh_output()
514 memcpy(skb->data - hh_alen, hh in neigh_hh_output()
532 const struct hh_cache *hh = &n->hh; neigh_output() local
[all...]
/kernel/linux/linux-5.10/block/partitions/
H 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()
/kernel/linux/linux-6.6/block/partitions/
H 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()
/kernel/linux/linux-5.10/drivers/video/fbdev/
H 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()
/kernel/linux/linux-5.10/net/ethernet/
H A Deth.c228 * @hh: destination cache entry
233 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh, __be16 type) in eth_header_cache() argument
239 (((u8 *) hh->hh_data) + (HH_DATA_OFF(sizeof(*eth)))); in eth_header_cache()
251 smp_store_release(&hh->hh_len, ETH_HLEN); in eth_header_cache()
259 * @hh: destination cache entry
265 void eth_header_cache_update(struct hh_cache *hh, in eth_header_cache_update() argument
269 memcpy(((u8 *) hh->hh_data) + HH_DATA_OFF(sizeof(struct ethhdr)), in eth_header_cache_update()
/kernel/linux/linux-6.6/drivers/video/fbdev/
H A Dcg3.c266 int ww, hh; in cg3_rdi_maybe_fixup_var() local
272 hh = simple_strtoul(p + 1, &p, 10); in cg3_rdi_maybe_fixup_var()
273 if (hh && *p == '-') { in cg3_rdi_maybe_fixup_var()
275 var->yres != hh) { in cg3_rdi_maybe_fixup_var()
277 var->yres = var->yres_virtual = hh; in cg3_rdi_maybe_fixup_var()
/kernel/linux/linux-6.6/net/ethernet/
H A Deth.c224 * @hh: destination cache entry
229 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()
255 * @hh: destination cache entry
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()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ras_eeprom.c387 u8 *hh; in amdgpu_ras_eeprom_correct_header_tag() local
393 hh = (void *) &hdr->header; in amdgpu_ras_eeprom_correct_header_tag()
394 csum -= (hh[0] + hh[1] + hh[2] + hh[3]); in amdgpu_ras_eeprom_correct_header_tag()
395 hh = (void *) &header; in amdgpu_ras_eeprom_correct_header_tag()
396 csum += hh[0] + hh[1] + hh[ in amdgpu_ras_eeprom_correct_header_tag()
[all...]

Completed in 26 milliseconds

123