Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/sun/
Dcassini.c1661 if (CAS_VAL(MIF_STATUS_POLL_STATUS, stat) == 0) in cas_mif_interrupt()
1664 bmsr = CAS_VAL(MIF_STATUS_POLL_DATA, stat); in cas_mif_interrupt()
1852 dlen = CAS_VAL(TX_DESC_BUFLEN, in cas_tx_ringN()
1897 limit = (CAS_VAL(TX_COMPWB_MSB, compwb) << 8) | in cas_tx()
1898 CAS_VAL(TX_COMPWB_LSB, compwb); in cas_tx()
1921 hlen = CAS_VAL(RX_COMP2_HDR_SIZE, words[1]); in cas_rx_process_pkt()
1922 dlen = CAS_VAL(RX_COMP1_DATA_SIZE, words[0]); in cas_rx_process_pkt()
1940 i = CAS_VAL(RX_COMP2_HDR_INDEX, words[1]); in cas_rx_process_pkt()
1941 page = cp->rx_pages[CAS_VAL(RX_INDEX_RING, i)][CAS_VAL(RX_INDEX_NUM, i)]; in cas_rx_process_pkt()
1942 off = CAS_VAL(RX_COMP2_HDR_OFF, words[1]) * 0x100 + in cas_rx_process_pkt()
[all …]
Dcassini.h2559 #define CAS_VAL(x, y) (((y) & (x ## _MASK)) >> (x ## _SHIFT)) macro