Home
last modified time | relevance | path

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

/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/host/lib/usrp/x300/
H A Dx300_impl.cpp267 mb.zpu_ctrl = mb.conn_mgr->get_ctrl_iface(); in setup_mb()
270 if (not try_to_claim(mb.zpu_ctrl)) { in setup_mb()
280 x300_load_fw(mb.zpu_ctrl, x300_fw_image); in setup_mb()
289 mb.loaded_fpga_image = get_fpga_option(mb.zpu_ctrl); in setup_mb()
294 mb.zpu_i2c = i2c_core_100_wb32::make(mb.zpu_ctrl, I2C1_BASE); in setup_mb()
302 x300_mb_eeprom_iface::make(mb.zpu_ctrl, mb.zpu_i2c); in setup_mb()
425 mb.zpu_ctrl->poke32(SR_ADDR(SET0_BASE, ZPU_SR_XB_LOCAL), mb.device_id); in setup_mb()
430 mb.zpu_ctrl->peek32(0); in setup_mb()
456 release(mb.zpu_ctrl); in ~x300_impl()
469 auto iface = members.zpu_ctrl; in check_fw_compat()
[all …]
H A Dx300_pcie_mgr.cpp169 wb_iface::sptr zpu_ctrl; in find() local
176 zpu_ctrl = get_pcie_zpu_iface_registry()[resource_d].lock(); in find()
177 if (!zpu_ctrl) { in find()
183 if (!zpu_ctrl) { in find()
184 zpu_ctrl = x300_make_ctrl_iface_pcie( in find()
192 new_addr["fpga"] = get_fpga_option(zpu_ctrl); in find()
196 i2c_core_100_wb32::make(zpu_ctrl, I2C1_BASE); in find()
198 x300_mb_eeprom_iface::make(zpu_ctrl, zpu_i2c); in find()
200 if (mb_eeprom.size() == 0 or claim_status(zpu_ctrl) == CLAIMED_BY_OTHER) { in find()
286 get_pcie_zpu_iface_registry()[_resource] = std::weak_ptr<wb_iface>(zpu_ctrl); in get_ctrl_iface()
[all …]
H A Dx300_mboard_type.cpp146 std::string uhd::usrp::x300::get_fpga_option(uhd::wb_iface::sptr zpu_ctrl) in get_fpga_option() argument
151 uint32_t sfp0_type = zpu_ctrl->peek32(SR_ADDR(SET0_BASE, ZPU_RB_SFP0_TYPE)); in get_fpga_option()
152 uint32_t sfp1_type = zpu_ctrl->peek32(SR_ADDR(SET0_BASE, ZPU_RB_SFP1_TYPE)); in get_fpga_option()
H A Dx300_mb_controller.hpp40 uhd::wb_iface::sptr zpu_ctrl,
93 const size_t tk_idx, uhd::wb_iface::sptr zpu_ctrl, const double tick_rate) in x300_timekeeper() argument
94 : _tk_idx(tk_idx), _zpu_ctrl(zpu_ctrl) in x300_timekeeper()
H A Dx300_eth_mgr.cpp138 wb_iface::sptr zpu_ctrl = x300_make_ctrl_iface_enet( in find() local
144 new_addr["fpga"] = get_fpga_option(zpu_ctrl); in find()
147 i2c_core_100_wb32::make(zpu_ctrl, I2C1_BASE); in find()
149 x300_mb_eeprom_iface::make(zpu_ctrl, zpu_i2c); in find()
151 if (mb_eeprom.size() == 0 or claim_status(zpu_ctrl) == CLAIMED_BY_OTHER) { in find()
532 wb_iface::sptr zpu_ctrl = x300_make_ctrl_iface_enet( in discover_eth() local
539 zpu_ctrl->peek32(0); in discover_eth()
H A Dx300_mboard_type.hpp43 std::string get_fpga_option(uhd::wb_iface::sptr zpu_ctrl);
H A Dx300_impl.hpp82 uhd::wb_iface::sptr zpu_ctrl; member
H A Dx300_mb_controller.cpp58 uhd::wb_iface::sptr zpu_ctrl, in x300_mb_controller() argument
65 , _zpu_ctrl(zpu_ctrl) in x300_mb_controller()