Lines Matching refs:hip
855 len = be16toh(rxd->hip.len) & USIE_HIP_IP_LEN_MASK;
856 pad = (rxd->hip.id & USIE_HIP_PAD) ? 1 : 0;
865 if (((rxd->hip.id & USIE_HIP_MASK) != USIE_HIP_IP) ||
959 sc->sc_txd.hip.len = htobe16(m->m_pkthdr.len +
1066 struct usie_hip *hip;
1102 hip = (struct usie_hip *)sc->sc_status_temp;
1104 pad = (hip->id & USIE_HIP_PAD) ? 1 : 0;
1106 DPRINTF("hip.id=%x hip.len=%d actlen=%u pad=%d\n",
1107 hip->id, be16toh(hip->len), actlen, pad);
1109 switch (hip->id & USIE_HIP_MASK) {
1135 DPRINTF("ctx=%x\n", hip->param);
1136 sc->sc_txd.hip.param = hip->param;
1166 DPRINTF("undefined msgid: %x\n", hip->id);
1236 sc->sc_txd.hip.id = USIE_HIP_CTX;
1237 sc->sc_txd.hip.param = 0; /* init value */
1390 struct usie_hip *hip;
1406 hip = (struct usie_hip *)param;
1407 cns = (struct usie_cns *)(hip + 1);
1440 hip->len = htobe16(sizeof(struct usie_cns) + cns_len);
1441 hip->id = USIE_HIP_CNS2M;
1442 hip->param = 0; /* none for CnS */
1510 struct usie_hip *hip;
1554 hip = (struct usie_hip *)tmp;
1556 DPRINTF("hip: len=%d msgID=%02x, param=%02x\n",
1557 be16toh(hip->len), hip->id, hip->param);
1559 pad = (hip->id & USIE_HIP_PAD) ? 1 : 0;
1561 if ((hip->id & USIE_HIP_MASK) == USIE_HIP_CNS2H) {
1562 cns = (struct usie_cns *)(((uint8_t *)(hip + 1)) + pad);
1583 j = be16toh(hip->len);