Searched refs:port_modify (Results 1 – 3 of 3) sorted by relevance
/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 530 struct ib_port_modify port_modify; in srpt_refresh_port() local 534 memset(&port_modify, 0, sizeof port_modify); in srpt_refresh_port() 535 port_modify.set_port_cap_mask = IB_PORT_DEVICE_MGMT_SUP; in srpt_refresh_port() 536 port_modify.clr_port_cap_mask = 0; in srpt_refresh_port() 538 ret = ib_modify_port(sport->sdev->device, sport->port, 0, &port_modify); in srpt_refresh_port() 578 port_modify.set_port_cap_mask = 0; in srpt_refresh_port() 579 port_modify.clr_port_cap_mask = IB_PORT_DEVICE_MGMT_SUP; in srpt_refresh_port() 580 ib_modify_port(sport->sdev->device, sport->port, 0, &port_modify); in srpt_refresh_port() 594 struct ib_port_modify port_modify = { in srpt_unregister_mad_agent() local 603 if (ib_modify_port(sdev->device, i, 0, &port_modify) < 0) in srpt_unregister_mad_agent()
|
/drivers/infiniband/core/ |
D | device.c | 651 struct ib_port_modify *port_modify) in ib_modify_port() argument 660 port_modify); in ib_modify_port()
|
D | cm.c | 3726 struct ib_port_modify port_modify = { in cm_add_one() local 3776 ret = ib_modify_port(ib_device, i, 0, &port_modify); in cm_add_one() 3792 port_modify.set_port_cap_mask = 0; in cm_add_one() 3793 port_modify.clr_port_cap_mask = IB_PORT_CM_SUP; in cm_add_one() 3796 ib_modify_port(ib_device, port->port_num, 0, &port_modify); in cm_add_one() 3808 struct ib_port_modify port_modify = { in cm_remove_one() local 3824 ib_modify_port(ib_device, port->port_num, 0, &port_modify); in cm_remove_one()
|