Searched refs:wpriv (Results 1 – 6 of 6) sorted by relevance
1440 return rocker_port ? rocker_port->wpriv : NULL; in ofdpa_port_get()2349 struct ofdpa *ofdpa = rocker->wpriv; in ofdpa_init()2378 struct ofdpa *ofdpa = rocker->wpriv; in ofdpa_fini()2421 struct ofdpa_port *ofdpa_port = rocker_port->wpriv; in ofdpa_port_pre_init()2423 ofdpa_port->ofdpa = rocker_port->rocker->wpriv; in ofdpa_port_pre_init()2434 struct ofdpa_port *ofdpa_port = rocker_port->wpriv; in ofdpa_port_init()2464 struct ofdpa_port *ofdpa_port = rocker_port->wpriv; in ofdpa_port_fini()2471 struct ofdpa_port *ofdpa_port = rocker_port->wpriv; in ofdpa_port_open()2478 struct ofdpa_port *ofdpa_port = rocker_port->wpriv; in ofdpa_port_stop()2486 struct ofdpa_port *ofdpa_port = rocker_port->wpriv; in ofdpa_port_attr_stp_state_set()[all …]
43 void *wpriv; member72 void *wpriv; member
1448 rocker->wpriv = kzalloc(wops->priv_size, GFP_KERNEL); in rocker_world_init()1449 if (!rocker->wpriv) in rocker_world_init()1455 kfree(rocker->wpriv); in rocker_world_init()1466 kfree(rocker->wpriv); in rocker_world_fini()1495 rocker_port->wpriv = kzalloc(wops->port_priv_size, GFP_KERNEL); in rocker_world_port_pre_init()1496 if (!rocker_port->wpriv) in rocker_world_port_pre_init()1502 kfree(rocker_port->wpriv); in rocker_world_port_pre_init()1531 kfree(rocker_port->wpriv); in rocker_world_port_post_fini()
1694 struct ideapad_wmi_private *wpriv; in ideapad_wmi_probe() local1696 wpriv = devm_kzalloc(&wdev->dev, sizeof(*wpriv), GFP_KERNEL); in ideapad_wmi_probe()1697 if (!wpriv) in ideapad_wmi_probe()1700 *wpriv = *(const struct ideapad_wmi_private *)context; in ideapad_wmi_probe()1702 dev_set_drvdata(&wdev->dev, wpriv); in ideapad_wmi_probe()1708 struct ideapad_wmi_private *wpriv = dev_get_drvdata(&wdev->dev); in ideapad_wmi_notify() local1718 switch (wpriv->event) { in ideapad_wmi_notify()
1711 struct hfi1_swqe_priv *wpriv = wqe->priv; in hfi1_build_tid_rdma_read_packet() local1727 wpriv->ss.sge.vaddr = req_addr; in hfi1_build_tid_rdma_read_packet()1728 wpriv->ss.sge.sge_length = req_len; in hfi1_build_tid_rdma_read_packet()1729 wpriv->ss.sge.length = wpriv->ss.sge.sge_length; in hfi1_build_tid_rdma_read_packet()1734 wpriv->ss.sge.mr = NULL; in hfi1_build_tid_rdma_read_packet()1735 wpriv->ss.sge.m = 0; in hfi1_build_tid_rdma_read_packet()1736 wpriv->ss.sge.n = 0; in hfi1_build_tid_rdma_read_packet()1738 wpriv->ss.sg_list = NULL; in hfi1_build_tid_rdma_read_packet()1739 wpriv->ss.total_len = wpriv->ss.sge.sge_length; in hfi1_build_tid_rdma_read_packet()1740 wpriv->ss.num_sge = 1; in hfi1_build_tid_rdma_read_packet()
395 struct hfi1_swqe_priv *wpriv; in hfi1_make_rc_req() local759 wpriv = wqe->priv; in hfi1_make_rc_req()824 ss = &wpriv->ss; in hfi1_make_rc_req()1042 wpriv = wqe->priv; in hfi1_make_rc_req()1082 ss = &wpriv->ss; in hfi1_make_rc_req()1114 wpriv = wqe->priv; in hfi1_make_rc_req()1125 ss = &wpriv->ss; in hfi1_make_rc_req()