/kernel/linux/linux-5.10/drivers/clk/ |
D | clkdev.c | 36 static struct clk_lookup *clk_find(const char *dev_id, const char *con_id) in clk_find() argument 43 if (con_id) in clk_find() 55 if (p->con_id) { in clk_find() 56 if (!con_id || strcmp(p->con_id, con_id)) in clk_find() 72 struct clk_hw *clk_find_hw(const char *dev_id, const char *con_id) in clk_find_hw() argument 78 cl = clk_find(dev_id, con_id); in clk_find_hw() 87 const char *con_id) in __clk_get_sys() argument 89 struct clk_hw *hw = clk_find_hw(dev_id, con_id); in __clk_get_sys() 91 return clk_hw_create_clk(dev, hw, dev_id, con_id); in __clk_get_sys() 94 struct clk *clk_get_sys(const char *dev_id, const char *con_id) in clk_get_sys() argument [all …]
|
D | clk.h | 13 int index, const char *con_id); 16 int index, const char *con_id) in of_clk_get_hw() argument 22 struct clk_hw *clk_find_hw(const char *dev_id, const char *con_id); 26 const char *dev_id, const char *con_id); 32 const char *con_id) in clk_hw_create_clk() argument
|
/kernel/linux/linux-5.10/drivers/soc/tegra/fuse/ |
D | fuse-tegra30.c | 140 .con_id = "calibration", 145 .con_id = "calibration", 150 .con_id = "common", 155 .con_id = "realignment", 160 .con_id = "cpu0", 165 .con_id = "cpu1", 170 .con_id = "cpu2", 175 .con_id = "cpu3", 180 .con_id = "mem0", 185 .con_id = "mem1", [all …]
|
/kernel/linux/linux-5.10/drivers/base/power/ |
D | clock_ops.c | 32 char *con_id; member 64 ce->clk = clk_get(dev, ce->con_id); in pm_clk_acquire() 75 ce->clk, ce->con_id); in pm_clk_acquire() 80 static int __pm_clk_add(struct device *dev, const char *con_id, in __pm_clk_add() argument 93 if (con_id) { in __pm_clk_add() 94 ce->con_id = kstrdup(con_id, GFP_KERNEL); in __pm_clk_add() 95 if (!ce->con_id) { in __pm_clk_add() 123 int pm_clk_add(struct device *dev, const char *con_id) in pm_clk_add() argument 125 return __pm_clk_add(dev, con_id, NULL); in pm_clk_add() 252 kfree(ce->con_id); in __pm_clk_remove() [all …]
|
/kernel/linux/linux-5.10/drivers/clk/tegra/ |
D | clk-tegra30.c | 536 { .con_id = "pll_c", .dt_id = TEGRA30_CLK_PLL_C }, 537 { .con_id = "pll_c_out1", .dt_id = TEGRA30_CLK_PLL_C_OUT1 }, 538 { .con_id = "pll_p", .dt_id = TEGRA30_CLK_PLL_P }, 539 { .con_id = "pll_p_out1", .dt_id = TEGRA30_CLK_PLL_P_OUT1 }, 540 { .con_id = "pll_p_out2", .dt_id = TEGRA30_CLK_PLL_P_OUT2 }, 541 { .con_id = "pll_p_out3", .dt_id = TEGRA30_CLK_PLL_P_OUT3 }, 542 { .con_id = "pll_p_out4", .dt_id = TEGRA30_CLK_PLL_P_OUT4 }, 543 { .con_id = "pll_m", .dt_id = TEGRA30_CLK_PLL_M }, 544 { .con_id = "pll_m_out1", .dt_id = TEGRA30_CLK_PLL_M_OUT1 }, 545 { .con_id = "pll_x", .dt_id = TEGRA30_CLK_PLL_X }, [all …]
|
D | clk-tegra114.c | 809 { .con_id = "clk_m", .dt_id = TEGRA114_CLK_CLK_M }, 810 { .con_id = "pll_ref", .dt_id = TEGRA114_CLK_PLL_REF }, 811 { .con_id = "clk_32k", .dt_id = TEGRA114_CLK_CLK_32K }, 812 { .con_id = "osc", .dt_id = TEGRA114_CLK_OSC }, 813 { .con_id = "osc_div2", .dt_id = TEGRA114_CLK_OSC_DIV2 }, 814 { .con_id = "osc_div4", .dt_id = TEGRA114_CLK_OSC_DIV4 }, 815 { .con_id = "pll_c", .dt_id = TEGRA114_CLK_PLL_C }, 816 { .con_id = "pll_c_out1", .dt_id = TEGRA114_CLK_PLL_C_OUT1 }, 817 { .con_id = "pll_c2", .dt_id = TEGRA114_CLK_PLL_C2 }, 818 { .con_id = "pll_c3", .dt_id = TEGRA114_CLK_PLL_C3 }, [all …]
|
D | clk-tegra124.c | 935 { .con_id = "clk_m", .dt_id = TEGRA124_CLK_CLK_M }, 936 { .con_id = "pll_ref", .dt_id = TEGRA124_CLK_PLL_REF }, 937 { .con_id = "clk_32k", .dt_id = TEGRA124_CLK_CLK_32K }, 938 { .con_id = "osc", .dt_id = TEGRA124_CLK_OSC }, 939 { .con_id = "osc_div2", .dt_id = TEGRA124_CLK_OSC_DIV2 }, 940 { .con_id = "osc_div4", .dt_id = TEGRA124_CLK_OSC_DIV4 }, 941 { .con_id = "pll_c", .dt_id = TEGRA124_CLK_PLL_C }, 942 { .con_id = "pll_c_out1", .dt_id = TEGRA124_CLK_PLL_C_OUT1 }, 943 { .con_id = "pll_c2", .dt_id = TEGRA124_CLK_PLL_C2 }, 944 { .con_id = "pll_c3", .dt_id = TEGRA124_CLK_PLL_C3 }, [all …]
|
D | clk-tegra20.c | 418 { .con_id = "pll_c", .dt_id = TEGRA20_CLK_PLL_C }, 419 { .con_id = "pll_c_out1", .dt_id = TEGRA20_CLK_PLL_C_OUT1 }, 420 { .con_id = "pll_p", .dt_id = TEGRA20_CLK_PLL_P }, 421 { .con_id = "pll_p_out1", .dt_id = TEGRA20_CLK_PLL_P_OUT1 }, 422 { .con_id = "pll_p_out2", .dt_id = TEGRA20_CLK_PLL_P_OUT2 }, 423 { .con_id = "pll_p_out3", .dt_id = TEGRA20_CLK_PLL_P_OUT3 }, 424 { .con_id = "pll_p_out4", .dt_id = TEGRA20_CLK_PLL_P_OUT4 }, 425 { .con_id = "pll_m", .dt_id = TEGRA20_CLK_PLL_M }, 426 { .con_id = "pll_m_out1", .dt_id = TEGRA20_CLK_PLL_M_OUT1 }, 427 { .con_id = "pll_x", .dt_id = TEGRA20_CLK_PLL_X }, [all …]
|
D | clk-tegra210.c | 2510 { .con_id = "clk_m", .dt_id = TEGRA210_CLK_CLK_M }, 2511 { .con_id = "pll_ref", .dt_id = TEGRA210_CLK_PLL_REF }, 2512 { .con_id = "clk_32k", .dt_id = TEGRA210_CLK_CLK_32K }, 2513 { .con_id = "osc", .dt_id = TEGRA210_CLK_OSC }, 2514 { .con_id = "osc_div2", .dt_id = TEGRA210_CLK_OSC_DIV2 }, 2515 { .con_id = "osc_div4", .dt_id = TEGRA210_CLK_OSC_DIV4 }, 2516 { .con_id = "pll_c", .dt_id = TEGRA210_CLK_PLL_C }, 2517 { .con_id = "pll_c_out1", .dt_id = TEGRA210_CLK_PLL_C_OUT1 }, 2518 { .con_id = "pll_c2", .dt_id = TEGRA210_CLK_PLL_C2 }, 2519 { .con_id = "pll_c3", .dt_id = TEGRA210_CLK_PLL_C3 }, [all …]
|
/kernel/linux/linux-5.10/include/linux/gpio/ |
D | consumer.h | 62 int gpiod_count(struct device *dev, const char *con_id); 66 const char *con_id, 69 const char *con_id, 73 const char *con_id, 76 const char *con_id, 80 const char *con_id, 83 const char *con_id, 89 const char *con_id, 92 const char *con_id, 96 const char *con_id, [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | clkdev.h | 21 const char *con_id; member 29 .con_id = n, \ 33 struct clk_lookup *clkdev_alloc(struct clk *clk, const char *con_id, 35 struct clk_lookup *clkdev_hw_alloc(struct clk_hw *hw, const char *con_id, 41 struct clk_lookup *clkdev_create(struct clk *clk, const char *con_id, 43 struct clk_lookup *clkdev_hw_create(struct clk_hw *hw, const char *con_id, 53 const char *con_id, const char *dev_id); 54 void devm_clk_release_clkdev(struct device *dev, const char *con_id,
|
D | pwm.h | 406 struct pwm_device *pwm_get(struct device *dev, const char *con_id); 408 const char *con_id); 411 struct pwm_device *devm_pwm_get(struct device *dev, const char *con_id); 413 const char *con_id); 416 const char *con_id); 501 const char *con_id) in of_pwm_get() argument 518 const char *con_id) in devm_of_pwm_get() argument 525 const char *con_id) in devm_fwnode_pwm_get() argument 572 const char *con_id; member 584 .con_id = _con_id, \
|
D | pm_clock.h | 42 extern int pm_clk_add(struct device *dev, const char *con_id); 46 extern void pm_clk_remove(struct device *dev, const char *con_id); 65 static inline int pm_clk_add(struct device *dev, const char *con_id) in pm_clk_add() argument 78 static inline void pm_clk_remove(struct device *dev, const char *con_id) in pm_clk_remove() argument
|
/kernel/linux/linux-5.10/drivers/gpio/ |
D | gpiolib-of.c | 38 static int of_gpio_spi_cs_get_count(struct device *dev, const char *con_id) in of_gpio_spi_cs_get_count() argument 44 if (!con_id || strcmp(con_id, "cs")) in of_gpio_spi_cs_get_count() 59 int of_gpio_get_count(struct device *dev, const char *con_id) in of_gpio_get_count() argument 65 ret = of_gpio_spi_cs_get_count(dev, con_id); in of_gpio_get_count() 70 if (con_id) in of_gpio_get_count() 72 con_id, gpio_suffixes[i]); in of_gpio_get_count() 372 static struct gpio_desc *of_find_spi_gpio(struct device *dev, const char *con_id, in of_find_spi_gpio() argument 387 if (!of_device_is_compatible(np, "spi-gpio") || !con_id) in of_find_spi_gpio() 391 snprintf(prop_name, sizeof(prop_name), "%s-%s", "gpio", con_id); in of_find_spi_gpio() 403 const char *con_id, in of_find_spi_cs_gpio() argument [all …]
|
D | gpiolib-devres.c | 57 const char *con_id, in devm_gpiod_get() argument 60 return devm_gpiod_get_index(dev, con_id, 0, flags); in devm_gpiod_get() 75 const char *con_id, in devm_gpiod_get_optional() argument 78 return devm_gpiod_get_index_optional(dev, con_id, 0, flags); in devm_gpiod_get_optional() 94 const char *con_id, in devm_gpiod_get_index() argument 101 desc = gpiod_get_index(dev, con_id, idx, flags); in devm_gpiod_get_index() 204 const char *con_id, int index, in devm_fwnode_gpiod_get_index() argument 216 desc = fwnode_gpiod_get_index(fwnode, con_id, index, flags, label); in devm_fwnode_gpiod_get_index() 242 const char *con_id, in devm_gpiod_get_index_optional() argument 248 desc = devm_gpiod_get_index(dev, con_id, index, flags); in devm_gpiod_get_index_optional() [all …]
|
D | gpiolib-of.h | 11 const char *con_id, 16 int of_gpio_get_count(struct device *dev, const char *con_id); 20 const char *con_id, in of_find_gpio() argument 28 static inline int of_gpio_get_count(struct device *dev, const char *con_id) in of_gpio_get_count() argument
|
D | gpiolib-acpi.h | 46 const char *con_id, 54 int acpi_gpio_count(struct device *dev, const char *con_id); 78 acpi_find_gpio(struct device *dev, const char *con_id, in acpi_find_gpio() argument 90 static inline int acpi_gpio_count(struct device *dev, const char *con_id) in acpi_gpio_count() argument
|
/kernel/linux/linux-5.10/drivers/clk/pxa/ |
D | clk-pxa25x.c | 136 #define PXA25X_CKEN(dev_id, con_id, parents, mult, div, \ argument 138 PXA_CKEN(dev_id, con_id, bit, parents, mult, div, mult, div, \ 140 #define PXA25X_PBUS95_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \ argument 141 PXA25X_CKEN(dev_id, con_id, pxa25x_pbus95_parents, mult_hp, \ 143 #define PXA25X_PBUS147_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay)\ argument 144 PXA25X_CKEN(dev_id, con_id, pxa25x_pbus147_parents, mult_hp, \ 146 #define PXA25X_OSC3_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \ argument 147 PXA25X_CKEN(dev_id, con_id, pxa25x_osc3_parents, mult_hp, \ 150 #define PXA25X_CKEN_1RATE(dev_id, con_id, bit, parents, delay) \ argument 151 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \ [all …]
|
D | clk-pxa27x.c | 132 #define PXA27X_CKEN(dev_id, con_id, parents, mult_hp, div_hp, \ argument 134 PXA_CKEN(dev_id, con_id, bit, parents, 1, 1, mult_hp, div_hp, \ 136 #define PXA27X_PBUS_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \ argument 137 PXA27X_CKEN(dev_id, con_id, pxa27x_pbus_parents, mult_hp, \ 146 #define PXA27X_CKEN_1RATE(dev_id, con_id, bit, parents, delay) \ argument 147 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \ 149 #define PXA27X_CKEN_1RATE_AO(dev_id, con_id, bit, parents, delay) \ argument 150 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \ 454 { .con_id = _con_id, .dev_id = _dev_id, .parent = _parent } 456 const char *con_id; member [all …]
|
D | clk-pxa3xx.c | 127 #define PXA3XX_CKEN(dev_id, con_id, parents, mult_lp, div_lp, mult_hp, \ argument 129 PXA_CKEN(dev_id, con_id, bit, parents, mult_lp, div_lp, \ 132 #define PXA3XX_PBUS_CKEN(dev_id, con_id, bit, mult_lp, div_lp, \ argument 134 PXA3XX_CKEN(dev_id, con_id, pxa3xx_pbus_parents, mult_lp, \ 136 #define PXA3XX_CKEN_1RATE(dev_id, con_id, bit, parents) \ argument 137 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \ 300 { .con_id = _con_id, .dev_id = _dev_id, .parent = _parent } 302 const char *con_id; member 322 name = d->dev_id ? d->dev_id : d->con_id; in pxa3xx_dummy_clocks_init() 324 clk_register_clkdev(clk, d->con_id, d->dev_id); in pxa3xx_dummy_clocks_init()
|
D | clk-pxa.h | 110 const char *con_id; member 122 .dev_id = _dev_id, .con_id = _con_id, .parent_names = parents,\ 129 #define PXA_CKEN_1RATE(dev_id, con_id, name, parents, cken_reg, \ argument 131 PXA_CKEN(dev_id, con_id, name, parents, 1, 1, 1, 1, \ 147 extern void clkdev_pxa_register(int ckid, const char *con_id,
|
/kernel/linux/linux-5.10/include/linux/phy/ |
D | phy.h | 176 const char *con_id; member 241 const char *con_id); 247 struct phy *of_phy_get(struct device_node *np, const char *con_id); 267 int phy_create_lookup(struct phy *phy, const char *con_id, const char *dev_id); 268 void phy_remove_lookup(struct phy *phy, const char *con_id, const char *dev_id); 418 const char *con_id) in devm_of_phy_get() argument 442 static inline struct phy *of_phy_get(struct device_node *np, const char *con_id) in of_phy_get() argument 500 phy_create_lookup(struct phy *phy, const char *con_id, const char *dev_id) in phy_create_lookup() argument 504 static inline void phy_remove_lookup(struct phy *phy, const char *con_id, in phy_remove_lookup() argument
|
/kernel/linux/linux-5.10/drivers/phy/ |
D | phy-core.c | 64 int phy_create_lookup(struct phy *phy, const char *con_id, const char *dev_id) in phy_create_lookup() argument 68 if (!phy || !dev_id || !con_id) in phy_create_lookup() 76 pl->con_id = con_id; in phy_create_lookup() 96 void phy_remove_lookup(struct phy *phy, const char *con_id, const char *dev_id) in phy_remove_lookup() argument 100 if (!phy || !dev_id || !con_id) in phy_remove_lookup() 106 !strcmp(pl->con_id, con_id)) { in phy_remove_lookup() 115 static struct phy *phy_find(struct device *dev, const char *con_id) in phy_find() argument 122 if (!strcmp(p->dev_id, dev_id) && !strcmp(p->con_id, con_id)) { in phy_find() 547 struct phy *of_phy_get(struct device_node *np, const char *con_id) in of_phy_get() argument 552 if (con_id) in of_phy_get() [all …]
|
/kernel/linux/linux-5.10/drivers/pwm/ |
D | core.c | 806 const char *con_id) in of_pwm_get() argument 815 if (con_id) { in of_pwm_get() 816 index = of_property_match_string(np, "pwm-names", con_id); in of_pwm_get() 854 if (!con_id) { in of_pwm_get() 856 &con_id); in of_pwm_get() 858 con_id = np->name; in of_pwm_get() 861 pwm->label = con_id; in of_pwm_get() 998 struct pwm_device *pwm_get(struct device *dev, const char *con_id) in pwm_get() argument 1011 return of_pwm_get(dev, dev->of_node, con_id); in pwm_get() 1052 if (p->con_id) { in pwm_get() [all …]
|
/kernel/linux/linux-5.10/include/linux/mmc/ |
D | slot-gpio.h | 18 int mmc_gpiod_request_cd(struct mmc_host *host, const char *con_id, 21 int mmc_gpiod_request_ro(struct mmc_host *host, const char *con_id,
|