Home
last modified time | relevance | path

Searched refs:sb_info (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_int_api.h84 static OSAL_INLINE u16 ecore_sb_update_sb_idx(struct ecore_sb_info *sb_info) in ecore_sb_update_sb_idx() argument
91 prod = OSAL_LE32_TO_CPU(sb_info->sb_virt->prod_index) & in ecore_sb_update_sb_idx()
93 if (sb_info->sb_ack != prod) { in ecore_sb_update_sb_idx()
94 sb_info->sb_ack = prod; in ecore_sb_update_sb_idx()
98 OSAL_MMIOWB(sb_info->p_dev); in ecore_sb_update_sb_idx()
115 static OSAL_INLINE void ecore_sb_ack(struct ecore_sb_info *sb_info, in ecore_sb_ack() argument
125 if (sb_info->p_dev->int_mode == ECORE_INT_MODE_POLL) in ecore_sb_ack()
129 OSAL_CPU_TO_LE32((sb_info->sb_ack << in ecore_sb_ack()
137 DIRECT_REG_WR(sb_info->p_hwfn, sb_info->igu_addr, in ecore_sb_ack()
141 DIRECT_REG_WR(OSAL_NULL, sb_info->igu_addr, val); in ecore_sb_ack()
[all …]
H A Decore_int.c80 struct ecore_sb_info sb_info; member
1235 struct ecore_sb_info *sb_info; in ecore_int_sp_dpc() local
1247 sb_info = &p_hwfn->p_sp_sb->sb_info; in ecore_int_sp_dpc()
1249 if (!sb_info) { in ecore_int_sp_dpc()
1266 ecore_sb_ack(sb_info, IGU_INT_DISABLE, 0); in ecore_int_sp_dpc()
1269 if (!sb_info->sb_virt) { in ecore_int_sp_dpc()
1272 u32 tmp_index = sb_info->sb_ack; in ecore_int_sp_dpc()
1273 rc = ecore_sb_update_sb_idx(sb_info); in ecore_int_sp_dpc()
1276 tmp_index, sb_info->sb_ack); in ecore_int_sp_dpc()
1292 ecore_sb_ack(sb_info, IGU_INT_ENABLE, 1); in ecore_int_sp_dpc()
[all …]
H A Dqlnx_def.h179 struct ecore_sb_info *sb_info; member
691 extern void qlnx_free_mem_sb(qlnx_host_t *ha, struct ecore_sb_info *sb_info);
692 extern int qlnx_alloc_mem_sb(qlnx_host_t *ha, struct ecore_sb_info *sb_info,
H A Decore_int.h61 struct ecore_sb_info *sb_info; member
H A Dqlnx_os.c4811 ecore_sb_ack(fp->sb_info, IGU_INT_DISABLE, 0); in qlnx_fp_isr()
4883 ecore_sb_update_sb_idx(fp->sb_info); in qlnx_fp_isr()
4885 ecore_sb_ack(fp->sb_info, IGU_INT_ENABLE, 1); in qlnx_fp_isr()
5833 fp->sb_info = &ha->sb_array[rss_id]; in qlnx_init_fp()
5884 qlnx_free_mem_sb(qlnx_host_t *ha, struct ecore_sb_info *sb_info) in qlnx_free_mem_sb() argument
5890 if (sb_info->sb_virt) { in qlnx_free_mem_sb()
5891 OSAL_DMA_FREE_COHERENT(cdev, ((void *)sb_info->sb_virt), in qlnx_free_mem_sb()
5892 (sb_info->sb_phys), (sizeof(*sb_info->sb_virt))); in qlnx_free_mem_sb()
5893 sb_info->sb_virt = NULL; in qlnx_free_mem_sb()
5898 qlnx_sb_init(struct ecore_dev *cdev, struct ecore_sb_info *sb_info, in qlnx_sb_init() argument
[all …]
/freebsd/crypto/heimdal/lib/roken/
H A Dget_window_size.c105 CONSOLE_SCREEN_BUFFER_INFO sb_info; in get_window_size() local
109 GetConsoleScreenBufferInfo((HANDLE) fh, &sb_info)) { in get_window_size()
111 *lines = 1 + sb_info.srWindow.Bottom - sb_info.srWindow.Top; in get_window_size()
113 *columns = 1 + sb_info.srWindow.Right - sb_info.srWindow.Left; in get_window_size()