Searched refs:con_id (Results 1 - 25 of 90) sorted by relevance

1234

/linux-master/drivers/gpio/
H A Dgpiolib-swnode.h10 const char *con_id, unsigned int idx,
12 int swnode_gpio_count(const struct fwnode_handle *fwnode, const char *con_id);
H A Dgpiolib-of.h20 const char *con_id,
25 int of_gpio_count(const struct fwnode_handle *fwnode, const char *con_id);
28 const char *con_id,
37 const char *con_id)
27 of_find_gpio(struct device_node *np, const char *con_id, unsigned int idx, unsigned long *lookupflags) argument
36 of_gpio_count(const struct fwnode_handle *fwnode, const char *con_id) argument
H A Dgpiolib-acpi.h31 const char *con_id,
36 int acpi_gpio_count(const struct fwnode_handle *fwnode, const char *con_id);
48 acpi_find_gpio(struct fwnode_handle *fwnode, const char *con_id, argument
55 const char *con_id)
54 acpi_gpio_count(const struct fwnode_handle *fwnode, const char *con_id) argument
H A Dgpiolib-swnode.c20 static void swnode_format_propname(const char *con_id, char *propname, argument
28 if (con_id)
29 snprintf(propname, max_size, "%s-gpios", con_id);
48 const char *con_id, unsigned int idx,
61 swnode_format_propname(con_id, propname, sizeof(propname));
97 * @con_id: function within the GPIO consumer
103 int swnode_gpio_count(const struct fwnode_handle *fwnode, const char *con_id) argument
109 swnode_format_propname(con_id, propname, sizeof(propname));
47 swnode_find_gpio(struct fwnode_handle *fwnode, const char *con_id, unsigned int idx, unsigned long *flags) argument
H A Dgpiolib-devres.c49 * @con_id: function within the GPIO consumer
57 const char *con_id,
60 return devm_gpiod_get_index(dev, con_id, 0, flags);
67 * @con_id: function within the GPIO consumer
75 const char *con_id,
78 return devm_gpiod_get_index_optional(dev, con_id, 0, flags);
85 * @con_id: function within the GPIO consumer
94 const char *con_id,
101 desc = gpiod_get_index(dev, con_id, idx, flags);
136 * @con_id
56 devm_gpiod_get(struct device *dev, const char *con_id, enum gpiod_flags flags) argument
74 devm_gpiod_get_optional(struct device *dev, const char *con_id, enum gpiod_flags flags) argument
93 devm_gpiod_get_index(struct device *dev, const char *con_id, unsigned int idx, enum gpiod_flags flags) argument
147 devm_fwnode_gpiod_get_index(struct device *dev, struct fwnode_handle *fwnode, const char *con_id, int index, enum gpiod_flags flags, const char *label) argument
186 devm_gpiod_get_index_optional(struct device *dev, const char *con_id, unsigned int index, enum gpiod_flags flags) argument
211 devm_gpiod_get_array(struct device *dev, const char *con_id, enum gpiod_flags flags) argument
248 devm_gpiod_get_array_optional(struct device *dev, const char *con_id, enum gpiod_flags flags) argument
[all...]
H A Dgpiolib-of.c72 * @con_id: Function within the GPIO consumer
82 const char *con_id)
86 if (!con_id || strcmp(con_id, "cs"))
95 int of_gpio_count(const struct fwnode_handle *fwnode, const char *con_id) argument
102 ret = of_gpio_spi_cs_get_count(np, con_id);
107 if (con_id)
109 con_id, gpio_suffixes[i]);
468 const char *con_id,
473 const char *con_id; member in struct:of_rename_gpio
81 of_gpio_spi_cs_get_count(const struct device_node *np, const char *con_id) argument
467 of_find_gpio_rename(struct device_node *np, const char *con_id, unsigned int idx, enum of_gpio_flags *of_flags) argument
599 of_find_mt2701_gpio(struct device_node *np, const char *con_id, unsigned int idx, enum of_gpio_flags *of_flags) argument
637 of_find_trigger_gpio(struct device_node *np, const char *con_id, unsigned int idx, enum of_gpio_flags *of_flags) argument
669 of_find_gpio(struct device_node *np, const char *con_id, unsigned int idx, unsigned long *flags) argument
[all...]
/linux-master/drivers/clk/
H A Dclk.h13 int index, const char *con_id);
16 int index, const char *con_id)
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)
15 of_clk_get_hw(struct device_node *np, int index, const char *con_id) argument
31 clk_hw_create_clk(struct device *dev, struct clk_hw *hw, const char *dev_id, const char *con_id) argument
H A Dclkdev.c36 static struct clk_lookup *clk_find(const char *dev_id, const char *con_id) argument
43 if (con_id)
55 if (p->con_id) {
56 if (!con_id || strcmp(p->con_id, con_id))
72 struct clk_hw *clk_find_hw(const char *dev_id, const char *con_id) argument
78 cl = clk_find(dev_id, con_id);
87 const char *con_id)
89 struct clk_hw *hw = clk_find_hw(dev_id, con_id);
86 __clk_get_sys(struct device *dev, const char *dev_id, const char *con_id) argument
94 clk_get_sys(const char *dev_id, const char *con_id) argument
100 clk_get(struct device *dev, const char *con_id) argument
153 char con_id[MAX_CON_ID]; member in struct:clk_lookup_alloc
157 vclkdev_alloc(struct clk_hw *hw, const char *con_id, const char *dev_fmt, va_list ap) argument
181 vclkdev_create(struct clk_hw *hw, const char *con_id, const char *dev_fmt, va_list ap) argument
202 clkdev_create(struct clk *clk, const char *con_id, const char *dev_fmt, ...) argument
225 clkdev_hw_create(struct clk_hw *hw, const char *con_id, const char *dev_fmt, ...) argument
239 clk_add_alias(const char *alias, const char *alias_dev_name, const char *con_id, struct device *dev) argument
268 __clk_register_clkdev(struct clk_hw *hw, const char *con_id, const char *dev_id, ...) argument
282 do_clk_register_clkdev(struct clk_hw *hw, struct clk_lookup **cl, const char *con_id, const char *dev_id) argument
313 clk_register_clkdev(struct clk *clk, const char *con_id, const char *dev_id) argument
340 clk_hw_register_clkdev(struct clk_hw *hw, const char *con_id, const char *dev_id) argument
369 devm_clk_hw_register_clkdev(struct device *dev, struct clk_hw *hw, const char *con_id, const char *dev_id) argument
[all...]
/linux-master/include/linux/
H A Dclkdev.h21 const char *con_id; member in struct:clk_lookup
29 .con_id = n, \
36 struct clk_lookup *clkdev_create(struct clk *clk, const char *con_id,
38 struct clk_lookup *clkdev_hw_create(struct clk_hw *hw, const char *con_id,
48 const char *con_id, const char *dev_id);
H A Dpm_clock.h42 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);
66 static inline int pm_clk_add(struct device *dev, const char *con_id) argument
79 static inline void pm_clk_remove(struct device *dev, const char *con_id) argument
H A Dreset-controller.h36 * @con_id: name of the reset line (can be NULL)
43 const char *con_id; member in struct:reset_control_lookup
51 .con_id = _con_id, \
/linux-master/drivers/base/power/
H A Dclock_ops.c33 char *con_id; member in struct:pm_clock_entry
176 ce->clk = clk_get(dev, ce->con_id);
191 dev_dbg(dev, "Clock %pC con_id %s managed by runtime PM.\n",
192 ce->clk, ce->con_id);
195 static int __pm_clk_add(struct device *dev, const char *con_id, argument
208 if (con_id) {
209 ce->con_id = kstrdup(con_id, GFP_KERNEL);
210 if (!ce->con_id) {
235 * @con_id
240 pm_clk_add(struct device *dev, const char *con_id) argument
387 pm_clk_remove(struct device *dev, const char *con_id) argument
627 char **con_id; local
710 enable_clock(struct device *dev, const char *con_id) argument
727 disable_clock(struct device *dev, const char *con_id) argument
755 char **con_id; local
[all...]
/linux-master/drivers/soc/tegra/fuse/
H A Dfuse-tegra30.c217 .con_id = "calibration",
222 .con_id = "calibration",
227 .con_id = "common",
232 .con_id = "realignment",
237 .con_id = "cpu0",
242 .con_id = "cpu1",
247 .con_id = "cpu2",
252 .con_id = "cpu3",
257 .con_id = "mem0",
262 .con_id
[all...]
/linux-master/include/linux/mmc/
H A Dslot-gpio.h19 int mmc_gpiod_request_cd(struct mmc_host *host, const char *con_id,
22 int mmc_gpiod_request_ro(struct mmc_host *host, const char *con_id,
/linux-master/include/linux/gpio/
H A Dconsumer.h60 int gpiod_count(struct device *dev, const char *con_id);
64 const char *con_id,
67 const char *con_id,
71 const char *con_id,
74 const char *con_id,
78 const char *con_id,
81 const char *con_id,
87 const char *con_id,
90 const char *con_id,
94 const char *con_id,
191 gpiod_count(struct device *dev, const char *con_id) argument
196 gpiod_get(struct device *dev, const char *con_id, enum gpiod_flags flags) argument
203 gpiod_get_index(struct device *dev, const char *con_id, unsigned int idx, enum gpiod_flags flags) argument
212 gpiod_get_optional(struct device *dev, const char *con_id, enum gpiod_flags flags) argument
219 gpiod_get_index_optional(struct device *dev, const char *con_id, unsigned int index, enum gpiod_flags flags) argument
226 gpiod_get_array(struct device *dev, const char *con_id, enum gpiod_flags flags) argument
233 gpiod_get_array_optional(struct device *dev, const char *con_id, enum gpiod_flags flags) argument
265 devm_gpiod_get(struct device *dev, const char *con_id, enum gpiod_flags flags) argument
273 devm_gpiod_get_index(struct device *dev, const char *con_id, unsigned int idx, enum gpiod_flags flags) argument
282 devm_gpiod_get_optional(struct device *dev, const char *con_id, enum gpiod_flags flags) argument
289 devm_gpiod_get_index_optional(struct device *dev, const char *con_id, unsigned int index, enum gpiod_flags flags) argument
296 devm_gpiod_get_array(struct device *dev, const char *con_id, enum gpiod_flags flags) argument
303 devm_gpiod_get_array_optional(struct device *dev, const char *con_id, enum gpiod_flags flags) argument
543 fwnode_gpiod_get_index(struct fwnode_handle *fwnode, const char *con_id, int index, enum gpiod_flags flags, const char *label) argument
552 devm_fwnode_gpiod_get_index(struct device *dev, struct fwnode_handle *fwnode, const char *con_id, int index, enum gpiod_flags flags, const char *label) argument
564 devm_fwnode_gpiod_get(struct device *dev, struct fwnode_handle *fwnode, const char *con_id, enum gpiod_flags flags, const char *label) argument
[all...]
/linux-master/include/linux/soc/qcom/
H A Dsmem_state.h16 struct qcom_smem_state *qcom_smem_state_get(struct device *dev, const char *con_id, unsigned *bit);
17 struct qcom_smem_state *devm_qcom_smem_state_get(struct device *dev, const char *con_id, unsigned *bit);
28 const char *con_id, unsigned *bit)
34 const char *con_id,
27 qcom_smem_state_get(struct device *dev, const char *con_id, unsigned *bit) argument
33 devm_qcom_smem_state_get(struct device *dev, const char *con_id, unsigned *bit) argument
/linux-master/include/drm/
H A Ddrm_privacy_screen_machine.h25 /** @con_id: Consumer connector name or NULL to match all connectors. */
26 const char *con_id; member in struct:drm_privacy_screen_lookup
H A Ddrm_privacy_screen_consumer.h19 const char *con_id);
34 const char *con_id)
33 drm_privacy_screen_get(struct device *dev, const char *con_id) argument
/linux-master/drivers/clk/tegra/
H A Dclk-tegra30.c538 { .con_id = "pll_c", .dt_id = TEGRA30_CLK_PLL_C },
539 { .con_id = "pll_c_out1", .dt_id = TEGRA30_CLK_PLL_C_OUT1 },
540 { .con_id = "pll_p", .dt_id = TEGRA30_CLK_PLL_P },
541 { .con_id = "pll_p_out1", .dt_id = TEGRA30_CLK_PLL_P_OUT1 },
542 { .con_id = "pll_p_out2", .dt_id = TEGRA30_CLK_PLL_P_OUT2 },
543 { .con_id = "pll_p_out3", .dt_id = TEGRA30_CLK_PLL_P_OUT3 },
544 { .con_id = "pll_p_out4", .dt_id = TEGRA30_CLK_PLL_P_OUT4 },
545 { .con_id = "pll_m", .dt_id = TEGRA30_CLK_PLL_M },
546 { .con_id = "pll_m_out1", .dt_id = TEGRA30_CLK_PLL_M_OUT1 },
547 { .con_id
[all...]
H A Dclk-tegra124.c935 { .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
[all...]
H A Dclk-tegra114.c809 { .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
[all...]
H A Dclk-tegra20.c420 { .con_id = "pll_c", .dt_id = TEGRA20_CLK_PLL_C },
421 { .con_id = "pll_c_out1", .dt_id = TEGRA20_CLK_PLL_C_OUT1 },
422 { .con_id = "pll_p", .dt_id = TEGRA20_CLK_PLL_P },
423 { .con_id = "pll_p_out1", .dt_id = TEGRA20_CLK_PLL_P_OUT1 },
424 { .con_id = "pll_p_out2", .dt_id = TEGRA20_CLK_PLL_P_OUT2 },
425 { .con_id = "pll_p_out3", .dt_id = TEGRA20_CLK_PLL_P_OUT3 },
426 { .con_id = "pll_p_out4", .dt_id = TEGRA20_CLK_PLL_P_OUT4 },
427 { .con_id = "pll_m", .dt_id = TEGRA20_CLK_PLL_M },
428 { .con_id = "pll_m_out1", .dt_id = TEGRA20_CLK_PLL_M_OUT1 },
429 { .con_id
[all...]
/linux-master/include/linux/framer/
H A Dframer.h111 struct framer *framer_get(struct device *dev, const char *con_id);
114 struct framer *devm_framer_get(struct device *dev, const char *con_id);
115 struct framer *devm_framer_optional_get(struct device *dev, const char *con_id);
184 static inline struct framer *framer_get(struct device *dev, const char *con_id) argument
193 static inline struct framer *devm_framer_get(struct device *dev, const char *con_id) argument
198 static inline struct framer *devm_framer_optional_get(struct device *dev, const char *con_id) argument
/linux-master/drivers/clk/pxa/
H A Dclk-pxa25x.c115 #define PXA25X_CKEN(dev_id, con_id, parents, mult, div, \
117 PXA_CKEN(dev_id, con_id, bit, parents, mult, div, mult, div, \
119 #define PXA25X_PBUS95_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \
120 PXA25X_CKEN(dev_id, con_id, pxa25x_pbus95_parents, mult_hp, \
122 #define PXA25X_PBUS147_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay)\
123 PXA25X_CKEN(dev_id, con_id, pxa25x_pbus147_parents, mult_hp, \
125 #define PXA25X_OSC3_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \
126 PXA25X_CKEN(dev_id, con_id, pxa25x_osc3_parents, mult_hp, \
129 #define PXA25X_CKEN_1RATE(dev_id, con_id, bit, parents, delay) \
130 PXA_CKEN_1RATE(dev_id, con_id, bi
293 const char *con_id; member in struct:dummy_clk
[all...]
/linux-master/drivers/gpu/drm/
H A Ddrm_privacy_screen_x86.c65 .con_id = NULL,
75 .con_id = NULL,

Completed in 393 milliseconds

1234