Home
last modified time | relevance | path

Searched refs:port_priv (Results 1 – 10 of 10) sorted by relevance

/linux-2.6.39/drivers/infiniband/core/
Dagent.c85 struct ib_agent_port_private *port_priv; in agent_send_response() local
92 port_priv = ib_get_agent_port(device, 0); in agent_send_response()
94 port_priv = ib_get_agent_port(device, port_num); in agent_send_response()
96 if (!port_priv) { in agent_send_response()
101 agent = port_priv->agent[qpn]; in agent_send_response()
147 struct ib_agent_port_private *port_priv; in ib_agent_port_open() local
152 port_priv = kzalloc(sizeof *port_priv, GFP_KERNEL); in ib_agent_port_open()
153 if (!port_priv) { in ib_agent_port_open()
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()
[all …]
Dmad.c71 struct ib_mad_port_private *port_priv,
199 struct ib_mad_port_private *port_priv; in ib_register_mad_agent() local
273 port_priv = ib_get_mad_port(device, port_num); in ib_register_mad_agent()
274 if (!port_priv) { in ib_register_mad_agent()
286 mad_agent_priv->agent.mr = ib_get_dma_mr(port_priv->qp_info[qpn].qp->pd, in ib_register_mad_agent()
302 mad_agent_priv->qp_info = &port_priv->qp_info[qpn]; in ib_register_mad_agent()
309 mad_agent_priv->agent.qp = port_priv->qp_info[qpn].qp; in ib_register_mad_agent()
322 spin_lock_irqsave(&port_priv->reg_lock, flags); in ib_register_mad_agent()
332 class = port_priv->version[mad_reg_req-> in ib_register_mad_agent()
346 vendor = port_priv->version[mad_reg_req-> in ib_register_mad_agent()
[all …]
Dmad_priv.h189 struct ib_mad_port_private *port_priv; member
Dmad_rmpp.c104 flush_workqueue(agent->qp_info->port_priv->wq); in ib_cancel_rmpp_recvs()
457 queue_delayed_work(rmpp_recv->agent->qp_info->port_priv->wq, in complete_rmpp()
550 queue_delayed_work(agent->qp_info->port_priv->wq, in start_rmpp()
/linux-2.6.39/drivers/media/video/cx23885/
Dcimax2.c387 state = port->port_priv; in netup_ci_slot_status()
394 state = port->port_priv; in netup_ci_slot_status()
464 port->port_priv = state; in netup_ci_init()
527 state = (struct netup_ci_state *)port->port_priv; in netup_ci_exit()
Dcx23885.h310 void *port_priv; member
/linux-2.6.39/drivers/usb/serial/
Ddigi_acceleport.c771 struct digi_port *port_priv = usb_get_serial_port_data(port); in digi_set_modem_signals() local
779 port_priv->dp_port_num, modem_signals); in digi_set_modem_signals()
782 spin_lock(&port_priv->dp_port_lock); in digi_set_modem_signals()
785 spin_unlock(&port_priv->dp_port_lock); in digi_set_modem_signals()
792 spin_lock(&port_priv->dp_port_lock); in digi_set_modem_signals()
795 data[1] = port_priv->dp_port_num; in digi_set_modem_signals()
800 data[5] = port_priv->dp_port_num; in digi_set_modem_signals()
811 port_priv->dp_modem_signals = in digi_set_modem_signals()
812 (port_priv->dp_modem_signals&~(TIOCM_DTR|TIOCM_RTS)) in digi_set_modem_signals()
815 spin_unlock(&port_priv->dp_port_lock); in digi_set_modem_signals()
/linux-2.6.39/drivers/net/
Dps3_gelic_wireless.h303 return port_priv(port); in port_wl()
Dps3_gelic_net.h359 static inline void *port_priv(struct gelic_port *port) in port_priv() function
/linux-2.6.39/drivers/media/video/cx231xx/
Dcx231xx.h607 void *port_priv; member