Lines Matching refs:hip

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