Home
last modified time | relevance | path

Searched defs:gate (Results 1 – 25 of 214) sorted by relevance

123456789

/kernel/linux/linux-5.10/drivers/clk/tegra/
Dclk-periph-gate.c19 #define read_enb(gate) \ argument
21 #define write_enb_set(val, gate) \ argument
23 #define write_enb_clr(val, gate) \ argument
26 #define read_rst(gate) \ argument
28 #define write_rst_clr(val, gate) \ argument
31 #define periph_clk_to_bit(gate) (1 << (gate->clk_num % 32)) argument
38 struct tegra_clk_periph_gate *gate = to_clk_periph_gate(hw); in clk_periph_is_enabled() local
53 struct tegra_clk_periph_gate *gate = to_clk_periph_gate(hw); in clk_periph_enable_locked() local
76 struct tegra_clk_periph_gate *gate = to_clk_periph_gate(hw); in clk_periph_disable_locked() local
91 struct tegra_clk_periph_gate *gate = to_clk_periph_gate(hw); in clk_periph_enable() local
[all …]
/kernel/linux/linux-4.19/drivers/clk/tegra/
Dclk-periph-gate.c30 #define read_enb(gate) \ argument
32 #define write_enb_set(val, gate) \ argument
34 #define write_enb_clr(val, gate) \ argument
37 #define read_rst(gate) \ argument
39 #define write_rst_clr(val, gate) \ argument
42 #define periph_clk_to_bit(gate) (1 << (gate->clk_num % 32)) argument
49 struct tegra_clk_periph_gate *gate = to_clk_periph_gate(hw); in clk_periph_is_enabled() local
64 struct tegra_clk_periph_gate *gate = to_clk_periph_gate(hw); in clk_periph_enable() local
100 struct tegra_clk_periph_gate *gate = to_clk_periph_gate(hw); in clk_periph_disable() local
134 struct tegra_clk_periph_gate *gate; in tegra_clk_register_periph_gate() local
/kernel/linux/linux-5.10/drivers/staging/sm750fb/
Dddk750_power.c75 void sm750_set_current_gate(unsigned int gate) in sm750_set_current_gate()
88 u32 gate; in sm750_enable_2d_engine() local
101 u32 gate; in sm750_enable_dma() local
118 u32 gate; in sm750_enable_gpio() local
135 u32 gate; in sm750_enable_i2c() local
/kernel/linux/linux-4.19/drivers/staging/sm750fb/
Dddk750_power.c75 void sm750_set_current_gate(unsigned int gate) in sm750_set_current_gate()
88 u32 gate; in sm750_enable_2d_engine() local
101 u32 gate; in sm750_enable_dma() local
118 u32 gate; in sm750_enable_gpio() local
135 u32 gate; in sm750_enable_i2c() local
/kernel/linux/linux-5.10/drivers/clk/
Dclk-gate.c26 static inline u32 clk_gate_readl(struct clk_gate *gate) in clk_gate_readl()
34 static inline void clk_gate_writel(struct clk_gate *gate, u32 val) in clk_gate_writel()
57 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_endisable() local
105 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_is_enabled() local
134 struct clk_gate *gate; in __clk_hw_register_gate() local
201 struct clk_gate *gate; in clk_unregister_gate() local
217 struct clk_gate *gate; in clk_hw_unregister_gate() local
Dclk-ast2600.c232 static u32 get_reset_reg(struct aspeed_clk_gate *gate) in get_reset_reg()
240 static u32 get_clock_reg(struct aspeed_clk_gate *gate) in get_clock_reg()
250 struct aspeed_clk_gate *gate = to_aspeed_clk_gate(hw); in aspeed_g6_clk_is_enabled() local
278 struct aspeed_clk_gate *gate = to_aspeed_clk_gate(hw); in aspeed_g6_clk_enable() local
320 struct aspeed_clk_gate *gate = to_aspeed_clk_gate(hw); in aspeed_g6_clk_disable() local
390 struct aspeed_clk_gate *gate; in aspeed_g6_clk_hw_register_gate() local
/kernel/linux/linux-4.19/drivers/clk/
Dclk-gate.c44 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_endisable() local
92 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_is_enabled() local
129 struct clk_gate *gate; in clk_hw_register_gate() local
187 struct clk_gate *gate; in clk_unregister_gate() local
203 struct clk_gate *gate; in clk_hw_unregister_gate() local
/kernel/linux/linux-4.19/drivers/clk/mmp/
Dclk-gate.c29 struct mmp_clk_gate *gate = to_clk_mmp_gate(hw); in mmp_clk_gate_enable() local
56 struct mmp_clk_gate *gate = to_clk_mmp_gate(hw); in mmp_clk_gate_disable() local
74 struct mmp_clk_gate *gate = to_clk_mmp_gate(hw); in mmp_clk_gate_is_enabled() local
100 struct mmp_clk_gate *gate; in mmp_clk_register_gate() local
/kernel/linux/linux-5.10/drivers/clk/mmp/
Dclk-gate.c29 struct mmp_clk_gate *gate = to_clk_mmp_gate(hw); in mmp_clk_gate_enable() local
56 struct mmp_clk_gate *gate = to_clk_mmp_gate(hw); in mmp_clk_gate_disable() local
74 struct mmp_clk_gate *gate = to_clk_mmp_gate(hw); in mmp_clk_gate_is_enabled() local
100 struct mmp_clk_gate *gate; in mmp_clk_register_gate() local
/kernel/linux/linux-4.19/drivers/clk/imx/
Dclk-gate2.c44 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_enable() local
66 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_disable() local
99 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_is_enabled() local
106 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_disable_unused() local
134 struct clk_gate2 *gate; in clk_register_gate2() local
Dclk-gate-exclusive.c28 struct clk_gate gate; member
34 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_exclusive_enable() local
65 struct clk_gate *gate; in imx_clk_gate_exclusive() local
/kernel/linux/linux-5.10/drivers/clk/imx/
Dclk-gate2.c42 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_enable() local
69 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_disable() local
106 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_is_enabled() local
116 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_disable_unused() local
147 struct clk_gate2 *gate; in clk_hw_register_gate2() local
Dclk-gate-exclusive.c25 struct clk_gate gate; member
31 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_exclusive_enable() local
62 struct clk_gate *gate; in imx_clk_hw_gate_exclusive() local
/kernel/linux/linux-5.10/drivers/clk/zynqmp/
Dclk-gate-zynqmp.c36 struct zynqmp_clk_gate *gate = to_zynqmp_clk_gate(hw); in zynqmp_clk_gate_enable() local
56 struct zynqmp_clk_gate *gate = to_zynqmp_clk_gate(hw); in zynqmp_clk_gate_disable() local
76 struct zynqmp_clk_gate *gate = to_zynqmp_clk_gate(hw); in zynqmp_clk_gate_is_enabled() local
112 struct zynqmp_clk_gate *gate; in zynqmp_clk_register_gate() local
/kernel/linux/linux-5.10/drivers/clk/bcm/
Dclk-kona.c358 __is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate) in __is_clk_gate_enabled()
375 is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate) in is_clk_gate_enabled()
396 __gate_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate) in __gate_commit()
447 static bool gate_init(struct ccu_data *ccu, struct bcm_clk_gate *gate) in gate_init()
461 __clk_gate(struct ccu_data *ccu, struct bcm_clk_gate *gate, bool enable) in __clk_gate()
487 struct bcm_clk_gate *gate, bool enable) in clk_gate()
591 static int __div_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate, in __div_commit()
647 static bool div_init(struct ccu_data *ccu, struct bcm_clk_gate *gate, in div_init()
655 static int divider_write(struct ccu_data *ccu, struct bcm_clk_gate *gate, in divider_write()
874 __sel_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate, in __sel_commit()
[all …]
/kernel/linux/linux-4.19/drivers/clk/bcm/
Dclk-kona.c357 __is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate) in __is_clk_gate_enabled()
374 is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate) in is_clk_gate_enabled()
395 __gate_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate) in __gate_commit()
446 static bool gate_init(struct ccu_data *ccu, struct bcm_clk_gate *gate) in gate_init()
460 __clk_gate(struct ccu_data *ccu, struct bcm_clk_gate *gate, bool enable) in __clk_gate()
486 struct bcm_clk_gate *gate, bool enable) in clk_gate()
590 static int __div_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate, in __div_commit()
646 static bool div_init(struct ccu_data *ccu, struct bcm_clk_gate *gate, in div_init()
654 static int divider_write(struct ccu_data *ccu, struct bcm_clk_gate *gate, in divider_write()
873 __sel_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate, in __sel_commit()
[all …]
/kernel/linux/linux-4.19/drivers/clk/actions/
Dowl-gate.c36 struct owl_gate *gate = hw_to_owl_gate(hw); in owl_gate_disable() local
44 struct owl_gate *gate = hw_to_owl_gate(hw); in owl_gate_enable() local
67 struct owl_gate *gate = hw_to_owl_gate(hw); in owl_gate_is_enabled() local
/kernel/linux/linux-5.10/drivers/clk/actions/
Dowl-gate.c36 struct owl_gate *gate = hw_to_owl_gate(hw); in owl_gate_disable() local
44 struct owl_gate *gate = hw_to_owl_gate(hw); in owl_gate_enable() local
67 struct owl_gate *gate = hw_to_owl_gate(hw); in owl_gate_is_enabled() local
/kernel/linux/linux-4.19/net/nfc/hci/
Dcommand.c103 int nfc_hci_send_event(struct nfc_hci_dev *hdev, u8 gate, u8 event, 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()
139 int nfc_hci_send_cmd_async(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, 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()
188 int nfc_hci_get_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx, in nfc_hci_get_param()
281 int nfc_hci_disconnect_gate(struct nfc_hci_dev *hdev, u8 gate) in nfc_hci_disconnect_gate()
/kernel/linux/linux-5.10/net/nfc/hci/
Dcommand.c91 int nfc_hci_send_event(struct nfc_hci_dev *hdev, u8 gate, u8 event, in nfc_hci_send_event()
112 int nfc_hci_send_cmd(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, in nfc_hci_send_cmd()
127 int nfc_hci_send_cmd_async(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, in nfc_hci_send_cmd_async()
144 int nfc_hci_set_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx, in nfc_hci_set_param()
176 int nfc_hci_get_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx, in nfc_hci_get_param()
269 int nfc_hci_disconnect_gate(struct nfc_hci_dev *hdev, u8 gate) in nfc_hci_disconnect_gate()
/kernel/linux/linux-5.10/drivers/clk/uniphier/
Dclk-uniphier-gate.c25 struct uniphier_clk_gate *gate = to_uniphier_clk_gate(hw); in uniphier_clk_gate_endisable() local
44 struct uniphier_clk_gate *gate = to_uniphier_clk_gate(hw); in uniphier_clk_gate_is_enabled() local
64 struct uniphier_clk_gate *gate; in uniphier_clk_register_gate() local
/kernel/linux/linux-4.19/drivers/clk/uniphier/
Dclk-uniphier-gate.c34 struct uniphier_clk_gate *gate = to_uniphier_clk_gate(hw); in uniphier_clk_gate_endisable() local
53 struct uniphier_clk_gate *gate = to_uniphier_clk_gate(hw); in uniphier_clk_gate_is_enabled() local
73 struct uniphier_clk_gate *gate; in uniphier_clk_register_gate() local
/kernel/linux/linux-4.19/drivers/clk/sunxi-ng/
Dccu_gate.c15 void ccu_gate_helper_disable(struct ccu_common *common, u32 gate) in ccu_gate_helper_disable()
38 int ccu_gate_helper_enable(struct ccu_common *common, u32 gate) in ccu_gate_helper_enable()
63 int ccu_gate_helper_is_enabled(struct ccu_common *common, u32 gate) in ccu_gate_helper_is_enabled()
/kernel/linux/linux-5.10/drivers/clk/sunxi-ng/
Dccu_gate.c12 void ccu_gate_helper_disable(struct ccu_common *common, u32 gate) in ccu_gate_helper_disable()
35 int ccu_gate_helper_enable(struct ccu_common *common, u32 gate) in ccu_gate_helper_enable()
60 int ccu_gate_helper_is_enabled(struct ccu_common *common, u32 gate) in ccu_gate_helper_is_enabled()
/kernel/linux/linux-5.10/drivers/clk/mvebu/
Dcp110-system-controller.c123 struct cp110_gate_clk *gate = to_cp110_gate_clk(hw); in cp110_gate_enable() local
133 struct cp110_gate_clk *gate = to_cp110_gate_clk(hw); in cp110_gate_disable() local
141 struct cp110_gate_clk *gate = to_cp110_gate_clk(hw); in cp110_gate_is_enabled() local
159 struct cp110_gate_clk *gate; in cp110_register_gate() local

123456789