Home
last modified time | relevance | path

Searched refs:t3_write_reg (Results 1 – 7 of 7) sorted by relevance

/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb3/
Dmc5.c95 t3_write_reg(adapter, A_MC5_DB_DBGI_REQ_CMD, cmd); in mc5_cmd_write()
103 t3_write_reg(adapter, A_MC5_DB_DBGI_REQ_ADDR0, v1); in dbgi_wr_addr3()
104 t3_write_reg(adapter, A_MC5_DB_DBGI_REQ_ADDR1, v2); in dbgi_wr_addr3()
105 t3_write_reg(adapter, A_MC5_DB_DBGI_REQ_ADDR2, v3); in dbgi_wr_addr3()
111 t3_write_reg(adapter, A_MC5_DB_DBGI_REQ_DATA0, v1); in dbgi_wr_data3()
112 t3_write_reg(adapter, A_MC5_DB_DBGI_REQ_DATA1, v2); in dbgi_wr_data3()
113 t3_write_reg(adapter, A_MC5_DB_DBGI_REQ_DATA2, v3); in dbgi_wr_data3()
131 t3_write_reg(adapter, A_MC5_DB_DBGI_REQ_ADDR0, addr_lo); in mc5_write()
169 t3_write_reg(adap, A_MC5_DB_DBGI_REQ_DATA0, in init_mask_data_array()
184 t3_write_reg(adap, A_MC5_DB_RSP_LATENCY, in init_idt52100()
[all …]
Dt3_hw.c88 t3_write_reg(adapter, p->reg_addr + offset, p->val); in t3_write_regs()
108 t3_write_reg(adapter, addr, v | val); in t3_set_reg_field()
129 t3_write_reg(adap, addr_reg, start_idx); in t3_read_indirect()
166 t3_write_reg(adap, mc7->offset + A_MC7_BD_ADDR, start); in t3_mc7_bd_read()
167 t3_write_reg(adap, mc7->offset + A_MC7_BD_OP, 0); in t3_mc7_bd_read()
201 t3_write_reg(adap, A_MI1_CFG, val); in mi1_init()
219 t3_write_reg(adapter, A_MI1_ADDR, addr); in t3_mi1_read()
220 t3_write_reg(adapter, A_MI1_OP, V_MDI_OP(2)); in t3_mi1_read()
238 t3_write_reg(adapter, A_MI1_ADDR, addr); in t3_mi1_write()
239 t3_write_reg(adapter, A_MI1_DATA, val); in t3_mi1_write()
[all …]
Dxgmac.c57 t3_write_reg(adap, ctrl, adap->params.vpd.xauicfg[macidx(mac)] | in xaui_serdes_reset()
102 t3_write_reg(adap, A_XGM_RESET_CTRL + oft, F_MAC_RESET_); in t3_mac_reset()
139 t3_write_reg(adap, A_XGM_RESET_CTRL + oft, val); in t3_mac_reset()
167 t3_write_reg(adap, A_XGM_RESET_CTRL + oft, F_MAC_RESET_); in t3b2_mac_reset()
171 t3_write_reg(adap, A_TP_PIO_ADDR, A_TP_TX_DROP_CFG_CH0 + idx); in t3b2_mac_reset()
177 t3_write_reg(adap, A_TP_PIO_ADDR, A_TP_TX_DROP_CFG_CH0 + idx); in t3b2_mac_reset()
178 t3_write_reg(adap, A_TP_PIO_DATA, 0xc0000011); in t3b2_mac_reset()
189 t3_write_reg(adap, A_XGM_RESET_CTRL + oft, 0); in t3b2_mac_reset()
199 t3_write_reg(adap, A_XGM_RESET_CTRL + oft, val); in t3b2_mac_reset()
205 t3_write_reg(adap, A_XGM_RX_CFG + oft, in t3b2_mac_reset()
[all …]
Dsge.c195 t3_write_reg(adapter, A_SG_RSPQ_CREDIT_RETURN, in refill_rspq()
485 t3_write_reg(adap, A_SG_KDOORBELL, V_EGRCNTX(q->cntxt_id)); in ring_fl_db()
1013 t3_write_reg(adap, A_SG_KDOORBELL, in check_ring_tx_db()
1018 t3_write_reg(adap, A_SG_KDOORBELL, in check_ring_tx_db()
1461 t3_write_reg(adap, A_SG_KDOORBELL, in ctrl_xmit()
1505 t3_write_reg(qs->adap, A_SG_KDOORBELL, in restart_ctrlq()
1730 t3_write_reg(adap, A_SG_KDOORBELL, in restart_offloadq()
2192 t3_write_reg(adap, A_SG_KDOORBELL, F_SELEGRCNTX | in check_ring_db()
2203 t3_write_reg(adap, A_SG_KDOORBELL, F_SELEGRCNTX | in check_ring_db()
2431 t3_write_reg(adap, A_SG_GTS, V_RSPQ(qs->rspq.cntxt_id) | in napi_rx_handler()
[all …]
Dcxgb3_main.c183 t3_write_reg(adapter, A_XGM_RX_CTRL + pi->mac.offset, 0); in enable_tx_fifo_drain()
184 t3_write_reg(adapter, A_XGM_TX_CTRL + pi->mac.offset, F_TXEN); in enable_tx_fifo_drain()
185 t3_write_reg(adapter, A_XGM_RX_CTRL + pi->mac.offset, F_RXEN); in enable_tx_fifo_drain()
214 t3_write_reg(adap, in t3_os_link_fault()
268 t3_write_reg(adapter, in t3_os_link_changed()
600 t3_write_reg(adap, A_SG_KDOORBELL, F_SELEGRCNTX | V_EGRCNTX(qs->txq[j].cntxt_id)); in ring_dbs()
806 t3_write_reg(adap, A_TP_TM_PIO_ADDR, addr); in tm_attr_show()
932 t3_write_reg(adapter, A_TP_MTU_PORT_TABLE, mtus); in init_port_mtus()
1237 t3_write_reg(adap, A_ULPRX_TDDP_PSZ, V_HPZ0(PAGE_SHIFT - 12)); in cxgb_up()
1287 t3_write_reg(adap, A_TP_INT_CAUSE, in cxgb_up()
[all …]
Dadapter.h279 static inline void t3_write_reg(struct adapter *adapter, u32 reg_addr, u32 val) in t3_write_reg() function
Dcxgb3_offload.c236 t3_write_reg(adapter, A_TP_PARA_REG2, val); in cxgb_ulp_iscsi_ctl()
249 t3_write_reg(adapter, A_ULPRX_ISCSI_TAGMASK, uiip->tagmask); in cxgb_ulp_iscsi_ctl()
259 t3_write_reg(adapter, A_ULPRX_ISCSI_PSZ, val); in cxgb_ulp_iscsi_ctl()