Lines Matching defs:hip
850 len = be16toh(rxd->hip.len) & USIE_HIP_IP_LEN_MASK;
851 pad = (rxd->hip.id & USIE_HIP_PAD) ? 1 : 0;
860 if (((rxd->hip.id & USIE_HIP_MASK) != USIE_HIP_IP) ||
955 sc->sc_txd.hip.len = htobe16(m->m_pkthdr.len +
1062 struct usie_hip *hip;
1098 hip = (struct usie_hip *)sc->sc_status_temp;
1100 pad = (hip->id & USIE_HIP_PAD) ? 1 : 0;
1102 DPRINTF("hip.id=%x hip.len=%d actlen=%u pad=%d\n",
1103 hip->id, be16toh(hip->len), actlen, pad);
1105 switch (hip->id & USIE_HIP_MASK) {
1131 DPRINTF("ctx=%x\n", hip->param);
1132 sc->sc_txd.hip.param = hip->param;
1162 DPRINTF("undefined msgid: %x\n", hip->id);
1232 sc->sc_txd.hip.id = USIE_HIP_CTX;
1233 sc->sc_txd.hip.param = 0; /* init value */
1386 struct usie_hip *hip;
1402 hip = (struct usie_hip *)param;
1403 cns = (struct usie_cns *)(hip + 1);
1436 hip->len = htobe16(sizeof(struct usie_cns) + cns_len);
1437 hip->id = USIE_HIP_CNS2M;
1438 hip->param = 0; /* none for CnS */
1506 struct usie_hip *hip;
1548 hip = (struct usie_hip *)tmp;
1550 DPRINTF("hip: len=%d msgID=%02x, param=%02x\n",
1551 be16toh(hip->len), hip->id, hip->param);
1553 pad = (hip->id & USIE_HIP_PAD) ? 1 : 0;
1555 if ((hip->id & USIE_HIP_MASK) == USIE_HIP_CNS2H) {
1556 cns = (struct usie_cns *)(((uint8_t *)(hip + 1)) + pad);
1577 j = be16toh(hip->len);