Searched refs:vBIT (Results 1 – 7 of 7) sorted by relevance
/titanic_41/usr/src/uts/common/io/xge/hal/include/ |
H A D | xgehal-regs.h | 66 #define XGE_HAL_SW_RESET_XENA vBIT(0xA5,0,8) 67 #define XGE_HAL_SW_RESET_FLASH vBIT(0xA5,8,8) 68 #define XGE_HAL_SW_RESET_EOI vBIT(0xA5,16,8) 69 #define XGE_HAL_SW_RESET_XGXS vBIT(0xA5,24,8) 93 #define XGE_HAL_ADAPTER_STATUS_RMAC_PCC_IDLE vBIT(0xFF,8,8) 94 #define XGE_HAL_ADAPTER_STATUS_RMAC_PCC_4_IDLE vBIT(0x0F,8,8) 95 #define XGE_HAL_ADAPTER_PCC_ENABLE_FOUR vBIT(0x0F,0,8) 97 #define XGE_HAL_ADAPTER_STATUS_RC_PRC_QUIESCENT vBIT(0xFF,16,8) 107 #define XGE_HAL_ADAPTER_UDPI(val) vBIT(val,36,4) 126 #define XGE_HAL_PCI_INFO vBIT(0xF,0,4) [all …]
|
H A D | xgehal-ring.h | 54 #define XGE_HAL_RXD_MASK_VLAN_TAG vBIT(0xFFFF,48,16) 66 #define XGE_HAL_RXD_MASK_FRAME_TYPE vBIT(0x3,25,2) 67 #define XGE_HAL_RXD_MASK_FRAME_PROTO vBIT(0xFFFF,24,8) 127 #define XGE_HAL_RXD_1_MASK_BUFFER0_SIZE vBIT(0xFFFF,0,16) 128 #define XGE_HAL_RXD_1_SET_BUFFER0_SIZE(val) vBIT(val,0,16) 130 (int)((Control_2 & vBIT(0xFFFF,0,16))>>48) 132 (u32)((Control_2 & vBIT(0xFFFFFFFF,16,32))>>16) 144 #define XGE_HAL_RXD_3_MASK_BUFFER0_SIZE vBIT(0xFF,8,8) 145 #define XGE_HAL_RXD_3_SET_BUFFER0_SIZE(val) vBIT(val,8,8) 146 #define XGE_HAL_RXD_3_MASK_BUFFER1_SIZE vBIT(0xFFFF,16,16) [all …]
|
H A D | xgehal-fifo.h | 57 #define XGE_HAL_TX_FIFO_LAST_TXD_NUM( val) vBIT(val,0,8) 60 #define XGE_HAL_TX_FIFO_FIRSTNLAST_LIST vBIT(3,14,2) 62 #define XGE_HAL_TX_FIFO_NO_SNOOP(n) vBIT(n,30,2) 105 #define XGE_HAL_TXD_LSO_COF_CTRL(val) vBIT(val,30,2) 106 #define XGE_HAL_TXD_TCP_LSO_MSS(val) vBIT(val,34,14) 107 #define XGE_HAL_TXD_BUFFER0_SIZE(val) vBIT(val,48,16) 108 #define XGE_HAL_TXD_GET_LSO_BYTES_SENT(val) ((val & vBIT(0xFFFF,16,16))>>32) 115 #define XGE_HAL_TXD_VLAN_TAG(val) vBIT(val,16,16) 116 #define XGE_HAL_TXD_INT_NUMBER(val) vBIT(val,34,6) 119 #define XGE_HAL_TXD_SET_MARKER vBIT(0x6,0,4)
|
H A D | xgehal-types.h | 39 #define vBIT(val, loc, sz) (((u64)(val)) << (64-(loc)-(sz))) macro
|
/titanic_41/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-ring.c | 424 val64 |= vBIT((queue->buffer_mode >> 1),14,2);/* 1,3 or 5 => 0,1 or 2 */ in __hal_ring_prc_enable() 493 val64 |= vBIT(hldev->config.ring.queue[i].priority, in __hal_ring_hw_initialize() 506 val64 |= vBIT(hldev->config.ring.queue[i].dram_size_mb,(i*8),8); in __hal_ring_hw_initialize()
|
H A D | xgehal-fifo.c | 401 vBIT((hldev->config.fifo.queue[i].max-1), in __hal_fifo_hw_initialize() 403 13) | vBIT(priority, (((reg_half)*32) + 5), 3); in __hal_fifo_hw_initialize()
|
H A D | xgehal-device.c | 1566 val64 = vBIT(port->num,8,16) | in __hal_device_rts_port_configure() 1567 vBIT(rnum,37,3) | BIT(63); in __hal_device_rts_port_configure() 1576 val64 = BIT(7) | BIT(15) | vBIT(pnum,24,8); in __hal_device_rts_port_configure() 1948 spdm_line_arr[0] = vBIT(l4_sp,0,16) | in __hal_spdm_entry_add() 1949 vBIT(l4_dp,16,32) | in __hal_spdm_entry_add() 1950 vBIT(tgt_queue,53,3) | in __hal_spdm_entry_add() 1951 vBIT(is_tcp,59,1) | in __hal_spdm_entry_add() 1952 vBIT(is_ipv4,63,1); in __hal_spdm_entry_add() 1956 spdm_line_arr[1] = vBIT(src_ip->ipv4.addr,0,32) | in __hal_spdm_entry_add() 1957 vBIT(dst_ip->ipv4.addr,32,32); in __hal_spdm_entry_add() [all …]
|