ulp_type 14869 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int ulp_type = ctl->data.register_data.ulp_type; ulp_type 14881 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (ulp_type == CNIC_ULP_ISCSI) ulp_type 14883 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c else if (ulp_type == CNIC_ULP_FCOE) ulp_type 14887 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if ((ulp_type != CNIC_ULP_FCOE) || ulp_type 14910 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int ulp_type = ctl->data.ulp_type; ulp_type 14917 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (ulp_type == CNIC_ULP_ISCSI) ulp_type 14919 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c else if (ulp_type == CNIC_ULP_FCOE) ulp_type 263 drivers/net/ethernet/broadcom/cnic.c static void cnic_ulp_ctl(struct cnic_dev *dev, int ulp_type, bool reg, int state) ulp_type 274 drivers/net/ethernet/broadcom/cnic.c if (ulp_type == CNIC_ULP_FCOE && dev->fcoe_cap) ulp_type 280 drivers/net/ethernet/broadcom/cnic.c info.data.ulp_type = ulp_type; ulp_type 473 drivers/net/ethernet/broadcom/cnic.c int cnic_register_driver(int ulp_type, struct cnic_ulp_ops *ulp_ops) ulp_type 477 drivers/net/ethernet/broadcom/cnic.c if (ulp_type < 0 || ulp_type >= MAX_CNIC_ULP_TYPE) { ulp_type 478 drivers/net/ethernet/broadcom/cnic.c pr_err("%s: Bad type %d\n", __func__, ulp_type); ulp_type 482 drivers/net/ethernet/broadcom/cnic.c if (cnic_ulp_tbl_prot(ulp_type)) { ulp_type 484 drivers/net/ethernet/broadcom/cnic.c __func__, ulp_type); ulp_type 493 drivers/net/ethernet/broadcom/cnic.c clear_bit(ULP_F_INIT, &cp->ulp_flags[ulp_type]); ulp_type 498 drivers/net/ethernet/broadcom/cnic.c rcu_assign_pointer(cnic_ulp_tbl[ulp_type], ulp_ops); ulp_type 506 drivers/net/ethernet/broadcom/cnic.c if (!test_and_set_bit(ULP_F_INIT, &cp->ulp_flags[ulp_type])) ulp_type 514 drivers/net/ethernet/broadcom/cnic.c int cnic_unregister_driver(int ulp_type) ulp_type 520 drivers/net/ethernet/broadcom/cnic.c if (ulp_type < 0 || ulp_type >= MAX_CNIC_ULP_TYPE) { ulp_type 521 drivers/net/ethernet/broadcom/cnic.c pr_err("%s: Bad type %d\n", __func__, ulp_type); ulp_type 525 drivers/net/ethernet/broadcom/cnic.c ulp_ops = cnic_ulp_tbl_prot(ulp_type); ulp_type 528 drivers/net/ethernet/broadcom/cnic.c __func__, ulp_type); ulp_type 535 drivers/net/ethernet/broadcom/cnic.c if (rcu_access_pointer(cp->ulp_ops[ulp_type])) { ulp_type 537 drivers/net/ethernet/broadcom/cnic.c __func__, ulp_type); ulp_type 544 drivers/net/ethernet/broadcom/cnic.c RCU_INIT_POINTER(cnic_ulp_tbl[ulp_type], NULL); ulp_type 566 drivers/net/ethernet/broadcom/cnic.c static int cnic_register_device(struct cnic_dev *dev, int ulp_type, ulp_type 572 drivers/net/ethernet/broadcom/cnic.c if (ulp_type < 0 || ulp_type >= MAX_CNIC_ULP_TYPE) { ulp_type 573 drivers/net/ethernet/broadcom/cnic.c pr_err("%s: Bad type %d\n", __func__, ulp_type); ulp_type 577 drivers/net/ethernet/broadcom/cnic.c if (cnic_ulp_tbl_prot(ulp_type) == NULL) { ulp_type 579 drivers/net/ethernet/broadcom/cnic.c __func__, ulp_type); ulp_type 583 drivers/net/ethernet/broadcom/cnic.c if (rcu_access_pointer(cp->ulp_ops[ulp_type])) { ulp_type 585 drivers/net/ethernet/broadcom/cnic.c __func__, ulp_type); ulp_type 590 drivers/net/ethernet/broadcom/cnic.c clear_bit(ULP_F_START, &cp->ulp_flags[ulp_type]); ulp_type 591 drivers/net/ethernet/broadcom/cnic.c cp->ulp_handle[ulp_type] = ulp_ctx; ulp_type 592 drivers/net/ethernet/broadcom/cnic.c ulp_ops = cnic_ulp_tbl_prot(ulp_type); ulp_type 593 drivers/net/ethernet/broadcom/cnic.c rcu_assign_pointer(cp->ulp_ops[ulp_type], ulp_ops); ulp_type 597 drivers/net/ethernet/broadcom/cnic.c if (!test_and_set_bit(ULP_F_START, &cp->ulp_flags[ulp_type])) ulp_type 598 drivers/net/ethernet/broadcom/cnic.c ulp_ops->cnic_start(cp->ulp_handle[ulp_type]); ulp_type 602 drivers/net/ethernet/broadcom/cnic.c cnic_ulp_ctl(dev, ulp_type, true, DRV_ACTIVE); ulp_type 609 drivers/net/ethernet/broadcom/cnic.c static int cnic_unregister_device(struct cnic_dev *dev, int ulp_type) ulp_type 614 drivers/net/ethernet/broadcom/cnic.c if (ulp_type < 0 || ulp_type >= MAX_CNIC_ULP_TYPE) { ulp_type 615 drivers/net/ethernet/broadcom/cnic.c pr_err("%s: Bad type %d\n", __func__, ulp_type); ulp_type 619 drivers/net/ethernet/broadcom/cnic.c if (ulp_type == CNIC_ULP_ISCSI) ulp_type 623 drivers/net/ethernet/broadcom/cnic.c if (rcu_access_pointer(cp->ulp_ops[ulp_type])) { ulp_type 624 drivers/net/ethernet/broadcom/cnic.c RCU_INIT_POINTER(cp->ulp_ops[ulp_type], NULL); ulp_type 628 drivers/net/ethernet/broadcom/cnic.c __func__, ulp_type); ulp_type 634 drivers/net/ethernet/broadcom/cnic.c if (ulp_type == CNIC_ULP_FCOE) ulp_type 639 drivers/net/ethernet/broadcom/cnic.c while (test_bit(ULP_F_CALL_PENDING, &cp->ulp_flags[ulp_type]) && ulp_type 644 drivers/net/ethernet/broadcom/cnic.c if (test_bit(ULP_F_CALL_PENDING, &cp->ulp_flags[ulp_type])) ulp_type 647 drivers/net/ethernet/broadcom/cnic.c if (test_bit(ULP_F_INIT, &cp->ulp_flags[ulp_type])) ulp_type 648 drivers/net/ethernet/broadcom/cnic.c cnic_ulp_ctl(dev, ulp_type, false, DRV_UNLOADED); ulp_type 650 drivers/net/ethernet/broadcom/cnic.c cnic_ulp_ctl(dev, ulp_type, false, DRV_INACTIVE); ulp_type 1424 drivers/net/ethernet/broadcom/cnic.c static void cnic_reply_bnx2x_kcqes(struct cnic_dev *dev, int ulp_type, ulp_type 1431 drivers/net/ethernet/broadcom/cnic.c ulp_ops = rcu_dereference(cp->ulp_ops[ulp_type]); ulp_type 1433 drivers/net/ethernet/broadcom/cnic.c ulp_ops->indicate_kcqes(cp->ulp_handle[ulp_type], ulp_type 2590 drivers/net/ethernet/broadcom/cnic.c int ulp_type; ulp_type 2598 drivers/net/ethernet/broadcom/cnic.c ulp_type = CNIC_ULP_FCOE; ulp_type 2618 drivers/net/ethernet/broadcom/cnic.c ulp_type = CNIC_ULP_ISCSI; ulp_type 2631 drivers/net/ethernet/broadcom/cnic.c ulp_type = CNIC_ULP_L4; ulp_type 2651 drivers/net/ethernet/broadcom/cnic.c cnic_reply_bnx2x_kcqes(dev, ulp_type, cqes, 1); ulp_type 2836 drivers/net/ethernet/broadcom/cnic.c int ulp_type; ulp_type 2855 drivers/net/ethernet/broadcom/cnic.c ulp_type = CNIC_ULP_RDMA; ulp_type 2857 drivers/net/ethernet/broadcom/cnic.c ulp_type = CNIC_ULP_ISCSI; ulp_type 2859 drivers/net/ethernet/broadcom/cnic.c ulp_type = CNIC_ULP_FCOE; ulp_type 2861 drivers/net/ethernet/broadcom/cnic.c ulp_type = CNIC_ULP_L4; ulp_type 2871 drivers/net/ethernet/broadcom/cnic.c ulp_ops = rcu_dereference(cp->ulp_ops[ulp_type]); ulp_type 2873 drivers/net/ethernet/broadcom/cnic.c ulp_ops->indicate_kcqes(cp->ulp_handle[ulp_type], ulp_type 3244 drivers/net/ethernet/broadcom/cnic.c static int cnic_copy_ulp_stats(struct cnic_dev *dev, int ulp_type) ulp_type 3251 drivers/net/ethernet/broadcom/cnic.c ulp_ops = rcu_dereference_protected(cp->ulp_ops[ulp_type], ulp_type 3254 drivers/net/ethernet/broadcom/cnic.c rc = ulp_ops->cnic_get_stats(cp->ulp_handle[ulp_type]); ulp_type 3264 drivers/net/ethernet/broadcom/cnic.c int ulp_type = CNIC_ULP_ISCSI; ulp_type 3314 drivers/net/ethernet/broadcom/cnic.c ulp_type = CNIC_ULP_FCOE; ulp_type 3318 drivers/net/ethernet/broadcom/cnic.c cnic_copy_ulp_stats(dev, ulp_type); ulp_type 3582 drivers/net/ethernet/broadcom/cnic.c static int cnic_cm_create(struct cnic_dev *dev, int ulp_type, u32 cid, ulp_type 3608 drivers/net/ethernet/broadcom/cnic.c csk1->ulp_type = ulp_type; ulp_type 3715 drivers/net/ethernet/broadcom/cnic.c int ulp_type) ulp_type 3913 drivers/net/ethernet/broadcom/cnic.c int ulp_type = csk->ulp_type; ulp_type 3916 drivers/net/ethernet/broadcom/cnic.c ulp_ops = rcu_dereference(cp->ulp_ops[ulp_type]); ulp_type 148 drivers/net/ethernet/broadcom/cnic_if.h int ulp_type; ulp_type 163 drivers/net/ethernet/broadcom/cnic_if.h int ulp_type; ulp_type 274 drivers/net/ethernet/broadcom/cnic_if.h int ulp_type; ulp_type 316 drivers/net/ethernet/broadcom/cnic_if.h int (*register_device)(struct cnic_dev *dev, int ulp_type, ulp_type 318 drivers/net/ethernet/broadcom/cnic_if.h int (*unregister_device)(struct cnic_dev *dev, int ulp_type); ulp_type 330 drivers/net/ethernet/broadcom/cnic_if.h struct cnic_dev *(*cm_select_dev)(struct sockaddr_in *, int ulp_type); ulp_type 384 drivers/net/ethernet/broadcom/cnic_if.h int cnic_register_driver(int ulp_type, struct cnic_ulp_ops *ulp_ops); ulp_type 386 drivers/net/ethernet/broadcom/cnic_if.h int cnic_unregister_driver(int ulp_type);