/linux/drivers/clk/tegra/ |
A D | clk-periph-gate.c | 19 #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 68 struct tegra_clk_periph_gate *gate = to_clk_periph_gate(hw); in clk_periph_disable_locked() local 83 struct tegra_clk_periph_gate *gate = to_clk_periph_gate(hw); in clk_periph_enable() local [all …]
|
/linux/drivers/staging/sm750fb/ |
A D | ddk750_power.c | 75 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
|
/linux/drivers/clk/ |
A D | clk-gate.c | 26 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
|
A D | clk-ast2600.c | 233 static u32 get_reset_reg(struct aspeed_clk_gate *gate) in get_reset_reg() 241 static u32 get_clock_reg(struct aspeed_clk_gate *gate) in get_clock_reg() 251 struct aspeed_clk_gate *gate = to_aspeed_clk_gate(hw); in aspeed_g6_clk_is_enabled() local 279 struct aspeed_clk_gate *gate = to_aspeed_clk_gate(hw); in aspeed_g6_clk_enable() local 321 struct aspeed_clk_gate *gate = to_aspeed_clk_gate(hw); in aspeed_g6_clk_disable() local 391 struct aspeed_clk_gate *gate; in aspeed_g6_clk_hw_register_gate() local
|
A D | clk-aspeed.c | 186 struct aspeed_clk_gate *gate = to_aspeed_clk_gate(hw); in aspeed_clk_is_enabled() local 211 struct aspeed_clk_gate *gate = to_aspeed_clk_gate(hw); in aspeed_clk_enable() local 251 struct aspeed_clk_gate *gate = to_aspeed_clk_gate(hw); in aspeed_clk_disable() local 350 struct aspeed_clk_gate *gate; in aspeed_clk_hw_register_gate() local
|
A D | clk-stm32f4.c | 518 struct clk_gate gate; member 611 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_enable() local 637 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_recalc() local 649 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_round_rate() local 666 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_set_rate() local 913 struct clk_gate gate; member 921 struct clk_gate *gate = to_clk_gate(hw); in rgclk_enable() local 1062 struct clk_gate *gate; in stm32_register_cclk() local 1633 struct clk_gate *gate = NULL; in stm32_register_aux_clk() local
|
/linux/drivers/clk/imx/ |
A D | clk-gate2.c | 43 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_do_shared_clks() local 55 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_enable() local 72 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_disable() local 102 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_is_enabled() local 118 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_disable_unused() local 142 struct clk_gate2 *gate; in clk_hw_register_gate2() local
|
A D | clk-gate-exclusive.c | 25 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
|
A D | clk-composite-7ulp.c | 31 struct clk_gate *gate = to_clk_gate(hw); in pcc_gate_enable() local 78 struct clk_gate *gate = NULL; in imx_ulp_clk_hw_composite() local
|
/linux/drivers/clk/mmp/ |
A D | clk-gate.c | 29 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
|
/linux/drivers/clk/bcm/ |
A D | clk-kona.c | 358 __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() 487 struct bcm_clk_gate *gate, bool enable) in clk_gate() 647 static bool div_init(struct ccu_data *ccu, struct bcm_clk_gate *gate, in div_init() 874 __sel_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate, in __sel_commit() 931 static bool sel_init(struct ccu_data *ccu, struct bcm_clk_gate *gate, in sel_init() 977 struct bcm_clk_gate *gate = &bcm_clk->u.peri->gate; in kona_peri_clk_enable() local 985 struct bcm_clk_gate *gate = &bcm_clk->u.peri->gate; in kona_peri_clk_disable() local [all …]
|
A 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
|
/linux/drivers/clk/zynqmp/ |
A D | clk-gate-zynqmp.c | 36 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
|
/linux/drivers/clk/actions/ |
A D | owl-gate.c | 36 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
|
/linux/net/nfc/hci/ |
A D | command.c | 91 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() 125 int nfc_hci_send_cmd_async(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, in nfc_hci_send_cmd_async() 140 int nfc_hci_set_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx, in nfc_hci_set_param() 172 int nfc_hci_get_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx, in nfc_hci_get_param() 259 int nfc_hci_disconnect_gate(struct nfc_hci_dev *hdev, u8 gate) in nfc_hci_disconnect_gate()
|
/linux/drivers/clk/uniphier/ |
A D | clk-uniphier-gate.c | 25 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
|
/linux/drivers/clk/sunxi-ng/ |
A D | ccu_gate.c | 12 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()
|
/linux/drivers/clk/mvebu/ |
A D | cp110-system-controller.c | 123 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
|
/linux/drivers/clk/rockchip/ |
A D | clk.c | 50 struct clk_gate *gate = NULL; in rockchip_clk_register_branch() local 127 struct clk_gate gate; member 206 struct clk_gate *gate = NULL; in rockchip_clk_register_frac_branch() local 311 struct clk_gate *gate = NULL; in rockchip_clk_register_factor_branch() local
|
/linux/drivers/clk/meson/ |
A D | clk-regmap.c | 13 struct clk_regmap_gate_data *gate = clk_get_regmap_gate_data(clk); in clk_regmap_gate_endisable() local 35 struct clk_regmap_gate_data *gate = clk_get_regmap_gate_data(clk); in clk_regmap_gate_is_enabled() local
|
/linux/drivers/clk/nxp/ |
A D | clk-lpc18xx-ccu.c | 43 struct clk_gate gate; member 139 struct clk_gate *gate = to_clk_gate(hw); in lpc18xx_ccu_gate_endisable() local
|
/linux/net/nfc/nci/ |
A D | hci.c | 206 int nci_hci_send_event(struct nci_dev *ndev, u8 gate, u8 event, in nci_hci_send_event() 220 int nci_hci_send_cmd(struct nci_dev *ndev, u8 gate, u8 cmd, in nci_hci_send_cmd() 283 u8 gate = ndev->hci_dev->pipes[pipe].gate; in nci_hci_cmd_received() local 552 int nci_hci_set_param(struct nci_dev *ndev, u8 gate, u8 idx, in nci_hci_set_param() 599 int nci_hci_get_param(struct nci_dev *ndev, u8 gate, u8 idx, in nci_hci_get_param()
|
/linux/drivers/clk/sunxi/ |
A D | clk-a10-hosc.c | 21 struct clk_gate *gate; in sun4i_osc_clk_setup() local
|
/linux/drivers/clk/x86/ |
A D | clk-cgu.c | 288 struct lgm_clk_gate *gate = to_lgm_clk_gate(hw); in lgm_clk_gate_enable() local 302 struct lgm_clk_gate *gate = to_lgm_clk_gate(hw); in lgm_clk_gate_disable() local 314 struct lgm_clk_gate *gate = to_lgm_clk_gate(hw); in lgm_clk_gate_is_enabled() local 341 struct lgm_clk_gate *gate; in lgm_clk_register_gate() local
|
/linux/drivers/nfc/st21nfca/ |
A D | core.c | 616 static int st21nfca_hci_target_from_gate(struct nfc_hci_dev *hdev, u8 gate, in st21nfca_hci_target_from_gate() 671 u8 gate, in st21nfca_hci_complete_target_discovered() 836 u8 gate = hdev->pipes[pipe].gate; in st21nfca_hci_cmd_received() local 892 u8 gate = hdev->pipes[pipe].gate; in st21nfca_hci_event_received() local
|