/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | eq.c | 123 struct mlx4_eqe *eqe = get_eqe(eq, eq->cons_index, eqe_factor, size); in next_eqe_sw() local 124 return !!(eqe->owner & 0x80) ^ !!(eq->cons_index & eq->nent) ? NULL : eqe; in next_eqe_sw() 129 struct mlx4_eqe *eqe = in next_slave_event_eqe() local 131 return (!!(eqe->owner & 0x80) ^ in next_slave_event_eqe() 133 eqe : NULL; in next_slave_event_eqe() 146 struct mlx4_eqe *eqe; in mlx4_gen_slave_eqe() local 150 for (eqe = next_slave_event_eqe(slave_eq); eqe; in mlx4_gen_slave_eqe() 151 eqe = next_slave_event_eqe(slave_eq)) { in mlx4_gen_slave_eqe() 152 slave = eqe->slave_id; in mlx4_gen_slave_eqe() 154 if (eqe->type == MLX4_EVENT_TYPE_PORT_CHANGE && in mlx4_gen_slave_eqe() [all …]
|
D | resource_tracker.c | 3328 int mlx4_GEN_EQE(struct mlx4_dev *dev, int slave, struct mlx4_eqe *eqe) in mlx4_GEN_EQE() argument 3347 event_eq = &priv->mfunc.master.slave_state[slave].event_eq[eqe->type]; in mlx4_GEN_EQE() 3370 if (eqe->type == MLX4_EVENT_TYPE_CMD) { in mlx4_GEN_EQE() 3372 eqe->event.cmd.token = cpu_to_be16(event_eq->token); in mlx4_GEN_EQE() 3375 memcpy(mailbox->buf, (u8 *) eqe, 28); in mlx4_GEN_EQE()
|
D | mlx4.h | 1199 int mlx4_GEN_EQE(struct mlx4_dev *dev, int slave, struct mlx4_eqe *eqe);
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eq.c | 109 struct mlx5_eqe *eqe = get_eqe(eq, eq->cons_index & (eq->nent - 1)); in next_eqe_sw() local 111 return ((eqe->owner & 1) ^ !!(eq->cons_index & eq->nent)) ? NULL : eqe; in next_eqe_sw() 228 struct mlx5_eqe *eqe; in eq_pf_process() local 231 while ((eqe = next_eqe_sw(eq))) { in eq_pf_process() 239 pf_eqe = &eqe->data.page_fault; in eq_pf_process() 240 pfault->event_subtype = eqe->sub_type; in eq_pf_process() 245 eqe->sub_type, pfault->bytes_committed); in eq_pf_process() 247 switch (eqe->sub_type) { in eq_pf_process() 296 eqe->sub_type); in eq_pf_process() 394 struct mlx5_eqe *eqe) in general_event_handler() argument [all …]
|
D | eswitch.h | 194 void mlx5_eswitch_vport_event(struct mlx5_eswitch *esw, struct mlx5_eqe *eqe); 314 static inline void mlx5_eswitch_vport_event(struct mlx5_eswitch *esw, struct mlx5_eqe *eqe) {} in mlx5_eswitch_vport_event() argument
|
D | mlx5_core.h | 102 void mlx5_port_module_event(struct mlx5_core_dev *dev, struct mlx5_eqe *eqe);
|
D | port.c | 936 void mlx5_port_module_event(struct mlx5_core_dev *dev, struct mlx5_eqe *eqe) in mlx5_port_module_event() argument 944 module_event_eqe = &eqe->data.port_module; in mlx5_port_module_event()
|
D | eswitch.c | 1780 void mlx5_eswitch_vport_event(struct mlx5_eswitch *esw, struct mlx5_eqe *eqe) in mlx5_eswitch_vport_event() argument 1782 struct mlx5_eqe_vport_change *vc_eqe = &eqe->data.vport_change; in mlx5_eswitch_vport_event()
|
/Linux-v4.19/drivers/infiniband/hw/mthca/ |
D | mthca_eq.c | 236 struct mthca_eqe *eqe; in next_eqe_sw() local 237 eqe = get_eqe(eq, eq->cons_index); in next_eqe_sw() 238 return (MTHCA_EQ_ENTRY_OWNER_HW & eqe->owner) ? NULL : eqe; in next_eqe_sw() 241 static inline void set_eqe_hw(struct mthca_eqe *eqe) in set_eqe_hw() argument 243 eqe->owner = MTHCA_EQ_ENTRY_OWNER_HW; in set_eqe_hw() 262 struct mthca_eqe *eqe; in mthca_eq_int() local 267 while ((eqe = next_eqe_sw(eq))) { in mthca_eq_int() 274 switch (eqe->type) { in mthca_eq_int() 276 disarm_cqn = be32_to_cpu(eqe->event.comp.cqn) & 0xffffff; in mthca_eq_int() 282 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, in mthca_eq_int() [all …]
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | pci_hw.h | 214 MLXSW_ITEM32(pci, eqe, event_type, 0x0C, 24, 8); 221 MLXSW_ITEM32(pci, eqe, event_sub_type, 0x0C, 16, 8); 226 MLXSW_ITEM32(pci, eqe, cqn, 0x0C, 8, 7); 231 MLXSW_ITEM32(pci, eqe, owner, 0x0C, 0, 1); 236 MLXSW_ITEM32(pci, eqe, cmd_token, 0x00, 16, 16); 241 MLXSW_ITEM32(pci, eqe, cmd_status, 0x00, 0, 8); 246 MLXSW_ITEM32(pci, eqe, cmd_out_param_h, 0x04, 0, 32); 251 MLXSW_ITEM32(pci, eqe, cmd_out_param_l, 0x08, 0, 32);
|
D | pci.c | 680 static void mlxsw_pci_eq_cmd_event(struct mlxsw_pci *mlxsw_pci, char *eqe) in mlxsw_pci_eq_cmd_event() argument 682 mlxsw_pci->cmd.comp.status = mlxsw_pci_eqe_cmd_status_get(eqe); in mlxsw_pci_eq_cmd_event() 684 ((u64) mlxsw_pci_eqe_cmd_out_param_h_get(eqe)) << 32 | in mlxsw_pci_eq_cmd_event() 685 mlxsw_pci_eqe_cmd_out_param_l_get(eqe); in mlxsw_pci_eq_cmd_event() 712 char *eqe; in mlxsw_pci_eq_tasklet() local 720 while ((eqe = mlxsw_pci_eq_sw_eqe_get(q))) { in mlxsw_pci_eq_tasklet() 728 mlxsw_pci_eq_cmd_event(mlxsw_pci, eqe); in mlxsw_pci_eq_tasklet() 732 cqn = mlxsw_pci_eqe_cqn_get(eqe); in mlxsw_pci_eq_tasklet()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | clock.h | 39 void mlx5_pps_event(struct mlx5_core_dev *dev, struct mlx5_eqe *eqe); 61 static inline void mlx5_pps_event(struct mlx5_core_dev *dev, struct mlx5_eqe *eqe) {} in mlx5_pps_event() argument
|
D | clock.c | 443 struct mlx5_eqe *eqe) in mlx5_pps_event() argument 450 int pin = eqe->data.pps.pin; in mlx5_pps_event() 458 be64_to_cpu(eqe->data.pps.time_stamp)); in mlx5_pps_event()
|
/Linux-v4.19/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_main.c | 446 struct pvrdma_eqe *eqe; in pvrdma_intr1_handler() local 448 eqe = get_eqe(dev, head); in pvrdma_intr1_handler() 450 switch (eqe->type) { in pvrdma_intr1_handler() 459 pvrdma_qp_event(dev, eqe->info, eqe->type); in pvrdma_intr1_handler() 463 pvrdma_cq_event(dev, eqe->info, eqe->type); in pvrdma_intr1_handler() 468 pvrdma_srq_event(dev, eqe->info, eqe->type); in pvrdma_intr1_handler() 478 pvrdma_dev_event(dev, eqe->info, eqe->type); in pvrdma_intr1_handler() 482 pvrdma_dev_event(dev, 1, eqe->type); in pvrdma_intr1_handler()
|
/Linux-v4.19/drivers/infiniband/hw/mlx4/ |
D | mad.c | 63 #define GET_BLK_PTR_FROM_EQE(eqe) be32_to_cpu(eqe->event.port_mgmt_change.params.tbl_change_info.bl… argument 64 #define GET_MASK_FROM_EQE(eqe) be32_to_cpu(eqe->event.port_mgmt_change.params.tbl_change_info.tbl_e… argument 1126 struct mlx4_eqe *eqe) in propagate_pkey_ev() argument 1128 __propagate_pkey_ev(dev, port_num, GET_BLK_PTR_FROM_EQE(eqe), in propagate_pkey_ev() 1129 GET_MASK_FROM_EQE(eqe)); in propagate_pkey_ev() 1187 struct mlx4_eqe *eqe = &(ew->ib_eqe); in handle_port_mgmt_change_event() local 1188 u8 port = eqe->event.port_mgmt_change.port; in handle_port_mgmt_change_event() 1193 switch (eqe->subtype) { in handle_port_mgmt_change_event() 1195 changed_attr = be32_to_cpu(eqe->event.port_mgmt_change.params.port_info.changed_attr); in handle_port_mgmt_change_event() 1200 u16 lid = be16_to_cpu(eqe->event.port_mgmt_change.params.port_info.mstr_sm_lid); in handle_port_mgmt_change_event() [all …]
|
D | main.c | 3291 struct mlx4_eqe *eqe = NULL; in mlx4_ib_event() local 3308 eqe = (struct mlx4_eqe *)param; in mlx4_ib_event() 3346 memcpy(&ew->ib_eqe, eqe, sizeof *eqe); in mlx4_ib_event()
|
/Linux-v4.19/drivers/net/ethernet/ibm/ehea/ |
D | ehea_main.c | 936 struct ehea_eqe *eqe; in ehea_qp_aff_irq_handler() local 942 eqe = ehea_poll_eq(port->qp_eq); in ehea_qp_aff_irq_handler() 944 while (eqe) { in ehea_qp_aff_irq_handler() 945 qp_token = EHEA_BMASK_GET(EHEA_EQE_QP_TOKEN, eqe->entry); in ehea_qp_aff_irq_handler() 947 eqe->entry, qp_token); in ehea_qp_aff_irq_handler() 961 eqe = ehea_poll_eq(port->qp_eq); in ehea_qp_aff_irq_handler() 1149 static void ehea_parse_eqe(struct ehea_adapter *adapter, u64 eqe) in ehea_parse_eqe() argument 1157 ec = EHEA_BMASK_GET(NEQE_EVENT_CODE, eqe); in ehea_parse_eqe() 1158 portnum = EHEA_BMASK_GET(NEQE_PORTNUM, eqe); in ehea_parse_eqe() 1169 if (EHEA_BMASK_GET(NEQE_PORT_UP, eqe)) { in ehea_parse_eqe() [all …]
|
D | ehea_qmr.c | 325 struct ehea_eqe *eqe; in ehea_poll_eq() local 329 eqe = hw_eqit_eq_get_inc_valid(&eq->hw_queue); in ehea_poll_eq() 332 return eqe; in ehea_poll_eq()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | fw_tracer.h | 173 void mlx5_fw_tracer_event(struct mlx5_core_dev *dev, struct mlx5_eqe *eqe);
|
D | fw_tracer.c | 925 void mlx5_fw_tracer_event(struct mlx5_core_dev *dev, struct mlx5_eqe *eqe) in mlx5_fw_tracer_event() argument 932 switch (eqe->sub_type) { in mlx5_fw_tracer_event() 943 eqe->sub_type); in mlx5_fw_tracer_event()
|
/Linux-v4.19/drivers/scsi/be2iscsi/ |
D | be_main.c | 685 struct be_eq_entry *eqe; in be_isr_mcc() local 695 eqe = queue_tail_node(eq); in be_isr_mcc() 698 while (eqe->dw[offsetof(struct amap_eq_entry, valid) / 32] in be_isr_mcc() 700 if (((eqe->dw[offsetof(struct amap_eq_entry, in be_isr_mcc() 705 AMAP_SET_BITS(struct amap_eq_entry, valid, eqe, 0); in be_isr_mcc() 707 eqe = queue_tail_node(eq); in be_isr_mcc() 749 struct be_eq_entry *eqe; in be_isr() local 770 eqe = queue_tail_node(eq); in be_isr() 774 while (eqe->dw[offsetof(struct amap_eq_entry, valid) / 32] in be_isr() 776 if (((eqe->dw[offsetof(struct amap_eq_entry, in be_isr() [all …]
|
/Linux-v4.19/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_hw.c | 998 struct ocrdma_eqe eqe; in ocrdma_irq_handler() local 1006 eqe = *ptr; in ocrdma_irq_handler() 1007 ocrdma_le32_to_cpu(&eqe, sizeof(eqe)); in ocrdma_irq_handler() 1008 mcode = (eqe.id_valid & OCRDMA_EQE_MAJOR_CODE_MASK) in ocrdma_irq_handler() 1012 eq->q.id, eqe.id_valid); in ocrdma_irq_handler() 1013 if ((eqe.id_valid & OCRDMA_EQE_VALID_MASK) == 0) in ocrdma_irq_handler() 1020 if ((eqe.id_valid & OCRDMA_EQE_FOR_CQE_MASK) == 0) { in ocrdma_irq_handler() 1021 cq_id = eqe.id_valid >> OCRDMA_EQE_RESOURCE_ID_SHIFT; in ocrdma_irq_handler()
|
/Linux-v4.19/drivers/scsi/lpfc/ |
D | lpfc_sli.c | 86 struct lpfc_eqe *eqe, uint32_t qidx); 329 struct lpfc_eqe *eqe; in lpfc_sli4_eq_get() local 336 eqe = q->qe[q->hba_index].eqe; in lpfc_sli4_eq_get() 339 if (bf_get_le32(lpfc_eqe_valid, eqe) != q->qe_valid) in lpfc_sli4_eq_get() 362 return eqe; in lpfc_sli4_eq_get() 434 temp_eqe = q->qe[q->host_index].eqe; in lpfc_sli4_eq_release() 492 temp_eqe = q->qe[q->host_index].eqe; in lpfc_sli4_if6_eq_release() 7499 struct lpfc_eqe *eqe; in lpfc_sli4_process_missed_mbox_completions() local 7533 while ((eqe = lpfc_sli4_eq_get(fpeq))) { in lpfc_sli4_process_missed_mbox_completions() 7534 lpfc_sli4_hba_handle_eqe(phba, eqe, eqidx); in lpfc_sli4_process_missed_mbox_completions() [all …]
|
D | lpfc_sli4.h | 120 struct lpfc_eqe *eqe; member
|
/Linux-v4.19/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 2789 struct be_eq_entry *eqe; in events_get() local 2793 eqe = queue_tail_node(&eqo->q); in events_get() 2794 if (eqe->evt == 0) in events_get() 2798 eqe->evt = 0; in events_get()
|