Lines Matching refs:bp

93 	int (*wait_comp)(struct bnx2x *bp,
170 typedef int (*exe_q_validate)(struct bnx2x *bp,
174 typedef int (*exe_q_remove)(struct bnx2x *bp,
181 typedef int (*exe_q_optimize)(struct bnx2x *bp,
184 typedef int (*exe_q_execute)(struct bnx2x *bp,
326 int (*get_n_elements)(struct bnx2x *bp,
336 int (*check_add)(struct bnx2x *bp,
346 (*check_del)(struct bnx2x *bp,
355 bool (*check_move)(struct bnx2x *bp,
372 void (*set_one_rule)(struct bnx2x *bp,
394 int (*delete_all)(struct bnx2x *bp,
414 int (*restore)(struct bnx2x *bp,
435 int (*complete)(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *o,
444 int (*wait)(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *o);
497 int (*config_rx_mode)(struct bnx2x *bp,
500 int (*wait_comp)(struct bnx2x *bp,
582 int (*config_mcast)(struct bnx2x *bp,
597 int (*hdl_restore)(struct bnx2x *bp, struct bnx2x_mcast_obj *o,
600 int (*enqueue_cmd)(struct bnx2x *bp, struct bnx2x_mcast_obj *o,
604 void (*set_one_rule)(struct bnx2x *bp,
622 int (*wait_comp)(struct bnx2x *bp, struct bnx2x_mcast_obj *o);
629 int (*validate)(struct bnx2x *bp,
636 void (*revert)(struct bnx2x *bp,
757 int (*config_rss)(struct bnx2x *bp,
1074 int (*send_cmd)(struct bnx2x *bp,
1086 int (*check_transition)(struct bnx2x *bp,
1093 int (*complete_cmd)(struct bnx2x *bp,
1097 int (*wait_comp)(struct bnx2x *bp,
1298 int (*init_hw_cmn_chip)(struct bnx2x *bp);
1299 int (*init_hw_cmn)(struct bnx2x *bp);
1300 int (*init_hw_port)(struct bnx2x *bp);
1301 int (*init_hw_func)(struct bnx2x *bp);
1304 void (*reset_hw_cmn)(struct bnx2x *bp);
1305 void (*reset_hw_port)(struct bnx2x *bp);
1306 void (*reset_hw_func)(struct bnx2x *bp);
1309 int (*gunzip_init)(struct bnx2x *bp);
1310 void (*gunzip_end)(struct bnx2x *bp);
1313 int (*init_fw)(struct bnx2x *bp);
1314 void (*release_fw)(struct bnx2x *bp);
1351 int (*send_cmd)(struct bnx2x *bp,
1357 int (*check_transition)(struct bnx2x *bp,
1364 int (*complete_cmd)(struct bnx2x *bp,
1368 int (*wait_comp)(struct bnx2x *bp, struct bnx2x_func_sp_obj *o,
1378 void bnx2x_init_func_obj(struct bnx2x *bp,
1384 int bnx2x_func_state_change(struct bnx2x *bp,
1387 enum bnx2x_func_state bnx2x_func_get_state(struct bnx2x *bp,
1390 void bnx2x_init_queue_obj(struct bnx2x *bp,
1395 int bnx2x_queue_state_change(struct bnx2x *bp,
1398 int bnx2x_get_q_logical_state(struct bnx2x *bp,
1402 void bnx2x_init_mac_obj(struct bnx2x *bp,
1409 void bnx2x_init_vlan_obj(struct bnx2x *bp,
1416 void bnx2x_init_vlan_mac_obj(struct bnx2x *bp,
1424 int bnx2x_vlan_mac_h_read_lock(struct bnx2x *bp,
1426 void bnx2x_vlan_mac_h_read_unlock(struct bnx2x *bp,
1428 int bnx2x_vlan_mac_h_write_lock(struct bnx2x *bp,
1430 int bnx2x_config_vlan_mac(struct bnx2x *bp,
1433 int bnx2x_vlan_mac_move(struct bnx2x *bp,
1439 void bnx2x_init_rx_mode_obj(struct bnx2x *bp,
1451 int bnx2x_config_rx_mode(struct bnx2x *bp,
1456 void bnx2x_init_mcast_obj(struct bnx2x *bp,
1483 int bnx2x_config_mcast(struct bnx2x *bp,
1488 void bnx2x_init_mac_credit_pool(struct bnx2x *bp,
1491 void bnx2x_init_vlan_credit_pool(struct bnx2x *bp,
1498 void bnx2x_init_rss_config_obj(struct bnx2x *bp,
1510 int bnx2x_config_rss(struct bnx2x *bp,
1523 #define PF_MAC_CREDIT_E2(bp, func_num) \ argument
1524 ((MAX_MAC_CREDIT_E2 - GET_NUM_VFS_PER_PATH(bp) * VF_MAC_CREDIT_CNT) / \
1525 func_num + GET_NUM_VFS_PER_PF(bp) * VF_MAC_CREDIT_CNT)
1527 #define PF_VLAN_CREDIT_E2(bp, func_num) \ argument
1528 ((MAX_MAC_CREDIT_E2 - GET_NUM_VFS_PER_PATH(bp) * VF_VLAN_CREDIT_CNT) / \
1529 func_num + GET_NUM_VFS_PER_PF(bp) * VF_VLAN_CREDIT_CNT)