Home
last modified time | relevance | path

Searched refs:bitfield_extract (Results 1 – 12 of 12) sorted by relevance

/openbmc/u-boot/drivers/clk/rockchip/
H A Dclk_rv1108.c194 div = bitfield_extract(val, CLK_SARADC_DIV_CON_SHIFT, in rv1108_saradc_get_clk()
219 div = bitfield_extract(val, ACLK_VIO1_CLK_DIV_SHIFT, in rv1108_aclk_vio1_get_clk()
245 div = bitfield_extract(val, ACLK_VIO0_CLK_DIV_SHIFT, in rv1108_aclk_vio0_get_clk()
280 div = bitfield_extract(val, DCLK_VOP_CLK_DIV_SHIFT, in rv1108_dclk_vop_get_clk()
309 div = bitfield_extract(val, ACLK_BUS_DIV_CON_SHIFT, in rv1108_aclk_bus_get_clk()
337 div = bitfield_extract(val, ACLK_PERI_DIV_CON_SHIFT, in rv1108_aclk_peri_get_clk()
349 div = bitfield_extract(val, HCLK_PERI_DIV_CON_SHIFT, in rv1108_hclk_peri_get_clk()
361 div = bitfield_extract(val, PCLK_PERI_DIV_CON_SHIFT, in rv1108_pclk_peri_get_clk()
420 div = bitfield_extract(con, CLK_I2C0_DIV_CON_SHIFT, in rv1108_i2c_get_clk()
425 div = bitfield_extract(con, CLK_I2C1_DIV_CON_SHIFT, in rv1108_i2c_get_clk()
[all …]
H A Dclk_rk3399.c645 div = bitfield_extract(val, spiclk->div_shift, in rk3399_spi_get_clk()
870 div = bitfield_extract(val, CLK_SARADC_DIV_CON_SHIFT, in rk3399_saradc_get_clk()
H A Dclk_rk3128.c396 div = bitfield_extract(val, SARADC_DIV_CON_SHIFT, in rk3128_saradc_get_clk()
H A Dclk_rk3368.c432 div = bitfield_extract(val, CLK_SARADC_DIV_CON_SHIFT, in rk3368_saradc_get_clk()
H A Dclk_rk3328.c532 div = bitfield_extract(val, CLK_SARADC_DIV_CON_SHIFT, in rk3328_saradc_get_clk()
H A Dclk_rk3288.c723 div = bitfield_extract(val, CLK_SARADC_DIV_CON_SHIFT, in rockchip_saradc_get_clk()
/openbmc/u-boot/include/
H A Dbitfield.h48 static inline uint bitfield_extract(uint reg_val, uint shift, uint width) in bitfield_extract() function
/openbmc/linux/drivers/clk/bcm/
H A Dclk-kona.c34 static inline u32 bitfield_extract(u32 reg_val, u32 shift, u32 width) in bitfield_extract() function
570 reg_div = bitfield_extract(reg_val, div->u.s.shift, div->u.s.width); in divider_read_scaled()
600 reg_div = bitfield_extract(reg_val, div->u.s.shift, in __div_commit()
848 parent_sel = bitfield_extract(reg_val, sel->shift, sel->width); in selector_read_index()
885 parent_sel = bitfield_extract(reg_val, sel->shift, sel->width); in __sel_commit()
/openbmc/u-boot/drivers/power/regulator/
H A Dfan53555.c196 priv->vendor = bitfield_extract(ID1, 5, 3); in fan53555_probe()
/openbmc/u-boot/arch/arm/cpu/armv7/bcm235xx/
H A Dclk-core.c217 c->sel = bitfield_extract(reg, cd->sel.shift, cd->sel.width); in peri_clk_get_rate()
228 div = bitfield_extract(reg, cd->div.shift, cd->div.width); in peri_clk_get_rate()
/openbmc/u-boot/arch/arm/cpu/armv7/bcm281xx/
H A Dclk-core.c217 c->sel = bitfield_extract(reg, cd->sel.shift, cd->sel.width); in peri_clk_get_rate()
228 div = bitfield_extract(reg, cd->div.shift, cd->div.width); in peri_clk_get_rate()
/openbmc/u-boot/drivers/net/phy/
H A Dmv88e61xx.c287 return bitfield_extract(res, 0, 16); in mv88e61xx_reg_read()
676 val = bitfield_extract(val, PORT_REG_STATUS_SPEED_SHIFT, in mv88e61xx_read_port_config()