Lines Matching refs:ifh
539 u64 ifh[2]; in ocelot_parse_ifh() local
541 ifh[0] = be64_to_cpu(((__force __be64 *)_ifh)[0]); in ocelot_parse_ifh()
542 ifh[1] = be64_to_cpu(((__force __be64 *)_ifh)[1]); in ocelot_parse_ifh()
544 wlen = IFH_EXTRACT_BITFIELD64(ifh[0], 7, 8); in ocelot_parse_ifh()
545 llen = IFH_EXTRACT_BITFIELD64(ifh[0], 15, 6); in ocelot_parse_ifh()
549 info->timestamp = IFH_EXTRACT_BITFIELD64(ifh[0], 21, 32); in ocelot_parse_ifh()
551 info->port = IFH_EXTRACT_BITFIELD64(ifh[1], 43, 4); in ocelot_parse_ifh()
553 info->tag_type = IFH_EXTRACT_BITFIELD64(ifh[1], 16, 1); in ocelot_parse_ifh()
554 info->vid = IFH_EXTRACT_BITFIELD64(ifh[1], 0, 12); in ocelot_parse_ifh()
559 static int ocelot_rx_frame_word(struct ocelot *ocelot, u8 grp, bool ifh, in ocelot_rx_frame_word() argument
567 if (ifh) in ocelot_rx_frame_word()
618 u32 ifh[4], val, *buf; in ocelot_xtr_irq_handler() local
624 err = ocelot_rx_frame_word(ocelot, grp, true, &ifh[i]); in ocelot_xtr_irq_handler()
640 ocelot_parse_ifh(ifh, &info); in ocelot_xtr_irq_handler()