Home
last modified time | relevance | path

Searched refs:mux_val (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/drivers/clk/mmp/
H A Dclk-mix.c131 static int _set_rate(struct mmp_clk_mix *mix, u32 mux_val, u32 div_val, in _set_rate() argument
163 mux_div |= MMP_CLK_BITS_SET_VAL(mux_val, width, shift); in _set_rate()
277 u32 div_val, mux_val; in mmp_clk_mix_set_rate_and_parent() local
281 mux_val = _get_mux_val(mix, index); in mmp_clk_mix_set_rate_and_parent()
283 return _set_rate(mix, mux_val, div_val, 1, 1); in mmp_clk_mix_set_rate_and_parent()
293 u32 mux_val; in mmp_clk_mix_get_parent() local
310 mux_val = MMP_CLK_BITS_GET_VAL(mux_div, width, shift); in mmp_clk_mix_get_parent()
312 return _get_mux(mix, mux_val); in mmp_clk_mix_get_parent()
350 u32 div_val, mux_val; in mmp_clk_set_parent() local
362 mux_val = _get_mux_val(mix, item->parent_index); in mmp_clk_set_parent()
[all …]
/openbmc/u-boot/board/freescale/ls1012aqds/
H A Dls1012aqds.c183 &prop_val.mux_val, PFE_PROP_LEN, 1); in pfe_set_properties()
210 prop_val.mux_val = cpu_to_fdt32( in fdt_fsl_fixup_of_pfe()
222 prop_val.mux_val = cpu_to_fdt32( in fdt_fsl_fixup_of_pfe()
237 prop_val.mux_val = cpu_to_fdt32( in fdt_fsl_fixup_of_pfe()
249 prop_val.mux_val = cpu_to_fdt32( in fdt_fsl_fixup_of_pfe()
H A Dls1012aqds_pfe.h41 int mux_val; member
/openbmc/u-boot/board/freescale/lx2160a/
H A Deth_lx2160aqds.c221 u8 brdcfg4, mux_val, reg; in lx2160a_qds_mux_mdio() local
225 mux_val = lx2160a_qds_get_mdio_mux_val(priv->realbusnum, priv->ioslot); in lx2160a_qds_mux_mdio()
230 brdcfg4 |= mux_val; in lx2160a_qds_mux_mdio()
234 brdcfg4 |= mux_val; in lx2160a_qds_mux_mdio()
634 int offset, mux_val; in fdt_get_ioslot_offset() local
668 mux_val = lx2160a_qds_get_mdio_mux_val(priv->realbusnum, priv->ioslot); in fdt_get_ioslot_offset()
670 mux_val >>= BRDCFG4_EMI1SEL_SHIFT; in fdt_get_ioslot_offset()
672 mux_val >>= BRDCFG4_EMI2SEL_SHIFT; in fdt_get_ioslot_offset()
673 sprintf(mdio_ioslot_str, "mdio@%x", (u8)mux_val); in fdt_get_ioslot_offset()
/openbmc/linux/drivers/dma/ti/
H A Ddma-crossbar.c49 u8 mux_val; member
71 map->mux_val, map->dma_line); in ti_am335x_xbar_free()
113 map->mux_val = (u8)dma_spec->args[2]; in ti_am335x_xbar_route_allocate()
119 map->mux_val, map->dma_line); in ti_am335x_xbar_route_allocate()
121 ti_am335x_xbar_write(xbar->iomem, map->dma_line, map->mux_val); in ti_am335x_xbar_route_allocate()
/openbmc/linux/drivers/gpio/
H A Dgpio-sodaville.c185 u32 mux_val; in sdv_gpio_probe() local
205 ret = of_property_read_u32(pdev->dev.of_node, "intel,muxctl", &mux_val); in sdv_gpio_probe()
207 writel(mux_val, sd->gpio_pub_base + GPMUXCTL); in sdv_gpio_probe()
/openbmc/linux/drivers/pinctrl/bcm/
H A Dpinctrl-bcm6328.c35 unsigned mux_val:2; member
246 .mux_val = mux, \
331 bcm6328_rmw_mux(pc, pg->pins[0], f->mode_val, f->mux_val); in bcm6328_pinctrl_set_mux()
H A Dpinctrl-bcm6318.c36 unsigned mux_val:2; member
310 .mux_val = mux, \
417 bcm6318_rmw_mux(pc, pg->pins[0], f->mode_val, f->mux_val); in bcm6318_pinctrl_set_mux()
/openbmc/linux/drivers/clk/x86/
H A Dclk-cgu.h180 unsigned int mux_val; member
216 .mux_val = _v, \
H A Dclk-cgu.c117 lgm_set_clk_val(mux->membase, reg, shift, width, list->mux_val); in lgm_clk_register_mux()
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A Dfsl,imx6sx-pinctrl.txt9 setting for one pin. The first 5 integers <mux_reg conf_reg input_reg mux_val
H A Dfsl,imx6ul-pinctrl.txt10 setting for one pin. The first 5 integers <mux_reg conf_reg input_reg mux_val
H A Dfsl,imx6sll-pinctrl.txt9 setting for one pin. The first 5 integers <mux_reg conf_reg input_reg mux_val
H A Dfsl,imx-pinctrl.txt26 setting for one pin. The first 5 integers <mux_reg conf_reg input_reg mux_val
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-zynq.c71 unsigned int mux_val; member
761 .mux_val = mval, \
769 .mux_val = mval, \
928 reg |= func->mux_val << ZYNQ_PINMUX_MUX_SHIFT; in zynq_pinmux_set_mux()
H A Dpinctrl-bm1880.c69 u32 mux_val; member
655 .mux_val = mval, \
1000 regval |= func->mux_val << mux_offset; in bm1880_pinmux_set_mux()