Lines Matching refs:pfid

1404 	type_16 |= (bp->pfid << SPE_HDR_FUNCTION_ID_SHIFT) &  in cnic_submit_kwqe_16()
1454 XSTORM_ISCSI_TCP_VARS_FLAGS_OFFSET(bp->pfid), xstorm_flags); in cnic_bnx2x_set_tcp_options()
1457 TSTORM_ISCSI_TCP_VARS_FLAGS_OFFSET(bp->pfid), tstorm_flags); in cnic_bnx2x_set_tcp_options()
1466 u32 pfid = bp->pfid; in cnic_bnx2x_iscsi_init1() local
1483 CNIC_WR16(dev, BAR_TSTRORM_INTMEM + TSTORM_ISCSI_RQ_SIZE_OFFSET(pfid), in cnic_bnx2x_iscsi_init1()
1485 CNIC_WR16(dev, BAR_TSTRORM_INTMEM + TSTORM_ISCSI_PAGE_SIZE_OFFSET(pfid), in cnic_bnx2x_iscsi_init1()
1488 TSTORM_ISCSI_PAGE_SIZE_LOG_OFFSET(pfid), CNIC_PAGE_BITS); in cnic_bnx2x_iscsi_init1()
1490 TSTORM_ISCSI_NUM_OF_TASKS_OFFSET(pfid), in cnic_bnx2x_iscsi_init1()
1495 USTORM_ISCSI_RQ_BUFFER_SIZE_OFFSET(pfid), in cnic_bnx2x_iscsi_init1()
1497 CNIC_WR16(dev, BAR_USTRORM_INTMEM + USTORM_ISCSI_PAGE_SIZE_OFFSET(pfid), in cnic_bnx2x_iscsi_init1()
1500 USTORM_ISCSI_PAGE_SIZE_LOG_OFFSET(pfid), CNIC_PAGE_BITS); in cnic_bnx2x_iscsi_init1()
1502 USTORM_ISCSI_NUM_OF_TASKS_OFFSET(pfid), in cnic_bnx2x_iscsi_init1()
1504 CNIC_WR16(dev, BAR_USTRORM_INTMEM + USTORM_ISCSI_RQ_SIZE_OFFSET(pfid), in cnic_bnx2x_iscsi_init1()
1506 CNIC_WR16(dev, BAR_USTRORM_INTMEM + USTORM_ISCSI_CQ_SIZE_OFFSET(pfid), in cnic_bnx2x_iscsi_init1()
1508 CNIC_WR16(dev, BAR_USTRORM_INTMEM + USTORM_ISCSI_R2TQ_SIZE_OFFSET(pfid), in cnic_bnx2x_iscsi_init1()
1512 CNIC_WR16(dev, BAR_XSTRORM_INTMEM + XSTORM_ISCSI_PAGE_SIZE_OFFSET(pfid), in cnic_bnx2x_iscsi_init1()
1515 XSTORM_ISCSI_PAGE_SIZE_LOG_OFFSET(pfid), CNIC_PAGE_BITS); in cnic_bnx2x_iscsi_init1()
1517 XSTORM_ISCSI_NUM_OF_TASKS_OFFSET(pfid), in cnic_bnx2x_iscsi_init1()
1519 CNIC_WR16(dev, BAR_XSTRORM_INTMEM + XSTORM_ISCSI_HQ_SIZE_OFFSET(pfid), in cnic_bnx2x_iscsi_init1()
1521 CNIC_WR16(dev, BAR_XSTRORM_INTMEM + XSTORM_ISCSI_SQ_SIZE_OFFSET(pfid), in cnic_bnx2x_iscsi_init1()
1523 CNIC_WR16(dev, BAR_XSTRORM_INTMEM + XSTORM_ISCSI_R2TQ_SIZE_OFFSET(pfid), in cnic_bnx2x_iscsi_init1()
1527 CNIC_WR16(dev, BAR_CSTRORM_INTMEM + CSTORM_ISCSI_PAGE_SIZE_OFFSET(pfid), in cnic_bnx2x_iscsi_init1()
1530 CSTORM_ISCSI_PAGE_SIZE_LOG_OFFSET(pfid), CNIC_PAGE_BITS); in cnic_bnx2x_iscsi_init1()
1532 CSTORM_ISCSI_NUM_OF_TASKS_OFFSET(pfid), in cnic_bnx2x_iscsi_init1()
1534 CNIC_WR16(dev, BAR_CSTRORM_INTMEM + CSTORM_ISCSI_CQ_SIZE_OFFSET(pfid), in cnic_bnx2x_iscsi_init1()
1536 CNIC_WR16(dev, BAR_CSTRORM_INTMEM + CSTORM_ISCSI_HQ_SIZE_OFFSET(pfid), in cnic_bnx2x_iscsi_init1()
1550 u32 pfid = bp->pfid; in cnic_bnx2x_iscsi_init2() local
1562 TSTORM_ISCSI_ERROR_BITMAP_OFFSET(pfid), req2->error_bit_map[0]); in cnic_bnx2x_iscsi_init2()
1564 TSTORM_ISCSI_ERROR_BITMAP_OFFSET(pfid) + 4, in cnic_bnx2x_iscsi_init2()
1568 USTORM_ISCSI_CQ_SQN_SIZE_OFFSET(pfid), req2->max_cq_sqn); in cnic_bnx2x_iscsi_init2()
1570 USTORM_ISCSI_ERROR_BITMAP_OFFSET(pfid), req2->error_bit_map[0]); in cnic_bnx2x_iscsi_init2()
1572 USTORM_ISCSI_ERROR_BITMAP_OFFSET(pfid) + 4, in cnic_bnx2x_iscsi_init2()
1576 CSTORM_ISCSI_CQ_SQN_SIZE_OFFSET(pfid), req2->max_cq_sqn); in cnic_bnx2x_iscsi_init2()
2085 u32 pfid = bp->pfid; in cnic_init_bnx2x_mac() local
2089 XSTORM_ISCSI_LOCAL_MAC_ADDR0_OFFSET(pfid), mac[0]); in cnic_init_bnx2x_mac()
2091 XSTORM_ISCSI_LOCAL_MAC_ADDR1_OFFSET(pfid), mac[1]); in cnic_init_bnx2x_mac()
2093 XSTORM_ISCSI_LOCAL_MAC_ADDR2_OFFSET(pfid), mac[2]); in cnic_init_bnx2x_mac()
2095 XSTORM_ISCSI_LOCAL_MAC_ADDR3_OFFSET(pfid), mac[3]); in cnic_init_bnx2x_mac()
2097 XSTORM_ISCSI_LOCAL_MAC_ADDR4_OFFSET(pfid), mac[4]); in cnic_init_bnx2x_mac()
2099 XSTORM_ISCSI_LOCAL_MAC_ADDR5_OFFSET(pfid), mac[5]); in cnic_init_bnx2x_mac()
2102 TSTORM_ISCSI_TCP_VARS_LSB_LOCAL_MAC_ADDR_OFFSET(pfid), mac[5]); in cnic_init_bnx2x_mac()
2104 TSTORM_ISCSI_TCP_VARS_LSB_LOCAL_MAC_ADDR_OFFSET(pfid) + 1, in cnic_init_bnx2x_mac()
2107 TSTORM_ISCSI_TCP_VARS_MID_LOCAL_MAC_ADDR_OFFSET(pfid), mac[3]); in cnic_init_bnx2x_mac()
2109 TSTORM_ISCSI_TCP_VARS_MID_LOCAL_MAC_ADDR_OFFSET(pfid) + 1, in cnic_init_bnx2x_mac()
2112 TSTORM_ISCSI_TCP_VARS_MSB_LOCAL_MAC_ADDR_OFFSET(pfid), mac[1]); in cnic_init_bnx2x_mac()
2114 TSTORM_ISCSI_TCP_VARS_MSB_LOCAL_MAC_ADDR_OFFSET(pfid) + 1, in cnic_init_bnx2x_mac()
2191 XSTORM_ISCSI_LOCAL_VLAN_OFFSET(bp->pfid), csk->vlan_id); in cnic_bnx2x_connect()
4237 u32 pfid = bp->pfid; in cnic_cm_init_bnx2x_hw() local
4244 XSTORM_ISCSI_LOCAL_VLAN_OFFSET(pfid), 0); in cnic_cm_init_bnx2x_hw()
4253 XSTORM_ISCSI_TCP_VARS_TTL_OFFSET(pfid), DEF_TTL); in cnic_cm_init_bnx2x_hw()
4255 XSTORM_ISCSI_TCP_VARS_TOS_OFFSET(pfid), DEF_TOS); in cnic_cm_init_bnx2x_hw()
4257 XSTORM_ISCSI_TCP_VARS_ADV_WND_SCL_OFFSET(pfid), 2); in cnic_cm_init_bnx2x_hw()
4259 XSTORM_TCP_TX_SWS_TIMER_VAL_OFFSET(pfid), DEF_SWS_TIMER); in cnic_cm_init_bnx2x_hw()
4261 CNIC_WR(dev, BAR_TSTRORM_INTMEM + TSTORM_TCP_MAX_CWND_OFFSET(pfid), in cnic_cm_init_bnx2x_hw()
5002 data->general.func_id = bp->pfid; in cnic_init_bnx2x_rx_ring()
5052 u32 pfid = bp->pfid; in cnic_init_bnx2x_kcq() local
5055 CSTORM_ISCSI_EQ_PROD_OFFSET(pfid, 0); in cnic_init_bnx2x_kcq()
5078 USTORM_FCOE_EQ_PROD_OFFSET(pfid); in cnic_init_bnx2x_kcq()
5093 u32 pfid; in cnic_start_bnx2x_hw() local
5098 pfid = bp->pfid; in cnic_start_bnx2x_hw()
5121 CSTORM_ISCSI_EQ_CONS_OFFSET(pfid, 0), 0); in cnic_start_bnx2x_hw()
5123 CSTORM_ISCSI_EQ_NEXT_PAGE_ADDR_OFFSET(pfid, 0), in cnic_start_bnx2x_hw()
5126 CSTORM_ISCSI_EQ_NEXT_PAGE_ADDR_OFFSET(pfid, 0) + 4, in cnic_start_bnx2x_hw()
5129 CSTORM_ISCSI_EQ_NEXT_EQE_ADDR_OFFSET(pfid, 0), in cnic_start_bnx2x_hw()
5132 CSTORM_ISCSI_EQ_NEXT_EQE_ADDR_OFFSET(pfid, 0) + 4, in cnic_start_bnx2x_hw()
5135 CSTORM_ISCSI_EQ_NEXT_PAGE_ADDR_VALID_OFFSET(pfid, 0), 1); in cnic_start_bnx2x_hw()
5137 CSTORM_ISCSI_EQ_SB_NUM_OFFSET(pfid, 0), cp->status_blk_num); in cnic_start_bnx2x_hw()
5139 CSTORM_ISCSI_EQ_SB_INDEX_OFFSET(pfid, 0), in cnic_start_bnx2x_hw()
5143 USTORM_ISCSI_GLOBAL_BUF_PHYS_ADDR_OFFSET(pfid), in cnic_start_bnx2x_hw()
5146 USTORM_ISCSI_GLOBAL_BUF_PHYS_ADDR_OFFSET(pfid) + 4, in cnic_start_bnx2x_hw()
5150 TSTORM_ISCSI_TCP_LOCAL_ADV_WND_OFFSET(pfid), DEF_RCV_BUF); in cnic_start_bnx2x_hw()
5404 CSTORM_ISCSI_EQ_CONS_OFFSET(bp->pfid, 0), 0); in cnic_stop_bnx2x_hw()