/linux-4.1.27/drivers/clk/tegra/ |
D | clk-periph-gate.c | 31 #define read_enb(gate) \ argument 32 readl_relaxed(gate->clk_base + (gate->regs->enb_reg)) 33 #define write_enb_set(val, gate) \ argument 34 writel_relaxed(val, gate->clk_base + (gate->regs->enb_set_reg)) 35 #define write_enb_clr(val, gate) \ argument 36 writel_relaxed(val, gate->clk_base + (gate->regs->enb_clr_reg)) 38 #define read_rst(gate) \ argument 39 readl_relaxed(gate->clk_base + (gate->regs->rst_reg)) 40 #define write_rst_clr(val, gate) \ argument 41 writel_relaxed(val, gate->clk_base + (gate->regs->rst_clr_reg)) [all …]
|
D | clk-periph.c | 87 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_is_enabled() 98 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_enable() 109 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_disable() 150 bool div = !(periph->gate.flags & TEGRA_PERIPH_NO_DIV); in _tegra_clk_register_periph() 152 if (periph->gate.flags & TEGRA_PERIPH_NO_DIV) { in _tegra_clk_register_periph() 155 } else if (periph->gate.flags & TEGRA_PERIPH_NO_GATE) in _tegra_clk_register_periph() 165 bank = get_reg_bank(periph->gate.clk_num); in _tegra_clk_register_periph() 174 periph->gate.clk_base = clk_base; in _tegra_clk_register_periph() 175 periph->gate.regs = bank; in _tegra_clk_register_periph() 176 periph->gate.enable_refcnt = periph_clk_enb_refcnt; in _tegra_clk_register_periph() [all …]
|
D | Makefile | 5 obj-y += clk-periph-gate.o
|
D | clk-tegra-periph.c | 599 bank = get_reg_bank(data->periph.gate.clk_num); in periph_clk_init() 603 data->periph.gate.regs = bank; in periph_clk_init() 629 data->p.parent_name, data->periph.gate.flags, in gate_clk_init() 631 data->periph.gate.clk_num, in gate_clk_init()
|
D | clk.h | 420 struct tegra_clk_periph_gate gate; member 460 .gate = { \
|
/linux-4.1.27/drivers/staging/sm750fb/ |
D | ddk750_power.c | 79 void setCurrentGate(unsigned int gate) in setCurrentGate() argument 101 POKE32(gate_reg, gate); in setCurrentGate() 111 uint32_t gate; in enable2DEngine() local 113 gate = PEEK32(CURRENT_GATE); in enable2DEngine() 116 gate = FIELD_SET(gate, CURRENT_GATE, DE, ON); in enable2DEngine() 117 gate = FIELD_SET(gate, CURRENT_GATE, CSC, ON); in enable2DEngine() 121 gate = FIELD_SET(gate, CURRENT_GATE, DE, OFF); in enable2DEngine() 122 gate = FIELD_SET(gate, CURRENT_GATE, CSC, OFF); in enable2DEngine() 125 setCurrentGate(gate); in enable2DEngine() 134 uint32_t gate; in enableZVPort() local [all …]
|
D | ddk750_power.h | 33 void setCurrentGate(unsigned int gate);
|
/linux-4.1.27/drivers/clk/mmp/ |
D | clk-gate.c | 29 struct mmp_clk_gate *gate = to_clk_mmp_gate(hw); in mmp_clk_gate_enable() local 35 if (gate->lock) in mmp_clk_gate_enable() 36 spin_lock_irqsave(gate->lock, flags); in mmp_clk_gate_enable() 38 tmp = readl(gate->reg); in mmp_clk_gate_enable() 39 tmp &= ~gate->mask; in mmp_clk_gate_enable() 40 tmp |= gate->val_enable; in mmp_clk_gate_enable() 41 writel(tmp, gate->reg); in mmp_clk_gate_enable() 43 if (gate->lock) in mmp_clk_gate_enable() 44 spin_unlock_irqrestore(gate->lock, flags); in mmp_clk_gate_enable() 46 if (gate->flags & MMP_CLK_GATE_NEED_DELAY) { in mmp_clk_gate_enable() [all …]
|
D | Makefile | 5 obj-y += clk-apbc.o clk-apmu.o clk-frac.o clk-mix.o clk-gate.o clk.o
|
/linux-4.1.27/arch/arm/mach-imx/ |
D | clk-gate2.c | 43 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_enable() local 47 spin_lock_irqsave(gate->lock, flags); in clk_gate2_enable() 49 if (gate->share_count && (*gate->share_count)++ > 0) in clk_gate2_enable() 52 reg = readl(gate->reg); in clk_gate2_enable() 53 reg |= 3 << gate->bit_idx; in clk_gate2_enable() 54 writel(reg, gate->reg); in clk_gate2_enable() 57 spin_unlock_irqrestore(gate->lock, flags); in clk_gate2_enable() 64 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_disable() local 68 spin_lock_irqsave(gate->lock, flags); in clk_gate2_disable() 70 if (gate->share_count) { in clk_gate2_disable() [all …]
|
D | clk-gate-exclusive.c | 28 struct clk_gate gate; member 34 struct clk_gate *gate = container_of(hw, struct clk_gate, hw); in clk_gate_exclusive_enable() local 35 struct clk_gate_exclusive *exgate = container_of(gate, in clk_gate_exclusive_enable() 36 struct clk_gate_exclusive, gate); in clk_gate_exclusive_enable() 37 u32 val = readl(gate->reg); in clk_gate_exclusive_enable() 65 struct clk_gate *gate; in imx_clk_gate_exclusive() local 75 gate = &exgate->gate; in imx_clk_gate_exclusive() 83 gate->reg = reg; in imx_clk_gate_exclusive() 84 gate->bit_idx = shift; in imx_clk_gate_exclusive() 85 gate->lock = &imx_ccm_lock; in imx_clk_gate_exclusive() [all …]
|
D | Makefile | 20 clk-gate-exclusive.o
|
/linux-4.1.27/drivers/clk/ |
D | clk-gate.c | 46 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_endisable() local 47 int set = gate->flags & CLK_GATE_SET_TO_DISABLE ? 1 : 0; in clk_gate_endisable() 53 if (gate->lock) in clk_gate_endisable() 54 spin_lock_irqsave(gate->lock, flags); in clk_gate_endisable() 56 if (gate->flags & CLK_GATE_HIWORD_MASK) { in clk_gate_endisable() 57 reg = BIT(gate->bit_idx + 16); in clk_gate_endisable() 59 reg |= BIT(gate->bit_idx); in clk_gate_endisable() 61 reg = clk_readl(gate->reg); in clk_gate_endisable() 64 reg |= BIT(gate->bit_idx); in clk_gate_endisable() 66 reg &= ~BIT(gate->bit_idx); in clk_gate_endisable() [all …]
|
D | Makefile | 8 obj-$(CONFIG_COMMON_CLK) += clk-gate.o 12 obj-$(CONFIG_COMMON_CLK) += clk-gpio-gate.o
|
D | Kconfig | 124 a power sleep control module that gate the clock to the IPs and PLLs.
|
/linux-4.1.27/arch/ia64/kernel/ |
D | Makefile.gate | 3 targets += gate.so gate-syms.o 5 extra-y += gate.so gate-syms.o gate.lds gate.o 12 GATECFLAGS_gate.so = -shared -s -Wl,-soname=linux-gate.so.1 \ 14 $(obj)/gate.so: $(obj)/gate.lds $(obj)/gate.o FORCE 15 $(call if_changed,gate) 17 $(obj)/built-in.o: $(obj)/gate-syms.o 18 $(obj)/built-in.o: ld_flags += -R $(obj)/gate-syms.o 21 $(obj)/gate-syms.o: $(obj)/gate.lds $(obj)/gate.o FORCE 22 $(call if_changed,gate) 27 $(obj)/gate-data.o: $(obj)/gate.so
|
D | gate-data.S | 1 .section .data..gate, "aw"
|
D | .gitignore | 1 gate.lds
|
D | Makefile | 11 obj-y := entry.o efi.o efi_stub.o gate-data.o fsys.o ia64_ksyms.o irq.o irq_ia64.o \ 54 include $(src)/Makefile.gate
|
D | vmlinux.lds.S | 183 *(.data..gate)
|
/linux-4.1.27/Documentation/devicetree/bindings/clock/ti/ |
D | gate.txt | 1 Binding for Texas Instruments gate clock. 6 quite much similar to the basic gate-clock [2], however, 13 [2] Documentation/devicetree/bindings/clock/gate-clock.txt 18 "ti,gate-clock" - basic gate clock 19 "ti,wait-gate-clock" - gate clock which waits until clock is active before 21 "ti,dss-gate-clock" - gate clock with DSS specific hardware handling 22 "ti,am35xx-gate-clock" - gate clock with AM35xx specific hardware handling 23 "ti,clkdm-gate-clock" - clockdomain gate clock, which derives its functional 26 "ti,hsdiv-gate-clock" - gate clock with OMAP36xx specific hardware handling, 28 "ti,composite-gate-clock" - composite gate clock, to be part of composite [all …]
|
D | interface.txt | 6 quite much similar to the basic gate-clock [2], however, 8 companion clock finding (match corresponding functional gate 12 [2] Documentation/devicetree/bindings/clock/gate-clock.txt
|
D | dpll.txt | 28 "ti,am3-dpll-no-gate-clock", 30 "ti,am3-dpll-no-gate-j-type-clock",
|
D | autoidle.txt | 8 clock, it is always a derivative of some basic clock like a gate, divider,
|
D | composite.txt | 23 [4] Documentation/devicetree/bindings/clock/ti/gate.txt
|
D | mux.txt | 8 gate or adjust the parent rate via a divider or multiplier.
|
D | divider.txt | 6 register-mapped adjustable clock rate divider that does not gate and has
|
/linux-4.1.27/drivers/clk/ti/ |
D | gate.c | 142 struct ti_clk_gate *gate; in ti_clk_register_gate() local 144 gate = setup->data; in ti_clk_register_gate() 146 if (gate->flags & CLKF_INTERFACE) in ti_clk_register_gate() 151 if (gate->flags & CLKF_SET_RATE_PARENT) in ti_clk_register_gate() 154 if (gate->flags & CLKF_SET_BIT_TO_DISABLE) in ti_clk_register_gate() 157 if (gate->flags & CLKF_HSDIV) { in ti_clk_register_gate() 162 if (gate->flags & CLKF_DSS) in ti_clk_register_gate() 165 if (gate->flags & CLKF_WAIT) in ti_clk_register_gate() 168 if (gate->flags & CLKF_CLKDM) in ti_clk_register_gate() 171 if (gate->flags & CLKF_AM35XX) in ti_clk_register_gate() [all …]
|
D | interface.c | 77 struct ti_clk_gate *gate; in ti_clk_register_interface() local 79 gate = setup->data; in ti_clk_register_interface() 81 reg_setup->index = gate->module; in ti_clk_register_interface() 82 reg_setup->offset = gate->reg; in ti_clk_register_interface() 84 if (gate->flags & CLKF_NO_WAIT) in ti_clk_register_interface() 87 if (gate->flags & CLKF_HSOTGUSB) in ti_clk_register_interface() 90 if (gate->flags & CLKF_DSS) in ti_clk_register_interface() 93 if (gate->flags & CLKF_SSI) in ti_clk_register_interface() 96 if (gate->flags & CLKF_AM35XX) in ti_clk_register_interface() 99 return _register_interface(NULL, setup->name, gate->parent, in ti_clk_register_interface() [all …]
|
D | composite.c | 125 struct clk_hw *gate; in ti_clk_register_composite() local 135 gate = ti_clk_build_component_gate(comp->gate); in ti_clk_register_composite() 141 if (gate) in ti_clk_register_composite() 142 parent_names = &comp->gate->parent; in ti_clk_register_composite() 152 &ti_composite_divider_ops, gate, in ti_clk_register_composite()
|
D | clk-3xxx-legacy.c | 653 .gate = &mcbsp2_gate_fck_data, 716 .gate = &ssi_ssr_gate_fck_3430es1_data, 825 .gate = &gpt2_gate_fck_data, 964 .gate = &mcbsp3_gate_fck_data, 1009 .gate = &gpt9_gate_fck_data, 1517 .gate = &clkout2_src_gate_ck_data, 1578 .gate = &gpt7_gate_fck_data, 1605 .gate = &usb_l4_gate_ick_data, 1923 .gate = &gpt11_gate_fck_data, 2376 .gate = &gpt1_gate_fck_data, [all …]
|
D | Makefile | 2 clk-common = dpll.o composite.o divider.o gate.o \
|
D | clock.h | 122 struct ti_clk_gate *gate; member
|
/linux-4.1.27/drivers/clk/bcm/ |
D | clk-kona.c | 356 __is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate) in __is_clk_gate_enabled() argument 362 if (!gate_exists(gate)) in __is_clk_gate_enabled() 365 bit_mask = 1 << gate->status_bit; in __is_clk_gate_enabled() 366 reg_val = __ccu_read(ccu, gate->offset); in __is_clk_gate_enabled() 373 is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate) in is_clk_gate_enabled() argument 379 if (!gate_exists(gate)) in is_clk_gate_enabled() 383 ret = __is_clk_gate_enabled(ccu, gate); in is_clk_gate_enabled() 394 __gate_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate) in __gate_commit() argument 400 BUG_ON(!gate_exists(gate)); in __gate_commit() 401 if (!gate_is_sw_controllable(gate)) in __gate_commit() [all …]
|
D | clk-bcm281xx.c | 24 .gate = HW_SW_GATE(0x214, 16, 0, 1), 42 .gate = HW_SW_GATE(0x0414, 16, 0, 1), 51 .gate = HW_SW_GATE(0x0418, 16, 0, 1), 84 .gate = HW_SW_GATE(0x04a4, 18, 2, 3), 103 .gate = HW_SW_GATE(0x0358, 18, 2, 3), 115 .gate = HW_SW_GATE(0x035c, 18, 2, 3), 127 .gate = HW_SW_GATE(0x0364, 18, 2, 3), 139 .gate = HW_SW_GATE(0x0360, 18, 2, 3), 151 .gate = HW_SW_GATE(0x0354, 18, 2, 3), 162 .gate = HW_SW_GATE(0x0370, 18, 2, 3), [all …]
|
D | clk-bcm21664.c | 24 .gate = HW_SW_GATE(0x214, 16, 0, 1), 41 .gate = HW_SW_GATE(0x0414, 16, 0, 1), 66 .gate = HW_SW_GATE(0x0358, 18, 2, 3), 78 .gate = HW_SW_GATE(0x035c, 18, 2, 3), 90 .gate = HW_SW_GATE(0x0364, 18, 2, 3), 102 .gate = HW_SW_GATE(0x0360, 18, 2, 3), 115 .gate = HW_SW_GATE(0x0358, 18, 2, 3), 120 .gate = HW_SW_GATE(0x035c, 18, 2, 3), 125 .gate = HW_SW_GATE(0x0364, 18, 2, 3), 130 .gate = HW_SW_GATE(0x0360, 18, 2, 3), [all …]
|
D | clk-kona.h | 54 #define gate_exists(gate) FLAG_TEST(gate, GATE, EXISTS) argument 55 #define gate_is_enabled(gate) FLAG_TEST(gate, GATE, ENABLED) argument 56 #define gate_is_hw_controllable(gate) FLAG_TEST(gate, GATE, HW) argument 57 #define gate_is_sw_controllable(gate) FLAG_TEST(gate, GATE, SW) argument 58 #define gate_is_sw_managed(gate) FLAG_TEST(gate, GATE, SW_MANAGED) argument 59 #define gate_is_no_disable(gate) FLAG_TEST(gate, GATE, NO_DISABLE) argument 61 #define gate_flip_enabled(gate) FLAG_FLIP(gate, GATE, ENABLED) argument 392 struct bcm_clk_gate gate; member
|
D | clk-kona-setup.c | 83 struct bcm_clk_gate *gate; in peri_clk_data_offsets_valid() local 109 gate = &peri->gate; in peri_clk_data_offsets_valid() 111 if (gate_exists(gate)) { in peri_clk_data_offsets_valid() 112 if (gate->offset > limit) { in peri_clk_data_offsets_valid() 114 __func__, name, gate->offset, limit); in peri_clk_data_offsets_valid() 255 static bool gate_valid(struct bcm_clk_gate *gate, const char *field_name, in gate_valid() argument 258 if (!bit_posn_valid(gate->status_bit, "gate status", clock_name)) in gate_valid() 261 if (gate_is_sw_controllable(gate)) { in gate_valid() 262 if (!bit_posn_valid(gate->en_bit, "gate enable", clock_name)) in gate_valid() 265 if (gate_is_hw_controllable(gate)) { in gate_valid() [all …]
|
/linux-4.1.27/arch/x86/include/asm/ |
D | desc.h | 55 static inline void pack_gate(gate_desc *gate, unsigned type, unsigned long func, in pack_gate() argument 58 gate->offset_low = PTR_LOW(func); in pack_gate() 59 gate->segment = __KERNEL_CS; in pack_gate() 60 gate->ist = ist; in pack_gate() 61 gate->p = 1; in pack_gate() 62 gate->dpl = dpl; in pack_gate() 63 gate->zero0 = 0; in pack_gate() 64 gate->zero1 = 0; in pack_gate() 65 gate->type = type; in pack_gate() 66 gate->offset_middle = PTR_MIDDLE(func); in pack_gate() [all …]
|
D | paravirt_types.h | 139 int entrynum, const gate_desc *gate);
|
/linux-4.1.27/drivers/clk/sunxi/ |
D | clk-a10-hosc.c | 30 struct clk_gate *gate; in sun4i_osc_clk_setup() local 41 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in sun4i_osc_clk_setup() 42 if (!gate) in sun4i_osc_clk_setup() 48 gate->reg = of_iomap(node, 0); in sun4i_osc_clk_setup() 49 gate->bit_idx = SUNXI_OSC24M_GATE; in sun4i_osc_clk_setup() 50 gate->lock = &hosc_lock; in sun4i_osc_clk_setup() 57 &gate->hw, &clk_gate_ops, in sun4i_osc_clk_setup() 69 kfree(gate); in sun4i_osc_clk_setup()
|
D | clk-a20-gmac.c | 65 struct clk_gate *gate; in sun7i_a20_gmac_clk_setup() local 78 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in sun7i_a20_gmac_clk_setup() 79 if (!gate) in sun7i_a20_gmac_clk_setup() 93 gate->reg = reg; in sun7i_a20_gmac_clk_setup() 94 gate->bit_idx = SUN7I_A20_GMAC_GPIT; in sun7i_a20_gmac_clk_setup() 95 gate->lock = &gmac_lock; in sun7i_a20_gmac_clk_setup() 105 &gate->hw, &clk_gate_ops, in sun7i_a20_gmac_clk_setup() 119 kfree(gate); in sun7i_a20_gmac_clk_setup()
|
D | clk-factors.c | 168 struct clk_gate *gate = NULL; in sunxi_factors_register() local 202 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in sunxi_factors_register() 203 if (!gate) { in sunxi_factors_register() 209 gate->reg = reg; in sunxi_factors_register() 210 gate->bit_idx = data->enable; in sunxi_factors_register() 211 gate->lock = factors->lock; in sunxi_factors_register() 212 gate_hw = &gate->hw; in sunxi_factors_register() 220 kfree(gate); in sunxi_factors_register()
|
D | clk-sunxi.c | 1067 u8 gate; /* is it independently gateable? */ member 1093 { .shift = 0, .table = pll6_sata_tbl, .gate = 14 }, /* M, SATA */ 1129 struct clk_gate *gate = NULL; in sunxi_divs_clk_setup() local 1176 if (data->div[i].gate) { in sunxi_divs_clk_setup() 1177 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in sunxi_divs_clk_setup() 1178 if (!gate) in sunxi_divs_clk_setup() 1181 gate->reg = reg; in sunxi_divs_clk_setup() 1182 gate->bit_idx = data->div[i].gate; in sunxi_divs_clk_setup() 1183 gate->lock = &clk_lock; in sunxi_divs_clk_setup() 1185 gate_hw = &gate->hw; in sunxi_divs_clk_setup() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/clock/ |
D | renesas,cpg-mstp-clocks.txt | 3 The CPG can gate SoC device clocks. The gates are organized in groups of up to 6 This device tree binding describes a single 32 gate clocks group per node. 13 - "renesas,r7s72100-mstp-clocks" for R7S72100 (RZ) MSTP gate clocks 14 - "renesas,r8a73a4-mstp-clocks" for R8A73A4 (R-Mobile APE6) MSTP gate clocks 15 - "renesas,r8a7740-mstp-clocks" for R8A7740 (R-Mobile A1) MSTP gate clocks 16 - "renesas,r8a7779-mstp-clocks" for R8A7779 (R-Car H1) MSTP gate clocks 17 - "renesas,r8a7790-mstp-clocks" for R8A7790 (R-Car H2) MSTP gate clocks 18 - "renesas,r8a7791-mstp-clocks" for R8A7791 (R-Car M2) MSTP gate clocks 19 - "renesas,r8a7794-mstp-clocks" for R8A7794 (R-Car E2) MSTP gate clocks 20 - "renesas,sh73a0-mstp-clocks" for SH73A0 (SH-MobileAG5) MSTP gate clocks [all …]
|
D | rockchip.txt | 12 The gate registers form a continuos block which makes the dt node 14 one gate clock spanning all registers or they can be divided into 19 - compatible : "rockchip,rk2928-gate-clk" 22 - clock-output-names : the corresponding gate names that the clock controls 23 - clocks : should contain the parent clock for each individual gate, 27 Example using multiple gate clocks: 29 clk_gates0: gate-clk@200000d0 { 30 compatible = "rockchip,rk2928-gate-clk"; 54 clk_gates1: gate-clk@200000d4 { 55 compatible = "rockchip,rk2928-gate-clk";
|
D | altr_socfpga.txt | 12 "altr,socfpga-gate-clk" - Clocks that directly feed peripherals and 22 - clk-gate : For "socfpga-gate-clk", clk-gate contains the gating register 24 - div-reg : For "socfpga-gate-clk" and "socfpga-periph-clock", div-reg contains
|
D | gpio-gate-clock.txt | 8 - compatible : shall be "gpio-gate-clock". 17 compatible = "gpio-gate-clock";
|
D | keystone-gate.txt | 3 Binding for Keystone gate control driver which uses PSC controller IP.
|
D | alphascale,acc.txt | 19 _AHB_ - AHB gate;
|
D | st,nomadik.txt | 35 lines from the HCLK clock tree and the gate for individual
|
D | emev2-clock.txt | 29 Registers are "xxx clock gate control register" (XXXGCLKCTRL).
|
D | mvebu-gated-clock.txt | 189 /* get clk gate bit 8 (sdio0) */
|
D | sunxi.txt | 101 offset of the bit controlling this particular gate in the register.
|
/linux-4.1.27/drivers/clk/shmobile/ |
D | clk-rcar-gen2.c | 171 struct clk_gate *gate; in cpg_rcan_clk_register() local 181 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in cpg_rcan_clk_register() 182 if (!gate) { in cpg_rcan_clk_register() 187 gate->reg = cpg->reg + CPG_RCANCKCR; in cpg_rcan_clk_register() 188 gate->bit_idx = 8; in cpg_rcan_clk_register() 189 gate->flags = CLK_GATE_SET_TO_DISABLE; in cpg_rcan_clk_register() 190 gate->lock = &cpg->lock; in cpg_rcan_clk_register() 194 &gate->hw, &clk_gate_ops, 0); in cpg_rcan_clk_register() 196 kfree(gate); in cpg_rcan_clk_register() 214 struct clk_gate *gate; in cpg_adsp_clk_register() local [all …]
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | socfpga.dtsi | 297 compatible = "altr,socfpga-gate-clk"; 299 clk-gate = <0x60 0>; 311 compatible = "altr,socfpga-gate-clk"; 314 clk-gate = <0x60 1>; 319 compatible = "altr,socfpga-gate-clk"; 326 compatible = "altr,socfpga-gate-clk"; 329 clk-gate = <0x60 2>; 334 compatible = "altr,socfpga-gate-clk"; 337 clk-gate = <0x60 3>; 342 compatible = "altr,socfpga-gate-clk"; [all …]
|
D | am35xx-clocks.dtsi | 13 compatible = "ti,am35xx-gate-clock"; 21 compatible = "ti,gate-clock"; 29 compatible = "ti,am35xx-gate-clock"; 37 compatible = "ti,gate-clock"; 45 compatible = "ti,am35xx-gate-clock"; 53 compatible = "ti,gate-clock"; 61 compatible = "ti,am35xx-gate-clock"; 98 compatible = "ti,wait-gate-clock";
|
D | omap44xx-clocks.dtsi | 25 compatible = "ti,gate-clock"; 51 compatible = "ti,gate-clock"; 315 compatible = "ti,composite-no-wait-gate-clock"; 557 compatible = "ti,gate-clock"; 565 compatible = "ti,gate-clock"; 573 compatible = "ti,gate-clock"; 581 compatible = "ti,gate-clock"; 674 compatible = "ti,gate-clock"; 699 compatible = "ti,gate-clock"; 742 compatible = "ti,clkdm-gate-clock"; [all …]
|
D | omap3xxx-clocks.dtsi | 36 compatible = "ti,gate-clock"; 222 compatible = "ti,gate-clock"; 264 compatible = "ti,gate-clock"; 379 compatible = "ti,gate-clock"; 438 compatible = "ti,gate-clock"; 466 compatible = "ti,gate-clock"; 494 compatible = "ti,gate-clock"; 511 compatible = "ti,composite-no-wait-gate-clock"; 595 compatible = "ti,composite-gate-clock"; 617 compatible = "ti,composite-gate-clock"; [all …]
|
D | omap24xx-clocks.dtsi | 197 compatible = "ti,composite-no-wait-gate-clock"; 228 compatible = "ti,gate-clock"; 245 compatible = "ti,composite-gate-clock"; 275 compatible = "ti,composite-gate-clock"; 298 compatible = "ti,composite-gate-clock"; 321 compatible = "ti,wait-gate-clock"; 347 compatible = "ti,composite-no-wait-gate-clock"; 447 compatible = "ti,composite-no-wait-gate-clock"; 469 compatible = "ti,wait-gate-clock"; 477 compatible = "ti,composite-gate-clock"; [all …]
|
D | omap54xx-clocks.dtsi | 19 compatible = "ti,gate-clock"; 39 compatible = "ti,gate-clock"; 414 compatible = "ti,gate-clock"; 603 compatible = "ti,gate-clock"; 824 compatible = "ti,gate-clock"; 832 compatible = "ti,gate-clock"; 840 compatible = "ti,gate-clock"; 849 compatible = "ti,gate-clock"; 857 compatible = "ti,gate-clock"; 865 compatible = "ti,gate-clock"; [all …]
|
D | omap36xx-clocks.dtsi | 20 compatible = "ti,hsdiv-gate-clock"; 30 compatible = "ti,hsdiv-gate-clock"; 39 compatible = "ti,hsdiv-gate-clock"; 48 compatible = "ti,hsdiv-gate-clock"; 57 compatible = "ti,hsdiv-gate-clock"; 66 compatible = "ti,wait-gate-clock";
|
D | am33xx-clocks.dtsi | 101 compatible = "ti,gate-clock"; 109 compatible = "ti,gate-clock"; 117 compatible = "ti,gate-clock"; 224 compatible = "ti,am3-dpll-no-gate-clock"; 248 compatible = "ti,am3-dpll-no-gate-clock"; 265 compatible = "ti,am3-dpll-no-gate-j-type-clock"; 297 compatible = "ti,gate-clock"; 321 compatible = "ti,gate-clock"; 344 compatible = "ti,gate-clock"; 401 compatible = "ti,gate-clock"; [all …]
|
D | omap36xx-am35xx-omap3430es2plus-clocks.dtsi | 48 compatible = "ti,composite-gate-clock"; 109 compatible = "ti,wait-gate-clock"; 117 compatible = "ti,gate-clock"; 125 compatible = "ti,gate-clock"; 133 compatible = "ti,wait-gate-clock"; 157 compatible = "ti,wait-gate-clock"; 165 compatible = "ti,dss-gate-clock"; 182 compatible = "ti,gate-clock"; 190 compatible = "ti,dss-gate-clock";
|
D | omap2420-clocks.dtsi | 14 compatible = "ti,composite-no-wait-gate-clock"; 70 compatible = "ti,composite-gate-clock"; 101 compatible = "ti,wait-gate-clock"; 117 compatible = "ti,wait-gate-clock"; 133 compatible = "ti,wait-gate-clock"; 149 compatible = "ti,wait-gate-clock"; 157 compatible = "ti,wait-gate-clock"; 165 compatible = "ti,wait-gate-clock"; 181 compatible = "ti,composite-gate-clock";
|
D | omap2430-clocks.dtsi | 57 compatible = "ti,composite-gate-clock"; 119 compatible = "ti,composite-gate-clock"; 135 compatible = "ti,composite-gate-clock"; 151 compatible = "ti,composite-gate-clock"; 167 compatible = "ti,wait-gate-clock"; 215 compatible = "ti,wait-gate-clock"; 231 compatible = "ti,wait-gate-clock"; 247 compatible = "ti,wait-gate-clock"; 263 compatible = "ti,wait-gate-clock"; 271 compatible = "ti,wait-gate-clock";
|
D | am43xx-clocks.dtsi | 109 compatible = "ti,gate-clock"; 117 compatible = "ti,gate-clock"; 125 compatible = "ti,gate-clock"; 133 compatible = "ti,gate-clock"; 141 compatible = "ti,gate-clock"; 149 compatible = "ti,gate-clock"; 351 compatible = "ti,gate-clock"; 504 compatible = "ti,gate-clock"; 512 compatible = "ti,gate-clock"; 520 compatible = "ti,gate-clock"; [all …]
|
D | omap3430es1-clocks.dtsi | 13 compatible = "ti,wait-gate-clock"; 38 compatible = "ti,wait-gate-clock"; 46 compatible = "ti,wait-gate-clock"; 54 compatible = "ti,wait-gate-clock"; 62 compatible = "ti,wait-gate-clock"; 70 compatible = "ti,composite-no-wait-gate-clock"; 157 compatible = "ti,gate-clock";
|
D | omap34xx-omap36xx-clocks.dtsi | 53 compatible = "ti,gate-clock"; 70 compatible = "ti,gate-clock"; 134 compatible = "ti,wait-gate-clock"; 142 compatible = "ti,wait-gate-clock"; 187 compatible = "ti,wait-gate-clock"; 219 compatible = "ti,wait-gate-clock";
|
D | dra7xx-clocks.dtsi | 1162 compatible = "ti,gate-clock"; 1227 compatible = "ti,gate-clock"; 1235 compatible = "ti,gate-clock"; 1253 compatible = "ti,gate-clock"; 1261 compatible = "ti,gate-clock"; 1269 compatible = "ti,gate-clock"; 1277 compatible = "ti,gate-clock"; 1498 compatible = "ti,gate-clock"; 1506 compatible = "ti,gate-clock"; 1514 compatible = "ti,gate-clock"; [all …]
|
D | omap443x-clocks.dtsi | 13 compatible = "ti,gate-clock";
|
D | omap446x-clocks.dtsi | 22 compatible = "ti,gate-clock";
|
D | omap36xx-omap3430es2plus-clocks.dtsi | 13 compatible = "ti,composite-no-wait-gate-clock"; 68 compatible = "ti,composite-gate-clock";
|
D | dm816x-clocks.dtsi | 108 compatible = "ti,gate-clock"; 181 compatible = "ti,gate-clock";
|
D | vexpress-v2p-ca5s.dts | 168 /* Test chip gate configuration */
|
D | picoxcell-pc3x3.dtsi | 44 compatible = "picochip,pc3x3-clk-gate";
|
/linux-4.1.27/drivers/clk/rockchip/ |
D | clk.c | 51 struct clk_gate *gate = NULL; in rockchip_clk_register_branch() local 71 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in rockchip_clk_register_branch() 72 if (!gate) in rockchip_clk_register_branch() 75 gate->flags = gate_flags; in rockchip_clk_register_branch() 76 gate->reg = base + gate_offset; in rockchip_clk_register_branch() 77 gate->bit_idx = gate_shift; in rockchip_clk_register_branch() 78 gate->lock = lock; in rockchip_clk_register_branch() 99 gate ? &gate->hw : NULL, gate_ops, in rockchip_clk_register_branch() 112 struct clk_gate *gate = NULL; in rockchip_clk_register_frac_branch() local 117 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in rockchip_clk_register_frac_branch() [all …]
|
/linux-4.1.27/net/nfc/hci/ |
D | command.c | 103 int nfc_hci_send_event(struct nfc_hci_dev *hdev, u8 gate, u8 event, in nfc_hci_send_event() argument 108 pr_debug("%d to gate %d\n", event, gate); in nfc_hci_send_event() 110 pipe = hdev->gate2pipe[gate]; in nfc_hci_send_event() 124 int nfc_hci_send_cmd(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, in nfc_hci_send_cmd() argument 131 pipe = hdev->gate2pipe[gate]; in nfc_hci_send_cmd() 139 int nfc_hci_send_cmd_async(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, in nfc_hci_send_cmd_async() argument 147 pipe = hdev->gate2pipe[gate]; in nfc_hci_send_cmd_async() 156 int nfc_hci_set_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx, in nfc_hci_set_param() argument 170 pr_debug("idx=%d to gate %d\n", idx, gate); in nfc_hci_set_param() 179 r = nfc_hci_send_cmd(hdev, gate, NFC_HCI_ANY_SET_PARAMETER, in nfc_hci_set_param() [all …]
|
D | core.c | 54 hdev->pipes[i].gate = NFC_HCI_INVALID_GATE; in nfc_hci_reset_pipes() 69 hdev->pipes[i].gate = NFC_HCI_INVALID_GATE; in nfc_hci_reset_pipes_per_host() 196 u8 gate = hdev->pipes[pipe].gate; in nfc_hci_cmd_received() local 202 pr_debug("from gate %x pipe %x cmd %x\n", gate, pipe, cmd); in nfc_hci_cmd_received() 218 hdev->pipes[create_info->pipe].gate = create_info->dest_gate; in nfc_hci_cmd_received() 223 if (gate == NFC_HCI_INVALID_GATE) { in nfc_hci_cmd_received() 235 hdev->pipes[delete_info->pipe].gate = NFC_HCI_INVALID_GATE; in nfc_hci_cmd_received() 248 pr_info("Discarded unknown cmd %x to gate %x\n", cmd, gate); in nfc_hci_cmd_received() 279 int nfc_hci_target_discovered(struct nfc_hci_dev *hdev, u8 gate) in nfc_hci_target_discovered() argument 287 pr_debug("from gate %d\n", gate); in nfc_hci_target_discovered() [all …]
|
D | hci.h | 24 u8 gate; member
|
/linux-4.1.27/include/net/nfc/ |
D | hci.h | 44 int (*target_from_gate) (struct nfc_hci_dev *hdev, u8 gate, 46 int (*complete_target_discovered) (struct nfc_hci_dev *hdev, u8 gate, 76 u8 gate; member 81 u8 gate; member 264 int nfc_hci_disconnect_gate(struct nfc_hci_dev *hdev, u8 gate); 266 int nfc_hci_get_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx, 268 int nfc_hci_set_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx, 270 int nfc_hci_send_cmd(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, 272 int nfc_hci_send_cmd_async(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, 275 int nfc_hci_send_event(struct nfc_hci_dev *hdev, u8 gate, u8 event, [all …]
|
D | nci_core.h | 148 u8 gate; member 154 u8 gate; member 279 int nci_hci_send_event(struct nci_dev *ndev, u8 gate, u8 event, 281 int nci_hci_send_cmd(struct nci_dev *ndev, u8 gate, 287 int nci_hci_set_param(struct nci_dev *ndev, u8 gate, u8 idx, 289 int nci_hci_get_param(struct nci_dev *ndev, u8 gate, u8 idx,
|
/linux-4.1.27/net/nfc/nci/ |
D | hci.c | 124 hdev->pipes[i].gate = NCI_HCI_INVALID_GATE; in nci_hci_reset_pipes() 136 ndev->hci_dev->pipes[i].gate = NCI_HCI_INVALID_GATE; in nci_hci_reset_pipes_per_host() 217 int nci_hci_send_event(struct nci_dev *ndev, u8 gate, u8 event, in nci_hci_send_event() argument 220 u8 pipe = ndev->hci_dev->gate2pipe[gate]; in nci_hci_send_event() 231 int nci_hci_send_cmd(struct nci_dev *ndev, u8 gate, u8 cmd, in nci_hci_send_cmd() argument 239 u8 pipe = ndev->hci_dev->gate2pipe[gate]; in nci_hci_send_cmd() 280 u8 gate = ndev->hci_dev->pipes[pipe].gate; in nci_hci_cmd_received() local 287 pr_debug("from gate %x pipe %x cmd %x\n", gate, pipe, cmd); in nci_hci_cmd_received() 305 ndev->hci_dev->pipes[new_pipe].gate = dest_gate; in nci_hci_cmd_received() 311 if (gate == NCI_HCI_INVALID_GATE) { in nci_hci_cmd_received() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/mfd/ |
D | omap-usb-host.txt | 48 * "usb_host_hs_utmi_p1_clk" - Port 1 UTMI clock gate. 49 * "usb_host_hs_utmi_p2_clk" - Port 2 UTMI clock gate. 50 * "usb_host_hs_utmi_p3_clk" - Port 3 UTMI clock gate. 51 * "usb_host_hs_hsic480m_p1_clk" - Port 1 480MHz HSIC clock gate. 52 * "usb_host_hs_hsic480m_p2_clk" - Port 2 480MHz HSIC clock gate. 53 * "usb_host_hs_hsic480m_p3_clk" - Port 3 480MHz HSIC clock gate. 54 * "usb_host_hs_hsic60m_p1_clk" - Port 1 60MHz HSIC clock gate. 55 * "usb_host_hs_hsic60m_p2_clk" - Port 2 60MHz HSIC clock gate. 56 * "usb_host_hs_hsic60m_p3_clk" - Port 3 60MHz HSIC clock gate.
|
/linux-4.1.27/drivers/clk/samsung/ |
D | clk-exynos-clkout.c | 29 struct clk_gate gate; member 93 clkout->gate.reg = clkout->reg + EXYNOS_PMU_DEBUG_REG; in exynos_clkout_init() 94 clkout->gate.bit_idx = EXYNOS_CLKOUT_DISABLE_SHIFT; in exynos_clkout_init() 95 clkout->gate.flags = CLK_GATE_SET_TO_DISABLE; in exynos_clkout_init() 96 clkout->gate.lock = &clkout->slock; in exynos_clkout_init() 105 &clk_mux_ops, NULL, NULL, &clkout->gate.hw, in exynos_clkout_init()
|
/linux-4.1.27/drivers/clk/pxa/ |
D | clk-pxa.c | 33 struct clk_gate gate; member 91 pxa_clk->gate = clks[i].gate; in clk_pxa_cken_init() 92 pxa_clk->gate.lock = &lock; in clk_pxa_cken_init() 97 &pxa_clk->gate.hw, &clk_gate_ops, in clk_pxa_cken_init()
|
D | clk-pxa.h | 78 struct clk_gate gate; member 90 .gate = { .reg = (void __iomem *)_cken_reg, .bit_idx = _cken_bit }, \
|
/linux-4.1.27/drivers/clk/pistachio/ |
D | clk.c | 60 struct pistachio_gate *gate, in pistachio_clk_register_gate() argument 67 clk = clk_register_gate(NULL, gate[i].name, gate[i].parent, in pistachio_clk_register_gate() 69 p->base + gate[i].reg, gate[i].shift, in pistachio_clk_register_gate() 71 p->clk_data.clks[gate[i].id] = clk; in pistachio_clk_register_gate()
|
D | clk.h | 155 struct pistachio_gate *gate,
|
/linux-4.1.27/net/mac80211/ |
D | mesh_pathtbl.c | 129 struct mpath_node *gate; in mesh_table_free() local 143 hlist_for_each_entry_safe(gate, q, in mesh_table_free() 145 hlist_del(&gate->list); in mesh_table_free() 146 kfree(gate); in mesh_table_free() 447 struct mpath_node *gate, *new_gate; in mesh_path_add_gate() local 453 hlist_for_each_entry_rcu(gate, tbl->known_gates, list) in mesh_path_add_gate() 454 if (gate->mpath == mpath) { in mesh_path_add_gate() 489 struct mpath_node *gate; in mesh_gate_del() local 492 hlist_for_each_entry_safe(gate, q, tbl->known_gates, list) { in mesh_gate_del() 493 if (gate->mpath != mpath) in mesh_gate_del() [all …]
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
D | ni_tio.c | 994 static unsigned ni_660x_gate_to_generic_gate(unsigned gate) in ni_660x_gate_to_generic_gate() argument 998 switch (gate) { in ni_660x_gate_to_generic_gate() 1011 if (gate == NI_660X_RTSI_GATE_SEL(i)) in ni_660x_gate_to_generic_gate() 1015 if (gate == NI_660X_PIN_GATE_SEL(i)) in ni_660x_gate_to_generic_gate() 1024 static unsigned ni_m_gate_to_generic_gate(unsigned gate) in ni_m_gate_to_generic_gate() argument 1028 switch (gate) { in ni_m_gate_to_generic_gate() 1047 if (gate == NI_M_RTSI_GATE_SEL(i)) in ni_m_gate_to_generic_gate() 1051 if (gate == NI_M_PFI_GATE_SEL(i)) in ni_m_gate_to_generic_gate() 1060 static unsigned ni_660x_gate2_to_generic_gate(unsigned gate) in ni_660x_gate2_to_generic_gate() argument 1064 switch (gate) { in ni_660x_gate2_to_generic_gate() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/net/ |
D | rockchip-dwmac.txt | 13 <&cru SCLK_MAC_RX>: clock gate for RX 14 <&cru SCLK_MAC_TX>: clock gate for TX 15 <&cru SCLK_MACREF>: clock gate for RMII referce clock 16 <&cru SCLK_MACREF_OUT> clock gate for RMII reference clock output 17 <&cru ACLK_GMAC>: AXI clock gate for GMAC 18 <&cru PCLK_GMAC>: APB clock gate for GMAC
|
D | marvell-orion-mdio.txt | 14 - clocks: Phandle to the clock control device and gate bit
|
/linux-4.1.27/drivers/nfc/microread/ |
D | microread.c | 346 static int microread_target_from_gate(struct nfc_hci_dev *hdev, u8 gate, in microread_target_from_gate() argument 349 switch (gate) { in microread_target_from_gate() 361 u8 gate, in microread_complete_target_discovered() argument 481 static void microread_target_discovered(struct nfc_hci_dev *hdev, u8 gate, in microread_target_discovered() argument 487 pr_info("target discovered to gate 0x%x\n", gate); in microread_target_discovered() 495 targets->hci_reader_gate = gate; in microread_target_discovered() 497 switch (gate) { in microread_target_discovered() 544 pr_info("discard target discovered to gate 0x%x\n", gate); in microread_target_discovered() 564 u8 gate = hdev->pipes[pipe].gate; in microread_event_received() local 567 pr_info("Microread received event 0x%x to gate 0x%x\n", event, gate); in microread_event_received() [all …]
|
/linux-4.1.27/drivers/nfc/st21nfca/ |
D | st21nfca.c | 189 (st21nfca_gates[j].gate != info->dst_gate_id) ; j++) in st21nfca_hci_load_session() 193 st21nfca_gates[j].gate == info->dst_gate_id && in st21nfca_hci_load_session() 197 hdev->gate2pipe[st21nfca_gates[j].gate] = in st21nfca_hci_load_session() 199 hdev->pipes[st21nfca_gates[j].pipe].gate = in st21nfca_hci_load_session() 200 st21nfca_gates[j].gate; in st21nfca_hci_load_session() 216 st21nfca_gates[i].gate, in st21nfca_hci_load_session() 647 static int st21nfca_hci_target_from_gate(struct nfc_hci_dev *hdev, u8 gate, in st21nfca_hci_target_from_gate() argument 655 switch (gate) { in st21nfca_hci_target_from_gate() 702 u8 gate, in st21nfca_hci_complete_target_discovered() argument 708 if (gate == ST21NFCA_RF_READER_F_GATE) { in st21nfca_hci_complete_target_discovered() [all …]
|
/linux-4.1.27/drivers/nfc/st21nfcb/ |
D | st21nfcb_se.c | 229 (st21nfcb_gates[j].gate != dm_pipe_info->dst_gate_id); j++) in st21nfcb_hci_load_session() 233 st21nfcb_gates[j].gate == dm_pipe_info->dst_gate_id && in st21nfcb_hci_load_session() 237 ndev->hci_dev->gate2pipe[st21nfcb_gates[j].gate] = in st21nfcb_hci_load_session() 239 ndev->hci_dev->pipes[st21nfcb_gates[j].pipe].gate = in st21nfcb_hci_load_session() 240 st21nfcb_gates[j].gate; in st21nfcb_hci_load_session() 361 u8 gate = ndev->hci_dev->pipes[pipe].gate; in st21nfcb_hci_event_received() local 364 switch (gate) { in st21nfcb_hci_event_received() 384 u8 gate = ndev->hci_dev->pipes[pipe].gate; in st21nfcb_hci_cmd_received() local 390 if (gate != ST21NFCB_APDU_READER_GATE && in st21nfcb_hci_cmd_received()
|
/linux-4.1.27/drivers/clk/st/ |
D | clkgen-mux.c | 738 struct clk_gate *gate; in st_of_clkgen_vcc_setup() local 752 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in st_of_clkgen_vcc_setup() 753 if (!gate) in st_of_clkgen_vcc_setup() 758 kfree(gate); in st_of_clkgen_vcc_setup() 764 kfree(gate); in st_of_clkgen_vcc_setup() 769 gate->reg = reg + VCC_GATE_OFFSET; in st_of_clkgen_vcc_setup() 770 gate->bit_idx = i; in st_of_clkgen_vcc_setup() 771 gate->flags = CLK_GATE_SET_TO_DISABLE; in st_of_clkgen_vcc_setup() 772 gate->lock = data->lock; in st_of_clkgen_vcc_setup() 788 &gate->hw, &clk_gate_ops, in st_of_clkgen_vcc_setup() [all …]
|
D | clkgen-pll.c | 555 struct clk_gate *gate; in clkgen_odf_register() local 560 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in clkgen_odf_register() 561 if (!gate) in clkgen_odf_register() 564 gate->flags = CLK_GATE_SET_TO_DISABLE; in clkgen_odf_register() 565 gate->reg = reg + pll_data->odf_gate[odf].offset; in clkgen_odf_register() 566 gate->bit_idx = pll_data->odf_gate[odf].shift; in clkgen_odf_register() 567 gate->lock = odf_lock; in clkgen_odf_register() 571 kfree(gate); in clkgen_odf_register() 584 &gate->hw, &clk_gate_ops, in clkgen_odf_register()
|
/linux-4.1.27/drivers/nfc/pn544/ |
D | pn544.c | 492 static int pn544_hci_target_from_gate(struct nfc_hci_dev *hdev, u8 gate, in pn544_hci_target_from_gate() argument 495 switch (gate) { in pn544_hci_target_from_gate() 514 u8 gate, in pn544_hci_complete_target_discovered() argument 520 if (gate == PN544_RF_READER_NFCIP1_INITIATOR_GATE) in pn544_hci_complete_target_discovered() 731 u8 gate = hdev->pipes[pipe].gate; in pn544_hci_event_received() local 737 if (gate == PN544_RF_READER_NFCIP1_INITIATOR_GATE) { in pn544_hci_event_received() 738 r = nfc_hci_target_discovered(hdev, gate); in pn544_hci_event_received() 739 } else if (gate == PN544_RF_READER_NFCIP1_TARGET_GATE) { in pn544_hci_event_received() 740 r = nfc_hci_get_param(hdev, gate, PN544_DEP_ATR_REQ, in pn544_hci_event_received() 755 r = nfc_hci_send_event(hdev, gate, NFC_HCI_EVT_END_OPERATION, in pn544_hci_event_received()
|
/linux-4.1.27/arch/mips/include/asm/octeon/ |
D | cvmx-rst-defs.h | 255 uint64_t gate:48; member 257 uint64_t gate:48; 264 uint64_t gate:4; member 266 uint64_t gate:4;
|
/linux-4.1.27/drivers/mfd/ |
D | sm501.c | 320 unsigned long gate; in sm501_unit_power() local 326 gate = smc501_readl(sm->regs + SM501_CURRENT_GATE); in sm501_unit_power() 348 if (gate & (1 << unit)) in sm501_unit_power() 350 gate |= (1 << unit); in sm501_unit_power() 352 if (!(gate & (1 << unit))) in sm501_unit_power() 354 gate &= ~(1 << unit); in sm501_unit_power() 359 smc501_writel(gate, sm->regs + SM501_POWER_MODE_0_GATE); in sm501_unit_power() 365 smc501_writel(gate, sm->regs + SM501_POWER_MODE_1_GATE); in sm501_unit_power() 371 gate = -1; in sm501_unit_power() 379 gate, clock, mode); in sm501_unit_power() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/iommu/ |
D | samsung,sysmmu.txt | 42 - clock-names: Should be "sysmmu" if the System MMU is needed to gate its clock. 44 another gate clock other than "sysmmu". 47 - clocks: Required if the System MMU is needed to gate its clock. 48 - power-domains: Required if the System MMU is needed to gate its power.
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | kv_dpm.c | 56 void kv_dpm_powergate_uvd(struct radeon_device *rdev, bool gate); 57 static void kv_dpm_powergate_vce(struct radeon_device *rdev, bool gate); 58 static void kv_dpm_powergate_samu(struct radeon_device *rdev, bool gate); 59 static void kv_dpm_powergate_acp(struct radeon_device *rdev, bool gate); 1423 static int kv_update_uvd_dpm(struct radeon_device *rdev, bool gate) in kv_update_uvd_dpm() argument 1431 if (!gate) { in kv_update_uvd_dpm() 1456 return kv_enable_uvd_dpm(rdev, !gate); in kv_update_uvd_dpm() 1516 static int kv_update_samu_dpm(struct radeon_device *rdev, bool gate) in kv_update_samu_dpm() argument 1523 if (!gate) { in kv_update_samu_dpm() 1544 return kv_enable_samu_dpm(rdev, !gate); in kv_update_samu_dpm() [all …]
|
D | ci_dpm.c | 185 static int ci_update_uvd_dpm(struct radeon_device *rdev, bool gate); 761 void ci_dpm_powergate_uvd(struct radeon_device *rdev, bool gate) in ci_dpm_powergate_uvd() argument 765 if (pi->uvd_power_gated == gate) in ci_dpm_powergate_uvd() 768 pi->uvd_power_gated = gate; in ci_dpm_powergate_uvd() 770 ci_update_uvd_dpm(rdev, gate); in ci_dpm_powergate_uvd() 4044 static int ci_update_uvd_dpm(struct radeon_device *rdev, bool gate) in ci_update_uvd_dpm() argument 4049 if (!gate) { in ci_update_uvd_dpm() 4063 return ci_enable_uvd_dpm(rdev, !gate); in ci_update_uvd_dpm() 4112 static int ci_update_samu_dpm(struct radeon_device *rdev, bool gate) 4114 return ci_enable_samu_dpm(rdev, gate); [all …]
|
D | radeon_asic.h | 890 void ci_dpm_powergate_uvd(struct radeon_device *rdev, bool gate); 919 void kv_dpm_powergate_uvd(struct radeon_device *rdev, bool gate);
|
D | radeon.h | 1987 void (*powergate_uvd)(struct radeon_device *rdev, bool gate);
|
/linux-4.1.27/drivers/media/tuners/ |
D | tda18271-common.c | 26 enum tda18271_i2c_gate gate; in tda18271_i2c_gate_ctrl() local 29 switch (priv->gate) { in tda18271_i2c_gate_ctrl() 32 gate = priv->gate; in tda18271_i2c_gate_ctrl() 38 gate = TDA18271_GATE_DIGITAL; in tda18271_i2c_gate_ctrl() 42 gate = TDA18271_GATE_ANALOG; in tda18271_i2c_gate_ctrl() 47 switch (gate) { in tda18271_i2c_gate_ctrl()
|
D | tda18271.h | 97 enum tda18271_i2c_gate gate; member
|
D | tda18271-fe.c | 1205 priv->gate = (cfg) ? cfg->gate : TDA18271_GATE_AUTO; in tda18271_setup_configuration() 1316 if (cfg->gate != TDA18271_GATE_ANALOG) in tda18271_attach() 1317 priv->gate = cfg->gate; in tda18271_attach()
|
D | tda18271-priv.h | 109 enum tda18271_i2c_gate gate; member
|
D | tda8290.c | 575 .gate = TDA18271_GATE_ANALOG,
|
/linux-4.1.27/arch/um/os-Linux/drivers/ |
D | ethertap_user.c | 91 static int etap_tramp(char *dev, char *gate, int control_me, in etap_tramp() argument 107 if (gate != NULL) { in etap_tramp() 108 strcpy(gate_buf, gate); in etap_tramp()
|
D | tuntap_user.c | 62 static int tuntap_open_tramp(char *gate, int *fd_out, int me, int remote, in tuntap_open_tramp() argument 67 char *argv[] = { "uml_net", version_buf, "tuntap", "up", gate, in tuntap_open_tramp()
|
/linux-4.1.27/drivers/media/platform/s5p-g2d/ |
D | g2d.c | 508 clk_enable(dev->gate); in device_run() 543 clk_disable(dev->gate); in g2d_isr() 654 dev->gate = clk_get(&pdev->dev, "fimg2d"); in g2d_probe() 655 if (IS_ERR(dev->gate)) { in g2d_probe() 661 ret = clk_prepare(dev->gate); in g2d_probe() 743 clk_unprepare(dev->gate); in g2d_probe() 745 clk_put(dev->gate); in g2d_probe() 763 clk_unprepare(dev->gate); in g2d_remove() 764 clk_put(dev->gate); in g2d_remove()
|
D | g2d.h | 31 struct clk *gate; member
|
/linux-4.1.27/Documentation/arm/sunxi/ |
D | clocks.txt | 12 steps, one can gate it and keep the system running. Consider this 36 Finally you can gate the main oscillator
|
/linux-4.1.27/drivers/clk/keystone/ |
D | Makefile | 1 obj-y += pll.o gate.o
|
/linux-4.1.27/Documentation/ |
D | clk.txt | 101 drivers/clk/clk-gate.c: 130 [resolves struct clk gate with to_clk_gate(hw)] 131 clk_gate_set_bit(gate); 135 static void clk_gate_set_bit(struct clk_gate *gate) 139 reg = __raw_readl(gate->reg); 140 reg |= BIT(gate->bit_idx); 141 writel(reg, gate->reg); 201 | gate | change rate | single parent | multiplexer | root |
|
/linux-4.1.27/drivers/clk/socfpga/ |
D | Makefile | 2 obj-y += clk-gate.o
|
/linux-4.1.27/drivers/mmc/core/ |
D | Kconfig | 8 This will attempt to aggressively gate the clock to the MMC card.
|
/linux-4.1.27/include/media/ |
D | videobuf2-dvb.h | 40 int gate; /* Frontend with gate control 0=!MFE,1=fe0,2=fe1 etc */ member
|
D | videobuf-dvb.h | 40 int gate; /* Frontend with gate control 0=!MFE,1=fe0,2=fe1 etc */ member
|
/linux-4.1.27/Documentation/nfc/ |
D | nfc-hci.txt | 44 A gate defines the 'port' where some service can be found. In order to access 45 a service, one must create a pipe to that gate and open it. In this 73 int (*target_from_gate) (struct nfc_hci_dev *hdev, u8 gate, 75 int (*complete_target_discovered) (struct nfc_hci_dev *hdev, u8 gate, 83 int (*event_received)(struct nfc_hci_dev *hdev, u8 gate, u8 event, 100 corresponding to a proprietary gate. 209 int nfc_hci_send_cmd (struct nfc_hci_dev *hdev, u8 gate, u8 cmd, 254 ANY_GET_PARAMETER to the reader A gate to get information on the target
|
/linux-4.1.27/Documentation/devicetree/bindings/media/ |
D | exynos-jpeg-codec.txt | 11 - "jpeg" for the core gate clock,
|
D | exynos-fimc-lite.txt | 12 - clocks : FIMC LITE gate clock should be specified in this property.
|
D | exynos4-fimc-is.txt | 40 - clocks : must contain gate clock specifier for this controller;
|
/linux-4.1.27/Documentation/ia64/ |
D | fsys.txt | 209 such that execution resumes in the gate page at 220 PSR.is Unchanged (guaranteed to be 0 on entry to the gate page). 228 state such that execution resumes in the gate page at 255 mov r2 = 0xa000000000020660;; // gate address 274 In reality, getting the gate address is accomplished by two extra 278 o AT_SYSINFO_EHDR : is the address of the kernel gate ELF DSO 281 the gate page. It is a proper ELF shared object so, with a dynamic
|
/linux-4.1.27/Documentation/devicetree/bindings/serio/ |
D | allwinner,sun4i-ps2.txt | 13 - clocks : The gate clk connected to the PS2.
|
/linux-4.1.27/arch/x86/kvm/ |
D | i8254.h | 20 u8 gate; /* timer start */ member
|
D | i8254.c | 91 if (c->gate < val) in pit_set_gate() 96 c->gate = val; in pit_set_gate() 103 return kvm->arch.vpit->pit_state.channels[channel].gate; in pit_get_gate() 649 c->gate = (i != 2); in kvm_pit_reset()
|
/linux-4.1.27/Documentation/devicetree/bindings/usb/ |
D | keystone-phy.txt | 10 gate on the Keystone SOC for both the USB2 and USB3 PHY. Otherwise it is just
|
/linux-4.1.27/drivers/clk/mvebu/ |
D | common.c | 215 struct clk_gate *gate = in clk_gating_get_src() local 217 if (clkspec->args[0] == gate->bit_idx) in clk_gating_get_src()
|
/linux-4.1.27/Documentation/devicetree/bindings/arm/ux500/ |
D | power_domain.txt | 3 UX500 supports multiple PM domains which are used to gate power to one or
|
/linux-4.1.27/arch/sh/kernel/vsyscall/ |
D | Makefile | 17 vsyscall-flags = -shared -s -Wl,-soname=linux-gate.so.1 \
|
/linux-4.1.27/Documentation/devicetree/bindings/i2c/ |
D | i2c-sunxi-p2wi.txt | 10 - clocks : The gate clk connected to the P2WI peripheral.
|
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/ |
D | lmedm04.c | 481 u8 gate = st->i2c_gate; in lme2510_i2c_xfer() local 485 if (gate == 0) in lme2510_i2c_xfer() 486 gate = 5; in lme2510_i2c_xfer() 492 gate = (msg[i].addr == st->i2c_tuner_addr) in lme2510_i2c_xfer() 496 obuf[0] = gate | (read << 7); in lme2510_i2c_xfer() 498 if (gate == 5) in lme2510_i2c_xfer()
|
D | af9015.c | 884 .gate = TDA18271_GATE_DIGITAL,
|
/linux-4.1.27/Documentation/devicetree/bindings/drm/imx/ |
D | ldb.txt | 25 "di0" - LDB LVDS channel 0 gate 26 "di1" - LDB LVDS channel 1 gate
|
/linux-4.1.27/Documentation/virtual/kvm/ |
D | timekeeping.txt | 52 has a connected gate input, required for modes 1 and 5. The gate line is 81 when the gate is high (always true for timers 0 and 1). When the count 84 Mode 1: Triggered One-shot. The output is initially set high. When the gate 85 line is set high, a countdown is initiated (which does not stop if the gate is 91 is reloaded and the countdown automatically resumes. If the gate line goes 92 low, the count is halted. If the output is low when the gate is lowered, the 97 when zero is reached. The count only proceeds when gate is high and is 109 Counting only occurs when gate is high. 112 output remains high. When the gate is raised, a countdown is initiated 113 (which does not stop if the gate is lowered). When the counter reaches zero,
|
/linux-4.1.27/drivers/media/usb/pvrusb2/ |
D | pvrusb2-devattr.c | 336 .gate = TDA18271_GATE_ANALOG, 434 .gate = TDA18271_GATE_ANALOG,
|
/linux-4.1.27/Documentation/devicetree/bindings/arm/exynos/ |
D | power_domain.txt | 4 to gate power to one or more peripherals on the processor.
|
/linux-4.1.27/Documentation/devicetree/bindings/clock/st/ |
D | st,flexgen.txt | 6 - a pre and final dividers (represented by a divider and gate elements)
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
D | cx23885-dvb.c | 146 if (f->gate <= 1) /* undefined or fe0 */ in cx23885_dvb_gate_ctrl() 149 fe = vb2_dvb_get_frontend(f, f->gate); in cx23885_dvb_gate_ctrl() 327 .gate = TDA18271_GATE_ANALOG, 333 .gate = TDA18271_GATE_ANALOG, 338 .gate = TDA18271_GATE_DIGITAL, 343 .gate = TDA18271_GATE_DIGITAL, 1207 port->frontends.gate = 0; in dvb_register() 1706 port->frontends.gate = 0;/* not clear for me yet */ in dvb_register()
|
/linux-4.1.27/Documentation/devicetree/bindings/phy/ |
D | samsung-phy.txt | 43 - the "phy" clock is required by the phy module, used as a gate 144 gate clocks available:
|
/linux-4.1.27/arch/parisc/kernel/ |
D | syscall.S | 80 gate lws_start, %r0 /* increase privilege */ 91 gate .+8, %r0 /* increase privilege */ 105 gate .+8, %r0 /* become privileged */
|
/linux-4.1.27/drivers/media/usb/cx231xx/ |
D | cx231xx-dvb.c | 96 .gate = TDA18271_GATE_ANALOG, 138 .gate = TDA18271_GATE_DIGITAL, 148 .gate = TDA18271_GATE_DIGITAL,
|
/linux-4.1.27/drivers/media/pci/saa7134/ |
D | saa7134-dvb.c | 242 .gate = TDA18271_GATE_DIGITAL, 1112 .gate = TDA18271_GATE_ANALOG, 1134 .gate = TDA18271_GATE_ANALOG, 1160 .gate = TDA18271_GATE_ANALOG, 1179 .gate = TDA18271_GATE_ANALOG, 1192 .gate = TDA18271_GATE_ANALOG,
|
/linux-4.1.27/drivers/media/pci/saa7164/ |
D | saa7164-dvb.c | 63 .gate = TDA18271_GATE_ANALOG, 69 .gate = TDA18271_GATE_ANALOG,
|
/linux-4.1.27/Documentation/devicetree/bindings/interrupt-controller/ |
D | brcm,bcm7120-l2-intc.txt | 74 have a mux gate, typically UARTs. Setting these bits will make their
|
/linux-4.1.27/arch/x86/include/uapi/asm/ |
D | kvm.h | 241 __u8 gate; member
|
/linux-4.1.27/drivers/media/pci/cx88/ |
D | cx88-dvb.c | 212 if (f->gate <= 1) /* undefined or fe0 */ in cx88_dvb_gate_ctrl() 215 fe = vb2_dvb_get_frontend(f, f->gate); in cx88_dvb_gate_ctrl() 1020 dev->frontends.gate = 0; in dvb_register() 1080 dev->frontends.gate = 2; in dvb_register() 1449 dev->frontends.gate = 2; in dvb_register()
|
/linux-4.1.27/drivers/media/usb/em28xx/ |
D | em28xx-dvb.c | 369 .gate = TDA18271_GATE_DIGITAL, 807 .gate = TDA18271_GATE_DIGITAL, 847 .gate = TDA18271_GATE_DIGITAL, 871 .gate = TDA18271_GATE_DIGITAL,
|
/linux-4.1.27/Documentation/devicetree/bindings/sound/ |
D | samsung-i2s.txt | 44 CLK_I2S_CDCLK - the CDCLK (CODECLKO) gate clock,
|
/linux-4.1.27/arch/arm/common/ |
D | mcpm_head.S | 193 @ Observability order of CPU_UP and opening of the gate does not matter.
|
/linux-4.1.27/arch/x86/vdso/ |
D | Makefile | 135 VDSO_LDFLAGS_vdso32.lds = -m32 -Wl,-m,elf_i386 -Wl,-soname=linux-gate.so.1
|
/linux-4.1.27/Documentation/x86/ |
D | entry_64.txt | 81 If we are at an interrupt or user-trap/gate-alike boundary then we can
|
/linux-4.1.27/Documentation/x86/x86_64/ |
D | kernel-stacks | 40 interrupt-gate descriptor. When an interrupt occurs and the hardware
|
/linux-4.1.27/Documentation/devicetree/bindings/arm/msm/ |
D | qcom,idle-state.txt | 14 When the WFI instruction is executed the ARM core would gate its internal
|
/linux-4.1.27/drivers/media/pci/cx18/ |
D | cx18-dvb.c | 105 .gate = TDA18271_GATE_DIGITAL,
|
/linux-4.1.27/drivers/media/usb/au0828/ |
D | au0828-dvb.c | 107 .gate = TDA18271_GATE_DIGITAL,
|
/linux-4.1.27/arch/arm/mach-tegra/ |
D | sleep-tegra30.S | 175 * Clear this CPU's "event" and "interrupt" flags and power gate
|
/linux-4.1.27/Documentation/devicetree/bindings/ |
D | marvell.txt | 117 - clocks : Phandle to the clock control device and gate bit
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/ |
D | ich8lan.c | 154 static void e1000_gate_hw_phy_config_ich8lan(struct e1000_hw *hw, bool gate); 2677 static void e1000_gate_hw_phy_config_ich8lan(struct e1000_hw *hw, bool gate) in e1000_gate_hw_phy_config_ich8lan() argument 2686 if (gate) in e1000_gate_hw_phy_config_ich8lan()
|
/linux-4.1.27/drivers/media/usb/dvb-usb/ |
D | dw2102.c | 1118 .gate = TDA18271_GATE_DIGITAL,
|
/linux-4.1.27/drivers/net/ethernet/nvidia/ |
D | forcedeth.c | 1050 static void nv_txrx_gate(struct net_device *dev, bool gate) in nv_txrx_gate() argument 1059 if (gate) in nv_txrx_gate()
|
/linux-4.1.27/Documentation/power/ |
D | devices.txt | 370 On many platforms they will gate off one or more clock sources; sometimes they
|