Home
last modified time | relevance | path

Searched refs:rcfg (Results 1 – 7 of 7) sorted by relevance

/linux/arch/mips/ath25/
H A Dboard.c74 const void __iomem *rcfg, *begin, *end; in find_radio_config() local
83 for (rcfg = begin; rcfg < end; rcfg += 0x1000) in find_radio_config()
84 if (check_notempty(rcfg) && check_radio_magic(rcfg)) in find_radio_config()
85 return rcfg; in find_radio_config()
90 for (rcfg = begin; rcfg < end; rcfg += 0x1000) in find_radio_config()
91 if (check_notempty(rcfg) && check_radio_magic(rcfg)) in find_radio_config()
92 return rcfg; in find_radio_config()
108 const void __iomem *bcfg, *rcfg; in ath25_find_config() local
159 rcfg = find_radio_config(flash_limit, bcfg); in ath25_find_config()
160 if (!rcfg) { in ath25_find_config()
[all …]
/linux/drivers/power/reset/
H A Dat91-sama5d2_shdwc.c93 const struct reg_config *rcfg; member
113 const struct reg_config *rcfg = shdw->rcfg; in at91_wakeup_status() local
125 if (SHDW_WK_PIN(reg, &rcfg->shdwc)) in at91_wakeup_status()
127 else if (SHDW_RTCWK(reg, &rcfg->shdwc)) in at91_wakeup_status()
129 else if (SHDW_RTTWK(reg, &rcfg->shdwc)) in at91_wakeup_status()
168 "r" (at91_shdwc->rcfg->pmc.mckr) in at91_poweroff()
235 const struct reg_config *rcfg = shdw->rcfg; in at91_shdwc_dt_configure() local
248 mode |= SHDW_RTCWKEN(&rcfg->shdwc); in at91_shdwc_dt_configure()
251 mode |= SHDW_RTTWKEN(&rcfg->shdwc); in at91_shdwc_dt_configure()
358 at91_shdwc->rcfg = match->data; in at91_shdwc_probe()
[all …]
/linux/drivers/regulator/
H A D88pm886-regulator.c343 struct regulator_config rcfg = { }; in pm886_regulator_probe() local
360 rcfg.regmap = regmap; in pm886_regulator_probe()
362 rcfg.dev = dev->parent; in pm886_regulator_probe()
366 rdev = devm_regulator_register(dev, rdesc, &rcfg); in pm886_regulator_probe()
/linux/drivers/power/supply/
H A Dmt6370-charger.c236 struct regulator_config *rcfg) in mt6370_chg_otg_of_parse_cb() argument
238 struct mt6370_priv *priv = rcfg->driver_data; in mt6370_chg_otg_of_parse_cb()
240 rcfg->ena_gpiod = fwnode_gpiod_get_index(of_fwnode_handle(of), in mt6370_chg_otg_of_parse_cb()
244 if (IS_ERR(rcfg->ena_gpiod)) { in mt6370_chg_otg_of_parse_cb()
245 rcfg->ena_gpiod = NULL; in mt6370_chg_otg_of_parse_cb()
739 struct regulator_config rcfg = { in mt6370_chg_init_otg_regulator() local
746 &rcfg); in mt6370_chg_init_otg_regulator()
/linux/drivers/phy/renesas/
H A Dphy-rcar-gen3-usb2.c920 struct regulator_config rcfg = { .dev = dev, }; in rcar_gen3_phy_usb2_vbus_regulator_register() local
924 rcfg.of_node = of_get_available_child_by_name(dev->of_node, in rcar_gen3_phy_usb2_vbus_regulator_register()
926 if (rcfg.of_node) { in rcar_gen3_phy_usb2_vbus_regulator_register()
927 rcfg.driver_data = channel; in rcar_gen3_phy_usb2_vbus_regulator_register()
929 &rcfg); in rcar_gen3_phy_usb2_vbus_regulator_register()
930 of_node_put(rcfg.of_node); in rcar_gen3_phy_usb2_vbus_regulator_register()
/linux/drivers/mmc/host/
H A Drenesas_sdhi_core.c1061 struct regulator_config rcfg = { .dev = &pdev->dev, }; in renesas_sdhi_probe() local
1206 rcfg.of_node = of_get_available_child_by_name(dev->of_node, "vqmmc-regulator"); in renesas_sdhi_probe()
1207 if (rcfg.of_node) { in renesas_sdhi_probe()
1208 rcfg.driver_data = priv->host; in renesas_sdhi_probe()
1209 rdev = devm_regulator_register(dev, &renesas_sdhi_vqmmc_regulator, &rcfg); in renesas_sdhi_probe()
1210 of_node_put(rcfg.of_node); in renesas_sdhi_probe()
/linux/net/wireless/
H A Dnl80211.c2577 const struct wiphy_radio_cfg *rcfg = &wiphy->radio_cfg[idx]; in nl80211_put_radio() local
2588 if (rcfg->rts_threshold && in nl80211_put_radio()
2590 rcfg->rts_threshold)) in nl80211_put_radio()