Searched refs:CAS_VAL (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/sun/ |
D | cassini.c | 1660 if (CAS_VAL(MIF_STATUS_POLL_STATUS, stat) == 0) in cas_mif_interrupt() 1663 bmsr = CAS_VAL(MIF_STATUS_POLL_DATA, stat); in cas_mif_interrupt() 1851 dlen = CAS_VAL(TX_DESC_BUFLEN, in cas_tx_ringN() 1896 limit = (CAS_VAL(TX_COMPWB_MSB, compwb) << 8) | in cas_tx() 1897 CAS_VAL(TX_COMPWB_LSB, compwb); in cas_tx() 1920 hlen = CAS_VAL(RX_COMP2_HDR_SIZE, words[1]); in cas_rx_process_pkt() 1921 dlen = CAS_VAL(RX_COMP1_DATA_SIZE, words[0]); in cas_rx_process_pkt() 1939 i = CAS_VAL(RX_COMP2_HDR_INDEX, words[1]); in cas_rx_process_pkt() 1940 page = cp->rx_pages[CAS_VAL(RX_INDEX_RING, i)][CAS_VAL(RX_INDEX_NUM, i)]; in cas_rx_process_pkt() 1941 off = CAS_VAL(RX_COMP2_HDR_OFF, words[1]) * 0x100 + in cas_rx_process_pkt() [all …]
|
D | cassini.h | 2559 #define CAS_VAL(x, y) (((y) & (x ## _MASK)) >> (x ## _SHIFT)) macro
|