| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmx-helper-xaui.c | 240 …if (CVMX_WAIT_FOR_FIELD64(CVMX_PCSXX_CONTROL1_REG(interface), cvmx_pcsxx_control1_reg_t, reset, ==… in __cvmx_helper_xaui_link_init() 243 …if (CVMX_WAIT_FOR_FIELD64(CVMX_PCSXX_10GBX_STATUS_REG(interface), cvmx_pcsxx_10gbx_status_reg_t, a… in __cvmx_helper_xaui_link_init() 246 …if (CVMX_WAIT_FOR_FIELD64(CVMX_GMXX_RX_XAUI_CTL(interface), cvmx_gmxx_rx_xaui_ctl_t, status, ==, 0… in __cvmx_helper_xaui_link_init() 252 …if (CVMX_WAIT_FOR_FIELD64(CVMX_GMXX_PRTX_CFG(0, interface), cvmx_gmxx_prtx_cfg_t, rx_idle, ==, 1, … in __cvmx_helper_xaui_link_init() 255 …if (CVMX_WAIT_FOR_FIELD64(CVMX_GMXX_PRTX_CFG(0, interface), cvmx_gmxx_prtx_cfg_t, tx_idle, ==, 1, … in __cvmx_helper_xaui_link_init() 269 …if (CVMX_WAIT_FOR_FIELD64(CVMX_PCSXX_STATUS1_REG(interface), cvmx_pcsxx_status1_reg_t, rcv_lnk, ==… in __cvmx_helper_xaui_link_init() 271 …if (CVMX_WAIT_FOR_FIELD64(CVMX_PCSXX_STATUS2_REG(interface), cvmx_pcsxx_status2_reg_t, xmtflt, ==,… in __cvmx_helper_xaui_link_init() 273 …if (CVMX_WAIT_FOR_FIELD64(CVMX_PCSXX_STATUS2_REG(interface), cvmx_pcsxx_status2_reg_t, rcvflt, ==,… in __cvmx_helper_xaui_link_init()
|
| H A D | cvmx-mdio.h | 465 if (CVMX_WAIT_FOR_FIELD64(CVMX_SMIX_WR_DAT(bus_id), in cvmx_mdio_write() 508 if (CVMX_WAIT_FOR_FIELD64(CVMX_SMIX_WR_DAT(bus_id), in cvmx_mdio_45_read() 572 if (CVMX_WAIT_FOR_FIELD64(CVMX_SMIX_WR_DAT(bus_id), in cvmx_mdio_45_write() 586 if (CVMX_WAIT_FOR_FIELD64(CVMX_SMIX_WR_DAT(bus_id), in cvmx_mdio_45_write()
|
| H A D | cvmx-srio.c | 284 …if (CVMX_WAIT_FOR_FIELD64(CVMX_SRIOX_MAINT_OP(srio_port), cvmx_sriox_maint_op_t, pending, ==, 0, C… in __cvmx_srio_local_read32() 294 …if (CVMX_WAIT_FOR_FIELD64(CVMX_SRIOX_MAINT_OP(srio_port), cvmx_sriox_maint_op_t, pending, ==, 0, C… in __cvmx_srio_local_read32() 309 …if (CVMX_WAIT_FOR_FIELD64(CVMX_SRIOX_MAINT_RD_DATA(srio_port), cvmx_sriox_maint_rd_data_t, valid, … in __cvmx_srio_local_read32() 340 …if (CVMX_WAIT_FOR_FIELD64(CVMX_SRIOX_MAINT_OP(srio_port), cvmx_sriox_maint_op_t, pending, ==, 0, C… in __cvmx_srio_local_write32() 350 …if (CVMX_WAIT_FOR_FIELD64(CVMX_SRIOX_MAINT_OP(srio_port), cvmx_sriox_maint_op_t, pending, ==, 0, C… in __cvmx_srio_local_write32() 518 …if (CVMX_WAIT_FOR_FIELD64(CVMX_SRIOX_STATUS_REG(srio_port), cvmx_sriox_status_reg_t, access, ==, 1… in cvmx_srio_initialize() 532 …if (CVMX_WAIT_FOR_FIELD64(CVMX_SRIOX_STATUS_REG(srio_port), cvmx_sriox_status_reg_t, access, ==, 1… in cvmx_srio_initialize() 546 …if (CVMX_WAIT_FOR_FIELD64(CVMX_SRIOX_STATUS_REG(srio_port), cvmx_sriox_status_reg_t, access, ==, 1… in cvmx_srio_initialize() 1231 …if (CVMX_WAIT_FOR_FIELD64(CVMX_SRIOX_TX_BELL(srio_port), cvmx_sriox_tx_bell_t, pending, ==, 0, CVM… in cvmx_srio_send_doorbell()
|
| H A D | cvmx-helper-sgmii.c | 237 …if (CVMX_WAIT_FOR_FIELD64(CVMX_PCSX_MRX_CONTROL_REG(index, interface), cvmx_pcsx_mrx_control_reg_t… in __cvmx_helper_sgmii_hardware_init_link() 254 …CVMX_WAIT_FOR_FIELD64(CVMX_PCSX_MRX_STATUS_REG(index, interface), cvmx_pcsx_mrx_status_reg_t, an_c… in __cvmx_helper_sgmii_hardware_init_link() 292 …if (CVMX_WAIT_FOR_FIELD64(CVMX_GMXX_PRTX_CFG(index, interface), cvmx_gmxx_prtx_cfg_t, rx_idle, ==,… in __cvmx_helper_sgmii_hardware_init_link_speed() 293 …CVMX_WAIT_FOR_FIELD64(CVMX_GMXX_PRTX_CFG(index, interface), cvmx_gmxx_prtx_cfg_t, tx_idle, ==, 1, … in __cvmx_helper_sgmii_hardware_init_link_speed()
|
| H A D | cvmx-utils.h | 114 #define CVMX_WAIT_FOR_FIELD64(address, type, field, op, value, timeout_usec)\ macro
|
| H A D | cvmx-helper-rgmii.c | 382 CVMX_WAIT_FOR_FIELD64(CVMX_DBG_DATA, cvmx_dbg_data_t, data&7, ==, 0, 10000); in __cvmx_helper_rgmii_link_set() 383 CVMX_WAIT_FOR_FIELD64(CVMX_DBG_DATA, cvmx_dbg_data_t, data&0xf, ==, 0, 10000); in __cvmx_helper_rgmii_link_set()
|
| H A D | cvmx-helper.c | 1491 … if (CVMX_WAIT_FOR_FIELD64(CVMX_DBG_DATA, cvmx_dbg_data_t, data&7, ==, 0, timeout*1000000)) in cvmx_helper_shutdown_packet_io_global() 1496 … if (CVMX_WAIT_FOR_FIELD64(CVMX_DBG_DATA, cvmx_dbg_data_t, data&0xf, ==, 0, timeout*1000000)) in cvmx_helper_shutdown_packet_io_global() 1521 …if (CVMX_WAIT_FOR_FIELD64(CVMX_GMXX_PRTX_CFG(index, interface), cvmx_gmxx_prtx_cfg_t, rx_idle, ==,… in cvmx_helper_shutdown_packet_io_global() 1526 …if (CVMX_WAIT_FOR_FIELD64(CVMX_GMXX_PRTX_CFG(index, interface), cvmx_gmxx_prtx_cfg_t, tx_idle, ==,… in cvmx_helper_shutdown_packet_io_global() 1732 … if (CVMX_WAIT_FOR_FIELD64(CVMX_IPD_CTL_STATUS, cvmx_ipd_ctl_status_t, rst_done, ==, 0, 1000)) in cvmx_helper_shutdown_packet_io_global()
|
| H A D | cvmx-mgmt-port.c | 228 if (CVMX_WAIT_FOR_FIELD64(CVMX_MIXX_CTL(port), cvmx_mixx_ctl_t, reset, ==, 0, 300000000)) in cvmx_mgmt_port_initialize() 942 …if (CVMX_WAIT_FOR_FIELD64(CVMX_AGL_GMX_PRTX_CFG(port), cvmx_agl_gmx_prtx_cfg_t, rx_idle, ==, 1, on… in cvmx_mgmt_port_link_set() 943 …|| CVMX_WAIT_FOR_FIELD64(CVMX_AGL_GMX_PRTX_CFG(port), cvmx_agl_gmx_prtx_cfg_t, tx_idle, ==, 1, one… in cvmx_mgmt_port_link_set()
|
| H A D | cvmx-pcie.c | 615 if (CVMX_WAIT_FOR_FIELD64(CVMX_PESCX_CTL_STATUS2(pcie_port), in __cvmx_pcie_rc_initialize_gen1() 1051 …if (CVMX_WAIT_FOR_FIELD64(CVMX_MIO_RST_CTLX(pcie_port), cvmx_mio_rst_ctlx_t, rst_done, ==, 1, 1000… in __cvmx_pcie_rc_initialize_gen2() 1223 …if (CVMX_WAIT_FOR_FIELD64(CVMX_PESCX_CPL_LUT_VALID(pcie_port), cvmx_pescx_cpl_lut_valid_t, tag, ==… in cvmx_pcie_rc_shutdown() 1228 …if (CVMX_WAIT_FOR_FIELD64(CVMX_PEMX_CPL_LUT_VALID(pcie_port), cvmx_pemx_cpl_lut_valid_t, tag, ==, … in cvmx_pcie_rc_shutdown()
|
| H A D | cvmx-nand.c | 1296 …if (CVMX_WAIT_FOR_FIELD64(CVMX_MIO_NDF_DMA_CFG, cvmx_mio_ndf_dma_cfg_t, en, ==, 0, NAND_TIMEOUT_US… in __cvmx_nand_low_level_read() 1439 …if (CVMX_WAIT_FOR_FIELD64(CVMX_MIO_NDF_DMA_CFG, cvmx_mio_ndf_dma_cfg_t, en, ==, 0, NAND_TIMEOUT_US… in cvmx_nand_page_write() 1487 …if (CVMX_WAIT_FOR_FIELD64(CVMX_NDF_ST_REG, cvmx_ndf_st_reg_t, exe_idle, ==, 1, NAND_TIMEOUT_USECS_… in cvmx_nand_block_erase()
|