Searched refs:port_priv (Results 1 – 7 of 7) sorted by relevance
/drivers/infiniband/core/ |
D | agent.c | 85 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() 146 struct ib_agent_port_private *port_priv; in ib_agent_port_open() local 151 port_priv = kzalloc(sizeof *port_priv, GFP_KERNEL); in ib_agent_port_open() 152 if (!port_priv) { in ib_agent_port_open() 159 port_priv->agent[0] = ib_register_mad_agent(device, port_num, in ib_agent_port_open() 163 if (IS_ERR(port_priv->agent[0])) { in ib_agent_port_open() [all …]
|
D | mad.c | 62 struct ib_mad_port_private *port_priv, 190 struct ib_mad_port_private *port_priv; in ib_register_mad_agent() local 264 port_priv = ib_get_mad_port(device, port_num); in ib_register_mad_agent() 265 if (!port_priv) { in ib_register_mad_agent() 277 mad_agent_priv->agent.mr = ib_get_dma_mr(port_priv->qp_info[qpn].qp->pd, in ib_register_mad_agent() 295 mad_agent_priv->qp_info = &port_priv->qp_info[qpn]; in ib_register_mad_agent() 302 mad_agent_priv->agent.qp = port_priv->qp_info[qpn].qp; in ib_register_mad_agent() 305 spin_lock_irqsave(&port_priv->reg_lock, flags); in ib_register_mad_agent() 315 class = port_priv->version[mad_reg_req-> in ib_register_mad_agent() 329 vendor = port_priv->version[mad_reg_req-> in ib_register_mad_agent() [all …]
|
D | mad_priv.h | 186 struct ib_mad_port_private *port_priv; member
|
D | mad_rmpp.c | 95 flush_workqueue(agent->qp_info->port_priv->wq); in ib_cancel_rmpp_recvs() 446 queue_delayed_work(rmpp_recv->agent->qp_info->port_priv->wq, in complete_rmpp() 539 queue_delayed_work(agent->qp_info->port_priv->wq, in start_rmpp()
|
/drivers/usb/serial/ |
D | digi_acceleport.c | 767 struct digi_port *port_priv = usb_get_serial_port_data(port); in digi_set_modem_signals() local 775 port_priv->dp_port_num, modem_signals); in digi_set_modem_signals() 778 spin_lock(&port_priv->dp_port_lock); in digi_set_modem_signals() 781 spin_unlock(&port_priv->dp_port_lock); in digi_set_modem_signals() 788 spin_lock(&port_priv->dp_port_lock); in digi_set_modem_signals() 791 data[1] = port_priv->dp_port_num; in digi_set_modem_signals() 796 data[5] = port_priv->dp_port_num; in digi_set_modem_signals() 807 port_priv->dp_modem_signals = in digi_set_modem_signals() 808 (port_priv->dp_modem_signals&~(TIOCM_DTR|TIOCM_RTS)) in digi_set_modem_signals() 811 spin_unlock(&port_priv->dp_port_lock); in digi_set_modem_signals()
|
/drivers/net/ |
D | ps3_gelic_wireless.h | 303 return port_priv(port); in port_wl()
|
D | ps3_gelic_net.h | 352 static inline void *port_priv(struct gelic_port *port) in port_priv() function
|