Searched refs:con_id (Results 26 - 50 of 92) sorted by relevance

1234

/linux-master/drivers/soc/qcom/
H A Dsmem_state.c82 * @con_id: name of the state to lookup
89 const char *con_id,
97 if (con_id) {
100 con_id);
163 * @con_id: name of the state to lookup
170 const char *con_id,
179 state = qcom_smem_state_get(dev, con_id, bit);
88 qcom_smem_state_get(struct device *dev, const char *con_id, unsigned *bit) argument
169 devm_qcom_smem_state_get(struct device *dev, const char *con_id, unsigned *bit) argument
/linux-master/drivers/clk/pxa/
H A Dclk-pxa27x.c110 #define PXA27X_CKEN(dev_id, con_id, parents, mult_hp, div_hp, \
112 PXA_CKEN(dev_id, con_id, bit, parents, 1, 1, mult_hp, div_hp, \
114 #define PXA27X_PBUS_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \
115 PXA27X_CKEN(dev_id, con_id, pxa27x_pbus_parents, mult_hp, \
124 #define PXA27X_CKEN_1RATE(dev_id, con_id, bit, parents, delay) \
125 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \
127 #define PXA27X_CKEN_1RATE_AO(dev_id, con_id, bit, parents, delay) \
128 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \
432 { .con_id = _con_id, .dev_id = _dev_id, .parent = _parent }
434 const char *con_id; member in struct:dummy_clk
[all...]
H A Dclk-pxa3xx.c221 #define PXA3XX_CKEN(dev_id, con_id, parents, mult_lp, div_lp, mult_hp, \
223 PXA_CKEN(dev_id, con_id, bit, parents, mult_lp, div_lp, \
226 #define PXA3XX_PBUS_CKEN(dev_id, con_id, bit, mult_lp, div_lp, \
228 PXA3XX_CKEN(dev_id, con_id, pxa3xx_pbus_parents, mult_lp, \
230 #define PXA3XX_CKEN_1RATE(dev_id, con_id, bit, parents) \
231 PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \
394 { .con_id = _con_id, .dev_id = _dev_id, .parent = _parent }
396 const char *con_id; member in struct:dummy_clk
416 name = d->dev_id ? d->dev_id : d->con_id;
418 clk_register_clkdev(clk, d->con_id,
[all...]
H A Dclk-pxa.c90 void __init clkdev_pxa_register(int ckid, const char *con_id, argument
96 clk_register_clkdev(clk, con_id, dev_id);
122 clkdev_pxa_register(clks[i].ckid, clks[i].con_id,
/linux-master/drivers/gpio/
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...]
H A Dgpiolib.c2419 static inline const char *function_name_or_default(const char *con_id) argument
2421 return con_id ?: "(default)";
4081 static struct gpio_desc *gpiod_find(struct device *dev, const char *con_id, argument
4100 /* If the lookup entry has a con_id, require exact match */
4101 if (p->con_id && (!con_id || strcmp(p->con_id, con_id)))
4150 static int platform_gpio_count(struct device *dev, const char *con_id) argument
4162 if ((con_id
4174 gpiod_find_by_fwnode(struct fwnode_handle *fwnode, struct device *consumer, const char *con_id, unsigned int idx, enum gpiod_flags *flags, unsigned long *lookupflags) argument
4198 gpiod_find_and_request(struct device *consumer, struct fwnode_handle *fwnode, const char *con_id, unsigned int idx, enum gpiod_flags flags, const char *label, bool platform_lookup_allowed) argument
4289 fwnode_gpiod_get_index(struct fwnode_handle *fwnode, const char *con_id, int index, enum gpiod_flags flags, const char *label) argument
4305 gpiod_count(struct device *dev, const char *con_id) argument
4334 gpiod_get(struct device *dev, const char *con_id, enum gpiod_flags flags) argument
4351 gpiod_get_optional(struct device *dev, const char *con_id, enum gpiod_flags flags) argument
4372 gpiod_configure_flags(struct gpio_desc *desc, const char *con_id, unsigned long lflags, enum gpiod_flags dflags) argument
4447 gpiod_get_index(struct device *dev, const char *con_id, unsigned int idx, enum gpiod_flags flags) argument
4472 gpiod_get_index_optional(struct device *dev, const char *con_id, unsigned int index, enum gpiod_flags flags) argument
4554 gpiod_get_array(struct device *dev, const char *con_id, enum gpiod_flags flags) argument
4679 gpiod_get_array_optional(struct device *dev, const char *con_id, enum gpiod_flags flags) argument
[all...]
H A Dgpiolib-acpi.c956 const char *con_id)
966 return con_id == NULL;
970 __acpi_find_gpio(struct fwnode_handle *fwnode, const char *con_id, unsigned int idx, argument
980 if (con_id) {
982 con_id, gpio_suffixes[i]);
1009 const char *con_id,
1015 bool can_fallback = acpi_can_fallback_to_crs(adev, con_id);
1019 desc = __acpi_find_gpio(fwnode, con_id, idx, can_fallback, &info);
1037 * @con_id: optional name of GpioInt resource
1048 * The function takes optional @con_id paramete
955 acpi_can_fallback_to_crs(struct acpi_device *adev, const char *con_id) argument
1008 acpi_find_gpio(struct fwnode_handle *fwnode, const char *con_id, unsigned int idx, enum gpiod_flags *dflags, unsigned long *lookupflags) argument
1056 acpi_dev_gpio_irq_wake_get_by(struct acpi_device *adev, const char *con_id, int index, bool *wake_capable) argument
1445 acpi_gpio_count(const struct fwnode_handle *fwnode, const char *con_id) argument
[all...]
/linux-master/include/linux/
H A Dahci_platform.h26 const char *con_id);
H A Dpwm.h419 struct pwm_device *pwm_get(struct device *dev, const char *con_id);
422 struct pwm_device *devm_pwm_get(struct device *dev, const char *con_id);
425 const char *con_id);
537 const char *con_id)
589 const char *con_id; member in struct:pwm_lookup
601 .con_id = _con_id, \
536 devm_fwnode_pwm_get(struct device *dev, struct fwnode_handle *fwnode, const char *con_id) argument
H A Dclk.h648 * @con_id: clock consumer ID
652 * @np and @con_id
658 struct device_node *np, const char *con_id);
894 * @con_id: connection ID
898 * uses @dev_id and @con_id to determine the clock consumer, and
906 struct clk *clk_get_sys(const char *dev_id, const char *con_id);
1011 struct device_node *np, const char *con_id)
1092 static inline struct clk *clk_get_sys(const char *dev_id, const char *con_id) argument
1010 devm_get_clk_from_child(struct device *dev, struct device_node *np, const char *con_id) argument
/linux-master/include/linux/phy/
H A Dphy.h191 * @con_id: connection ID string on device
197 const char *con_id; member in struct:phy_lookup
265 const char *con_id);
267 const char *con_id);
273 struct phy *of_phy_get(struct device_node *np, const char *con_id);
293 int phy_create_lookup(struct phy *phy, const char *con_id, const char *dev_id);
294 void phy_remove_lookup(struct phy *phy, const char *con_id, const char *dev_id);
466 const char *con_id)
473 const char *con_id)
497 static inline struct phy *of_phy_get(struct device_node *np, const char *con_id) argument
464 devm_of_phy_get(struct device *dev, struct device_node *np, const char *con_id) argument
471 devm_of_phy_optional_get(struct device *dev, struct device_node *np, const char *con_id) argument
555 phy_create_lookup(struct phy *phy, const char *con_id, const char *dev_id) argument
559 phy_remove_lookup(struct phy *phy, const char *con_id, const char *dev_id) argument
[all...]
/linux-master/include/linux/gpio/
H A Dmachine.h28 * @con_id: name of the GPIO from the device's point of view
38 const char *con_id; member in struct:gpiod_lookup
79 * Simple definition of a single GPIO under a con_id
85 * Use this macro if you need to have several GPIOs under the same con_id.
93 .con_id = _con_id, \
/linux-master/drivers/clk/davinci/
H A Dpsc.h21 const char *con_id; member in struct:davinci_lpsc_clkdev_info
26 .con_id = (c), \
/linux-master/drivers/platform/x86/x86-android-tablets/
H A Dx86-android-tablets.h43 const char *con_id; member in struct:x86_acpi_irq_data
96 int x86_android_tablet_get_gpiod(const char *chip, int pin, const char *con_id,
H A Dlenovo.c119 .con_id = "goodix_ts_irq",
137 .con_id = "wacom_irq",
163 .con_id = "hideep_ts_irq",
349 .con_id = "bq24292i_irq",
658 .con_id = "bq24292i_irq",
684 .con_id = "lc824206xa_irq",
859 .con_id = "bq25892_0_irq",
885 .con_id = "hideep_ts_irq",
976 .con_id = "wm5102_irq",
H A Dother.c54 .con_id = "NVT-ts_irq",
70 .con_id = "bma250e_irq",
183 .con_id = "bma250e_irq",
322 .con_id = "kxtj21009_irq",
413 .con_id = "ft5416_irq",
472 .con_id = "ft5416_irq",
/linux-master/drivers/mmc/core/
H A Dslot-gpio.c177 * @con_id: function within the GPIO consumer
187 int mmc_gpiod_request_cd(struct mmc_host *host, const char *con_id, argument
195 desc = devm_gpiod_get_index(host->parent, con_id, idx, GPIOD_IN);
199 /* Update default label if no con_id provided */
200 if (!con_id)
254 * @con_id: function within the GPIO consumer
260 int mmc_gpiod_request_ro(struct mmc_host *host, const char *con_id, argument
267 desc = devm_gpiod_get_index(host->parent, con_id, idx, GPIOD_IN);
271 /* Update default label if no con_id provided */
272 if (!con_id)
[all...]
/linux-master/drivers/gpu/drm/
H A Ddrm_privacy_screen.c104 * @con_id: (video)connector name for which to get a privacy-screen provider
107 * display described by the @dev and @con_id parameters.
116 const char *con_id)
152 if (l->con_id) {
153 if (!con_id || strcmp(l->con_id, con_id))
115 drm_privacy_screen_get(struct device *dev, const char *con_id) argument
/linux-master/drivers/phy/
H A Dphy-core.c66 * @con_id: connection ID string on device
71 int phy_create_lookup(struct phy *phy, const char *con_id, const char *dev_id) argument
75 if (!phy || !dev_id || !con_id)
83 pl->con_id = con_id;
97 * @con_id: connection ID string on device
103 void phy_remove_lookup(struct phy *phy, const char *con_id, const char *dev_id) argument
107 if (!phy || !dev_id || !con_id)
113 !strcmp(pl->con_id, con_id)) {
122 phy_find(struct device *dev, const char *con_id) argument
669 of_phy_get(struct device_node *np, const char *con_id) argument
887 devm_of_phy_get(struct device *dev, struct device_node *np, const char *con_id) argument
929 devm_of_phy_optional_get(struct device *dev, struct device_node *np, const char *con_id) argument
[all...]
/linux-master/drivers/platform/x86/intel/int3472/
H A Dled.c46 int3472->pled.lookup.con_id = "privacy-led";
/linux-master/drivers/base/
H A Dproperty.c1280 const char *con_id, void *data,
1302 ret = match(node, con_id, data);
1314 const char *con_id, void *data,
1328 node = fwnode_find_reference(fwnode, con_id, i);
1347 * @con_id: Identifier for the connection
1351 * Find a connection with unique identifier @con_id between @fwnode and another
1356 const char *con_id, void *data,
1365 count = fwnode_graph_devcon_matches(fwnode, con_id, data, match, &ret, 1);
1369 count = fwnode_devcon_matches(fwnode, con_id, data, match, &ret, 1);
1377 * @con_id
1279 fwnode_graph_devcon_matches(const struct fwnode_handle *fwnode, const char *con_id, void *data, devcon_match_fn_t match, void **matches, unsigned int matches_len) argument
1313 fwnode_devcon_matches(const struct fwnode_handle *fwnode, const char *con_id, void *data, devcon_match_fn_t match, void **matches, unsigned int matches_len) argument
1355 fwnode_connection_find_match(const struct fwnode_handle *fwnode, const char *con_id, void *data, devcon_match_fn_t match) argument
1393 fwnode_connection_find_matches(const struct fwnode_handle *fwnode, const char *con_id, void *data, devcon_match_fn_t match, void **matches, unsigned int matches_len) argument
[all...]
/linux-master/drivers/clk/tegra/
H A Dclk-tegra210.c2561 { .con_id = "clk_m", .dt_id = TEGRA210_CLK_CLK_M },
2562 { .con_id = "pll_ref", .dt_id = TEGRA210_CLK_PLL_REF },
2563 { .con_id = "clk_32k", .dt_id = TEGRA210_CLK_CLK_32K },
2564 { .con_id = "osc", .dt_id = TEGRA210_CLK_OSC },
2565 { .con_id = "osc_div2", .dt_id = TEGRA210_CLK_OSC_DIV2 },
2566 { .con_id = "osc_div4", .dt_id = TEGRA210_CLK_OSC_DIV4 },
2567 { .con_id = "pll_c", .dt_id = TEGRA210_CLK_PLL_C },
2568 { .con_id = "pll_c_out1", .dt_id = TEGRA210_CLK_PLL_C_OUT1 },
2569 { .con_id = "pll_c2", .dt_id = TEGRA210_CLK_PLL_C2 },
2570 { .con_id
[all...]
/linux-master/drivers/pwm/
H A Dcore.c1229 * @con_id: consumer name
1236 * If con_id is NULL, the first PWM device listed in the "pwms" property will
1239 * becomes mandatory for devices that look up the PWM device via the con_id
1246 const char *con_id)
1255 if (con_id) {
1256 index = of_property_match_string(np, "pwm-names", con_id);
1294 if (!con_id) {
1296 &con_id);
1298 con_id = np->name;
1301 pwm->label = con_id;
1245 of_pwm_get(struct device *dev, struct device_node *np, const char *con_id) argument
1411 pwm_get(struct device *dev, const char *con_id) argument
1571 devm_pwm_get(struct device *dev, const char *con_id) argument
1600 devm_fwnode_pwm_get(struct device *dev, struct fwnode_handle *fwnode, const char *con_id) argument
[all...]
/linux-master/arch/arm/plat-orion/include/plat/
H A Dcommon.h100 void __init orion_clkdev_add(const char *con_id, const char *dev_id,
/linux-master/drivers/fpga/
H A Dxilinx-core.c175 xilinx_core_devm_gpiod_get(struct device *dev, const char *con_id, argument
180 desc = devm_gpiod_get(dev, con_id, flags);

Completed in 742 milliseconds

1234