/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 | 115 struct ib_mad_agent *agent[IB_UMAD_MAX_AGENTS]; member 160 return file->agents_dead ? NULL : file->agent[id]; in __get_agent() 164 struct ib_mad_agent *agent, in queue_packet() argument 174 if (agent == __get_agent(file, packet->mad.hdr.id)) { in queue_packet() 194 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument 197 struct ib_umad_file *file = agent->context; in send_handler() 207 if (!queue_packet(file, agent, packet)) in send_handler() 213 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 | 352 mad_agent_priv->agent.rmpp_version = rmpp_version; in ib_register_mad_agent() 353 mad_agent_priv->agent.device = device; in ib_register_mad_agent() 354 mad_agent_priv->agent.recv_handler = recv_handler; in ib_register_mad_agent() 355 mad_agent_priv->agent.send_handler = send_handler; in ib_register_mad_agent() 356 mad_agent_priv->agent.context = context; in ib_register_mad_agent() 357 mad_agent_priv->agent.qp = port_priv->qp_info[qpn].qp; in ib_register_mad_agent() 358 mad_agent_priv->agent.port_num = port_num; in ib_register_mad_agent() 359 mad_agent_priv->agent.flags = registration_flags; in ib_register_mad_agent() 372 mad_agent_priv->agent.hi_tid = ++ib_mad_client_id; in ib_register_mad_agent() 419 return &mad_agent_priv->agent; in ib_register_mad_agent() [all …]
|
D | sa_query.c | 71 struct ib_mad_agent *agent; member 446 memcpy(header->device_name, query->port->agent->device->name, in ib_nl_set_path_rec_attrs() 612 static void send_handler(struct ib_mad_agent *agent, 699 send_handler(query->port->agent, &mad_send_wc); in ib_nl_request_timeout() 824 send_handler(query->port->agent, &mad_send_wc); in ib_nl_handle_resolve_resp() 860 if (ib_query_port(port->agent->device, port->port_num, &port_attr)) { in update_sm_ah() 875 if (ib_find_pkey(port->agent->device, port->port_num, in update_sm_ah() 884 new_ah->ah = ib_create_ah(port->agent->qp->pd, &ah_attr); in update_sm_ah() 953 struct ib_mad_agent *agent; in ib_sa_cancel_query() local 961 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 | 92 struct ib_mad_agent agent; member 111 struct ib_mad_agent agent; member 155 struct ib_mad_agent_private *agent[IB_MGMT_MAX_METHODS]; member
|
D | Makefile | 17 ib_mad-y := mad.o smi.o agent.o mad_rmpp.o
|
/drivers/target/sbp/ |
D | sbp_target.c | 290 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_login() argument 293 struct sbp_tport *tport = agent->tport; in sbp_management_request_login() 509 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_query_logins() argument 521 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_reconnect() argument 524 struct sbp_tport *tport = agent->tport; in sbp_management_request_reconnect() 580 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_logout() argument 583 struct sbp_tport *tport = agent->tport; in sbp_management_request_logout() 700 struct sbp_target_agent *agent) in tgt_agent_rw_agent_state() argument 708 spin_lock_bh(&agent->lock); in tgt_agent_rw_agent_state() 709 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/hw/mthca/ |
D | mthca_mad.c | 167 struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn]; in forward_trap() local 171 if (agent) { in forward_trap() 172 send_buf = ib_create_send_mad(agent, qpn, 0, 0, IB_MGMT_MAD_HDR, in forward_trap() 286 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument 294 struct ib_mad_agent *agent; in mthca_create_agents() local 302 agent = ib_register_mad_agent(&dev->ib_dev, p + 1, in mthca_create_agents() 306 if (IS_ERR(agent)) { in mthca_create_agents() 307 ret = PTR_ERR(agent); in mthca_create_agents() 310 dev->send_agent[p][q] = agent; in mthca_create_agents() 336 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 aer_severity, layer, agent, status_strs_size, tlp_header_valid = 0; in cper_print_aer() local 245 agent = AER_GET_AGENT(aer_severity, status); in cper_print_aer() 250 aer_error_layer[layer], aer_agent_string[agent]); in cper_print_aer()
|
/drivers/infiniband/hw/qib/ |
D | qib_mad.c | 67 struct ib_mad_agent *agent; in qib_send_trap() local 73 agent = ibp->send_agent; in qib_send_trap() 74 if (!agent) in qib_send_trap() 85 send_buf = ib_create_send_mad(agent, 0, 0, 0, IB_MGMT_MAD_HDR, in qib_send_trap() 2446 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument 2479 struct ib_mad_agent *agent; in qib_create_agents() local 2486 agent = ib_register_mad_agent(&dev->ibdev, p + 1, IB_QPT_SMI, in qib_create_agents() 2489 if (IS_ERR(agent)) { in qib_create_agents() 2490 ret = PTR_ERR(agent); in qib_create_agents() 2503 ibp->send_agent = agent; in qib_create_agents() [all …]
|
D | qib_iba7322.c | 5495 struct ib_mad_agent *agent; in try_7322_ipg() local 5500 agent = ibp->send_agent; in try_7322_ipg() 5501 if (!agent) in try_7322_ipg() 5504 send_buf = ib_create_send_mad(agent, 0, 0, 0, IB_MGMT_MAD_HDR, in try_7322_ipg()
|
/drivers/infiniband/hw/mlx4/ |
D | mad.c | 356 struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn]; in forward_trap() local 360 if (agent) { in forward_trap() 361 send_buf = ib_create_send_mad(agent, qpn, 0, 0, IB_MGMT_MAD_HDR, in forward_trap() 908 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument 918 struct ib_mad_agent *agent; in mlx4_ib_mad_init() local 927 agent = ib_register_mad_agent(&dev->ib_dev, p + 1, in mlx4_ib_mad_init() 931 if (IS_ERR(agent)) { in mlx4_ib_mad_init() 932 ret = PTR_ERR(agent); in mlx4_ib_mad_init() 935 dev->send_agent[p][q] = agent; in mlx4_ib_mad_init() 954 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/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/staging/rdma/hfi1/ |
D | mad.c | 86 struct ib_mad_agent *agent; in send_trap() local 94 agent = ibp->send_agent; in send_trap() 95 if (!agent) in send_trap() 113 send_buf = ib_create_send_mad(agent, qpn, pkey_idx, 0, in send_trap() 4196 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument 4205 struct ib_mad_agent *agent; in hfi1_create_agents() local 4212 agent = ib_register_mad_agent(&dev->ibdev, p + 1, IB_QPT_SMI, in hfi1_create_agents() 4215 if (IS_ERR(agent)) { in hfi1_create_agents() 4216 ret = PTR_ERR(agent); in hfi1_create_agents() 4220 ibp->send_agent = agent; in hfi1_create_agents() [all …]
|
/drivers/net/wireless/iwlwifi/ |
D | Kconfig | 36 look in the hotplug script /etc/hotplug/firmware.agent to
|