Searched refs:hdr_off (Results 1 – 5 of 5) sorted by relevance
90 u8 hdr_off; /* 64-byte-scaled offset into RX_DATA entry */ member
137 int bnxt_ptp_parse(struct sk_buff *skb, u16 *seq_id, u16 *hdr_off);
37 int bnxt_ptp_parse(struct sk_buff *skb, u16 *seq_id, u16 *hdr_off) in bnxt_ptp_parse() argument51 *hdr_off = (u8 *)hdr - skb->data; in bnxt_ptp_parse()
1366 u16 hdr_off; in ax88179_rx_fixup() local1414 hdr_off = (u16)(rx_hdr >> 16); in ax88179_rx_fixup()1422 if (pkt_cnt * 4 + hdr_off > skb->len) in ax88179_rx_fixup()1424 pkt_hdr = (u32 *)(skb->data + hdr_off); in ax88179_rx_fixup()1427 skb_trim(skb, hdr_off); in ax88179_rx_fixup()
1873 size_t hdr_off, pattern_off, hdr_len; in myri10ge_led() local1877 hdr_off = swab32(readl(mgp->sram + MCP_HEADER_PTR_OFFSET)); in myri10ge_led()1878 if ((hdr_off & 3) || hdr_off + sizeof(*hdr) > mgp->sram_size) { in myri10ge_led()1880 (int)hdr_off); in myri10ge_led()1883 hdr_len = swab32(readl(mgp->sram + hdr_off + in myri10ge_led()1885 pattern_off = hdr_off + offsetof(struct mcp_gen_header, led_pattern); in myri10ge_led()1886 if (pattern_off >= (hdr_len + hdr_off)) { in myri10ge_led()