Home
last modified time | relevance | path

Searched refs:t3_read_reg (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dxgmac.c61 t3_read_reg(adap, ctrl); in xaui_serdes_reset()
269 u32 v = t3_read_reg(mac->adapter, reg); in t3_mac_disable_exact_filters()
280 u32 v = t3_read_reg(mac->adapter, reg); in t3_mac_enable_exact_filters()
367 v = t3_read_reg(adap, A_XGM_RX_CFG + mac->offset); in t3_mac_set_mtu()
452 val = t3_read_reg(adap, A_XGM_RXFIFO_CFG + oft); in t3_mac_set_speed_duplex_fc()
456 G_RXMAXPKTSIZE(t3_read_reg(adap, in t3_mac_set_speed_duplex_fc()
489 mac->tx_xcnt = (G_TXSPI4SOPCNT(t3_read_reg(adap, in t3_mac_enable()
494 mac->rx_xcnt = (G_TXSPI4SOPCNT(t3_read_reg(adap, in t3_mac_enable()
544 tx_xcnt = (G_TXSPI4SOPCNT(t3_read_reg(adap, in t3b2_mac_watchdog_task()
550 tx_tcnt = (G_TXDROPCNTCH0RCVD(t3_read_reg(adap, in t3b2_mac_watchdog_task()
[all …]
H A Dt3_hw.c60 u32 val = t3_read_reg(adapter, reg); in t3_wait_op_done_val()
110 t3_read_reg(adapter, addr); /* flush */ in t3_set_reg_field()
131 *vals++ = t3_read_reg(adap, data_reg); in t3_read_indirect()
171 val = t3_read_reg(adap, in t3_mc7_bd_read()
178 val64 = t3_read_reg(adap, in t3_mc7_bd_read()
224 ret = t3_read_reg(adapter, A_MI1_DATA); in t3_mi1_read()
1251 link_fault = t3_read_reg(adapter, in t3_link_fault()
1761 addr = t3_read_reg(adapter, in mc7_intr_handler()
2961 t3_read_reg(adapter, A_TP_PIO_DATA); in t3_config_trace_filter()
3513 t3_read_reg(adapter, A_XGM_PORT_CFG); in early_hw_init()
[all …]
H A Dcxgb3_offload.c218 val = t3_read_reg(adapter, A_ULPRX_ISCSI_PSZ); in cxgb_ulp_iscsi_ctl()
222 val = t3_read_reg(adapter, A_TP_PARA_REG7); in cxgb_ulp_iscsi_ctl()
231 t3_read_reg(adapter, A_PM1_TX_CFG) >> 17); in cxgb_ulp_iscsi_ctl()
235 val = t3_read_reg(adapter, A_TP_PARA_REG2); in cxgb_ulp_iscsi_ctl()
249 ((t3_read_reg(adapter, A_TP_PARA_REG2)) >> in cxgb_ulp_iscsi_ctl()
287 t3_read_reg(adapter, A_ULPTX_TPT_LLIMIT); in cxgb_rdma_ctl()
288 rdma->tpt_top = t3_read_reg(adapter, A_ULPTX_TPT_ULIMIT); in cxgb_rdma_ctl()
290 t3_read_reg(adapter, A_ULPTX_PBL_LLIMIT); in cxgb_rdma_ctl()
291 rdma->pbl_top = t3_read_reg(adapter, A_ULPTX_PBL_ULIMIT); in cxgb_rdma_ctl()
292 rdma->rqt_base = t3_read_reg(adapter, A_ULPRX_RQ_LLIMIT); in cxgb_rdma_ctl()
[all …]
H A Dmc5.c135 unsigned int server_base = t3_read_reg(adap, A_MC5_DB_SERVER_INDEX); in init_mask_data_array()
322 cfg = t3_read_reg(adap, A_MC5_DB_CONFIG) & ~F_TMMODE; in t3_mc5_init()
370 u32 cause = t3_read_reg(adap, A_MC5_DB_INT_CAUSE); in t3_mc5_intr_handler()
411 u32 cfg = t3_read_reg(adapter, A_MC5_DB_CONFIG); in t3_mc5_prep()
H A Dael1002.c897 status = t3_read_reg(phy->adapter, in xaui_direct_get_link_status()
899 t3_read_reg(phy->adapter, in xaui_direct_get_link_status()
901 t3_read_reg(phy->adapter, in xaui_direct_get_link_status()
903 t3_read_reg(phy->adapter, in xaui_direct_get_link_status()
H A Dcxgb3_main.c215 t3_read_reg(adap, A_XGM_INT_STATUS + in t3_os_link_fault()
269 t3_read_reg(adapter, A_XGM_INT_STATUS + in t3_os_link_changed()
285 t3_read_reg(adapter, A_XGM_INT_STATUS + pi->mac.offset); in t3_os_link_changed()
293 t3_read_reg(adapter, A_XGM_INT_STATUS + pi->mac.offset); in t3_os_link_changed()
809 v = t3_read_reg(adap, A_TP_TM_PIO_DATA); in tm_attr_show()
1460 t3_read_reg(adapter, A_XGM_INT_STATUS + pi->mac.offset); in __cxgb_close()
1733 *p++ = t3_read_reg(ap, start); in reg_block_dump()
2673 t3_read_reg(adapter, A_XGM_INT_STATUS + p->mac.offset); in check_link_status()
2765 status = t3_read_reg(adapter, A_SG_INT_CAUSE); in t3_adap_check_task()
2846 t3_read_reg(adapter, A_XGM_INT_STATUS + p->mac.offset); in ext_intr_task()
[all …]
H A Dadapter.h270 static inline u32 t3_read_reg(struct adapter *adapter, u32 reg_addr) in t3_read_reg() function
H A Dsge.c2745 t3_read_reg(adap, A_PL_CLI); /* flush */ in t3_intr()
2775 map = t3_read_reg(adap, A_SG_DATA_INTR); in t3b_intr()
2810 map = t3_read_reg(adap, A_SG_DATA_INTR); in t3b_intr_napi()
2867 unsigned int v, status = t3_read_reg(adapter, A_SG_INT_CAUSE) & in t3_sge_err_intr_handler()
2881 v = t3_read_reg(adapter, A_SG_RSPQ_FL_STATUS); in t3_sge_err_intr_handler()
2978 status = t3_read_reg(adap, A_SG_RSPQ_FL_STATUS); in sge_timer_rx()