Home
last modified time | relevance | path

Searched refs:CAS_VAL (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/sun/
Dcassini.c1696 if (CAS_VAL(MIF_STATUS_POLL_STATUS, stat) == 0) in cas_mif_interrupt()
1699 bmsr = CAS_VAL(MIF_STATUS_POLL_DATA, stat); in cas_mif_interrupt()
1895 dlen = CAS_VAL(TX_DESC_BUFLEN, in cas_tx_ringN()
1940 limit = (CAS_VAL(TX_COMPWB_MSB, compwb) << 8) | in cas_tx()
1941 CAS_VAL(TX_COMPWB_LSB, compwb); in cas_tx()
1964 hlen = CAS_VAL(RX_COMP2_HDR_SIZE, words[1]); in cas_rx_process_pkt()
1965 dlen = CAS_VAL(RX_COMP1_DATA_SIZE, words[0]); in cas_rx_process_pkt()
1983 i = CAS_VAL(RX_COMP2_HDR_INDEX, words[1]); in cas_rx_process_pkt()
1984 page = cp->rx_pages[CAS_VAL(RX_INDEX_RING, i)][CAS_VAL(RX_INDEX_NUM, i)]; in cas_rx_process_pkt()
1985 off = CAS_VAL(RX_COMP2_HDR_OFF, words[1]) * 0x100 + in cas_rx_process_pkt()
[all …]
Dcassini.h2571 #define CAS_VAL(x, y) (((y) & (x ## _MASK)) >> (x ## _SHIFT)) macro