Searched refs:vBIT (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/ethernet/neterion/ |
H A D | s2io-regs.h | 46 #define SW_RESET_XENA vBIT(0xA5,0,8) 47 #define SW_RESET_FLASH vBIT(0xA5,8,8) 48 #define SW_RESET_EOI vBIT(0xA5,16,8) 64 #define ADAPTER_STATUS_RMAC_PCC_IDLE vBIT(0xFF,8,8) 65 #define ADAPTER_STATUS_RMAC_PCC_FOUR_IDLE vBIT(0x0F,8,8) 66 #define ADAPTER_STATUS_RC_PRC_QUIESCENT vBIT(0xFF,16,8) 77 #define ADAPTER_UDPI(val) vBIT(val,36,4) 96 #define GET_PCI_MODE(val) ((val & vBIT(0xF, 0, 4)) >> 60) 192 #define PIC_CNTL_SHARED_SPLITS(n) vBIT(n,11,5) 224 #define SCHED_INT_CTRL_INT2MSI(val) vBIT(val,10,6) [all …]
|
H A D | s2io.h | 19 #define vBIT(val, loc, sz) (((u64)val) << (64-loc-sz)) macro 483 #define TX_FIFO_LAST_TXD_NUM( val) vBIT(val,0,8) 486 #define TX_FIFO_FIRSTNLAST_LIST vBIT(3,14,2) 506 #define TXD_TCP_LSO_MSS(val) vBIT(val,34,14) 507 #define TXD_UFO_MSS(val) vBIT(val,34,14) 508 #define TXD_BUFFER0_SIZE(val) vBIT(val,48,16) 516 #define TXD_VLAN_TAG(val) vBIT(val,16,16) 517 #define TXD_INT_NUMBER(val) vBIT(val,34,6) 520 #define TXD_SET_MARKER vBIT(0x6,0,4) 538 #define RXD_FRAME_PROTO vBIT(0xFFFF,24,8) [all …]
|
H A D | s2io.c | 1254 writeq(vBIT(val64, 2, 14), &bar0->rmac_max_pyld_len); in init_nic() 1283 val64 |= vBIT(tx_cfg->fifo_len - 1, ((j * 32) + 19), 13) | in init_nic() 1284 vBIT(tx_cfg->fifo_priority, ((j * 32) + 5), 3); in init_nic() 1345 val64 |= vBIT(rx_cfg->ring_priority, (5 + (i * 8)), 3); in init_nic() 3690 val64 = (s2BIT(7) | s2BIT(15) | vBIT(msix_index, 26, 6)); in restore_xmsi_data() 3710 val64 = (s2BIT(15) | vBIT(msix_index, 26, 6)); in store_xmsi_data() 4413 temp64 = (val64 & vBIT(0xFFFF, (i*16), 16)); in s2io_handle_errors() 4420 temp64 = (val64 & vBIT(0xFFFF, (i*16), 16)); in s2io_handle_errors() 6655 writeq(vBIT(val64, 2, 14), &bar0->rmac_max_pyld_len); in s2io_change_mtu()
|