Searched refs:bitfield_extract (Results 1 – 10 of 10) sorted by relevance
/u-boot/drivers/clk/rockchip/ |
A D | clk_rv1108.c | 200 div = bitfield_extract(val, CLK_SARADC_DIV_CON_SHIFT, in rv1108_saradc_get_clk() 225 div = bitfield_extract(val, ACLK_VIO1_CLK_DIV_SHIFT, in rv1108_aclk_vio1_get_clk() 251 div = bitfield_extract(val, ACLK_VIO0_CLK_DIV_SHIFT, in rv1108_aclk_vio0_get_clk() 286 div = bitfield_extract(val, DCLK_VOP_CLK_DIV_SHIFT, in rv1108_dclk_vop_get_clk() 315 div = bitfield_extract(val, ACLK_BUS_DIV_CON_SHIFT, in rv1108_aclk_bus_get_clk() 343 div = bitfield_extract(val, ACLK_PERI_DIV_CON_SHIFT, in rv1108_aclk_peri_get_clk() 355 div = bitfield_extract(val, HCLK_PERI_DIV_CON_SHIFT, in rv1108_hclk_peri_get_clk() 367 div = bitfield_extract(val, PCLK_PERI_DIV_CON_SHIFT, in rv1108_pclk_peri_get_clk() 426 div = bitfield_extract(con, CLK_I2C0_DIV_CON_SHIFT, in rv1108_i2c_get_clk() 431 div = bitfield_extract(con, CLK_I2C1_DIV_CON_SHIFT, in rv1108_i2c_get_clk() [all …]
|
A D | clk_rk3128.c | 400 div = bitfield_extract(val, SARADC_DIV_CON_SHIFT, in rk3128_saradc_get_clk()
|
A D | clk_rk3368.c | 437 div = bitfield_extract(val, CLK_SARADC_DIV_CON_SHIFT, in rk3368_saradc_get_clk()
|
A D | clk_rk3328.c | 539 div = bitfield_extract(val, CLK_SARADC_DIV_CON_SHIFT, in rk3328_saradc_get_clk()
|
A D | clk_rk3399.c | 649 div = bitfield_extract(val, spiclk->div_shift, in rk3399_spi_get_clk() 893 div = bitfield_extract(val, CLK_SARADC_DIV_CON_SHIFT, in rk3399_saradc_get_clk()
|
A D | clk_rk3288.c | 730 div = bitfield_extract(val, CLK_SARADC_DIV_CON_SHIFT, in rockchip_saradc_get_clk()
|
/u-boot/include/ |
A D | bitfield.h | 49 static inline uint bitfield_extract(uint reg_val, uint shift, uint width) in bitfield_extract() function
|
/u-boot/arch/arm/cpu/armv7/bcm281xx/ |
A D | clk-core.c | 219 c->sel = bitfield_extract(reg, cd->sel.shift, cd->sel.width); in peri_clk_get_rate() 230 div = bitfield_extract(reg, cd->div.shift, cd->div.width); in peri_clk_get_rate()
|
/u-boot/arch/arm/cpu/armv7/bcm235xx/ |
A D | clk-core.c | 219 c->sel = bitfield_extract(reg, cd->sel.shift, cd->sel.width); in peri_clk_get_rate() 230 div = bitfield_extract(reg, cd->div.shift, cd->div.width); in peri_clk_get_rate()
|
/u-boot/drivers/net/phy/ |
A D | mv88e61xx.c | 296 return bitfield_extract(res, 0, 16); in mv88e61xx_reg_read() 697 val = bitfield_extract(val, PORT_REG_STATUS_SPEED_SHIFT, in mv88e61xx_read_port_config()
|
Completed in 34 milliseconds