/arch/arm/mach-imx/ |
D | clk-fixup-mux.c | 30 struct clk_mux mux; member 37 struct clk_mux *mux = to_clk_mux(hw); in to_clk_fixup_mux() local 39 return container_of(mux, struct clk_fixup_mux, mux); in to_clk_fixup_mux() 46 return fixup_mux->ops->get_parent(&fixup_mux->mux.hw); in clk_fixup_mux_get_parent() 52 struct clk_mux *mux = to_clk_mux(hw); in clk_fixup_mux_set_parent() local 56 spin_lock_irqsave(mux->lock, flags); in clk_fixup_mux_set_parent() 58 val = readl(mux->reg); in clk_fixup_mux_set_parent() 59 val &= ~(mux->mask << mux->shift); in clk_fixup_mux_set_parent() 60 val |= index << mux->shift; in clk_fixup_mux_set_parent() 62 writel(val, mux->reg); in clk_fixup_mux_set_parent() [all …]
|
D | clk-busy.c | 118 struct clk_mux mux; member 126 struct clk_mux *mux = container_of(hw, struct clk_mux, hw); in to_clk_busy_mux() local 128 return container_of(mux, struct clk_busy_mux, mux); in to_clk_busy_mux() 135 return busy->mux_ops->get_parent(&busy->mux.hw); in clk_busy_mux_get_parent() 143 ret = busy->mux_ops->set_parent(&busy->mux.hw, index); in clk_busy_mux_set_parent() 170 busy->mux.reg = reg; in imx_clk_busy_mux() 171 busy->mux.shift = shift; in imx_clk_busy_mux() 172 busy->mux.mask = BIT(width) - 1; in imx_clk_busy_mux() 173 busy->mux.lock = &imx_ccm_lock; in imx_clk_busy_mux() 182 busy->mux.hw.init = &init; in imx_clk_busy_mux() [all …]
|
/arch/arm/boot/dts/ |
D | mmp2.dtsi | 50 compatible = "mrvl,mmp2-mux-intc"; 55 reg-names = "mux status", "mux mask"; 60 compatible = "mrvl,mmp2-mux-intc"; 65 reg-names = "mux status", "mux mask"; 71 compatible = "mrvl,mmp2-mux-intc"; 76 reg-names = "mux status", "mux mask"; 81 compatible = "mrvl,mmp2-mux-intc"; 86 reg-names = "mux status", "mux mask"; 91 compatible = "mrvl,mmp2-mux-intc"; 96 reg-names = "mux status", "mux mask"; [all …]
|
D | dra7xx-clocks.dtsi | 248 compatible = "ti,mux-clock"; 322 compatible = "ti,mux-clock"; 356 compatible = "ti,mux-clock"; 390 compatible = "ti,mux-clock"; 435 compatible = "ti,mux-clock"; 461 compatible = "ti,mux-clock"; 535 compatible = "ti,mux-clock"; 782 compatible = "ti,mux-clock"; 790 compatible = "ti,mux-clock"; 798 compatible = "ti,mux-clock"; [all …]
|
D | omap54xx-clocks.dtsi | 415 compatible = "ti,mux-clock"; 423 compatible = "ti,mux-clock"; 431 compatible = "ti,mux-clock"; 439 compatible = "ti,mux-clock"; 447 compatible = "ti,mux-clock"; 455 compatible = "ti,mux-clock"; 463 compatible = "ti,mux-clock"; 471 compatible = "ti,mux-clock"; 479 compatible = "ti,mux-clock"; 487 compatible = "ti,mux-clock"; [all …]
|
D | omap44xx-clocks.dtsi | 199 compatible = "ti,mux-clock"; 349 compatible = "ti,mux-clock"; 477 compatible = "ti,mux-clock"; 485 compatible = "ti,mux-clock"; 493 compatible = "ti,mux-clock"; 501 compatible = "ti,mux-clock"; 509 compatible = "ti,mux-clock"; 517 compatible = "ti,mux-clock"; 525 compatible = "ti,mux-clock"; 533 compatible = "ti,mux-clock"; [all …]
|
D | am43xx-clocks.dtsi | 13 compatible = "ti,mux-clock"; 21 compatible = "ti,mux-clock"; 29 compatible = "ti,mux-clock"; 367 compatible = "ti,mux-clock"; 380 compatible = "ti,mux-clock"; 387 compatible = "ti,mux-clock"; 394 compatible = "ti,mux-clock"; 401 compatible = "ti,mux-clock"; 408 compatible = "ti,mux-clock"; 415 compatible = "ti,mux-clock"; [all …]
|
D | am33xx-clocks.dtsi | 13 compatible = "ti,mux-clock"; 337 compatible = "ti,mux-clock"; 352 compatible = "ti,mux-clock"; 359 compatible = "ti,mux-clock"; 366 compatible = "ti,mux-clock"; 373 compatible = "ti,mux-clock"; 380 compatible = "ti,mux-clock"; 387 compatible = "ti,mux-clock"; 394 compatible = "ti,mux-clock"; 425 compatible = "ti,mux-clock"; [all …]
|
D | omap24xx-clocks.dtsi | 13 compatible = "ti,composite-mux-clock"; 27 compatible = "ti,composite-mux-clock"; 79 compatible = "ti,mux-clock"; 95 compatible = "ti,mux-clock"; 153 compatible = "ti,mux-clock"; 181 compatible = "ti,mux-clock"; 205 compatible = "ti,composite-mux-clock"; 433 compatible = "ti,composite-mux-clock"; 455 compatible = "ti,composite-mux-clock"; 546 compatible = "ti,composite-mux-clock"; [all …]
|
D | omap-gpmc-smsc9221.dtsi | 31 gpmc,mux-add-data; 48 gpmc,wr-data-mux-bus-ns = <18>;
|
D | omap3xxx-clocks.dtsi | 19 compatible = "ti,mux-clock"; 85 compatible = "ti,composite-mux-clock"; 99 compatible = "ti,composite-mux-clock"; 113 compatible = "ti,composite-mux-clock"; 127 compatible = "ti,composite-mux-clock"; 140 compatible = "ti,composite-mux-clock"; 352 compatible = "ti,mux-clock"; 387 compatible = "ti,mux-clock"; 403 compatible = "ti,mux-clock"; 518 compatible = "ti,composite-mux-clock"; [all …]
|
D | omap3430-sdp.dts | 65 gpmc,mux-add-data = <2>; 82 gpmc,wr-data-mux-bus-ns = <90>; 156 gpmc,mux-add-data = <2>; 170 gpmc,wr-data-mux-bus-ns = <30>;
|
D | at91sam9g15.dtsi | 18 atmel,mux-mask = <
|
D | at91sam9x35.dtsi | 19 atmel,mux-mask = <
|
D | at91sam9g35.dtsi | 19 atmel,mux-mask = <
|
D | at91sam9g25.dtsi | 20 atmel,mux-mask = <
|
D | at91sam9x25.dtsi | 21 atmel,mux-mask = <
|
D | qcom-apq8064-ifc6410.dts | 10 mux {
|
D | qcom-apq8064-cm-qs600.dts | 10 mux {
|
/arch/arm/mach-omap2/ |
D | mux.c | 51 struct omap_mux mux; member 118 struct omap_mux *m = &e->mux; in _omap_mux_init_gpio() 164 struct omap_mux *mux = NULL; in _omap_mux_get_by_name() local 182 mux = &e->mux; in _omap_mux_get_by_name() 183 m0_entry = mux->muxnames[0]; in _omap_mux_get_by_name() 193 char *mode_cur = mux->muxnames[i]; in _omap_mux_get_by_name() 199 *found_mux = mux; in _omap_mux_get_by_name() 226 struct omap_mux *mux = NULL; in omap_mux_get_by_name() local 227 int mux_mode = _omap_mux_get_by_name(partition, muxname, &mux); in omap_mux_get_by_name() 232 *found_mux = mux; in omap_mux_get_by_name() [all …]
|
D | gpmc.c | 854 bool mux) in gpmc_calc_sync_read_timings() argument 861 if (mux) { in gpmc_calc_sync_read_timings() 873 if (mux) { in gpmc_calc_sync_read_timings() 909 bool mux) in gpmc_calc_sync_write_timings() argument 915 if (mux) { in gpmc_calc_sync_write_timings() 928 if (mux) { in gpmc_calc_sync_write_timings() 971 bool mux) in gpmc_calc_async_read_timings() argument 977 if (mux) in gpmc_calc_async_read_timings() 983 if (mux) in gpmc_calc_async_read_timings() 1011 bool mux) in gpmc_calc_async_write_timings() argument [all …]
|
D | omap_hwmod.c | 592 if (!oh->mux || !oh->mux->enabled) in _set_idle_ioring_wakeup() 595 for (j = 0; j < oh->mux->nr_pads_dynamic; j++) { in _set_idle_ioring_wakeup() 596 pad = oh->mux->pads_dynamic[j]; in _set_idle_ioring_wakeup() 613 omap_hwmod_mux(oh->mux, _HWMOD_STATE_IDLE); in _set_idle_ioring_wakeup() 2155 if (oh->mux) in _enable() 2156 omap_hwmod_mux(oh->mux, _HWMOD_STATE_ENABLED); in _enable() 2183 if (oh->mux && (!oh->mux->enabled || in _enable() 2185 oh->mux->pads_dynamic))) { in _enable() 2186 omap_hwmod_mux(oh->mux, _HWMOD_STATE_ENABLED); in _enable() 2293 if (oh->mux && oh->mux->pads_dynamic) { in _idle() [all …]
|
/arch/powerpc/sysdev/qe_lib/ |
D | usb.c | 25 struct qe_mux __iomem *mux = &qe_immr->qmx; in qe_usb_clock_set() local 50 clrsetbits_be32(&mux->cmxgcr, QE_CMXGCR_USBCS, val); in qe_usb_clock_set()
|
/arch/arm/mach-davinci/ |
D | board-dm365-evm.c | 631 u8 mux, resets; in evm_init_cpld() local 657 mux = 0; in evm_init_cpld() 664 mux |= BIT(7); in evm_init_cpld() 684 mux |= 2; in evm_init_cpld() 687 mux |= BIT(6) | BIT(5) | BIT(3); in evm_init_cpld() 704 mux |= 1; in evm_init_cpld() 709 mux |= 5; in evm_init_cpld() 714 __raw_writeb(mux, cpld + CPLD_MUX); in evm_init_cpld()
|
/arch/powerpc/platforms/52xx/ |
D | mpc52xx_common.c | 283 u32 mux; in mpc5200_psc_ac97_gpio_reset() local 313 mux = in_be32(&simple_gpio->port_config); in mpc5200_psc_ac97_gpio_reset() 314 out_be32(&simple_gpio->port_config, mux & (~gpio)); in mpc5200_psc_ac97_gpio_reset() 338 out_be32(&simple_gpio->port_config, mux); in mpc5200_psc_ac97_gpio_reset()
|