Home
last modified time | relevance | path

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

/linux-4.1.27/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.c75 struct ib_mad_port_private *port_priv,
204 struct ib_mad_port_private *port_priv; in ib_register_mad_agent() local
318 port_priv = ib_get_mad_port(device, port_num); in ib_register_mad_agent()
319 if (!port_priv) { in ib_register_mad_agent()
327 if (!port_priv->qp_info[qpn].qp) { in ib_register_mad_agent()
341 mad_agent_priv->agent.mr = ib_get_dma_mr(port_priv->qp_info[qpn].qp->pd, in ib_register_mad_agent()
357 mad_agent_priv->qp_info = &port_priv->qp_info[qpn]; in ib_register_mad_agent()
364 mad_agent_priv->agent.qp = port_priv->qp_info[qpn].qp; in ib_register_mad_agent()
378 spin_lock_irqsave(&port_priv->reg_lock, flags); in ib_register_mad_agent()
388 class = port_priv->version[mad_reg_req-> in ib_register_mad_agent()
[all …]
Dmad_priv.h186 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-4.1.27/drivers/usb/serial/
Dquatech2.c219 static inline int update_mctrl(struct qt2_port_private *port_priv, in update_mctrl() argument
222 struct usb_serial_port *port = port_priv->port; in update_mctrl()
240 status = qt2_setregister(dev, port_priv->device_port, UART_MCR, in update_mctrl()
271 struct qt2_port_private *port_priv; in qt2_set_termios() local
278 port_priv = usb_get_serial_port_data(port); in qt2_set_termios()
307 status = qt2_set_port_config(dev, port_priv->device_port, baud, in qt2_set_termios()
316 port_priv->device_port); in qt2_set_termios()
319 0, port_priv->device_port); in qt2_set_termios()
328 x, port_priv->device_port); in qt2_set_termios()
331 0, port_priv->device_port); in qt2_set_termios()
[all …]
Dcp210x.c323 struct cp210x_port_private *port_priv = usb_get_serial_port_data(port); in cp210x_get_config() local
337 port_priv->bInterfaceNumber, buf, size, in cp210x_get_config()
368 struct cp210x_port_private *port_priv = usb_get_serial_port_data(port); in cp210x_set_config() local
387 port_priv->bInterfaceNumber, buf, size, in cp210x_set_config()
393 port_priv->bInterfaceNumber, NULL, 0, in cp210x_set_config()
879 struct cp210x_port_private *port_priv; in cp210x_port_probe() local
881 port_priv = kzalloc(sizeof(*port_priv), GFP_KERNEL); in cp210x_port_probe()
882 if (!port_priv) in cp210x_port_probe()
886 port_priv->bInterfaceNumber = cur_altsetting->desc.bInterfaceNumber; in cp210x_port_probe()
888 usb_set_serial_port_data(port, port_priv); in cp210x_port_probe()
[all …]
Df81232.c504 struct f81232_private *port_priv = usb_get_serial_port_data(port); in f81232_tiocmget() local
510 mutex_lock(&port_priv->lock); in f81232_tiocmget()
511 mcr = port_priv->modem_control; in f81232_tiocmget()
512 msr = port_priv->modem_status; in f81232_tiocmget()
513 mutex_unlock(&port_priv->lock); in f81232_tiocmget()
Ddigi_acceleport.c531 struct digi_port *port_priv = usb_get_serial_port_data(port); in digi_set_modem_signals() local
540 port_priv->dp_port_num, modem_signals); in digi_set_modem_signals()
543 spin_lock(&port_priv->dp_port_lock); in digi_set_modem_signals()
546 spin_unlock(&port_priv->dp_port_lock); in digi_set_modem_signals()
553 spin_lock(&port_priv->dp_port_lock); in digi_set_modem_signals()
556 data[1] = port_priv->dp_port_num; in digi_set_modem_signals()
561 data[5] = port_priv->dp_port_num; in digi_set_modem_signals()
571 port_priv->dp_modem_signals = in digi_set_modem_signals()
572 (port_priv->dp_modem_signals&~(TIOCM_DTR|TIOCM_RTS)) in digi_set_modem_signals()
575 spin_unlock(&port_priv->dp_port_lock); in digi_set_modem_signals()
/linux-4.1.27/drivers/media/pci/cx23885/
Dcimax2.c396 state = port->port_priv; in netup_ci_slot_status()
403 state = port->port_priv; in netup_ci_slot_status()
474 port->port_priv = state; in netup_ci_init()
537 state = (struct netup_ci_state *)port->port_priv; in netup_ci_exit()
Dcx23885.h300 void *port_priv; member
/linux-4.1.27/drivers/net/ethernet/toshiba/
Dps3_gelic_wireless.h303 return port_priv(port); in port_wl()
Dps3_gelic_net.h356 static inline void *port_priv(struct gelic_port *port) in port_priv() function
/linux-4.1.27/drivers/media/usb/cx231xx/
Dcx231xx.h584 void *port_priv; member