/kernel/linux/linux-5.10/drivers/clk/mediatek/ |
H A D | clk-gate.c | 23 regmap_read(cg->regmap, cg->sta_ofs, &val); in mtk_cg_bit_is_cleared() 35 regmap_read(cg->regmap, cg->sta_ofs, &val); in mtk_cg_bit_is_set() 61 regmap_update_bits(cg->regmap, cg->sta_ofs, cgbit, cgbit); in mtk_cg_set_bit_no_setclr() 69 regmap_update_bits(cg->regmap, cg->sta_ofs, cgbit, 0); in mtk_cg_clr_bit_no_setclr() 150 int sta_ofs, in mtk_clk_register_gate() 173 cg->sta_ofs = sta_ofs; in mtk_clk_register_gate() 144 mtk_clk_register_gate( const char *name, const char *parent_name, struct regmap *regmap, int set_ofs, int clr_ofs, int sta_ofs, u8 bit, const struct clk_ops *ops, unsigned long flags, struct device *dev) mtk_clk_register_gate() argument
|
H A D | clk-mt8183-ipu_conn.c | 17 .sta_ofs = 0x0, 23 .sta_ofs = 0x10, 29 .sta_ofs = 0x18, 35 .sta_ofs = 0x1c, 41 .sta_ofs = 0x20,
|
H A D | clk-mt2701-aud.c | 57 .sta_ofs = 0x0, 63 .sta_ofs = 0x10, 69 .sta_ofs = 0x14, 75 .sta_ofs = 0x634,
|
H A D | clk-mt7622-aud.c | 58 .sta_ofs = 0x0, 64 .sta_ofs = 0x10, 70 .sta_ofs = 0x14, 76 .sta_ofs = 0x634,
|
/kernel/linux/linux-6.6/drivers/clk/mediatek/ |
H A D | clk-gate.c | 22 int sta_ofs; member 36 regmap_read(cg->regmap, cg->sta_ofs, &val); in mtk_get_clockgating() 69 regmap_set_bits(cg->regmap, cg->sta_ofs, BIT(cg->bit)); in mtk_cg_set_bit_no_setclr() 76 regmap_clear_bits(cg->regmap, cg->sta_ofs, BIT(cg->bit)); in mtk_cg_clr_bit_no_setclr() 158 int clr_ofs, int sta_ofs, u8 bit, in mtk_clk_register_gate() 179 cg->sta_ofs = sta_ofs; in mtk_clk_register_gate() 235 gate->regs->sta_ofs, in mtk_clk_register_gates() 155 mtk_clk_register_gate(struct device *dev, const char *name, const char *parent_name, struct regmap *regmap, int set_ofs, int clr_ofs, int sta_ofs, u8 bit, const struct clk_ops *ops, unsigned long flags) mtk_clk_register_gate() argument
|
H A D | clk-mt8183-ipu_conn.c | 17 .sta_ofs = 0x0, 23 .sta_ofs = 0x10, 29 .sta_ofs = 0x18, 35 .sta_ofs = 0x1c, 41 .sta_ofs = 0x20,
|
H A D | clk-mt8186-vdec.c | 18 .sta_ofs = 0x0, 24 .sta_ofs = 0x190, 30 .sta_ofs = 0x200, 36 .sta_ofs = 0x8,
|
H A D | clk-mt8188-vdo1.c | 19 .sta_ofs = 0x100, 25 .sta_ofs = 0x110, 31 .sta_ofs = 0x120, 37 .sta_ofs = 0x130, 43 .sta_ofs = 0x140,
|
H A D | clk-mt8195-vdo1.c | 16 .sta_ofs = 0x100, 22 .sta_ofs = 0x120, 28 .sta_ofs = 0x130, 34 .sta_ofs = 0x140, 40 .sta_ofs = 0x400,
|
H A D | clk-mt8188-vdec.c | 17 .sta_ofs = 0x0, 23 .sta_ofs = 0x200, 29 .sta_ofs = 0x8,
|
H A D | clk-mt7986-eth.c | 20 .sta_ofs = 0xe4, 36 .sta_ofs = 0xe4, 52 .sta_ofs = 0x30,
|
H A D | clk-mt8195-vdec.c | 16 .sta_ofs = 0x0, 22 .sta_ofs = 0x200, 28 .sta_ofs = 0x8,
|
H A D | clk-mt8192-vdec.c | 18 .sta_ofs = 0x0, 24 .sta_ofs = 0x200, 30 .sta_ofs = 0x8,
|
H A D | clk-mt8188-infra_ao.c | 18 .sta_ofs = 0x90, 24 .sta_ofs = 0x94, 30 .sta_ofs = 0xac, 36 .sta_ofs = 0xc8, 42 .sta_ofs = 0xe8,
|
H A D | clk-mt8195-infra_ao.c | 17 .sta_ofs = 0x90, 23 .sta_ofs = 0x94, 29 .sta_ofs = 0xac, 35 .sta_ofs = 0xc8, 41 .sta_ofs = 0xe8,
|
H A D | clk-mt7622-aud.c | 34 .sta_ofs = 0x0, 40 .sta_ofs = 0x10, 46 .sta_ofs = 0x14, 52 .sta_ofs = 0x634,
|
H A D | clk-mt2701-aud.c | 33 .sta_ofs = 0x0, 39 .sta_ofs = 0x10, 45 .sta_ofs = 0x14, 51 .sta_ofs = 0x634,
|
H A D | clk-mt6795-vdecsys.c | 20 .sta_ofs = 0x0000, 26 .sta_ofs = 0x0008,
|
H A D | clk-mt8173-vdecsys.c | 21 .sta_ofs = 0x0000, 27 .sta_ofs = 0x0008,
|
H A D | clk-mt2712-mm.c | 18 .sta_ofs = 0x100, 24 .sta_ofs = 0x110, 30 .sta_ofs = 0x220,
|
H A D | clk-mt8192-aud.c | 18 .sta_ofs = 0x0, 24 .sta_ofs = 0x4, 30 .sta_ofs = 0x8,
|
H A D | clk-mt8188-wpe.c | 19 .sta_ofs = 0x0, 25 .sta_ofs = 0x58, 31 .sta_ofs = 0x5c,
|
H A D | clk-mt8188-vpp0.c | 17 .sta_ofs = 0x20, 23 .sta_ofs = 0x2c, 29 .sta_ofs = 0x38,
|
H A D | clk-mt8188-vdo0.c | 19 .sta_ofs = 0x100, 25 .sta_ofs = 0x110, 31 .sta_ofs = 0x120,
|
H A D | clk-mt7981-eth.c | 22 .sta_ofs = 0xE4, 44 .sta_ofs = 0xE4, 66 .sta_ofs = 0x30,
|