Searched refs:get_reg (Results 1 – 4 of 4) sorted by relevance
/u-boot/drivers/net/ |
A D | cs8900.c | 45 #define get_reg_init_bus(r,d) get_reg((r),(d)) 69 static u16 get_reg(struct eth_device *dev, int regno) in get_reg() function 90 put_reg(dev, PP_SelfCTL, get_reg(dev, PP_SelfCTL) | PP_SelfCTL_Reset); in cs8900_reset() 125 if ((get_reg(dev, PP_SelfSTAT) & in cs8900_get_enetaddr() 133 Addr = get_reg(dev, PP_IA + i * 2); in cs8900_get_enetaddr() 182 status = get_reg(dev, PP_RER); in cs8900_recv() 216 if ((get_reg(dev, PP_BusSTAT) & PP_BusSTAT_TxRDY) == 0) { in cs8900_send() 234 while ((s = get_reg(dev, PP_TER) & ~0x1F) == 0) { in cs8900_send() 249 while (get_reg(dev, PP_SelfSTAT) & SI_BUSY) in cs8900_e2prom_ready() 263 *value = get_reg(dev, PP_EEData); in cs8900_e2prom_read()
|
/u-boot/drivers/video/ |
A D | logicore_dp_tx.c | 221 static u32 get_reg(struct udevice *dev, u32 reg) in get_reg() function 315 status = get_reg(dev, REG_INTERRUPT_SIG_STATE); in aux_wait_ready() 340 int status = get_reg(dev, REG_REPLY_STATUS); in aux_wait_reply() 385 status = get_reg(dev, REG_REPLY_STATUS); in aux_request_send() 419 status = get_reg(dev, REG_AUX_REPLY_CODE); in aux_request_send() 438 status = get_reg(dev, REG_REPLY_DATA_COUNT); in aux_request_send() 644 phy_config = get_reg(dev, REG_PHY_CONFIG); in initialize() 656 val = get_reg(dev, REG_AUX_CLK_DIVIDER); in initialize() 820 val = get_reg(dev, REG_PHY_CONFIG); in reset_dp_phy() 939 val = get_reg(dev, REG_ENABLE); in set_clk_speed() [all …]
|
/u-boot/drivers/pinctrl/ |
A D | pinctrl-stmfx.c | 59 #define get_reg(offset) ((offset) / NR_GPIOS_PER_REG) macro 79 u8 reg = reg_base + get_reg(offset); in stmfx_read_reg() 93 u8 reg = reg_base + get_reg(offset); in stmfx_write_reg() 137 return stmfx_write(dev, reg + get_reg(offset), mask); in stmfx_gpio_set()
|
/u-boot/drivers/phy/ |
A D | ti-pipe3-phy.c | 429 static void *get_reg(struct udevice *dev, const char *name) in get_reg() function 499 pipe3->power_reg = get_reg(dev, "syscon-phy-power"); in pipe3_phy_probe() 509 pipe3->pll_reset_reg = get_reg(dev, "syscon-pllreset"); in pipe3_phy_probe()
|
Completed in 11 milliseconds