Searched refs:bitfield_extract (Results 1 – 12 of 12) sorted by relevance
/openbmc/u-boot/drivers/clk/rockchip/ |
H A D | clk_rv1108.c | 194 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 D | clk_rk3399.c | 645 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 D | clk_rk3128.c | 396 div = bitfield_extract(val, SARADC_DIV_CON_SHIFT, in rk3128_saradc_get_clk()
|
H A D | clk_rk3368.c | 432 div = bitfield_extract(val, CLK_SARADC_DIV_CON_SHIFT, in rk3368_saradc_get_clk()
|
H A D | clk_rk3328.c | 532 div = bitfield_extract(val, CLK_SARADC_DIV_CON_SHIFT, in rk3328_saradc_get_clk()
|
H A D | clk_rk3288.c | 723 div = bitfield_extract(val, CLK_SARADC_DIV_CON_SHIFT, in rockchip_saradc_get_clk()
|
/openbmc/u-boot/include/ |
H A D | bitfield.h | 48 static inline uint bitfield_extract(uint reg_val, uint shift, uint width) in bitfield_extract() function
|
/openbmc/linux/drivers/clk/bcm/ |
H A D | clk-kona.c | 34 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 D | fan53555.c | 196 priv->vendor = bitfield_extract(ID1, 5, 3); in fan53555_probe()
|
/openbmc/u-boot/arch/arm/cpu/armv7/bcm235xx/ |
H A D | clk-core.c | 217 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 D | clk-core.c | 217 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 D | mv88e61xx.c | 287 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()
|