/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb3/ |
D | mc5.c | 95 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_DATA0, v1); in dbgi_wr_data3() 104 t3_write_reg(adapter, A_MC5_DB_DBGI_REQ_DATA1, v2); in dbgi_wr_data3() 105 t3_write_reg(adapter, A_MC5_DB_DBGI_REQ_DATA2, v3); in dbgi_wr_data3() 115 t3_write_reg(adapter, A_MC5_DB_DBGI_REQ_ADDR0, addr_lo); in mc5_write() 153 t3_write_reg(adap, A_MC5_DB_DBGI_REQ_DATA0, in init_mask_data_array() 168 t3_write_reg(adap, A_MC5_DB_RSP_LATENCY, in init_idt52100() 170 t3_write_reg(adap, A_MC5_DB_PART_ID_INDEX, 2); in init_idt52100() 176 t3_write_reg(adap, A_MC5_DB_POPEN_DATA_WR_CMD, IDT_CMD_WRITE); in init_idt52100() 177 t3_write_reg(adap, A_MC5_DB_POPEN_MASK_WR_CMD, IDT_CMD_WRITE); in init_idt52100() [all …]
|
D | t3_hw.c | 89 t3_write_reg(adapter, p->reg_addr + offset, p->val); in t3_write_regs() 109 t3_write_reg(adapter, addr, v | val); in t3_set_reg_field() 130 t3_write_reg(adap, addr_reg, start_idx); in t3_read_indirect() 167 t3_write_reg(adap, mc7->offset + A_MC7_BD_ADDR, start); in t3_mc7_bd_read() 168 t3_write_reg(adap, mc7->offset + A_MC7_BD_OP, 0); in t3_mc7_bd_read() 202 t3_write_reg(adap, A_MI1_CFG, val); in mi1_init() 220 t3_write_reg(adapter, A_MI1_ADDR, addr); in t3_mi1_read() 221 t3_write_reg(adapter, A_MI1_OP, V_MDI_OP(2)); in t3_mi1_read() 239 t3_write_reg(adapter, A_MI1_ADDR, addr); in t3_mi1_write() 240 t3_write_reg(adapter, A_MI1_DATA, val); in t3_mi1_write() [all …]
|
D | xgmac.c | 57 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 …]
|
D | sge.c | 197 t3_write_reg(adapter, A_SG_RSPQ_CREDIT_RETURN, in refill_rspq() 491 t3_write_reg(adap, A_SG_KDOORBELL, V_EGRCNTX(q->cntxt_id)); in ring_fl_db() 1056 t3_write_reg(adap, A_SG_KDOORBELL, in check_ring_tx_db() 1061 t3_write_reg(adap, A_SG_KDOORBELL, in check_ring_tx_db() 1514 t3_write_reg(adap, A_SG_KDOORBELL, in ctrl_xmit() 1559 t3_write_reg(qs->adap, A_SG_KDOORBELL, in restart_ctrlq() 1801 t3_write_reg(adap, A_SG_KDOORBELL, in restart_offloadq() 2267 t3_write_reg(adap, A_SG_KDOORBELL, F_SELEGRCNTX | in check_ring_db() 2278 t3_write_reg(adap, A_SG_KDOORBELL, F_SELEGRCNTX | in check_ring_db() 2503 t3_write_reg(adap, A_SG_GTS, V_RSPQ(qs->rspq.cntxt_id) | in napi_rx_handler() [all …]
|
D | cxgb3_main.c | 186 t3_write_reg(adapter, A_XGM_RX_CTRL + pi->mac.offset, 0); in enable_tx_fifo_drain() 187 t3_write_reg(adapter, A_XGM_TX_CTRL + pi->mac.offset, F_TXEN); in enable_tx_fifo_drain() 188 t3_write_reg(adapter, A_XGM_RX_CTRL + pi->mac.offset, F_RXEN); in enable_tx_fifo_drain() 217 t3_write_reg(adap, in t3_os_link_fault() 271 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() 808 t3_write_reg(adap, A_TP_TM_PIO_ADDR, addr); in tm_attr_show() 937 t3_write_reg(adapter, A_TP_MTU_PORT_TABLE, mtus); in init_port_mtus() 1243 t3_write_reg(adap, A_ULPRX_TDDP_PSZ, V_HPZ0(PAGE_SHIFT - 12)); in cxgb_up() 1293 t3_write_reg(adap, A_TP_INT_CAUSE, in cxgb_up() [all …]
|
D | adapter.h | 278 static inline void t3_write_reg(struct adapter *adapter, u32 reg_addr, u32 val) in t3_write_reg() function
|
D | cxgb3_offload.c | 241 t3_write_reg(adapter, A_TP_PARA_REG2, val); in cxgb_ulp_iscsi_ctl() 254 t3_write_reg(adapter, A_ULPRX_ISCSI_TAGMASK, uiip->tagmask); in cxgb_ulp_iscsi_ctl() 263 t3_write_reg(adapter, A_ULPRX_ISCSI_PSZ, val); in cxgb_ulp_iscsi_ctl()
|