Lines Matching refs:ops

45 	if (!soc || !soc->ops) {  in cdp_hl_fc_register()
51 if (!soc->ops->l_flowctl_ops || in cdp_hl_fc_register()
52 !soc->ops->l_flowctl_ops->register_tx_flow_control) in cdp_hl_fc_register()
55 return soc->ops->l_flowctl_ops->register_tx_flow_control(soc, pdev_id, in cdp_hl_fc_register()
62 if (!soc->ops->l_flowctl_ops->set_vdev_tx_desc_limit) in cdp_hl_fc_set_td_limit()
65 return soc->ops->l_flowctl_ops->set_vdev_tx_desc_limit(soc, vdev_id, in cdp_hl_fc_set_td_limit()
73 if (!soc->ops->l_flowctl_ops->set_vdev_os_queue_status) in cdp_hl_fc_set_os_queue_status()
76 return soc->ops->l_flowctl_ops->set_vdev_os_queue_status(soc, in cdp_hl_fc_set_os_queue_status()
121 if (!soc || !soc->ops) { in cdp_fc_register()
127 if (!soc->ops->l_flowctl_ops || in cdp_fc_register()
128 !soc->ops->l_flowctl_ops->register_tx_flow_control) in cdp_fc_register()
131 return soc->ops->l_flowctl_ops->register_tx_flow_control( in cdp_fc_register()
156 if (!soc || !soc->ops) { in cdp_fc_deregister()
162 if (!soc->ops->l_flowctl_ops || in cdp_fc_deregister()
163 !soc->ops->l_flowctl_ops->deregister_tx_flow_control_cb) in cdp_fc_deregister()
166 return soc->ops->l_flowctl_ops->deregister_tx_flow_control_cb( in cdp_fc_deregister()
189 if (!soc || !soc->ops) { in cdp_fc_get_tx_resource()
195 if (!soc->ops->l_flowctl_ops || in cdp_fc_get_tx_resource()
196 !soc->ops->l_flowctl_ops->get_tx_resource) in cdp_fc_get_tx_resource()
199 return soc->ops->l_flowctl_ops->get_tx_resource(soc, pdev_id, peer_addr, in cdp_fc_get_tx_resource()
218 if (!soc || !soc->ops) { in cdp_fc_ll_set_tx_pause_q_depth()
224 if (!soc->ops->l_flowctl_ops || in cdp_fc_ll_set_tx_pause_q_depth()
225 !soc->ops->l_flowctl_ops->ll_set_tx_pause_q_depth) in cdp_fc_ll_set_tx_pause_q_depth()
228 return soc->ops->l_flowctl_ops->ll_set_tx_pause_q_depth( in cdp_fc_ll_set_tx_pause_q_depth()
245 if (!soc || !soc->ops) { in cdp_fc_vdev_flush()
251 if (!soc->ops->l_flowctl_ops || in cdp_fc_vdev_flush()
252 !soc->ops->l_flowctl_ops->vdev_flush) in cdp_fc_vdev_flush()
255 soc->ops->l_flowctl_ops->vdev_flush(soc, vdev_id); in cdp_fc_vdev_flush()
273 if (!soc || !soc->ops) { in cdp_fc_vdev_pause()
279 if (!soc->ops->l_flowctl_ops || in cdp_fc_vdev_pause()
280 !soc->ops->l_flowctl_ops->vdev_pause) in cdp_fc_vdev_pause()
283 soc->ops->l_flowctl_ops->vdev_pause(soc, vdev_id, reason, pause_type); in cdp_fc_vdev_pause()
301 if (!soc || !soc->ops) { in cdp_fc_vdev_unpause()
306 if (!soc->ops->l_flowctl_ops || in cdp_fc_vdev_unpause()
307 !soc->ops->l_flowctl_ops->vdev_unpause) in cdp_fc_vdev_unpause()
310 soc->ops->l_flowctl_ops->vdev_unpause(soc, vdev_id, reason, in cdp_fc_vdev_unpause()