Home
last modified time | relevance | path

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

/freebsd/sys/dev/cxgbe/common/
H A Dt4_hw.c137 t4_write_reg(adapter, addr, v | val); in t4_set_reg_field()
158 t4_write_reg(adap, addr_reg, start_idx); in t4_read_indirect()
181 t4_write_reg(adap, addr_reg, start_idx++); in t4_write_indirect()
182 t4_write_reg(adap, data_reg, *vals++); in t4_write_indirect()
209 t4_write_reg(adap, A_PCIE_CFG_SPACE_REQ, req); in t4_hw_pci_read_cfg4()
218 t4_write_reg(adap, A_PCIE_CFG_SPACE_REQ, 0); in t4_hw_pci_read_cfg4()
474 t4_write_reg(adap, ctl_reg, F_MBMSGVALID | V_MBOWNER(X_MBOWNER_FW)); in t4_wr_mbox_meat_timeout()
510 t4_write_reg(adap, ctl_reg, in t4_wr_mbox_meat_timeout()
520 t4_write_reg(adap, ctl_reg, V_MBOWNER(X_MBOWNER_NONE)); in t4_wr_mbox_meat_timeout()
629 t4_write_reg(adap, mc_bist_cmd_addr_reg, addr & ~0x3fU); in t4_mc_read()
[all …]
/freebsd/sys/dev/cxgbe/
H A Dt4_netmap.c385 t4_write_reg(sc, sc->sge_gts_reg, in alloc_nm_rxq_hwq()
757 t4_write_reg(sc, sc->sge_kdoorbell_reg, in cxgbe_netmap_on()
959 t4_write_reg(sc, sc->sge_kdoorbell_reg, in ring_nm_txq_db()
1194 t4_write_reg(sc, sc->sge_kdoorbell_reg, in cxgbe_netmap_rxsync()
1238 t4_write_reg(sc, sc->sge_kdoorbell_reg, in cxgbe_netmap_rxsync()
1251 t4_write_reg(sc, sc->sge_kdoorbell_reg, in cxgbe_netmap_rxsync()
1429 t4_write_reg(sc, sc->sge_kdoorbell_reg, in service_nm_rxq()
1433 t4_write_reg(sc, sc->sge_gts_reg, in service_nm_rxq()
1445 t4_write_reg(sc, sc->sge_kdoorbell_reg, in service_nm_rxq()
1450 t4_write_reg(sc, sc->sge_gts_reg, V_CIDXINC(ndesc) | in service_nm_rxq()
H A Dt4_sge.c776 t4_write_reg(sc, A_SGE_HOST_PAGE_SIZE, v); in t4_tweak_chip_settings()
778 t4_write_reg(sc, A_SGE_FL_BUFFER_SIZE0, 4096); in t4_tweak_chip_settings()
779 t4_write_reg(sc, A_SGE_FL_BUFFER_SIZE1, 65536); in t4_tweak_chip_settings()
783 t4_write_reg(sc, reg, sw_buf_sizes[i]); in t4_tweak_chip_settings()
786 t4_write_reg(sc, reg, sw_buf_sizes[i] - CL_METADATA_SIZE); in t4_tweak_chip_settings()
792 t4_write_reg(sc, A_SGE_INGRESS_RX_THRESHOLD, v); in t4_tweak_chip_settings()
814 t4_write_reg(sc, A_SGE_TIMER_VALUE_0_AND_1, v); in t4_tweak_chip_settings()
817 t4_write_reg(sc, A_SGE_TIMER_VALUE_2_AND_3, v); in t4_tweak_chip_settings()
820 t4_write_reg(sc, A_SGE_TIMER_VALUE_4_AND_5, v); in t4_tweak_chip_settings()
848 t4_write_reg(sc, A_ULP_RX_TDDP_PSZ, v); in t4_tweak_chip_settings()
[all …]
H A Dt4_vf.c829 t4_write_reg(sc, VF_MPS_REG(reg), 0); in t4vf_ioctl()
868 t4_write_reg(sc, edata->addr, (uint32_t) edata->val); in t4vf_ioctl()
H A Dt4_main.c4070 t4_write_reg(sc, A_SGE_STAT_CFG, in t4_map_bar_2()
4146 t4_write_reg(sc, reg, (mw->mw_base + bar0) | V_BIR(0) | in setup_memwin()
4187 t4_write_reg(sc, reg, val); in position_memwin()
4227 t4_write_reg(sc, mw->mw_base + addr - in rw_via_memwin()
6050 t4_write_reg(sc, A_TP_SYNC_TIME_HI, tstamp >> 1); in ktls_tick()
6051 t4_write_reg(sc, A_TP_SYNC_TIME_LO, tstamp << 31); in ktls_tick()
7597 t4_write_reg(sc, A_PL_INDIR_CMD, V_PL_AUTOINC(1) | in read_vf_stat()
7641 t4_write_reg(sc, A_PL_INDIR_CMD, V_PL_AUTOINC(1) | V_PL_VFID(vin) | in t4_clr_vi_stats()
7645 t4_write_reg(sc, A_PL_INDIR_DATA, 0); in t4_clr_vi_stats()
11013 t4_write_reg(sc, A_MPS_CLS_TCAM_DATA2_CTL, ctl); in sysctl_mps_tcam_t6()
[all …]
H A Dadapter.h1282 t4_write_reg(struct adapter *sc, uint32_t reg, uint32_t val) in t4_write_reg() function
/freebsd/sys/dev/cxgbe/cudbg/
H A Dcudbg_lib.c2970 t4_write_reg(padap, A_CIM_HOST_ACC_CTRL, addr); in cim_ha_rreg()
3545 t4_write_reg(padap, A_MPS_CLS_TCAM_DATA2_CTL, ctl); in collect_mps_tcam()
3573 t4_write_reg(padap, A_MPS_CLS_TCAM_DATA2_CTL, ctl); in collect_mps_tcam()
3719 t4_write_reg(padap, A_LE_DB_DBGI_REQ_DATA + (i << 2), 0); in cudbg_read_tid()
3723 t4_write_reg(padap, A_LE_DB_DBGI_REQ_TCAM_CMD, val); in cudbg_read_tid()
3729 t4_write_reg(padap, A_LE_DB_DBGI_CONFIG, val); in cudbg_read_tid()
H A Dcudbg_wtp.c263 t4_write_reg(padap, A_SGE_DEBUG_INDEX, (u32)i); in read_sge_debug_data()