/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | hv_vhca.c | 34 void (*control)(struct mlx5_hv_vhca_agent *agent, 36 void (*invalidate)(struct mlx5_hv_vhca_agent *agent, 38 void (*cleanup)(struct mlx5_hv_vhca_agent *agent); 81 struct mlx5_hv_vhca_agent *agent = hv_vhca->agents[i]; in mlx5_hv_vhca_invalidate_work() local 83 if (!agent || !agent->invalidate) in mlx5_hv_vhca_invalidate_work() 86 if (!(BIT(agent->type) & hwork->block_mask)) in mlx5_hv_vhca_invalidate_work() 89 agent->invalidate(agent, hwork->block_mask); in mlx5_hv_vhca_invalidate_work() 120 struct mlx5_hv_vhca_agent *agent = hv_vhca->agents[i]; in mlx5_hv_vhca_agents_control() local 122 if (!agent || !agent->control) in mlx5_hv_vhca_agents_control() 125 if (!(AGENT_MASK(agent->type) & block->control)) in mlx5_hv_vhca_agents_control() [all …]
|
D | hv_vhca.h | 45 void (*cleanup)(struct mlx5_hv_vhca_agent *agent), 48 void mlx5_hv_vhca_agent_destroy(struct mlx5_hv_vhca_agent *agent); 49 int mlx5_hv_vhca_agent_write(struct mlx5_hv_vhca_agent *agent, 51 void *mlx5_hv_vhca_agent_priv(struct mlx5_hv_vhca_agent *agent); 86 void (*cleanup)(struct mlx5_hv_vhca_agent *agent), in mlx5_hv_vhca_agent_create() argument 92 static inline void mlx5_hv_vhca_agent_destroy(struct mlx5_hv_vhca_agent *agent) in mlx5_hv_vhca_agent_destroy() argument 97 mlx5_hv_vhca_write_agent(struct mlx5_hv_vhca_agent *agent, in mlx5_hv_vhca_write_agent() argument
|
/drivers/infiniband/core/ |
D | mad_rmpp.c | 48 struct ib_mad_agent_private *agent; member 88 void ib_cancel_rmpp_recvs(struct ib_mad_agent_private *agent) in ib_cancel_rmpp_recvs() argument 93 spin_lock_irqsave(&agent->lock, flags); in ib_cancel_rmpp_recvs() 94 list_for_each_entry(rmpp_recv, &agent->rmpp_list, list) { in ib_cancel_rmpp_recvs() 99 spin_unlock_irqrestore(&agent->lock, flags); in ib_cancel_rmpp_recvs() 101 list_for_each_entry(rmpp_recv, &agent->rmpp_list, list) { in ib_cancel_rmpp_recvs() 106 flush_workqueue(agent->qp_info->port_priv->wq); in ib_cancel_rmpp_recvs() 109 &agent->rmpp_list, list) { in ib_cancel_rmpp_recvs() 142 msg = ib_create_send_mad(&rmpp_recv->agent->agent, recv_wc->wc->src_qp, in ack_recv() 156 static struct ib_mad_send_buf *alloc_response_msg(struct ib_mad_agent *agent, in alloc_response_msg() argument [all …]
|
D | agent.c | 50 struct ib_mad_agent *agent[2]; member 62 if (entry->agent[1]->device == device && in __ib_get_agent_port() 63 entry->agent[1]->port_num == port_num) in __ib_get_agent_port() 86 struct ib_mad_agent *agent; in agent_send_response() local 101 agent = port_priv->agent[qpn]; in agent_send_response() 102 ah = ib_create_ah_from_wc(agent->qp->pd, wc, grh, port_num); in agent_send_response() 112 send_buf = ib_create_send_mad(agent, wc->src_qp, wc->pkey_index, 0, in agent_send_response() 165 port_priv->agent[0] = ib_register_mad_agent(device, port_num, in ib_agent_port_open() 169 if (IS_ERR(port_priv->agent[0])) { in ib_agent_port_open() 170 ret = PTR_ERR(port_priv->agent[0]); in ib_agent_port_open() [all …]
|
D | user_mad.c | 120 struct ib_mad_agent *agent[IB_UMAD_MAX_AGENTS]; member 175 return file->agents_dead ? NULL : file->agent[id]; in __get_agent() 179 struct ib_mad_agent *agent, in queue_packet() argument 189 if (agent == __get_agent(file, packet->mad.hdr.id)) { in queue_packet() 209 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument 212 struct ib_umad_file *file = agent->context; in send_handler() 222 if (!queue_packet(file, agent, packet)) in send_handler() 228 static void recv_handler(struct ib_mad_agent *agent, in recv_handler() argument 232 struct ib_umad_file *file = agent->context; in recv_handler() 252 if (rdma_cap_opa_mad(agent->device, agent->port_num)) in recv_handler() [all …]
|
D | security.c | 696 int ib_mad_agent_security_setup(struct ib_mad_agent *agent, in ib_mad_agent_security_setup() argument 701 if (!rdma_protocol_ib(agent->device, agent->port_num)) in ib_mad_agent_security_setup() 704 INIT_LIST_HEAD(&agent->mad_agent_sec_list); in ib_mad_agent_security_setup() 706 ret = security_ib_alloc_security(&agent->security); in ib_mad_agent_security_setup() 714 ret = security_ib_endport_manage_subnet(agent->security, in ib_mad_agent_security_setup() 715 dev_name(&agent->device->dev), in ib_mad_agent_security_setup() 716 agent->port_num); in ib_mad_agent_security_setup() 720 WRITE_ONCE(agent->smp_allowed, true); in ib_mad_agent_security_setup() 721 list_add(&agent->mad_agent_sec_list, &mad_agent_list); in ib_mad_agent_security_setup() 727 security_ib_free_security(agent->security); in ib_mad_agent_security_setup() [all …]
|
D | mad.c | 390 mad_agent_priv->agent.rmpp_version = rmpp_version; in ib_register_mad_agent() 391 mad_agent_priv->agent.device = device; in ib_register_mad_agent() 392 mad_agent_priv->agent.recv_handler = recv_handler; in ib_register_mad_agent() 393 mad_agent_priv->agent.send_handler = send_handler; in ib_register_mad_agent() 394 mad_agent_priv->agent.context = context; in ib_register_mad_agent() 395 mad_agent_priv->agent.qp = port_priv->qp_info[qpn].qp; in ib_register_mad_agent() 396 mad_agent_priv->agent.port_num = port_num; in ib_register_mad_agent() 397 mad_agent_priv->agent.flags = registration_flags; in ib_register_mad_agent() 409 ret2 = ib_mad_agent_security_setup(&mad_agent_priv->agent, qp_type); in ib_register_mad_agent() 419 ret2 = xa_alloc_cyclic(&ib_mad_clients, &mad_agent_priv->agent.hi_tid, in ib_register_mad_agent() [all …]
|
D | sa_query.c | 91 struct ib_mad_agent *agent; member 763 memcpy(header->device_name, dev_name(&query->port->agent->device->dev), in ib_nl_set_path_rec_attrs() 920 static void send_handler(struct ib_mad_agent *agent, 1007 send_handler(query->port->agent, &mad_send_wc); in ib_nl_request_timeout() 1134 send_handler(query->port->agent, &mad_send_wc); in ib_nl_handle_resolve_resp() 1179 struct ib_mad_agent *agent; in ib_sa_cancel_query() local 1187 agent = query->port->agent; in ib_sa_cancel_query() 1197 ib_cancel_mad(agent, mad_buf); in ib_sa_cancel_query() 1318 query->mad_buf = ib_create_send_mad(query->port->agent, 1, in alloc_mad() 1341 static void init_mad(struct ib_sa_query *query, struct ib_mad_agent *agent) in init_mad() argument [all …]
|
D | mad_rmpp.h | 46 ib_process_rmpp_recv_wc(struct ib_mad_agent_private *agent, 54 void ib_cancel_rmpp_recvs(struct ib_mad_agent_private *agent);
|
D | mad_priv.h | 92 struct ib_mad_agent agent; member 114 struct ib_mad_agent agent; member 158 struct ib_mad_agent_private *agent[IB_MGMT_MAX_METHODS]; member
|
D | core_priv.h | 237 int ib_mad_agent_security_setup(struct ib_mad_agent *agent, 239 void ib_mad_agent_security_cleanup(struct ib_mad_agent *agent); 292 static inline int ib_mad_agent_security_setup(struct ib_mad_agent *agent, in ib_mad_agent_security_setup() argument 298 static inline void ib_mad_agent_security_cleanup(struct ib_mad_agent *agent) in ib_mad_agent_security_cleanup() argument
|
D | Makefile | 13 multicast.o mad.o smi.o agent.o mad_rmpp.o \
|
/drivers/target/sbp/ |
D | sbp_target.c | 259 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_login() argument 262 struct sbp_tport *tport = agent->tport; in sbp_management_request_login() 478 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_query_logins() argument 490 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_reconnect() argument 493 struct sbp_tport *tport = agent->tport; in sbp_management_request_reconnect() 549 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_logout() argument 552 struct sbp_tport *tport = agent->tport; in sbp_management_request_logout() 669 struct sbp_target_agent *agent) in tgt_agent_rw_agent_state() argument 677 spin_lock_bh(&agent->lock); in tgt_agent_rw_agent_state() 678 state = agent->state; in tgt_agent_rw_agent_state() [all …]
|
/drivers/mfd/ |
D | twl4030-irq.c | 438 struct sih_agent *agent = irq_data_get_irq_chip_data(data); in twl4030_sih_mask() local 440 agent->imr |= BIT(data->irq - agent->irq_base); in twl4030_sih_mask() 441 agent->imr_change_pending = true; in twl4030_sih_mask() 446 struct sih_agent *agent = irq_data_get_irq_chip_data(data); in twl4030_sih_unmask() local 448 agent->imr &= ~BIT(data->irq - agent->irq_base); in twl4030_sih_unmask() 449 agent->imr_change_pending = true; in twl4030_sih_unmask() 454 struct sih_agent *agent = irq_data_get_irq_chip_data(data); in twl4030_sih_set_type() local 460 agent->edge_change |= BIT(data->irq - agent->irq_base); in twl4030_sih_set_type() 467 struct sih_agent *agent = irq_data_get_irq_chip_data(data); in twl4030_sih_bus_lock() local 469 mutex_lock(&agent->irq_lock); in twl4030_sih_bus_lock() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | hv_vhca_stats.c | 60 struct mlx5_hv_vhca_agent *agent; in mlx5e_hv_vhca_stats_work() local 70 agent = sagent->agent; in mlx5e_hv_vhca_stats_work() 76 rc = mlx5_hv_vhca_agent_write(agent, buf, buf_len); in mlx5e_hv_vhca_stats_work() 93 static void mlx5e_hv_vhca_stats_control(struct mlx5_hv_vhca_agent *agent, in mlx5e_hv_vhca_stats_control() argument 99 priv = mlx5_hv_vhca_agent_priv(agent); in mlx5e_hv_vhca_stats_control() 116 static void mlx5e_hv_vhca_stats_cleanup(struct mlx5_hv_vhca_agent *agent) in mlx5e_hv_vhca_stats_cleanup() argument 118 struct mlx5e_priv *priv = mlx5_hv_vhca_agent_priv(agent); in mlx5e_hv_vhca_stats_cleanup() 126 struct mlx5_hv_vhca_agent *agent; in mlx5e_hv_vhca_stats_create() local 132 agent = mlx5_hv_vhca_agent_create(priv->mdev->hv_vhca, in mlx5e_hv_vhca_stats_create() 138 if (IS_ERR_OR_NULL(agent)) { in mlx5e_hv_vhca_stats_create() [all …]
|
/drivers/infiniband/sw/rdmavt/ |
D | mad.c | 88 static void rvt_send_mad_handler(struct ib_mad_agent *agent, in rvt_send_mad_handler() argument 104 struct ib_mad_agent *agent; in rvt_create_mad_agents() local 111 agent = ib_register_mad_agent(&rdi->ibdev, p + 1, in rvt_create_mad_agents() 115 if (IS_ERR(agent)) { in rvt_create_mad_agents() 116 ret = PTR_ERR(agent); in rvt_create_mad_agents() 120 rvp->send_agent = agent; in rvt_create_mad_agents() 132 agent = rvp->send_agent; in rvt_create_mad_agents() 134 ib_unregister_mad_agent(agent); in rvt_create_mad_agents() 151 struct ib_mad_agent *agent; in rvt_free_mad_agents() local 158 agent = rvp->send_agent; in rvt_free_mad_agents() [all …]
|
/drivers/infiniband/hw/mthca/ |
D | mthca_mad.c | 170 struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn]; in forward_trap() local 174 if (agent) { in forward_trap() 175 send_buf = ib_create_send_mad(agent, qpn, 0, 0, IB_MGMT_MAD_HDR, in forward_trap() 289 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument 297 struct ib_mad_agent *agent; in mthca_create_agents() local 305 agent = ib_register_mad_agent(&dev->ib_dev, p + 1, in mthca_create_agents() 309 if (IS_ERR(agent)) { in mthca_create_agents() 310 ret = PTR_ERR(agent); in mthca_create_agents() 313 dev->send_agent[p][q] = agent; in mthca_create_agents() 339 struct ib_mad_agent *agent; in mthca_free_agents() local [all …]
|
/drivers/pci/pcie/ |
D | aer.c | 747 int layer, agent; in aer_print_error() local 757 agent = AER_GET_AGENT(info->severity, info->status); in aer_print_error() 761 aer_error_layer[layer], aer_agent_string[agent]); in aer_print_error() 809 int layer, agent, tlp_header_valid = 0; in cper_print_aer() local 823 agent = AER_GET_AGENT(aer_severity, status); in cper_print_aer() 834 aer_error_layer[layer], aer_agent_string[agent]); in cper_print_aer()
|
/drivers/infiniband/hw/mlx4/ |
D | mad.c | 387 struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn]; in forward_trap() local 391 if (agent) { in forward_trap() 392 send_buf = ib_create_send_mad(agent, qpn, 0, 0, IB_MGMT_MAD_HDR, in forward_trap() 1023 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument 1033 struct ib_mad_agent *agent; in mlx4_ib_mad_init() local 1042 agent = ib_register_mad_agent(&dev->ib_dev, p + 1, in mlx4_ib_mad_init() 1046 if (IS_ERR(agent)) { in mlx4_ib_mad_init() 1047 ret = PTR_ERR(agent); in mlx4_ib_mad_init() 1050 dev->send_agent[p][q] = agent; in mlx4_ib_mad_init() 1069 struct ib_mad_agent *agent; in mlx4_ib_mad_cleanup() local [all …]
|
D | mcg.c | 232 struct ib_mad_agent *agent = dev->send_agent[ctx->port - 1][1]; in send_mad_to_slave() local 237 if (!agent) in send_mad_to_slave()
|
/drivers/net/wireless/intel/iwlegacy/ |
D | Kconfig | 29 look in the hotplug script /etc/hotplug/firmware.agent to 55 look in the hotplug script /etc/hotplug/firmware.agent to
|
/drivers/net/wireless/intel/iwlwifi/ |
D | Kconfig | 37 look in the hotplug script /etc/hotplug/firmware.agent to
|
/drivers/infiniband/hw/qib/ |
D | qib_mad.c | 67 struct ib_mad_agent *agent; in qib_send_trap() local 73 agent = ibp->rvp.send_agent; in qib_send_trap() 74 if (!agent) in qib_send_trap() 86 send_buf = ib_create_send_mad(agent, 0, 0, 0, IB_MGMT_MAD_HDR, in qib_send_trap()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en.h | 798 struct mlx5_hv_vhca_agent *agent; member
|
/drivers/infiniband/hw/hfi1/ |
D | mad.c | 316 struct ib_mad_agent *agent; in send_trap() local 322 agent = ibp->rvp.send_agent; in send_trap() 323 if (!agent) { in send_trap() 346 send_buf = ib_create_send_mad(agent, qpn, pkey_idx, 0, in send_trap()
|