/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() 166 port_priv->agent[0] = ib_register_mad_agent(device, port_num, in ib_agent_port_open() 170 if (IS_ERR(port_priv->agent[0])) { in ib_agent_port_open() 171 ret = PTR_ERR(port_priv->agent[0]); in ib_agent_port_open() [all …]
|
D | user_mad.c | 114 struct ib_mad_agent *agent[IB_UMAD_MAX_AGENTS]; member 159 return file->agents_dead ? NULL : file->agent[id]; in __get_agent() 163 struct ib_mad_agent *agent, in queue_packet() argument 173 if (agent == __get_agent(file, packet->mad.hdr.id)) { in queue_packet() 193 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument 196 struct ib_umad_file *file = agent->context; in send_handler() 206 if (!queue_packet(file, agent, packet)) in send_handler() 212 static void recv_handler(struct ib_mad_agent *agent, in recv_handler() argument 216 struct ib_umad_file *file = agent->context; in recv_handler() 240 ib_init_ah_from_wc(agent->device, agent->port_num, in recv_handler() [all …]
|
D | mad.c | 351 mad_agent_priv->agent.rmpp_version = rmpp_version; in ib_register_mad_agent() 352 mad_agent_priv->agent.device = device; in ib_register_mad_agent() 353 mad_agent_priv->agent.recv_handler = recv_handler; in ib_register_mad_agent() 354 mad_agent_priv->agent.send_handler = send_handler; in ib_register_mad_agent() 355 mad_agent_priv->agent.context = context; in ib_register_mad_agent() 356 mad_agent_priv->agent.qp = port_priv->qp_info[qpn].qp; in ib_register_mad_agent() 357 mad_agent_priv->agent.port_num = port_num; in ib_register_mad_agent() 358 mad_agent_priv->agent.flags = registration_flags; in ib_register_mad_agent() 371 mad_agent_priv->agent.hi_tid = ++ib_mad_client_id; in ib_register_mad_agent() 418 return &mad_agent_priv->agent; in ib_register_mad_agent() [all …]
|
D | sa_query.c | 74 struct ib_mad_agent *agent; member 533 memcpy(header->device_name, query->port->agent->device->name, in ib_nl_set_path_rec_attrs() 699 static void send_handler(struct ib_mad_agent *agent, 786 send_handler(query->port->agent, &mad_send_wc); in ib_nl_request_timeout() 915 send_handler(query->port->agent, &mad_send_wc); in ib_nl_handle_resolve_resp() 942 if (ib_query_port(port->agent->device, port->port_num, &port_attr)) { in update_sm_ah() 956 if (ib_find_pkey(port->agent->device, port->port_num, in update_sm_ah() 970 new_ah->ah = ib_create_ah(port->agent->qp->pd, &ah_attr); in update_sm_ah() 1046 struct ib_mad_agent *agent; in ib_sa_cancel_query() local 1054 agent = query->port->agent; in ib_sa_cancel_query() [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 | 93 struct ib_mad_agent agent; member 112 struct ib_mad_agent agent; member 156 struct ib_mad_agent_private *agent[IB_MGMT_MAX_METHODS]; member
|
D | Makefile | 13 multicast.o mad.o smi.o agent.o mad_rmpp.o
|
/drivers/target/sbp/ |
D | sbp_target.c | 273 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_login() argument 276 struct sbp_tport *tport = agent->tport; in sbp_management_request_login() 492 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_query_logins() argument 504 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_reconnect() argument 507 struct sbp_tport *tport = agent->tport; in sbp_management_request_reconnect() 563 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_logout() argument 566 struct sbp_tport *tport = agent->tport; in sbp_management_request_logout() 683 struct sbp_target_agent *agent) in tgt_agent_rw_agent_state() argument 691 spin_lock_bh(&agent->lock); in tgt_agent_rw_agent_state() 692 state = agent->state; in tgt_agent_rw_agent_state() [all …]
|
/drivers/mfd/ |
D | twl4030-irq.c | 451 struct sih_agent *agent = irq_data_get_irq_chip_data(data); in twl4030_sih_mask() local 453 agent->imr |= BIT(data->irq - agent->irq_base); in twl4030_sih_mask() 454 agent->imr_change_pending = true; in twl4030_sih_mask() 459 struct sih_agent *agent = irq_data_get_irq_chip_data(data); in twl4030_sih_unmask() local 461 agent->imr &= ~BIT(data->irq - agent->irq_base); in twl4030_sih_unmask() 462 agent->imr_change_pending = true; in twl4030_sih_unmask() 467 struct sih_agent *agent = irq_data_get_irq_chip_data(data); in twl4030_sih_set_type() local 473 agent->edge_change |= BIT(data->irq - agent->irq_base); in twl4030_sih_set_type() 480 struct sih_agent *agent = irq_data_get_irq_chip_data(data); in twl4030_sih_bus_lock() local 482 mutex_lock(&agent->irq_lock); in twl4030_sih_bus_lock() [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 | 168 struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn]; in forward_trap() local 172 if (agent) { in forward_trap() 173 send_buf = ib_create_send_mad(agent, qpn, 0, 0, IB_MGMT_MAD_HDR, in forward_trap() 287 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument 295 struct ib_mad_agent *agent; in mthca_create_agents() local 303 agent = ib_register_mad_agent(&dev->ib_dev, p + 1, in mthca_create_agents() 307 if (IS_ERR(agent)) { in mthca_create_agents() 308 ret = PTR_ERR(agent); in mthca_create_agents() 311 dev->send_agent[p][q] = agent; in mthca_create_agents() 337 struct ib_mad_agent *agent; in mthca_free_agents() local [all …]
|
/drivers/pci/pcie/aer/ |
D | aerdrv_errprint.c | 168 int layer, agent; in aer_print_error() local 178 agent = AER_GET_AGENT(info->severity, info->status); in aer_print_error() 182 aer_error_layer[layer], id, aer_agent_string[agent]); in aer_print_error() 225 int layer, agent, status_strs_size, tlp_header_valid = 0; in cper_print_aer() local 243 agent = AER_GET_AGENT(aer_severity, status); in cper_print_aer() 248 aer_error_layer[layer], aer_agent_string[agent]); in cper_print_aer()
|
/drivers/net/wireless/intel/iwlegacy/ |
D | Kconfig | 28 look in the hotplug script /etc/hotplug/firmware.agent to 54 look in the hotplug script /etc/hotplug/firmware.agent to
|
/drivers/infiniband/hw/mlx4/ |
D | mad.c | 384 struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn]; in forward_trap() local 388 if (agent) { in forward_trap() 389 send_buf = ib_create_send_mad(agent, qpn, 0, 0, IB_MGMT_MAD_HDR, in forward_trap() 990 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument 1000 struct ib_mad_agent *agent; in mlx4_ib_mad_init() local 1009 agent = ib_register_mad_agent(&dev->ib_dev, p + 1, in mlx4_ib_mad_init() 1013 if (IS_ERR(agent)) { in mlx4_ib_mad_init() 1014 ret = PTR_ERR(agent); in mlx4_ib_mad_init() 1017 dev->send_agent[p][q] = agent; in mlx4_ib_mad_init() 1036 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/iwlwifi/ |
D | Kconfig | 36 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()
|
D | qib_iba7322.c | 5478 struct ib_mad_agent *agent; in try_7322_ipg() local 5483 agent = ibp->rvp.send_agent; in try_7322_ipg() 5484 if (!agent) in try_7322_ipg() 5487 send_buf = ib_create_send_mad(agent, 0, 0, 0, IB_MGMT_MAD_HDR, in try_7322_ipg()
|
/drivers/infiniband/hw/hfi1/ |
D | mad.c | 94 struct ib_mad_agent *agent; in send_trap() local 102 agent = ibp->rvp.send_agent; in send_trap() 103 if (!agent) in send_trap() 122 send_buf = ib_create_send_mad(agent, qpn, pkey_idx, 0, in send_trap()
|