Searched refs:bitfield_replace (Results 1 – 6 of 6) sorted by relevance
/u-boot/include/ |
A D | bitfield.h | 58 static inline uint bitfield_replace(uint reg_val, uint shift, uint width, in bitfield_replace() function
|
/u-boot/drivers/net/phy/ |
A D | mv88e61xx.c | 209 cmd = bitfield_replace(cmd, SMI_CMD_ADDR_SHIFT, SMI_CMD_ADDR_WIDTH, in smi_cmd() 211 cmd = bitfield_replace(cmd, SMI_CMD_REG_SHIFT, SMI_CMD_REG_WIDTH, reg); in smi_cmd() 547 val = bitfield_replace(val, PORT_REG_CTRL_PSTATE_SHIFT, in mv88e61xx_switch_reset() 609 val = bitfield_replace(val, PORT_REG_CTRL_PSTATE_SHIFT, in mv88e61xx_port_enable() 628 val = bitfield_replace(val, PORT_REG_VLAN_ID_DEF_VID_SHIFT, in mv88e61xx_port_set_vlan() 639 val = bitfield_replace(val, PORT_REG_VLAN_MAP_TABLE_SHIFT, in mv88e61xx_port_set_vlan() 770 val = bitfield_replace(val, GLOBAL1_MON_CTRL_CPUDEST_SHIFT, in mv88e61xx_set_cpu_port() 863 val = bitfield_replace(val, priv->phy_ctrl1_en_det_shift, in mv88e61xx_phy_setup()
|
A D | mscc.c | 1031 reg_val = bitfield_replace(reg_val, MSCC_PHY_TR_LINKDETCTRL_POS, in mscc_vsc8531_vsc8541_init_scripts() 1059 reg_val = bitfield_replace(reg_val, MSCC_PHY_TR_VGAGAIN10_U_POS, in mscc_vsc8531_vsc8541_init_scripts() 1065 reg_val = bitfield_replace(reg_val, MSCC_PHY_TR_VGAGAIN10_L_POS, in mscc_vsc8531_vsc8541_init_scripts() 1201 reg_val = bitfield_replace(reg_val, MAC_IF_SELECTION_POS, in vsc8531_vsc8541_mac_config() 1212 reg_val = bitfield_replace(reg_val, RX_CLK_OUT_POS, in vsc8531_vsc8541_mac_config() 1284 reg_val = bitfield_replace(reg_val, RGMII_RX_CLK_DELAY_POS, in vsc8531_vsc8541_clk_skew_config() 1287 reg_val = bitfield_replace(reg_val, RGMII_TX_CLK_DELAY_POS, in vsc8531_vsc8541_clk_skew_config() 1338 reg_val = bitfield_replace(reg_val, EDGE_RATE_CNTL_POS, in vsc8531_config() 1341 reg_val = bitfield_replace(reg_val, RMII_CLK_OUT_ENABLE_POS, in vsc8531_config() 1396 reg_val = bitfield_replace(reg_val, EDGE_RATE_CNTL_POS, in vsc8541_config() [all …]
|
/u-boot/drivers/pinctrl/ |
A D | pinctrl-sti.c | 88 sysconf = bitfield_replace(sysconf, pin * 4, 3, alt); in sti_alternate_select()
|
/u-boot/arch/arm/cpu/armv7/bcm281xx/ |
A D | clk-core.c | 116 bitfield_replace(reg, cd->div.shift, cd->div.width, in peri_clk_enable() 124 bitfield_replace(reg, cd->sel.shift, cd->sel.width, in peri_clk_enable()
|
/u-boot/arch/arm/cpu/armv7/bcm235xx/ |
A D | clk-core.c | 116 bitfield_replace(reg, cd->div.shift, cd->div.width, in peri_clk_enable() 124 bitfield_replace(reg, cd->sel.shift, cd->sel.width, in peri_clk_enable()
|
Completed in 11 milliseconds