Home
last modified time | relevance | path

Searched refs:agent (Results 1 – 25 of 41) sorted by relevance

12

/linux-2.6.39/drivers/infiniband/core/
Dmad_rmpp.c47 struct ib_mad_agent_private *agent; member
86 void ib_cancel_rmpp_recvs(struct ib_mad_agent_private *agent) in ib_cancel_rmpp_recvs() argument
91 spin_lock_irqsave(&agent->lock, flags); in ib_cancel_rmpp_recvs()
92 list_for_each_entry(rmpp_recv, &agent->rmpp_list, list) { in ib_cancel_rmpp_recvs()
97 spin_unlock_irqrestore(&agent->lock, flags); in ib_cancel_rmpp_recvs()
99 list_for_each_entry(rmpp_recv, &agent->rmpp_list, list) { in ib_cancel_rmpp_recvs()
104 flush_workqueue(agent->qp_info->port_priv->wq); in ib_cancel_rmpp_recvs()
107 &agent->rmpp_list, list) { in ib_cancel_rmpp_recvs()
140 msg = ib_create_send_mad(&rmpp_recv->agent->agent, recv_wc->wc->src_qp, in ack_recv()
153 static struct ib_mad_send_buf *alloc_response_msg(struct ib_mad_agent *agent, in alloc_response_msg() argument
[all …]
Dagent.c50 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()
109 send_buf = ib_create_send_mad(agent, wc->src_qp, wc->pkey_index, 0, in agent_send_response()
161 port_priv->agent[0] = ib_register_mad_agent(device, port_num, in ib_agent_port_open()
165 if (IS_ERR(port_priv->agent[0])) { in ib_agent_port_open()
166 ret = PTR_ERR(port_priv->agent[0]); in ib_agent_port_open()
[all …]
Duser_mad.c113 struct ib_mad_agent *agent[IB_UMAD_MAX_AGENTS]; member
154 return file->agents_dead ? NULL : file->agent[id]; in __get_agent()
158 struct ib_mad_agent *agent, in queue_packet() argument
168 if (agent == __get_agent(file, packet->mad.hdr.id)) { in queue_packet()
188 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument
191 struct ib_umad_file *file = agent->context; in send_handler()
201 if (!queue_packet(file, agent, packet)) in send_handler()
207 static void recv_handler(struct ib_mad_agent *agent, in recv_handler() argument
210 struct ib_umad_file *file = agent->context; in recv_handler()
234 ib_init_ah_from_wc(agent->device, agent->port_num, in recv_handler()
[all …]
Dsa_query.c62 struct ib_mad_agent *agent; member
366 if (ib_query_port(port->agent->device, port->port_num, &port_attr)) { in update_sm_ah()
381 if (ib_find_pkey(port->agent->device, port->port_num, in update_sm_ah()
390 new_ah->ah = ib_create_ah(port->agent->qp->pd, &ah_attr); in update_sm_ah()
459 struct ib_mad_agent *agent; in ib_sa_cancel_query() local
467 agent = query->port->agent; in ib_sa_cancel_query()
471 ib_cancel_mad(agent, mad_buf); in ib_sa_cancel_query()
542 query->mad_buf = ib_create_send_mad(query->port->agent, 1, in alloc_mad()
562 static void init_mad(struct ib_sa_mad *mad, struct ib_mad_agent *agent) in init_mad() argument
574 cpu_to_be64(((u64) agent->hi_tid) << 32 | tid++); in init_mad()
[all …]
Dmad.c286 mad_agent_priv->agent.mr = ib_get_dma_mr(port_priv->qp_info[qpn].qp->pd, in ib_register_mad_agent()
288 if (IS_ERR(mad_agent_priv->agent.mr)) { in ib_register_mad_agent()
304 mad_agent_priv->agent.rmpp_version = rmpp_version; in ib_register_mad_agent()
305 mad_agent_priv->agent.device = device; in ib_register_mad_agent()
306 mad_agent_priv->agent.recv_handler = recv_handler; in ib_register_mad_agent()
307 mad_agent_priv->agent.send_handler = send_handler; in ib_register_mad_agent()
308 mad_agent_priv->agent.context = context; in ib_register_mad_agent()
309 mad_agent_priv->agent.qp = port_priv->qp_info[qpn].qp; in ib_register_mad_agent()
310 mad_agent_priv->agent.port_num = port_num; in ib_register_mad_agent()
323 mad_agent_priv->agent.hi_tid = ++ib_mad_client_id; in ib_register_mad_agent()
[all …]
Dmad_rmpp.h46 ib_process_rmpp_recv_wc(struct ib_mad_agent_private *agent,
54 void ib_cancel_rmpp_recvs(struct ib_mad_agent_private *agent);
Dmad_priv.h97 struct ib_mad_agent agent; member
116 struct ib_mad_agent agent; member
159 struct ib_mad_agent_private *agent[IB_MGMT_MAX_METHODS]; member
DMakefile14 ib_mad-y := mad.o smi.o agent.o mad_rmpp.o
/linux-2.6.39/drivers/mfd/
Dtwl4030-irq.c481 struct sih_agent *agent; in twl4030_sih_do_mask() local
489 agent = container_of(work, struct sih_agent, mask_work); in twl4030_sih_do_mask()
493 if (agent->imr_change_pending) { in twl4030_sih_do_mask()
494 sih = agent->sih; in twl4030_sih_do_mask()
496 imr.word = cpu_to_le32(agent->imr << 8); in twl4030_sih_do_mask()
497 agent->imr_change_pending = false; in twl4030_sih_do_mask()
514 struct sih_agent *agent; in twl4030_sih_do_edge() local
520 agent = container_of(work, struct sih_agent, edge_work); in twl4030_sih_do_edge()
524 edge_change = agent->edge_change; in twl4030_sih_do_edge()
525 agent->edge_change = 0; in twl4030_sih_do_edge()
[all …]
/linux-2.6.39/arch/powerpc/platforms/iseries/
Dpci.c124 u8 agent; member
137 HvAgentId agent, u8 *phb, char card[4]) in iseries_parse_slot_area() argument
143 if (map->agent == agent) { in iseries_parse_slot_area()
166 HvAgentId agent, u8 *phb, u8 *frame, char card[4]) in iseries_parse_mfg_area() argument
191 agent, phb, card); in iseries_parse_mfg_area()
227 HvAgentId agent, u8 *frame, char card[4]) in iseries_parse_vpd() argument
244 agent, &phb, frame, card); in iseries_parse_vpd()
251 static int __init iseries_get_location_code(u16 bus, HvAgentId agent, in iseries_get_location_code() argument
274 iseries_parse_vpd(bus_vpd, bus_vpd_len, agent, frame, card); in iseries_get_location_code()
295 HvAgentId agent; in iseries_device_information() local
[all …]
/linux-2.6.39/drivers/infiniband/hw/mthca/
Dmthca_mad.c167 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()
285 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument
293 struct ib_mad_agent *agent; in mthca_create_agents() local
301 agent = ib_register_mad_agent(&dev->ib_dev, p + 1, in mthca_create_agents()
305 if (IS_ERR(agent)) { in mthca_create_agents()
306 ret = PTR_ERR(agent); in mthca_create_agents()
309 dev->send_agent[p][q] = agent; in mthca_create_agents()
335 struct ib_mad_agent *agent; in mthca_free_agents() local
[all …]
/linux-2.6.39/drivers/infiniband/hw/mlx4/
Dmad.c208 struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn]; in forward_trap() local
211 if (agent) { in forward_trap()
212 send_buf = ib_create_send_mad(agent, qpn, 0, 0, IB_MGMT_MAD_HDR, in forward_trap()
305 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument
313 struct ib_mad_agent *agent; in mlx4_ib_mad_init() local
322 agent = ib_register_mad_agent(&dev->ib_dev, p + 1, in mlx4_ib_mad_init()
326 if (IS_ERR(agent)) { in mlx4_ib_mad_init()
327 ret = PTR_ERR(agent); in mlx4_ib_mad_init()
330 dev->send_agent[p][q] = agent; in mlx4_ib_mad_init()
349 struct ib_mad_agent *agent; in mlx4_ib_mad_cleanup() local
[all …]
/linux-2.6.39/drivers/pci/pcie/aer/
Daerdrv_errprint.c166 int layer, agent; in aer_print_error() local
169 agent = AER_GET_AGENT(info->severity, info->status); in aer_print_error()
173 aer_error_layer[layer], id, aer_agent_string[agent]); in aer_print_error()
222 int aer_severity, layer, agent, status_strs_size, tlp_header_valid = 0; in cper_print_aer() local
240 agent = AER_GET_AGENT(aer_severity, status); in cper_print_aer()
245 aer_error_layer[layer], aer_agent_string[agent]); in cper_print_aer()
/linux-2.6.39/arch/mips/dec/
Dkn02xa-berr.c57 const char *kind, *agent, *cycle, *event; in dec_kn02xa_be_backend() local
70 agent = cpustr; in dec_kn02xa_be_backend()
88 kind, agent, cycle, event, address); in dec_kn02xa_be_backend()
Dkn01-berr.c86 const char *kind, *agent, *cycle, *event; in dec_kn01_be_backend() local
97 agent = cpustr; in dec_kn01_be_backend()
143 kind, agent, cycle, event, address); in dec_kn01_be_backend()
Decc-berr.c58 const char *kind, *agent, *cycle, *event; in dec_ecc_be_backend() local
81 agent = (erraddr & KN0X_EAR_CPU) ? cpustr : dmastr; in dec_ecc_be_backend()
189 kind, agent, cycle, event, address); in dec_ecc_be_backend()
/linux-2.6.39/Documentation/networking/
Dnetconsole.txt32 tgt-port port for logging agent (6666)
33 tgt-ip IP address for logging agent
34 tgt-macaddr ethernet MAC address for logging agent (broadcast)
92 remote_port Remote agent's UDP port (read-write)
94 remote_ip Remote agent's IP address (read-write)
96 remote_mac Remote agent's MAC address (read-write)
130 TIP: in case the remote logging agent is on a separate LAN subnet than
140 NOTE: if you find that the remote logging agent is not receiving or
Dregulatory.txt23 a userspace agent build it and send it via nl80211. Only
26 A currently available userspace agent which can accomplish this
27 is CRDA - central regulatory domain agent. Its documented here:
/linux-2.6.39/Documentation/infiniband/
Duser_mad.txt12 A MAD agent can be created by filling in a struct ib_user_mad_reg_req
23 perror("agent register");
75 MADs are sent using write(). The agent ID for sending should be
86 mad->hdr.id = my_agent; /* req.id from agent registration */
/linux-2.6.39/drivers/infiniband/hw/qib/
Dqib_mad.c55 struct ib_mad_agent *agent; in qib_send_trap() local
61 agent = ibp->send_agent; in qib_send_trap()
62 if (!agent) in qib_send_trap()
73 send_buf = ib_create_send_mad(agent, 0, 0, 0, IB_MGMT_MAD_HDR, in qib_send_trap()
2084 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument
2117 struct ib_mad_agent *agent; in qib_create_agents() local
2124 agent = ib_register_mad_agent(&dev->ibdev, p + 1, IB_QPT_SMI, in qib_create_agents()
2127 if (IS_ERR(agent)) { in qib_create_agents()
2128 ret = PTR_ERR(agent); in qib_create_agents()
2141 ibp->send_agent = agent; in qib_create_agents()
[all …]
/linux-2.6.39/drivers/net/wireless/iwlegacy/
DKconfig84 look in the hotplug script /etc/hotplug/firmware.agent to
110 look in the hotplug script /etc/hotplug/firmware.agent to
/linux-2.6.39/Documentation/acpi/apei/
Doutput_format.txt98 aer_layer=<aer layer string>, aer_agent=<aer agent string>
124 <aer agent string> :=
/linux-2.6.39/Documentation/
Dcpu-hotplug.txt356 event can be used to invoke an agent script to perform the configuration task.
358 You can add /etc/hotplug/cpu.agent to handle hotplug notification user space
362 # $Id: cpu.agent
372 echo `date` ":cpu.agent" add cpu >> /tmp/hotplug.txt
375 echo `date` ":cpu.agent" remove cpu >>/tmp/hotplug.txt
/linux-2.6.39/Documentation/rapidio/
Drapidio.txt95 master port: host or agent.
158 each agent waits for enumeration completion by the host for the configured wait
160 an agent skips RapidIO discovery and continues with remaining kernel
/linux-2.6.39/arch/xtensa/
DKconfig202 Enable HOTPLUG and build a modular kernel. Get agent software
205 agent" (/sbin/hotplug) to load modules and set up software needed

12