Searched refs:EHEA_BMASK_GET (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/ethernet/ibm/ehea/ |
H A D | ehea_phyp.c | 97 cb_cat = EHEA_BMASK_GET(H_MEHEAPORT_CAT, arg2); in ehea_plpar_hcall9() 259 (u16)EHEA_BMASK_GET(H_ALL_RES_QP_ACT_SWQE, outs[2]); in ehea_h_alloc_resource_qp() 261 (u16)EHEA_BMASK_GET(H_ALL_RES_QP_ACT_R1WQE, outs[2]); in ehea_h_alloc_resource_qp() 263 (u16)EHEA_BMASK_GET(H_ALL_RES_QP_ACT_R2WQE, outs[2]); in ehea_h_alloc_resource_qp() 265 (u16)EHEA_BMASK_GET(H_ALL_RES_QP_ACT_R3WQE, outs[2]); in ehea_h_alloc_resource_qp() 273 (u32)EHEA_BMASK_GET(H_ALL_RES_QP_SIZE_SQ, outs[4]); in ehea_h_alloc_resource_qp() 275 (u32)EHEA_BMASK_GET(H_ALL_RES_QP_SIZE_RQ1, outs[4]); in ehea_h_alloc_resource_qp() 277 (u32)EHEA_BMASK_GET(H_ALL_RES_QP_SIZE_RQ2, outs[5]); in ehea_h_alloc_resource_qp() 279 (u32)EHEA_BMASK_GET(H_ALL_RES_QP_SIZE_RQ3, outs[5]); in ehea_h_alloc_resource_qp() 282 (u32)EHEA_BMASK_GET(H_ALL_RES_QP_LIOBN_SQ, outs[7]); in ehea_h_alloc_resource_qp() [all …]
|
H A D | ehea_main.c | 843 if (likely(EHEA_BMASK_GET(EHEA_WR_ID_TYPE, cqe->wr_id) in ehea_proc_cqes() 846 index = EHEA_BMASK_GET(EHEA_WR_ID_INDEX, cqe->wr_id); in ehea_proc_cqes() 852 swqe_av += EHEA_BMASK_GET(EHEA_WR_ID_REFILL, cqe->wr_id); in ehea_proc_cqes() 934 qp_token = EHEA_BMASK_GET(EHEA_EQE_QP_TOKEN, eqe->entry); in ehea_qp_aff_irq_handler() 1146 ec = EHEA_BMASK_GET(NEQE_EVENT_CODE, eqe); in ehea_parse_eqe() 1147 portnum = EHEA_BMASK_GET(NEQE_PORTNUM, eqe); in ehea_parse_eqe() 1158 if (EHEA_BMASK_GET(NEQE_PORT_UP, eqe)) { in ehea_parse_eqe() 1183 if (EHEA_BMASK_GET(NEQE_EXTSWITCH_PORT_UP, eqe)) { in ehea_parse_eqe() 1197 if (EHEA_BMASK_GET(NEQE_EXTSWITCH_PRIMARY, eqe)) in ehea_parse_eqe() 2595 index = EHEA_BMASK_GET(EHEA_WR_ID_INDEX, rwqe->wr_id); in ehea_update_rqs() [all …]
|
H A D | ehea_qmr.c | 950 u64 type = EHEA_BMASK_GET(ERROR_DATA_TYPE, data[2]); in print_error_data() 953 length = EHEA_BMASK_GET(ERROR_DATA_LENGTH, data[0]); in print_error_data() 987 type = EHEA_BMASK_GET(ERROR_DATA_TYPE, rblock[2]); in ehea_error_data()
|
H A D | ehea.h | 128 #define EHEA_BMASK_GET(mask, value) \ macro
|