Home
last modified time | relevance | path

Searched refs:ulp_ops (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/broadcom/
Dcnic.c178 static inline void ulp_get(struct cnic_ulp_ops *ulp_ops) in ulp_get() argument
180 atomic_inc(&ulp_ops->ref_count); in ulp_get()
183 static inline void ulp_put(struct cnic_ulp_ops *ulp_ops) in ulp_put() argument
185 atomic_dec(&ulp_ops->ref_count); in ulp_put()
325 struct cnic_ulp_ops *ulp_ops; in cnic_send_nlmsg() local
355 ulp_ops = rcu_dereference(cp->ulp_ops[CNIC_ULP_ISCSI]); in cnic_send_nlmsg()
356 if (ulp_ops) in cnic_send_nlmsg()
357 rc = ulp_ops->iscsi_nl_send_msg( in cnic_send_nlmsg()
393 if (!rcu_access_pointer(cp->ulp_ops[CNIC_ULP_L4])) { in cnic_iscsi_nl_msg_recv()
473 int cnic_register_driver(int ulp_type, struct cnic_ulp_ops *ulp_ops) in cnic_register_driver() argument
[all …]
Dcnic_if.h384 int cnic_register_driver(int ulp_type, struct cnic_ulp_ops *ulp_ops);
Dcnic.h217 struct cnic_ulp_ops __rcu *ulp_ops[MAX_CNIC_ULP_TYPE]; member
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ulp.c56 struct bnxt_ulp_ops *ulp_ops, in bnxt_register_dev() argument
74 rcu_assign_pointer(ulp->ulp_ops, ulp_ops); in bnxt_register_dev()
99 RCU_INIT_POINTER(ulp->ulp_ops, NULL); in bnxt_unregister_dev()
248 ops = rtnl_dereference(ulp->ulp_ops); in bnxt_ulp_irq_stop()
270 ops = rtnl_dereference(ulp->ulp_ops); in bnxt_ulp_irq_restart()
Dbnxt_ulp.h45 struct bnxt_ulp_ops __rcu *ulp_ops; member
105 int bnxt_register_dev(struct bnxt_en_dev *edev, struct bnxt_ulp_ops *ulp_ops,