| /kernel/linux/linux-6.6/drivers/clk/at91/ |
| H A D | clk-peripheral.c | 50 struct clk_peripheral *periph = to_clk_peripheral(hw); in clk_peripheral_enable() local 52 u32 id = periph->id; in clk_peripheral_enable() 58 regmap_write(periph->regmap, offset, PERIPHERAL_MASK(id)); in clk_peripheral_enable() 65 struct clk_peripheral *periph = to_clk_peripheral(hw); in clk_peripheral_disable() local 67 u32 id = periph->id; in clk_peripheral_disable() 73 regmap_write(periph->regmap, offset, PERIPHERAL_MASK(id)); in clk_peripheral_disable() 78 struct clk_peripheral *periph = to_clk_peripheral(hw); in clk_peripheral_is_enabled() local 81 u32 id = periph->id; in clk_peripheral_is_enabled() 87 regmap_read(periph->regmap, offset, &status); in clk_peripheral_is_enabled() 103 struct clk_peripheral *periph; in at91_clk_register_peripheral() local 138 clk_sam9x5_peripheral_autodiv(struct clk_sam9x5_peripheral *periph) clk_sam9x5_peripheral_autodiv() argument 163 clk_sam9x5_peripheral_set(struct clk_sam9x5_peripheral *periph, unsigned int status) clk_sam9x5_peripheral_set() argument 187 struct clk_sam9x5_peripheral *periph = to_clk_sam9x5_peripheral(hw); clk_sam9x5_peripheral_enable() local 194 struct clk_sam9x5_peripheral *periph = to_clk_sam9x5_peripheral(hw); clk_sam9x5_peripheral_disable() local 211 struct clk_sam9x5_peripheral *periph = to_clk_sam9x5_peripheral(hw); clk_sam9x5_peripheral_is_enabled() local 231 struct clk_sam9x5_peripheral *periph = to_clk_sam9x5_peripheral(hw); clk_sam9x5_peripheral_recalc_rate() local 274 struct clk_sam9x5_peripheral *periph = to_clk_sam9x5_peripheral(hw); clk_sam9x5_peripheral_determine_rate() local 344 struct clk_sam9x5_peripheral *periph = to_clk_sam9x5_peripheral(hw); clk_sam9x5_peripheral_round_rate() local 386 struct clk_sam9x5_peripheral *periph = to_clk_sam9x5_peripheral(hw); clk_sam9x5_peripheral_set_rate() local 410 struct clk_sam9x5_peripheral *periph = to_clk_sam9x5_peripheral(hw); clk_sam9x5_peripheral_save_context() local 419 struct clk_sam9x5_peripheral *periph = to_clk_sam9x5_peripheral(hw); clk_sam9x5_peripheral_restore_context() local 455 struct clk_sam9x5_peripheral *periph; at91_clk_register_sam9x5_peripheral() local [all...] |
| /kernel/linux/linux-5.10/drivers/clk/at91/ |
| H A D | clk-peripheral.c | 49 struct clk_peripheral *periph = to_clk_peripheral(hw); in clk_peripheral_enable() local 51 u32 id = periph->id; in clk_peripheral_enable() 57 regmap_write(periph->regmap, offset, PERIPHERAL_MASK(id)); in clk_peripheral_enable() 64 struct clk_peripheral *periph = to_clk_peripheral(hw); in clk_peripheral_disable() local 66 u32 id = periph->id; in clk_peripheral_disable() 72 regmap_write(periph->regmap, offset, PERIPHERAL_MASK(id)); in clk_peripheral_disable() 77 struct clk_peripheral *periph = to_clk_peripheral(hw); in clk_peripheral_is_enabled() local 80 u32 id = periph->id; in clk_peripheral_is_enabled() 86 regmap_read(periph->regmap, offset, &status); in clk_peripheral_is_enabled() 101 struct clk_peripheral *periph; in at91_clk_register_peripheral() local 133 clk_sam9x5_peripheral_autodiv(struct clk_sam9x5_peripheral *periph) clk_sam9x5_peripheral_autodiv() argument 160 struct clk_sam9x5_peripheral *periph = to_clk_sam9x5_peripheral(hw); clk_sam9x5_peripheral_enable() local 182 struct clk_sam9x5_peripheral *periph = to_clk_sam9x5_peripheral(hw); clk_sam9x5_peripheral_disable() local 199 struct clk_sam9x5_peripheral *periph = to_clk_sam9x5_peripheral(hw); clk_sam9x5_peripheral_is_enabled() local 219 struct clk_sam9x5_peripheral *periph = to_clk_sam9x5_peripheral(hw); clk_sam9x5_peripheral_recalc_rate() local 262 struct clk_sam9x5_peripheral *periph = to_clk_sam9x5_peripheral(hw); clk_sam9x5_peripheral_determine_rate() local 332 struct clk_sam9x5_peripheral *periph = to_clk_sam9x5_peripheral(hw); clk_sam9x5_peripheral_round_rate() local 374 struct clk_sam9x5_peripheral *periph = to_clk_sam9x5_peripheral(hw); clk_sam9x5_peripheral_set_rate() local 421 struct clk_sam9x5_peripheral *periph; at91_clk_register_sam9x5_peripheral() local [all...] |
| /kernel/linux/linux-5.10/drivers/clk/tegra/ |
| H A D | clk-periph.c | 16 struct tegra_clk_periph *periph = to_clk_periph(hw); in clk_periph_get_parent() local 17 const struct clk_ops *mux_ops = periph->mux_ops; in clk_periph_get_parent() 18 struct clk_hw *mux_hw = &periph->mux.hw; in clk_periph_get_parent() 27 struct tegra_clk_periph *periph = to_clk_periph(hw); in clk_periph_set_parent() local 28 const struct clk_ops *mux_ops = periph->mux_ops; in clk_periph_set_parent() 29 struct clk_hw *mux_hw = &periph->mux.hw; in clk_periph_set_parent() 39 struct tegra_clk_periph *periph = to_clk_periph(hw); in clk_periph_recalc_rate() local 40 const struct clk_ops *div_ops = periph->div_ops; in clk_periph_recalc_rate() 41 struct clk_hw *div_hw = &periph->divider.hw; in clk_periph_recalc_rate() 51 struct tegra_clk_periph *periph in clk_periph_round_rate() local 63 struct tegra_clk_periph *periph = to_clk_periph(hw); clk_periph_set_rate() local 74 struct tegra_clk_periph *periph = to_clk_periph(hw); clk_periph_is_enabled() local 85 struct tegra_clk_periph *periph = to_clk_periph(hw); clk_periph_enable() local 96 struct tegra_clk_periph *periph = to_clk_periph(hw); clk_periph_disable() local 105 struct tegra_clk_periph *periph = to_clk_periph(hw); clk_periph_disable_unused() local 114 struct tegra_clk_periph *periph = to_clk_periph(hw); clk_periph_restore_context() local 161 _tegra_clk_register_periph(const char *name, const char * const *parent_names, int num_parents, struct tegra_clk_periph *periph, void __iomem *clk_base, u32 offset, unsigned long flags) _tegra_clk_register_periph() argument 209 tegra_clk_register_periph(const char *name, const char * const *parent_names, int num_parents, struct tegra_clk_periph *periph, void __iomem *clk_base, u32 offset, unsigned long flags) tegra_clk_register_periph() argument 218 tegra_clk_register_periph_nodiv(const char *name, const char * const *parent_names, int num_parents, struct tegra_clk_periph *periph, void __iomem *clk_base, u32 offset) tegra_clk_register_periph_nodiv() argument [all...] |
| H A D | clk-tegra-periph.c | 235 .periph = TEGRA_CLK_PERIPH(0, 0, 0, 0, 0, 0, 0, \ 245 .periph = TEGRA_CLK_PERIPH(0, 0, 0, 0, 8, 1, \ 881 bank = get_reg_bank(data->periph.gate.clk_num); in periph_clk_init() 885 data->periph.gate.regs = bank; in periph_clk_init() 908 data->p.parent_name, data->periph.gate.flags, in gate_clk_init() 910 data->periph.gate.clk_num, in gate_clk_init() 934 data->flags, data->periph.divider.flags, in div_clk_init() 935 data->periph.divider.shift, in div_clk_init() 936 data->periph.divider.width, in div_clk_init() 937 data->periph in div_clk_init() [all...] |
| H A D | clk.h | 609 * struct clk-periph - peripheral clock 639 struct tegra_clk_periph *periph, void __iomem *clk_base, 643 struct tegra_clk_periph *periph, void __iomem *clk_base, 682 struct tegra_clk_periph periph; member 699 .periph = TEGRA_CLK_PERIPH(_mux_shift, _mux_mask, \
|
| H A D | clk-tegra30.c | 1069 data->num_parents, &data->periph, in tegra30_periph_clk_init()
|
| H A D | clk-tegra20.c | 852 data->num_parents, &data->periph, in tegra20_periph_clk_init()
|
| /kernel/linux/linux-6.6/drivers/clk/tegra/ |
| H A D | clk-periph.c | 16 struct tegra_clk_periph *periph = to_clk_periph(hw); in clk_periph_get_parent() local 17 const struct clk_ops *mux_ops = periph->mux_ops; in clk_periph_get_parent() 18 struct clk_hw *mux_hw = &periph->mux.hw; in clk_periph_get_parent() 27 struct tegra_clk_periph *periph = to_clk_periph(hw); in clk_periph_set_parent() local 28 const struct clk_ops *mux_ops = periph->mux_ops; in clk_periph_set_parent() 29 struct clk_hw *mux_hw = &periph->mux.hw; in clk_periph_set_parent() 39 struct tegra_clk_periph *periph = to_clk_periph(hw); in clk_periph_recalc_rate() local 40 const struct clk_ops *div_ops = periph->div_ops; in clk_periph_recalc_rate() 41 struct clk_hw *div_hw = &periph->divider.hw; in clk_periph_recalc_rate() 51 struct tegra_clk_periph *periph in clk_periph_determine_rate() local 69 struct tegra_clk_periph *periph = to_clk_periph(hw); clk_periph_set_rate() local 80 struct tegra_clk_periph *periph = to_clk_periph(hw); clk_periph_is_enabled() local 91 struct tegra_clk_periph *periph = to_clk_periph(hw); clk_periph_enable() local 102 struct tegra_clk_periph *periph = to_clk_periph(hw); clk_periph_disable() local 111 struct tegra_clk_periph *periph = to_clk_periph(hw); clk_periph_disable_unused() local 120 struct tegra_clk_periph *periph = to_clk_periph(hw); clk_periph_restore_context() local 168 _tegra_clk_register_periph(const char *name, const char * const *parent_names, int num_parents, struct tegra_clk_periph *periph, void __iomem *clk_base, u32 offset, unsigned long flags) _tegra_clk_register_periph() argument 216 tegra_clk_register_periph(const char *name, const char * const *parent_names, int num_parents, struct tegra_clk_periph *periph, void __iomem *clk_base, u32 offset, unsigned long flags) tegra_clk_register_periph() argument 225 tegra_clk_register_periph_nodiv(const char *name, const char * const *parent_names, int num_parents, struct tegra_clk_periph *periph, void __iomem *clk_base, u32 offset) tegra_clk_register_periph_nodiv() argument [all...] |
| H A D | clk-tegra-periph.c | 235 .periph = TEGRA_CLK_PERIPH(0, 0, 0, 0, 0, 0, 0, \ 245 .periph = TEGRA_CLK_PERIPH(0, 0, 0, 0, 8, 1, \ 877 bank = get_reg_bank(data->periph.gate.clk_num); in periph_clk_init() 881 data->periph.gate.regs = bank; in periph_clk_init() 904 data->p.parent_name, data->periph.gate.flags, in gate_clk_init() 906 data->periph.gate.clk_num, in gate_clk_init() 930 data->flags, data->periph.divider.flags, in div_clk_init() 931 data->periph.divider.shift, in div_clk_init() 932 data->periph.divider.width, in div_clk_init() 933 data->periph in div_clk_init() [all...] |
| H A D | clk.h | 605 * struct clk-periph - peripheral clock 635 struct tegra_clk_periph *periph, void __iomem *clk_base, 639 struct tegra_clk_periph *periph, void __iomem *clk_base, 678 struct tegra_clk_periph periph; member 695 .periph = TEGRA_CLK_PERIPH(_mux_shift, _mux_mask, \
|
| H A D | clk-tegra30.c | 1050 data->num_parents, &data->periph, in tegra30_periph_clk_init()
|
| H A D | clk-tegra20.c | 847 data->num_parents, &data->periph, in tegra20_periph_clk_init()
|
| /kernel/linux/linux-6.6/drivers/clk/microchip/ |
| H A D | clk-mpfs.c | 61 struct clk_gate periph; member 274 .periph.bit_idx = _shift, \ 275 .periph.hw.init = CLK_HW_INIT_HW(_name, _parent, &clk_gate_ops, \ 277 .periph.lock = &mpfs_clk_lock, \ 337 periph_hw->periph.reg = data->base + REG_SUBBLK_CLOCK_CR; in mpfs_clk_register_periphs() 338 ret = devm_clk_hw_register(dev, &periph_hw->periph.hw); in mpfs_clk_register_periphs() 344 data->hw_data.hws[id] = &periph_hw->periph.hw; in mpfs_clk_register_periphs()
|
| /kernel/linux/linux-5.10/include/linux/usb/ |
| H A D | otg.h | 96 otg_set_peripheral(struct usb_otg *otg, struct usb_gadget *periph) in otg_set_peripheral() argument 99 return otg->set_peripheral(otg, periph); in otg_set_peripheral()
|
| /kernel/linux/linux-6.6/include/linux/usb/ |
| H A D | otg.h | 96 otg_set_peripheral(struct usb_otg *otg, struct usb_gadget *periph) in otg_set_peripheral() argument 99 return otg->set_peripheral(otg, periph); in otg_set_peripheral()
|
| /kernel/linux/linux-5.10/drivers/dma/ |
| H A D | img-mdc-dma.c | 123 unsigned int periph; member 823 mchan->periph = dma_spec->args[0]; in mdc_of_xlate() 844 mchan->periph << in pistachio_mdc_enable_chan() 907 "img,cr-periph"); in mdc_dma_probe()
|
| /kernel/linux/linux-6.6/drivers/dma/ |
| H A D | img-mdc-dma.c | 122 unsigned int periph; member 822 mchan->periph = dma_spec->args[0]; in mdc_of_xlate() 843 mchan->periph << in pistachio_mdc_enable_chan() 904 "img,cr-periph"); in mdc_dma_probe()
|
| /kernel/linux/linux-5.10/drivers/clk/samsung/ |
| H A D | clk-exynos5250.c | 749 #define E5250_CPU_DIV0(apll, pclk_dbg, atb, periph, acp, cpud) \ 751 ((periph) << 12) | ((acp) << 8) | ((cpud) << 4)))
|
| H A D | clk-exynos4.c | 1192 #define E4210_CPU_DIV0(apll, pclk_dbg, atb, periph, corem1, corem0) \ 1194 ((periph) << 12) | ((corem1) << 8) | ((corem0) << 4))
|
| /kernel/linux/linux-6.6/drivers/clk/samsung/ |
| H A D | clk-exynos5250.c | 752 #define E5250_CPU_DIV0(apll, pclk_dbg, atb, periph, acp, cpud) \ 754 ((periph) << 12) | ((acp) << 8) | ((cpud) << 4)))
|
| H A D | clk-exynos4.c | 1196 #define E4210_CPU_DIV0(apll, pclk_dbg, atb, periph, corem1, corem0) \ 1198 ((periph) << 12) | ((corem1) << 8) | ((corem0) << 4))
|
| /kernel/linux/linux-5.10/drivers/spmi/ |
| H A D | spmi-pmic-arb.c | 664 u16 periph = hwirq_to_per(d->hwirq); in qpnpint_irq_domain_activate() local 670 dev_err(&pmic_arb->spmic->dev, "failed to xlate sid = %#x, periph = %#x, irq = %u: ee=%u but owner=%u\n", in qpnpint_irq_domain_activate() 671 sid, periph, irq, pmic_arb->ee, in qpnpint_irq_domain_activate() 713 dev_err(&pmic_arb->spmic->dev, "failed to xlate sid = %#x, periph = %#x, irq = %u rc = %d\n", in qpnpint_irq_domain_translate()
|
| /kernel/linux/linux-6.6/drivers/spmi/ |
| H A D | spmi-pmic-arb.c | 827 u16 periph = hwirq_to_per(d->hwirq); in qpnpint_irq_domain_activate() local 834 dev_err(&pmic_arb->spmic->dev, "failed to xlate sid = %#x, periph = %#x, irq = %u: ee=%u but owner=%u\n", in qpnpint_irq_domain_activate() 835 sid, periph, irq, pmic_arb->ee, in qpnpint_irq_domain_activate() 881 dev_err(&pmic_arb->spmic->dev, "failed to xlate sid = %#x, periph = %#x, irq = %u rc = %d\n", in qpnpint_irq_domain_translate()
|