Searched refs:supply (Results 1 - 200 of 538) sorted by relevance

123

/linux-4.1.27/arch/x86/um/vdso/
H A Dvdso-note.S3 * Here we can supply some information useful to userland.
H A Dvdso-layout.lds.S55 * We must supply the ELF program headers explicitly to get just one
/linux-4.1.27/arch/x86/vdso/
H A Dvdso-note.S3 * Here we can supply some information useful to userland.
H A Dvdso-layout.lds.S109 * We must supply the ELF program headers explicitly to get just one
/linux-4.1.27/arch/s390/kernel/vdso32/
H A Dnote.S3 * Here we can supply some information useful to userland.
H A Dvdso32.lds.S111 * We must supply the ELF program headers explicitly to get just one
/linux-4.1.27/arch/s390/kernel/vdso64/
H A Dnote.S3 * Here we can supply some information useful to userland.
H A Dvdso64.lds.S111 * We must supply the ELF program headers explicitly to get just one
/linux-4.1.27/drivers/power/avs/
H A Drockchip-io-domain.c71 static int rockchip_iodomain_write(struct rockchip_iodomain_supply *supply, rockchip_iodomain_write() argument
74 struct rockchip_iodomain *iod = supply->iod; rockchip_iodomain_write()
80 val <<= supply->idx; rockchip_iodomain_write()
83 val |= (BIT(supply->idx) << 16); rockchip_iodomain_write()
96 struct rockchip_iodomain_supply *supply = rockchip_iodomain_notify() local
125 dev_dbg(supply->iod->dev, "Setting to %d\n", uV); rockchip_iodomain_notify()
128 dev_err(supply->iod->dev, "Voltage too high: %d\n", uV); rockchip_iodomain_notify()
134 ret = rockchip_iodomain_write(supply, uV); rockchip_iodomain_notify()
138 dev_info(supply->iod->dev, "Setting to %d done\n", uV); rockchip_iodomain_notify()
147 /* if no flash supply we should leave things alone */ rk3288_iodomain_init()
244 struct rockchip_iodomain_supply *supply = &iod->supplies[i]; rockchip_iodomain_probe() local
255 /* If a supply wasn't specified, that's OK */ rockchip_iodomain_probe()
282 /* setup our supply */ rockchip_iodomain_probe()
283 supply->idx = i; rockchip_iodomain_probe()
284 supply->iod = iod; rockchip_iodomain_probe()
285 supply->reg = reg; rockchip_iodomain_probe()
286 supply->nb.notifier_call = rockchip_iodomain_notify; rockchip_iodomain_probe()
288 ret = rockchip_iodomain_write(supply, uV); rockchip_iodomain_probe()
290 supply->reg = NULL; rockchip_iodomain_probe()
295 ret = regulator_register_notifier(reg, &supply->nb); rockchip_iodomain_probe()
299 supply->reg = NULL; rockchip_iodomain_probe()
/linux-4.1.27/drivers/power/
H A Dpower_supply_core.c2 * Universal power supply monitor class
36 struct power_supply *supply) __power_supply_is_supplied_by()
40 if (!supply->supplied_from && !supplier->supplied_to) __power_supply_is_supplied_by()
44 if (supply->supplied_from) { __power_supply_is_supplied_by()
47 for (i = 0; i < supply->num_supplies; i++) __power_supply_is_supplied_by()
48 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) __power_supply_is_supplied_by()
51 if (!supply->desc->name) __power_supply_is_supplied_by()
54 if (!strcmp(supplier->supplied_to[i], supply->desc->name)) __power_supply_is_supplied_by()
127 * Notify that power supply was registered after parent finished the probing.
129 * Often power supply is registered from driver's probe function. However
167 dev_info(&psy->dev, "%s: Found supply : %s\n", __power_supply_populate_supplied_from()
249 dev_dbg(&psy->dev, "Failed to find supply!\n"); power_supply_check_supplies()
262 dev_err(&psy->dev, "Couldn't allocate memory for supply list\n"); power_supply_check_supplies()
270 dev_err(&psy->dev, "Couldn't allocate memory for supply list\n"); power_supply_check_supplies()
366 * power_supply_get_by_name() - Search for a power supply and returns its ref
367 * @name: Power supply name to fetch
369 * If power supply was found, it increases reference count for the
370 * internal power supply's device. The user should power_supply_put()
373 * Return: On success returns a reference to a power supply with
395 * The reference to power supply should be put before unregistering
396 * the power supply.
414 * power_supply_get_by_phandle() - Search for a power supply and returns its ref
416 * @phandle_name: Name of property holding a power supply name
418 * If power supply was found, it increases reference count for the
419 * internal power supply's device. The user should power_supply_put()
422 * Return: On success returns a reference to a power supply with
766 * power_supply_register() - Register new power supply
767 * @parent: Device to be a parent of power supply's device, usually
769 * @desc: Description of power supply, must be valid through whole
770 * lifetime of this power supply
788 * power_supply_register() - Register new non-waking-source power supply
789 * @parent: Device to be a parent of power supply's device, usually
791 * @desc: Description of power supply, must be valid through whole
792 * lifetime of this power supply
818 * power_supply_register() - Register managed power supply
819 * @parent: Device to be a parent of power supply's device, usually
821 * @desc: Description of power supply, must be valid through whole
822 * lifetime of this power supply
854 * power_supply_register() - Register managed non-waking-source power supply
855 * @parent: Device to be a parent of power supply's device, usually
857 * @desc: Description of power supply, must be valid through whole
858 * lifetime of this power supply
890 * power_supply_unregister() - Remove this power supply from system
891 * @psy: Pointer to power supply to unregister
893 * Remove this power supply from the system. The resources of power supply
937 MODULE_DESCRIPTION("Universal power supply monitor class");
35 __power_supply_is_supplied_by(struct power_supply *supplier, struct power_supply *supply) __power_supply_is_supplied_by() argument
H A Dpower_supply.h2 * Functions private to power supply class
H A Dltc2941-battery-gauge.c62 struct power_supply *supply; /* Supply pointer */ member in struct:ltc294x_info
347 power_supply_changed(info->supply); ltc294x_update()
373 power_supply_unregister(info->supply); ltc294x_i2c_remove()
479 info->supply = power_supply_register(&client->dev, &info->supply_desc, ltc294x_i2c_probe()
481 if (IS_ERR(info->supply)) { ltc294x_i2c_probe()
483 ret = PTR_ERR(info->supply); ltc294x_i2c_probe()
H A Dintel_mid_battery.c395 * @psy: usb power supply context
434 * @psy: battery power supply context
708 /* register pmic-batt with power supply subsystem */ probe()
712 "%s(): failed to register pmic battery device with power supply subsystem\n", probe()
719 "registration with power supply subsystem successful\n", probe()
724 /* register pmic-usb with power supply subsystem */ probe()
728 "%s(): failed to register pmic usb device with power supply subsystem\n", probe()
736 "registration with power supply subsystem successful\n", probe()
H A Dmax8997_charger.c2 * max8997_charger.c - Power supply consumer driver for the Maxim 8997/8966
168 dev_err(&pdev->dev, "failed: power supply register\n"); max8997_battery_probe()
H A Dmax8998_charger.c2 * max8998_charger.c - Power supply consumer driver for the Maxim 8998/LP3974
179 dev_err(max8998->dev, "failed: power supply register: %d\n", max8998_battery_probe()
H A Dwm8350_power.c19 #include <linux/mfd/wm8350/supply.h>
70 * without battery, otherwise check for wall supply */ wm8350_get_supplies()
444 /* and supply change events */ wm8350_init_charger()
539 MODULE_DESCRIPTION("Power supply driver for WM8350");
H A Dpower_supply_leds.c2 * LEDs triggers for power supply class
H A Drt5033_battery.c147 dev_err(&client->dev, "Failed to register power supply\n"); rt5033_battery_probe()
H A Dpower_supply_sysfs.c2 * Sysfs interface for the universal power supply monitor class
283 dev_dbg(dev, "No power supply yet\n"); power_supply_uevent()
H A Dwm831x_power.c36 static int wm831x_power_check_online(struct wm831x *wm831x, int supply, wm831x_power_check_online() argument
45 if (ret & supply) wm831x_power_check_online()
670 MODULE_DESCRIPTION("Power supply driver for WM831x PMICs");
H A Dab8500_charger.c224 * @vddadc_en_ac: Indicate if VDD ADC supply is enabled because AC
226 * @vddadc_en_usb: Indicate if VDD ADC supply is enabled because USB
243 * @ac_chg: AC charger power supply
244 * @usb_chg: USB charger power supply
615 * NO_PW_CONN no power supply is connected
616 * AC_PW_CONN if the AC power supply is connected
617 * USB_PW_CONN if the USB power supply is connected
1380 * will be triggered everytime we enable the VDD ADC supply. ab8500_charger_ac_en()
1382 * It can be avoided by having the supply on when ab8500_charger_ac_en()
1383 * there is a charger enabled. Normally the VDD ADC supply ab8500_charger_ac_en()
1553 * will be triggered everytime we enable the VDD ADC supply. ab8500_charger_usb_en()
1555 * It can be avoided by having the supply on when ab8500_charger_usb_en()
1556 * there is a charger enabled. Normally the VDD ADC supply ab8500_charger_usb_en()
3503 /* AC and USB supply config */ ab8500_charger_probe()
3511 /* AC supply */ ab8500_charger_probe()
3530 /* USB supply */ ab8500_charger_probe()
3607 * VDD ADC supply needs to be enabled from this driver when there ab8500_charger_probe()
H A Dgoldfish_battery.c2 * Power supply driver for the goldfish emulator
H A Dwm831x_backup.c43 * Backup supply properties
H A Dpda_power.c331 dev_err(dev, "failed to register %s power supply\n", pda_power_probe()
355 dev_err(dev, "failed to register %s power supply\n", pda_power_probe()
H A Dtest_power.c2 * Power supply driver for testing.
529 MODULE_DESCRIPTION("Power supply driver for testing");
/linux-4.1.27/drivers/video/backlight/
H A Das3711_bl.c59 struct as3711_bl_supply *supply = to_supply(data); as3711_set_brightness_auto_i() local
60 struct as3711 *as3711 = supply->as3711; as3711_set_brightness_auto_i()
61 const struct as3711_bl_pdata *pdata = supply->pdata; as3711_set_brightness_auto_i()
89 static int as3711_bl_su2_reset(struct as3711_bl_supply *supply) as3711_bl_su2_reset() argument
91 struct as3711 *as3711 = supply->as3711; as3711_bl_su2_reset()
93 3, supply->pdata->su2_fbprot); as3711_bl_su2_reset()
110 struct as3711_bl_supply *supply = to_supply(data); as3711_bl_update_status() local
111 struct as3711 *as3711 = supply->as3711; as3711_bl_update_status()
128 const struct as3711_bl_pdata *pdata = supply->pdata; as3711_bl_update_status()
140 ret = as3711_bl_su2_reset(supply); as3711_bl_update_status()
185 static int as3711_bl_init_su2(struct as3711_bl_supply *supply) as3711_bl_init_su2() argument
187 struct as3711 *as3711 = supply->as3711; as3711_bl_init_su2()
188 const struct as3711_bl_pdata *pdata = supply->pdata; as3711_bl_init_su2()
369 struct as3711_bl_supply *supply; as3711_backlight_probe() local
406 supply = devm_kzalloc(&pdev->dev, sizeof(*supply), GFP_KERNEL); as3711_backlight_probe()
407 if (!supply) as3711_backlight_probe()
410 supply->as3711 = as3711; as3711_backlight_probe()
411 supply->pdata = pdata; as3711_backlight_probe()
414 su = &supply->su1; as3711_backlight_probe()
425 su = &supply->su2; as3711_backlight_probe()
453 ret = as3711_bl_init_su2(supply); as3711_backlight_probe()
462 platform_set_drvdata(pdev, supply); as3711_backlight_probe()
H A Dlp855x_bl.c387 pdata->supply = devm_regulator_get(dev, "power");
388 if (IS_ERR(pdata->supply)) {
389 if (PTR_ERR(pdata->supply) == -EPROBE_DEFER)
391 pdata->supply = NULL;
434 if (lp->pdata->supply) { lp855x_probe()
435 ret = regulator_enable(lp->pdata->supply); lp855x_probe()
437 dev_err(&cl->dev, "failed to enable supply: %d\n", ret); lp855x_probe()
473 if (lp->pdata->supply) lp855x_remove()
474 regulator_disable(lp->pdata->supply); lp855x_remove()
/linux-4.1.27/drivers/regulator/
H A Dwm8994-regulator.c32 struct regulator_consumer_supply supply; member in struct:wm8994_ldo
106 { .supply = "AVDD1" },
107 { .supply = "DCVDD" },
141 ldo->supply = wm8994_ldo_consumer[id]; wm8994_ldo_probe()
142 ldo->supply.dev_name = dev_name(wm8994->dev); wm8994_ldo_probe()
157 dev_dbg(wm8994->dev, "Using default init data, supply %s %s\n", wm8994_ldo_probe()
158 ldo->supply.dev_name, ldo->supply.supply); wm8994_ldo_probe()
161 ldo->init_data.consumer_supplies = &ldo->supply; wm8994_ldo_probe()
H A Dmax8907-regulator.c49 #define REG_LDO(ids, supply, base, min, max, step) \
52 .supply_name = supply, \
66 #define REG_FIXED(ids, supply, voltage) \
69 .supply_name = supply, \
78 #define REG_OUT5V(ids, supply, base, voltage) \
81 .supply_name = supply, \
92 #define REG_BBAT(ids, supply, base, min, max, step) \
95 .supply_name = supply, \
107 #define LDO_750_50(id, supply, base) REG_LDO(id, supply, (base), \
109 #define LDO_650_25(id, supply, base) REG_LDO(id, supply, (base), \
H A Darizona-ldo1.c2 * arizona-ldo1.c -- LDO1 supply for Arizona devices
35 struct regulator_consumer_supply supply; member in struct:arizona_ldo1
193 dcvdd_node = of_parse_phandle(arizona->dev->of_node, "DCVDD-supply", 0); arizona_ldo1_of_get_pdata()
202 init_data->consumer_supplies = &ldo1->supply; arizona_ldo1_of_get_pdata()
252 ldo1->init_data.consumer_supplies = &ldo1->supply; arizona_ldo1_probe()
253 ldo1->supply.supply = "DCVDD"; arizona_ldo1_probe()
254 ldo1->supply.dev_name = dev_name(arizona->dev); arizona_ldo1_probe()
278 * LDO1 can only be used to supply DCVDD so if it has no arizona_ldo1_probe()
290 dev_err(arizona->dev, "Failed to register LDO1 supply: %d\n", arizona_ldo1_probe()
H A Darizona-micsupp.c2 * arizona-micsupp.c -- Microphone supply for Arizona devices
37 struct regulator_consumer_supply supply; member in struct:arizona_micsupp
217 init_data->consumer_supplies = &micsupp->supply; arizona_micsupp_of_get_pdata()
259 micsupp->init_data.consumer_supplies = &micsupp->supply; arizona_micsupp_probe()
260 micsupp->supply.supply = "MICVDD"; arizona_micsupp_probe()
261 micsupp->supply.dev_name = dev_name(arizona->dev); arizona_micsupp_probe()
293 dev_err(arizona->dev, "Failed to register mic supply: %d\n", arizona_micsupp_probe()
314 MODULE_DESCRIPTION("Arizona microphone supply driver");
H A Ddevres.c145 * @dev: Device to supply
168 consumers[i].supply); devm_regulator_bulk_get()
171 dev_err(dev, "Failed to get supply '%s': %d\n", devm_regulator_bulk_get()
172 consumers[i].supply, ret); devm_regulator_bulk_get()
281 * @alias_dev: device that should be used to lookup the supply
283 * supply
285 * The supply alias will automatically be unregistered when the source
348 * @id: List of supply names or regulator IDs
349 * @alias_dev: device that should be used to lookup the supply
350 * @alias_id: List of supply names or regulator IDs that should be used to
351 * lookup the supply
356 * This helper function allows drivers to register several supply
383 "Failed to create supply alias %s,%s -> %s,%s\n", devm_regulator_bulk_register_supply_alias()
398 * @id: List of supply names or regulator IDs
H A Dcore.c65 * Used to provide symbolic supply names to devices.
70 const char *supply; member in struct:regulator_map
90 * Used to map lookups for a supply onto an alternative device.
134 * of_get_regulator - get a regulator device node based on supply name
136 * @supply: regulator supply name
138 * Extract the regulator device node corresponding to the supply name.
142 static struct device_node *of_get_regulator(struct device *dev, const char *supply) of_get_regulator() argument
147 dev_dbg(dev, "Looking up %s-supply from device tree\n", supply); of_get_regulator()
149 snprintf(prop_name, 32, "%s-supply", supply); of_get_regulator()
673 if (rdev->supply) drms_uA_update()
674 input_uV = regulator_get_voltage(rdev->supply); drms_uA_update()
1066 * set_supply - set regulator supply regulator
1068 * @supply_rdev: supply regulator name
1070 * Called by platform initialisation code to set the supply regulator for this
1071 * regulator. This ensures that a regulators supply will also be enabled by the
1081 rdev->supply = create_regulator(supply_rdev, &rdev->dev, "SUPPLY"); set_supply()
1082 if (rdev->supply == NULL) { set_supply()
1092 * set_consumer_device_supply - Bind a regulator to a symbolic supply
1094 * @consumer_dev_name: dev_name() string for device supply applies to
1095 * @supply: symbolic name for supply
1104 const char *supply) set_consumer_device_supply()
1109 if (supply == NULL) set_consumer_device_supply()
1125 if (strcmp(node->supply, supply) != 0) set_consumer_device_supply()
1128 pr_debug("%s: %s/%s is '%s' supply; fail %s/%s\n", set_consumer_device_supply()
1132 supply, set_consumer_device_supply()
1142 node->supply = supply; set_consumer_device_supply()
1254 struct device *dev, const char *supply) regulator_find_supply_alias()
1259 if (map->src_dev == dev && strcmp(map->src_supply, supply) == 0) regulator_find_supply_alias()
1265 static void regulator_supply_alias(struct device **dev, const char **supply) regulator_supply_alias() argument
1269 map = regulator_find_supply_alias(*dev, *supply); regulator_supply_alias()
1271 dev_dbg(*dev, "Mapping supply %s to %s,%s\n", regulator_supply_alias()
1272 *supply, map->alias_supply, regulator_supply_alias()
1275 *supply = map->alias_supply; regulator_supply_alias()
1280 const char *supply, regulator_dev_lookup()
1288 regulator_supply_alias(&dev, &supply); regulator_dev_lookup()
1292 node = of_get_regulator(dev, supply); regulator_dev_lookup()
1316 if (strcmp(rdev_get_name(r), supply) == 0) regulator_dev_lookup()
1325 if (strcmp(map->supply, supply) == 0) regulator_dev_lookup()
1339 /* No supply to resovle? */ regulator_resolve_supply()
1344 if (rdev->supply) regulator_resolve_supply()
1350 * No supply was specified for this regulator and regulator_resolve_supply()
1357 dev_err(dev, "Failed to resolve %s-supply for %s\n", regulator_resolve_supply()
1362 /* Recursively resolve the supply of the supply */ regulator_resolve_supply()
1371 /* Cascade always-on state to supply */ regulator_resolve_supply()
1373 ret = regulator_enable(rdev->supply); regulator_resolve_supply()
1426 pr_warn("%s supply %s not found, using dummy regulator\n", _regulator_get()
1491 * Use of supply names configured via regulator_set_device_supply() is
1492 * strongly encouraged. It is recommended that the supply name used
1493 * should match the name used for the supply and/or the relevant
1518 * Use of supply names configured via regulator_set_device_supply() is
1519 * strongly encouraged. It is recommended that the supply name used
1520 * should match the name used for the supply and/or the relevant
1544 * Use of supply names configured via regulator_set_device_supply() is
1545 * strongly encouraged. It is recommended that the supply name used
1546 * should match the name used for the supply and/or the relevant
1599 * regulator_register_supply_alias - Provide device alias for supply lookup
1603 * @alias_dev: device that should be used to lookup the supply
1605 * supply
1631 pr_info("Adding alias for supply %s,%s -> %s,%s\n", regulator_register_supply_alias()
1662 * @id: List of supply names or regulator IDs
1663 * @alias_dev: device that should be used to lookup the supply
1664 * @alias_id: List of supply names or regulator IDs that should be used to
1665 * lookup the supply
1670 * This helper function allows drivers to register several supply
1695 "Failed to create supply alias %s,%s -> %s,%s\n", regulator_bulk_register_supply_alias()
1709 * @id: List of supply names or regulator IDs
1712 * This helper function allows drivers to unregister several supply
1988 if (rdev->supply) { regulator_enable()
1989 ret = regulator_enable(rdev->supply); regulator_enable()
1998 if (ret != 0 && rdev->supply) regulator_enable()
1999 regulator_disable(rdev->supply); regulator_enable()
2107 if (ret == 0 && rdev->supply) regulator_disable()
2108 regulator_disable(rdev->supply); regulator_disable()
2157 if (rdev->supply) regulator_force_disable()
2159 regulator_disable(rdev->supply); regulator_force_disable()
2186 if (rdev->supply) { regulator_disable_work()
2188 ret = regulator_disable(rdev->supply); regulator_disable_work()
2317 if (!rdev->supply) regulator_count_voltages()
2320 return regulator_count_voltages(rdev->supply); regulator_count_voltages()
2349 } else if (rdev->supply) { regulator_list_voltage()
2350 ret = regulator_list_voltage(rdev->supply, selector); regulator_list_voltage()
2883 } else if (rdev->supply) { _regulator_get_voltage()
2884 ret = regulator_get_voltage(rdev->supply); _regulator_get_voltage()
3077 * Consumer devices notify their supply regulator of the maximum power
3204 * @dev: Device to supply
3226 consumers[i].supply); regulator_bulk_get()
3229 dev_err(dev, "Failed to get supply '%s': %d\n", regulator_bulk_get()
3230 consumers[i].supply, ret); regulator_bulk_get()
3295 pr_err("Failed to enable %s: %d\n", consumers[i].supply, regulator_bulk_enable()
3332 pr_err("Failed to disable %s: %d\n", consumers[i].supply, ret); regulator_bulk_disable()
3337 consumers[i].supply, r); regulator_bulk_disable()
3736 init_data->consumer_supplies[i].supply); regulator_register()
3738 dev_err(dev, "Failed to set supply %s\n", regulator_register()
3739 init_data->consumer_supplies[i].supply); regulator_register()
3749 /* try to resolve regulators supply since a new one was registered */ regulator_register()
3787 if (rdev->supply) { regulator_unregister()
3789 regulator_disable(rdev->supply); regulator_unregister()
3790 regulator_put(rdev->supply); regulator_unregister()
3969 map->supply); supply_map_read_file()
4053 if (!child->supply || child->supply->rdev != rdev) list_for_each_entry()
4071 if (rdev->supply) list_for_each_entry()
1102 set_consumer_device_supply(struct regulator_dev *rdev, const char *consumer_dev_name, const char *supply) set_consumer_device_supply() argument
1253 regulator_find_supply_alias( struct device *dev, const char *supply) regulator_find_supply_alias() argument
1279 regulator_dev_lookup(struct device *dev, const char *supply, int *ret) regulator_dev_lookup() argument
H A Dfixed.c101 if (of_find_property(np, "vin-supply", NULL)) of_get_fixed_voltage_config()
138 dev_err(&pdev->dev, "Failed to allocate supply name\n"); reg_fixed_voltage_probe()
153 "Failed to allocate input supply\n"); reg_fixed_voltage_probe()
H A Dmax77802.c364 #define regulator_77802_desc_p_ldo(num, supply, log) { \
369 .supply_name = "inl"#supply, \
385 #define regulator_77802_desc_n_ldo(num, supply, log) { \
390 .supply_name = "inl"#supply, \
/linux-4.1.27/include/linux/
H A Drfkill-regulator.h17 * Use "vrfkill" as supply id when declaring the regulator consumer:
20 * { .dev_name = "rfkill-regulator.0", .supply = "vrfkill" },
H A Dleds-regulator.h16 * Use "vled" as supply id when declaring the regulator consumer:
19 * { .dev_name = "leds-regulator.0", .supply = "vled" },
H A Dpower_supply.h2 * Universal power supply monitor class
180 /* Run-time specific power supply configuration */
190 /* Description of power supply */
198 * Functions for drivers implementing power supply class.
200 * this power supply. Instead use power_supply_*() functions (for
215 * Set if thermal zone should not be created for this power supply.
264 * This is recommended structure to specify static power supply parameters.
265 * Generic one, parametrizable for different power supplies. Power supply
H A Dipc_namespace.h83 * DFLT_{MSG,MSGSIZE}: Default values used when the user doesn't supply shm_destroy_orphaned()
/linux-4.1.27/arch/sh/kernel/vsyscall/
H A Dvsyscall-note.S3 * Here we can supply some information useful to userland.
H A Dvsyscall.lds.S60 * We must supply the ELF program headers explicitly to get just one
/linux-4.1.27/arch/powerpc/kernel/vdso32/
H A Dnote.S3 * Here we can supply some information useful to userland.
H A Dvdso32.lds.S122 * We must supply the ELF program headers explicitly to get just one
/linux-4.1.27/drivers/staging/iio/accel/
H A Dadis16203.h7 #define ADIS16203_SUPPLY_OUT 0x02 /* Output, power supply */
41 #define ADIS16203_DIAG_STAT_POWER_HIGH_BIT 1 /* Power supply above 3.625 V */
42 #define ADIS16203_DIAG_STAT_POWER_LOW_BIT 0 /* Power supply below 3.15 V */
H A Dadis16201.h7 #define ADIS16201_SUPPLY_OUT 0x02 /* Output, power supply */
47 #define ADIS16201_DIAG_STAT_POWER_HIGH_BIT 1 /* Power supply above 3.625 V */
48 #define ADIS16201_DIAG_STAT_POWER_LOW_BIT 0 /* Power supply below 3.15 V */
H A Dadis16204.h7 #define ADIS16204_SUPPLY_OUT 0x02 /* Output, power supply */
49 #define ADIS16204_DIAG_STAT_POWER_HIGH_BIT 1 /* Power supply above 3.625 V */
50 #define ADIS16204_DIAG_STAT_POWER_LOW_BIT 0 /* Power supply below 2.975 V */
H A Dadis16209.h8 /* Output, power supply */
84 /* Power supply above 3.625 V */
86 /* Power supply below 3.15 V */
H A Dadis16220.h16 /* Output, power supply during capture */
109 /* Power supply above 3.625 V */
111 /* Power supply below 3.15 V */
H A Dadis16240.h8 /* Output, power supply */
106 /* Power supply above 3.625 V */
108 /* Power supply below 3.15 V */
H A Dadis16201_core.c159 [ADIS16201_DIAG_STAT_POWER_HIGH_BIT] = "Power supply above 3.625V",
160 [ADIS16201_DIAG_STAT_POWER_LOW_BIT] = "Power supply below 3.15V",
H A Dadis16203_core.c126 [ADIS16203_DIAG_STAT_POWER_HIGH_BIT] = "Power supply above 3.625V",
127 [ADIS16203_DIAG_STAT_POWER_LOW_BIT] = "Power supply below 3.15V",
H A Dadis16204_core.c165 [ADIS16204_DIAG_STAT_POWER_HIGH_BIT] = "Power supply above 3.625V",
166 [ADIS16204_DIAG_STAT_POWER_LOW_BIT] = "Power supply below 2.975V",
H A Dadis16209_core.c160 [ADIS16209_DIAG_STAT_POWER_HIGH_BIT] = "Power supply above 3.625V",
161 [ADIS16209_DIAG_STAT_POWER_LOW_BIT] = "Power supply below 3.15V",
H A Dadis16220_core.c337 .extend_name = "supply",
393 [ADIS16220_DIAG_STAT_POWER_HIGH_BIT] = "Power supply above 3.625V",
394 [ADIS16220_DIAG_STAT_POWER_LOW_BIT] = "Power supply below 3.15V",
H A Dadis16240_core.c213 [ADIS16240_DIAG_STAT_POWER_HIGH_BIT] = "Power supply above 3.625V",
214 [ADIS16240_DIAG_STAT_POWER_LOW_BIT] = "Power supply below 2.225V",
/linux-4.1.27/arch/arm/mach-ux500/
H A Dboard-mop500-regulators.c38 * Boost converter supply to raise voltage on audio speaker, this
132 /* TV-out DENC supply */
143 /* AB8500 audio-codec main supply */
148 /* AB8500 audio-codec Mic1 supply */
153 /* AB8500 audio-codec Mic2 supply */
158 /* AB8500 audio-codec DMic supply */
163 /* SoC core supply, no device */
391 /* supply for VAUX3, supplies to SDcard slots */
407 /* supply for tvout, gpadc, TVOUT LDO */
416 /* supply for ab8500-vaudio, VAUDIO LDO */
425 /* supply for v-anamic1 VAMic1-LDO */
434 /* supply for v-amic2, VAMIC2 LDO, reuse constants for AMIC1 */
443 /* supply for v-dmic, VDMIC LDO */
452 /* supply for v-intcore12, VINTCORE12 LDO */
469 /* supply for U8500 CSI-DSI, VANA LDO */
480 /* supply for VextSupply3 */
482 /* SIM supply for 3 V SIM cards */
828 /* supply for VAUX3, supplies to SDcard slots */
843 /* supply for VAUX4, supplies to NFC and standalone secure element */
858 /* supply for VAUX5, supplies to TBD */
873 /* supply for VAUX6, supplies to TBD */
888 /* supply for gpadc, ADC LDO */
897 /* supply for ab8500-vaudio, VAUDIO LDO */
906 /* supply for v-anamic1 VAMic1-LDO */
918 /* supply for v-amic2, VAMIC2 LDO, reuse constants for AMIC1 */
930 /* supply for v-aux8, VAUX8 LDO */
939 /* supply for v-intcore12, VINTCORE12 LDO */
956 /* supply for LDO USB */
968 /* supply for U8500 CSI-DSI, VANA LDO */
/linux-4.1.27/drivers/pcmcia/
H A Dsa1111_badge4.c40 * 12v0 operation requires that the power supply actually supply 12v0
64 const char *supply, complain_about_jumpering()
70 whom, supply, complain_about_jumpering()
72 supply, complain_about_jumpering()
63 complain_about_jumpering(const char *whom, const char *supply, int given, int wanted) complain_about_jumpering() argument
/linux-4.1.27/include/linux/regulator/
H A Dmachine.h121 /* regulator input voltage - only if supply is another regulator */
144 * struct regulator_consumer_supply - supply -> device mapping
146 * This maps a supply name to a device. Use of dev_name allows support for
150 * @supply: Name for the supply.
154 const char *supply; /* consumer supply - e.g. "vcc" */ member in struct:regulator_consumer_supply
160 .supply = _name, \
167 * Initialisation constraints, our supply and consumers supplies.
176 * @consumer_supplies: Consumer device supply configuration.
182 const char *supply_regulator; /* or NULL for system supply */
H A Dfixed.h24 * @supply_name: Name of the regulator supply
25 * @input_supply: Name of the input regulator supply
H A Dtps62360.h4 * Interface for regulator driver for TI TPS62360 Processor core supply
H A Dgpio-regulator.h46 * @supply_name: Name of the regulator supply
H A Dconsumer.h62 * NORMAL Normal regulator power supply mode. Most drivers will
141 * @supply: The name of the supply. Initialised by the user before
143 * @consumer: The regulator consumer for the supply. This will be managed
151 const char *supply; member in struct:regulator_bulk_data
H A Ddriver.h209 * @supply_name: Identifying the regulator supply
365 struct list_head consumer_list; /* consumers we supply */
372 struct regulator *supply; /* for tree */ member in struct:regulator_dev
/linux-4.1.27/drivers/leds/
H A Dleds-regulator.c36 static inline int led_regulator_get_max_brightness(struct regulator *supply) led_regulator_get_max_brightness() argument
39 int voltage = regulator_list_voltage(supply, 0); led_regulator_get_max_brightness()
48 ret = regulator_set_voltage(supply, voltage, voltage); led_regulator_get_max_brightness()
52 return regulator_count_voltages(supply); led_regulator_get_max_brightness()
55 static int led_regulator_get_voltage(struct regulator *supply, led_regulator_get_voltage() argument
61 return regulator_list_voltage(supply, brightness - 1); led_regulator_get_voltage()
/linux-4.1.27/include/linux/power/
H A Dgeneric-adc-battery.h13 * @battery_info: recommended structure to specify static power supply
H A Dcharger-manager.h133 * @psy_name: the name of power-supply-class for charger manager
152 * @psy_charger_stat: the names of power-supply for chargers
155 * @psy_fuel_gauge: the name of power-supply for fuel gauge
220 * @psy_name_buf: the name of power-supply-class for charger manager
H A Dbq2415x_charger.h34 * For automode support is needed to provide name of power supply device
/linux-4.1.27/arch/arm/mach-davinci/
H A Dboard-mityomapl138.c174 .supply = "cvdd",
181 .supply = "usb0_vdda18",
184 .supply = "usb1_vdda18",
187 .supply = "ddr_dvdd18",
190 .supply = "sata_vddr",
197 .supply = "sata_vdd",
200 .supply = "usb_cvdd",
203 .supply = "pll0_vdda",
206 .supply = "pll1_vdda",
213 .supply = "1.8v_aux",
220 .supply = "vccaux",
H A Dboard-da850-evm.c854 .supply = "usb0_vdda33",
857 .supply = "usb1_vdda33",
864 .supply = "dvdd3318_a",
867 .supply = "dvdd3318_b",
870 .supply = "dvdd3318_c",
878 .supply = "cvdd",
885 .supply = "sata_vddr",
888 .supply = "usb0_vdda18",
891 .supply = "usb1_vdda18",
894 .supply = "ddr_dvdd18",
901 .supply = "sata_vdd",
904 .supply = "pll0_vdda",
907 .supply = "pll1_vdda",
910 .supply = "usbs_cvdd",
913 .supply = "vddarnwa1",
/linux-4.1.27/arch/x86/vdso/vdso32/
H A Dnote.S3 * Here we can supply some information useful to userland.
21 * We supply "nosegneg" as the fake capability, to indicate that we
/linux-4.1.27/include/linux/platform_data/
H A Dnet-cw1200.h20 bool enable); /* Control 3v3 / 1v8 supply */
37 bool enable); /* Control 3v3 / 1v8 supply */
H A Dsht15.h23 * @supply_mv: supply voltage in mv. Overridden by regulator if
H A Dlp855x.h139 * @supply : regulator that supplies 3V input
148 struct regulator *supply; member in struct:lp855x_platform_data
H A Dkeyboard-spear.h154 * This structure is supposed to be used by platform code to supply
/linux-4.1.27/include/linux/mfd/abx500/
H A Dux500_chargalg.h33 * struct ux500_charger - power supply ux500 charger sub class
34 * @psy power supply base class
/linux-4.1.27/sound/soc/codecs/
H A Dtpa6130a2.c49 struct regulator *supply; member in struct:tpa6130a2_data
145 ret = regulator_enable(data->supply); tpa6130a2_power()
148 "Failed to enable supply: %d\n", ret); tpa6130a2_power()
162 regulator_disable(data->supply); tpa6130a2_power()
176 ret = regulator_disable(data->supply); tpa6130a2_power()
179 "Failed to disable supply: %d\n", ret); tpa6130a2_power()
433 data->supply = devm_regulator_get(dev, regulator); tpa6130a2_probe()
434 if (IS_ERR(data->supply)) { tpa6130a2_probe()
435 ret = PTR_ERR(data->supply); tpa6130a2_probe()
436 dev_err(dev, "Failed to request supply: %d\n", ret); tpa6130a2_probe()
H A Dwm8400.c37 .supply = "I2S1VDD",
40 .supply = "I2S2VDD",
43 .supply = "DCVDD",
46 .supply = "AVDD",
49 .supply = "FLLVDD",
52 .supply = "HPVDD",
55 .supply = "SPKVDD",
H A Dak5386.c176 priv->supplies[i].supply = supply_names[i]; ak5386_probe()
H A Dsgtl5000.c80 /* regulator supplies for sgtl5000, VDDD is an optional external supply */
88 /* vddd is optional supply */
1171 * simple digital supply should be clear to get sgtl5000_set_power_regs()
1234 sgtl5000->supplies[VDDD].supply = LDO_CONSUMER_NAME; sgtl5000_replace_vddd_with_ldo()
1249 sgtl5000->supplies[i].supply = supply_names[i]; sgtl5000_enable_regulators()
H A Dsta350.c161 /* regulator power supply names */
163 "vdd-dig", /* digital supply, 3.3V */
164 "vdd-pll", /* pll supply, 3.3V */
165 "vcc" /* power amp supply, 5V - 26V */
1228 sta350->supplies[i].supply = sta350_supply_names[i]; sta350_i2c_probe()
/linux-4.1.27/drivers/net/ethernet/sfc/
H A Dmcdi_mon.c52 SENSOR(IN_1V0, "1.0V supply", IN, -1),
53 SENSOR(IN_1V2, "1.2V supply", IN, -1),
54 SENSOR(IN_1V8, "1.8V supply", IN, -1),
55 SENSOR(IN_2V5, "2.5V supply", IN, -1),
56 SENSOR(IN_3V3, "3.3V supply", IN, -1),
57 SENSOR(IN_12V0, "12.0V supply", IN, -1),
58 SENSOR(IN_1V2A, "1.2V analogue supply", IN, -1),
60 SENSOR(OUT_VAOE, "AOE FPGA supply", IN, -1),
70 SENSOR(IN_VAOE, "AOE input supply", IN, -1),
74 SENSOR(IN_0V9, "0.9V supply", IN, -1),
75 SENSOR(IN_I0V9, "0.9V supply current", CURR, -1),
76 SENSOR(IN_I1V2, "1.2V supply current", CURR, -1),
77 SENSOR(IN_0V9_ADC, "0.9V supply (ext. ADC)", IN, -1),
/linux-4.1.27/arch/sparc/prom/
H A Dbootstr_32.c51 * V3 PROM cannot supply as with more than 128 bytes prom_getbootargs()
/linux-4.1.27/include/sound/
H A Dwm5100.h53 /* DMIC supply selection */
H A Dsoc-dapm.h467 snd_soc_dapm_supply, /* power/clock supply */
495 /* Note: currently only supported for links where source is a supply */
512 u32 is_supply:1; /* At least one of the connected widgets is a supply */
551 unsigned char is_supply:1; /* Widget is a supply type widget */
/linux-4.1.27/include/media/
H A Dm5mols.h25 * the sensor's supply regulators
/linux-4.1.27/arch/arm64/kernel/vdso/
H A Dnote.S19 * Here we can supply some information useful to userland.
H A Dvdso.lds.S69 * We must supply the ELF program headers explicitly to get just one
/linux-4.1.27/arch/m68k/include/uapi/asm/
H A Dbootinfo-amiga.h18 #define BI_AMIGA_PSFREQ 0x8004 /* power supply frequency (__u8) */
/linux-4.1.27/drivers/gpu/drm/panel/
H A Dpanel-sharp-lq101r1sx01.c29 struct regulator *supply; member in struct:sharp_panel
129 regulator_disable(sharp->supply); sharp_panel_unprepare()
179 err = regulator_enable(sharp->supply); sharp_panel_prepare()
255 regulator_disable(sharp->supply); sharp_panel_prepare()
332 sharp->supply = devm_regulator_get(&sharp->link1->dev, "power"); sharp_panel_add()
333 if (IS_ERR(sharp->supply)) sharp_panel_add()
334 return PTR_ERR(sharp->supply); sharp_panel_add()
H A Dpanel-simple.c81 struct regulator *supply; member in struct:panel_simple
177 regulator_disable(p->supply); panel_simple_unprepare()
195 err = regulator_enable(p->supply); panel_simple_prepare()
197 dev_err(panel->dev, "failed to enable supply: %d\n", err); panel_simple_prepare()
293 panel->supply = devm_regulator_get(dev, "power"); panel_simple_probe()
294 if (IS_ERR(panel->supply)) panel_simple_probe()
295 return PTR_ERR(panel->supply); panel_simple_probe()
/linux-4.1.27/drivers/ata/
H A Dahci_tegra.c346 tegra->supplies[0].supply = "avdd"; tegra_ahci_probe()
347 tegra->supplies[1].supply = "hvdd"; tegra_ahci_probe()
348 tegra->supplies[2].supply = "vddio"; tegra_ahci_probe()
349 tegra->supplies[3].supply = "target-5v"; tegra_ahci_probe()
350 tegra->supplies[4].supply = "target-12v"; tegra_ahci_probe()
/linux-4.1.27/drivers/media/dvb-frontends/
H A Dlnbp22.c2 * lnbp22.h - driver for lnb supply and control ic lnbp22
146 MODULE_DESCRIPTION("Driver for lnb supply and control ic lnbp22");
H A Disl6421.h2 * isl6421.h - driver for lnb supply and control ic ISL6421
H A Disl6423.h2 Intersil ISL6423 SEC and LNB Power supply controller
H A Dlnbh24.h2 * lnbh24.h - driver for lnb supply and control ic lnbh24
H A Dlnbp22.h2 * lnbp22.h - driver for lnb supply and control ic lnbp22
H A Disl6405.c2 * isl6405.c - driver for dual lnb supply and control ic ISL6405
162 MODULE_DESCRIPTION("Driver for lnb supply and control ic isl6405");
H A Disl6421.c2 * isl6421.h - driver for lnb supply and control ic ISL6421
165 MODULE_DESCRIPTION("Driver for lnb supply and control ic isl6421");
H A Dlnbp21.c2 * lnbp21.c - driver for lnb supply and control ic lnbp21
186 MODULE_DESCRIPTION("Driver for lnb supply and control ic lnbp21, lnbh24");
H A Disl6405.h2 * isl6405.h - driver for dual lnb supply and control ic ISL6405
H A Dlnbp21.h2 * lnbp21.h - driver for lnb supply and control ic lnbp21
/linux-4.1.27/include/linux/mmc/
H A Dhost.h40 unsigned char power_mode; /* power supply mode */
195 struct regulator *vmmc; /* Card power supply */
196 struct regulator *vqmmc; /* Optional Vccq supply */
355 struct mmc_supply supply; member in struct:mmc_host
409 int mmc_regulator_get_ocrmask(struct regulator *supply);
411 struct regulator *supply,
414 static inline int mmc_regulator_get_ocrmask(struct regulator *supply) mmc_regulator_get_ocrmask() argument
420 struct regulator *supply, mmc_regulator_set_ocr()
419 mmc_regulator_set_ocr(struct mmc_host *mmc, struct regulator *supply, unsigned short vdd_bit) mmc_regulator_set_ocr() argument
/linux-4.1.27/drivers/iio/dac/
H A Dad5624r.h49 * @reg: supply regulator
H A Dad5764.c49 * @vref_reg: vref supply regulators
301 st->vref_reg[0].supply = "vrefAB"; ad5764_probe()
302 st->vref_reg[1].supply = "vrefCD"; ad5764_probe()
H A Dad5360.c69 * @vref_reg: vref supply regulators
356 * channels which share the same vref supply. */ ad5360_write_raw()
491 st->vref_reg[i].supply = ad5360_vref_name[i]; ad5360_probe()
H A Dad5791.c75 * @reg_vdd: positive supply regulator
76 * @reg_vss: negative supply regulator
79 * @vref_neg_mv: voltage of the negative supply
H A Dad5449.c56 * @vref_reg: vref supply regulators
289 st->vref_reg[i].supply = ad5449_vref_name(st, i); ad5449_spi_probe()
H A Dad5064.c52 * @shared_vref: whether the vref supply is shared between channels
75 * @vref_reg: vref supply regulators
462 st->vref_reg[i].supply = ad5064_vref_name(st, i); ad5064_probe()
/linux-4.1.27/arch/sparc/include/asm/
H A Dhugetlb.h25 * If the arch doesn't supply something else, assume that hugepage
H A Dfhc.h48 #define FHC_CONTROL_PSOFF 0x00000400 /* Turns off this FHC's power supply */
/linux-4.1.27/arch/x86/include/asm/
H A Dhugetlb.h16 * If the arch doesn't supply something else, assume that hugepage
/linux-4.1.27/arch/mips/include/asm/dec/
H A Dkn02ba.h41 #define KN02BA_IO_INR_PSU 4 /* power supply unit warning */
H A Dkn02.h36 #define KN02_CSR_PSU (1<<27) /* power supply unit warning */
H A Dkn03.h46 #define KN03_IO_INR_PSU 4 /* power supply unit warning */
H A Dinterrupts.h38 #define DEC_IRQ_PSU 11 /* power supply unit warning */
/linux-4.1.27/drivers/usb/dwc3/
H A Ddwc3-exynos.c171 dev_err(dev, "Failed to enable VDD33 supply\n"); dwc3_exynos_probe()
182 dev_err(dev, "Failed to enable VDD10 supply\n"); dwc3_exynos_probe()
257 dev_err(dev, "Failed to enable VDD33 supply\n"); dwc3_exynos_resume()
262 dev_err(dev, "Failed to enable VDD10 supply\n"); dwc3_exynos_resume()
/linux-4.1.27/include/net/caif/
H A Dcaif_device.h43 * CAIF Core layer must set the member flowctrl in order to supply
/linux-4.1.27/arch/sh/include/asm/
H A Dhugetlb.h16 * If the arch doesn't supply something else, assume that hugepage
H A Dsh7760fb.h192 * generator / backlight power supply / etc.
/linux-4.1.27/arch/arm/vdso/
H A Dvdso.lds.S68 * We must supply the ELF program headers explicitly to get just one
/linux-4.1.27/arch/ia64/include/asm/
H A Dtimex.h25 * If the calculation shows that your CLOCK_TICK_RATE can not supply exactly 1/HZ ticks,
/linux-4.1.27/arch/m68k/include/asm/
H A Dmcfqspi.h27 * platforms are required to supply a mcfqspi_cs_control as a part of the
H A Duser.h60 /* ptrace does not yet supply these. Someday.... */
/linux-4.1.27/arch/arm/mach-shmobile/
H A Dboard-kzm9g.c612 /* StepDown1 is used to supply 1.315V to the CPU */
623 /* StepDown2 is used to supply 1.8V to the CPU and to the board */
639 /* StepDown4 is used to supply 1.215V to the CPU and to the board */
652 /* LDO2 is used to supply 2.8V to the CPU */
663 /* LDO3 is used to supply 3.0V to the CPU */
674 /* LDO4 is used to supply 2.8V to the board */
698 /* LDO7 is used to supply 1.15V to the CPU */
/linux-4.1.27/drivers/pci/host/
H A Dpci-tegra.c1446 snprintf(property, 32, "%s-supply", supplies[i].supply); of_regulator_bulk_available()
1483 pcie->supplies[0].supply = "pex-clk"; tegra_pcie_get_legacy_regulators()
1484 pcie->supplies[1].supply = "vdd"; tegra_pcie_get_legacy_regulators()
1487 pcie->supplies[2].supply = "avdd"; tegra_pcie_get_legacy_regulators()
1516 pcie->supplies[i++].supply = "avddio-pex"; tegra_pcie_get_regulators()
1517 pcie->supplies[i++].supply = "dvddio-pex"; tegra_pcie_get_regulators()
1518 pcie->supplies[i++].supply = "avdd-pex-pll"; tegra_pcie_get_regulators()
1519 pcie->supplies[i++].supply = "hvdd-pex"; tegra_pcie_get_regulators()
1520 pcie->supplies[i++].supply = "hvdd-pex-pll-e"; tegra_pcie_get_regulators()
1521 pcie->supplies[i++].supply = "vddio-pex-ctl"; tegra_pcie_get_regulators()
1522 pcie->supplies[i++].supply = "avdd-pll-erefe"; tegra_pcie_get_regulators()
1526 /* VDD_PEXA and AVDD_PEXA supply lanes 0 to 3 */ tegra_pcie_get_regulators()
1530 /* VDD_PEXB and AVDD_PEXB supply lanes 4 to 5 */ tegra_pcie_get_regulators()
1543 pcie->supplies[i++].supply = "avdd-pex-pll"; tegra_pcie_get_regulators()
1544 pcie->supplies[i++].supply = "hvdd-pex"; tegra_pcie_get_regulators()
1545 pcie->supplies[i++].supply = "vddio-pex-ctl"; tegra_pcie_get_regulators()
1546 pcie->supplies[i++].supply = "avdd-plle"; tegra_pcie_get_regulators()
1549 pcie->supplies[i++].supply = "avdd-pexa"; tegra_pcie_get_regulators()
1550 pcie->supplies[i++].supply = "vdd-pexa"; tegra_pcie_get_regulators()
1554 pcie->supplies[i++].supply = "avdd-pexb"; tegra_pcie_get_regulators()
1555 pcie->supplies[i++].supply = "vdd-pexb"; tegra_pcie_get_regulators()
1566 pcie->supplies[0].supply = "avdd-pex"; tegra_pcie_get_regulators()
1567 pcie->supplies[1].supply = "vdd-pex"; tegra_pcie_get_regulators()
1568 pcie->supplies[2].supply = "avdd-pex-pll"; tegra_pcie_get_regulators()
1569 pcie->supplies[3].supply = "avdd-plle"; tegra_pcie_get_regulators()
1570 pcie->supplies[4].supply = "vddio-pex-clk"; tegra_pcie_get_regulators()
/linux-4.1.27/include/linux/mfd/
H A Daxp20x.h23 /* Power supply */
91 /* Power supply */
H A Ddb8500-prcmu.h305 * @VARMHIGHSPEEDVALTO_ERR: The ARM high speed supply value transfered
309 * @VARMLOWSPEEDVALTO_ERR:The ARM low speed supply value transfered through
313 * @VARMRETENTIONVALTO_ERR: The ARM retention supply value transfered through
317 * @VAPEHIGHSPEEDVALTO_ERR: The APE highspeed supply value transfered through
319 * @VSAFEHPVALTO_ERR: The SAFE high power supply value transfered through I2C
321 * @VMODSEL1VALTO_ERR: The MODEM sel1 supply value transfered through I2C has
323 * @VMODSEL2VALTO_ERR: The MODEM sel2 supply value transfered through I2C has
/linux-4.1.27/drivers/staging/iio/frequency/
H A Dad9834.h42 * @reg: supply regulator
H A Dad9832.h61 * @reg: supply regulator
/linux-4.1.27/arch/tile/kernel/vdso/
H A Dvdso.lds.S63 * We must supply the ELF program headers explicitly to get just one
/linux-4.1.27/drivers/pinctrl/
H A Dpinconf.h25 * so don't supply any stubs for these.
/linux-4.1.27/include/uapi/linux/hdlc/
H A Dioctl.h81 /* PPP doesn't need any info now - supply length = 0 to ioctl */
/linux-4.1.27/arch/s390/include/asm/
H A Dhugetlb.h26 * If the arch doesn't supply something else, assume that hugepage
/linux-4.1.27/arch/powerpc/boot/
H A Dsimpleboot.c2 * The simple platform -- for booting when firmware doesn't supply a device
/linux-4.1.27/arch/ia64/kernel/
H A Dgate.lds.S78 * We must supply the ELF program headers explicitly to get just one
/linux-4.1.27/arch/m68k/coldfire/
H A Dclk.c27 * we supply enable/disable functions. These must properly define their
H A Dintc.c96 * supply the vector number to interrupt through. The AVR register of the
/linux-4.1.27/arch/arm/mach-omap2/
H A Dusb-musb.c46 /* REVISIT charge pump on TWL4030 can supply up to
H A Dhsmmc.c50 * In 8-bit modes, OMAP VMMC1A (for DAT4..7) needs a supply, which omap_hsmmc1_before_set_reg()
277 * controllable regulator, or a fixed supply. omap_hsmmc_pdata_init()
279 * temporary HACK: ocr_mask instead of fixed supply omap_hsmmc_pdata_init()
H A Dopp4xxx_data.c152 * recommends Phoenix VCORE2 which can supply only 600mA - so the ones
H A Dusb-host.c359 * @dev_supply: supply name that the device expects
377 supplies->supply = dev_supply; usbhs_add_regulator()
/linux-4.1.27/scripts/dtc/
H A Dfdtdump.c151 fprintf(stderr, "supply input filename\n"); main()
/linux-4.1.27/include/linux/i2c/
H A Ddm355evm_msp.h66 /* power supply registers are currently omitted */
/linux-4.1.27/include/linux/input/
H A Dsparse-keymap.h29 * expect driver to supply value for the event.
H A Dmatrix_keypad.h27 * This structure is supposed to be used by platform code to supply
/linux-4.1.27/include/linux/mfd/wm8350/
H A Dsupply.h2 * supply.h -- Power Supply Driver for Wolfson WM8350 PMIC
/linux-4.1.27/drivers/iio/gyro/
H A Dadis16260.c25 #define ADIS16260_SUPPLY_OUT 0x02 /* Power supply measurement */
282 [ADIS16260_DIAG_STAT_POWER_HIGH_BIT] = "Power supply above 5.25",
283 [ADIS16260_DIAG_STAT_POWER_LOW_BIT] = "Power supply below 4.75",
/linux-4.1.27/drivers/atm/
H A Dfore200e.h34 #define QUEUE_SIZE_BS 32 /* buffer supply queue capacity */
228 /* cp resident buffer supply queue entry */
543 /* host resident buffer supply queue entry */
546 struct cp_bsq_entry __iomem *cp_entry; /* addr of cp resident buffer supply queue entry */
629 /* host resident buffer supply queues */
632 struct host_bsq_entry host_entry[ QUEUE_SIZE_BS ]; /* host resident buffer supply queue entries */
633 int head; /* head of buffer supply queue */
654 /* receive buffer supply queues scheme specification */
679 struct bs_spec bs_spec[ BUFFER_SCHEME_NBR ][ BUFFER_MAGN_NBR ]; /* buffer supply queues spec */
700 u32 cp_bsq[ BUFFER_SCHEME_NBR ][ BUFFER_MAGN_NBR ]; /* buffer supply queues */
762 FORE200E_STATE_INIT_BSQ, /* buffer supply queue initialized */
858 /* host resident buffer supply queues */
/linux-4.1.27/arch/arm/mach-sa1100/
H A Dbadge4.c213 /* 5V supply rail. */ badge4_init()
282 printk(KERN_INFO "%s: enabling 5V supply rail\n", __func__); badge4_set_5V()
286 printk(KERN_INFO "%s: disabling 5V supply rail\n", __func__); badge4_set_5V()
/linux-4.1.27/drivers/phy/
H A Dphy-exynos5-usbdrd.c393 /* Digital power supply in normal operating mode */ exynos5_usbdrd_phy_init()
465 /* Enable VBUS supply */ exynos5_usbdrd_phy_power_on()
470 "Failed to enable VBUS boost supply\n"); exynos5_usbdrd_phy_power_on()
478 dev_err(phy_drd->dev, "Failed to enable VBUS supply\n"); exynos5_usbdrd_phy_power_on()
513 /* Disable VBUS supply */ exynos5_usbdrd_phy_power_off()
728 dev_warn(dev, "Failed to get VBUS supply regulator\n"); exynos5_usbdrd_phy_probe()
738 dev_warn(dev, "Failed to get VBUS boost supply regulator\n"); exynos5_usbdrd_phy_probe()
/linux-4.1.27/drivers/sbus/char/
H A Denvctrl.c480 * DEG 0 = cPCI Power supply output is starting to degrade envctrl_i2c_globaladdr()
481 * 1 = cPCI Power supply output is OK envctrl_i2c_globaladdr()
482 * FAL 0 = cPCI Power supply has failed envctrl_i2c_globaladdr()
483 * 1 = cPCI Power supply output is OK envctrl_i2c_globaladdr()
489 /* Function Description: Read standard voltage and power supply status.
501 /* Two channels are used to monitor voltage and power supply. */ envctrl_i2c_voltage_status()
503 /* All bits are on. Voltage and power supply are okay. */ envctrl_i2c_voltage_status()
506 /* All bits are off. Voltage and power supply are bad */ envctrl_i2c_voltage_status()
509 /* Either voltage or power supply has problem. */ envctrl_i2c_voltage_status()
522 * power supply. envctrl_i2c_voltage_status()
/linux-4.1.27/drivers/mmc/host/
H A Dmmci.c76 * @pwrreg_nopower: bits in MMCIPOWER don't controls ext. power supply
1329 if (!IS_ERR(mmc->supply.vmmc)) mmci_set_ios()
1330 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); mmci_set_ios()
1332 if (!IS_ERR(mmc->supply.vqmmc) && host->vqmmc_enabled) { mmci_set_ios()
1333 regulator_disable(mmc->supply.vqmmc); mmci_set_ios()
1339 if (!IS_ERR(mmc->supply.vmmc)) mmci_set_ios()
1340 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); mmci_set_ios()
1351 if (!IS_ERR(mmc->supply.vqmmc) && !host->vqmmc_enabled) { mmci_set_ios()
1352 ret = regulator_enable(mmc->supply.vqmmc); mmci_set_ios()
1441 if (!IS_ERR(mmc->supply.vqmmc)) { mmci_sig_volt_switch()
1447 ret = regulator_set_voltage(mmc->supply.vqmmc, mmci_sig_volt_switch()
1451 ret = regulator_set_voltage(mmc->supply.vqmmc, mmci_sig_volt_switch()
1455 ret = regulator_set_voltage(mmc->supply.vqmmc, mmci_sig_volt_switch()
H A Dtmio_mmc_pio.c860 if (!IS_ERR(mmc->supply.vmmc)) { tmio_mmc_power_on()
861 ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); tmio_mmc_power_on()
874 if (!IS_ERR(mmc->supply.vqmmc) && !ret) { tmio_mmc_power_on()
875 ret = regulator_enable(mmc->supply.vqmmc); tmio_mmc_power_on()
888 if (!IS_ERR(mmc->supply.vqmmc)) tmio_mmc_power_off()
889 regulator_disable(mmc->supply.vqmmc); tmio_mmc_power_off()
891 if (!IS_ERR(mmc->supply.vmmc)) tmio_mmc_power_off()
892 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); tmio_mmc_power_off()
H A Dsdhci.c1290 if (!IS_ERR(mmc->supply.vmmc)) { sdhci_set_power()
1292 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); sdhci_set_power()
1507 if (!IS_ERR(mmc->supply.vmmc) && sdhci_do_set_ios()
1509 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); sdhci_do_set_ios()
1802 if (!IS_ERR(mmc->supply.vqmmc)) { sdhci_do_start_signal_voltage_switch()
1803 ret = regulator_set_voltage(mmc->supply.vqmmc, 2700000, sdhci_do_start_signal_voltage_switch()
1824 if (!IS_ERR(mmc->supply.vqmmc)) { sdhci_do_start_signal_voltage_switch()
1825 ret = regulator_set_voltage(mmc->supply.vqmmc, sdhci_do_start_signal_voltage_switch()
1855 if (!IS_ERR(mmc->supply.vqmmc)) { sdhci_do_start_signal_voltage_switch()
1856 ret = regulator_set_voltage(mmc->supply.vqmmc, 1100000, sdhci_do_start_signal_voltage_switch()
3190 if (!IS_ERR(mmc->supply.vqmmc)) { sdhci_add_host()
3191 ret = regulator_enable(mmc->supply.vqmmc); sdhci_add_host()
3192 if (!regulator_is_supported_voltage(mmc->supply.vqmmc, 1700000, sdhci_add_host()
3200 mmc->supply.vqmmc = ERR_PTR(-EINVAL); sdhci_add_host()
3229 (IS_ERR(mmc->supply.vqmmc) || sdhci_add_host()
3230 !regulator_is_supported_voltage(mmc->supply.vqmmc, 1100000, sdhci_add_host()
3279 if (!max_current_caps && !IS_ERR(mmc->supply.vmmc)) { sdhci_add_host()
3280 int curr = regulator_get_current_limit(mmc->supply.vmmc); sdhci_add_host()
3520 if (!IS_ERR(mmc->supply.vqmmc)) sdhci_remove_host()
3521 regulator_disable(mmc->supply.vqmmc); sdhci_remove_host()
/linux-4.1.27/drivers/media/i2c/
H A Dnoon010pc30.c136 struct regulator_bulk_data supply[NOON010_NUM_SUPPLIES]; member in struct:noon010_info
406 ret = regulator_bulk_enable(NOON010_NUM_SUPPLIES, info->supply); power_enable()
441 ret = regulator_bulk_disable(NOON010_NUM_SUPPLIES, info->supply); power_disable()
774 info->supply[i].supply = noon010_supply_name[i]; noon010_probe()
777 info->supply); noon010_probe()
/linux-4.1.27/drivers/scsi/
H A D3w-9xxx.h77 {0x0010, "Power supply reported AC under range"},
78 {0x0011, "Power supply reported DC out of range"},
79 {0x0012, "Power supply reported a malfunction"},
80 {0x0013, "Power supply predicted malfunction"},
84 {0x0017, "Power supply was removed"},
85 {0x0018, "Power supply was inserted"},
/linux-4.1.27/arch/arm/mach-imx/
H A Dmach-mx31ads.c260 .supply = "cpu_vcc",
354 { .supply = "AVDD", .dev_name = "1-001a" },
355 { .supply = "HPVDD", .dev_name = "1-001a" },
H A Dmach-mx31moboard.c168 .supply = "sdhc0_vcc",
172 .supply = "sdhc1_vcc",
194 .supply = "cam_vcc",
H A Dmach-mx27_3ds.c397 { .supply = "cmos_vcore" },
398 { .supply = "cmos_2v8" },
/linux-4.1.27/drivers/mfd/
H A Dwm8994-core.c82 * and should be handled via the standard regulator API supply
382 wm8994->supplies[i].supply = wm1811_main_supplies[i]; wm8994_device_init()
386 wm8994->supplies[i].supply = wm8994_main_supplies[i]; wm8994_device_init()
390 wm8994->supplies[i].supply = wm8958_main_supplies[i]; wm8994_device_init()
H A Dsi476x-i2c.c747 core->supplies[0].supply = "vd"; si476x_core_probe()
748 core->supplies[1].supply = "va"; si476x_core_probe()
749 core->supplies[2].supply = "vio1"; si476x_core_probe()
750 core->supplies[3].supply = "vio2"; si476x_core_probe()
H A Ducb1x00-ts.c170 * supply. Measure current.
182 * supply. Measure current.
/linux-4.1.27/arch/tile/include/asm/
H A Dhugetlb.h29 * If the arch doesn't supply something else, assume that hugepage
/linux-4.1.27/include/acpi/
H A Dacpi_drivers.h71 * signals only an event; it doesn't supply a notification value.
/linux-4.1.27/arch/mips/vr41xx/common/
H A Dpmu.c93 printk(KERN_NOTICE "\nYou can turn off the power supply\n"); vr41xx_halt()
/linux-4.1.27/arch/powerpc/kernel/vdso64/
H A Dvdso64.lds.S122 * We must supply the ELF program headers explicitly to get just one
/linux-4.1.27/arch/arm/mach-sa1100/include/mach/
H A Dassabet.h92 #define ASSABET_GPIO_PS_MODE_SYNC GPIO_GPIO (16) /* Power supply mode/sync */
/linux-4.1.27/arch/arm/mm/
H A Dcopypage-v4mc.c40 * instruction. If your processor does not supply this, you have to write your
H A Dcopypage-v4wb.c22 * instruction. If your processor does not supply this, you have to write your
/linux-4.1.27/sound/soc/pxa/
H A Dpalm27x.c134 dev_err(&pdev->dev, "please supply platform_data\n"); palm27x_asoc_probe()
/linux-4.1.27/drivers/misc/lis3lv02d/
H A Dlis3lv02d_i2c.c154 lis3_dev.regulators[0].supply = reg_vdd; lis3lv02d_i2c_probe()
155 lis3_dev.regulators[1].supply = reg_vdd_io; lis3lv02d_i2c_probe()
/linux-4.1.27/drivers/staging/nvec/
H A Dnvec_power.c2 * nvec_power: power supply driver for a NVIDIA compliant embedded controller
364 doing it all at once seems to overload the power supply */ nvec_power_poll()
/linux-4.1.27/arch/arm/mach-clps711x/
H A Dboard-p720t.c72 #define PLD_S2_ON (PLD_PWR_MMGPIO_BASE + 1) /* LCD 3V3 supply enable */
73 #define PLD_S1_ON (PLD_PWR_MMGPIO_BASE + 0) /* LCD 3V supply enable */
/linux-4.1.27/include/linux/iio/common/
H A Dst_sensors.h201 * @vdd: Pointer to sensor's Vdd power supply
202 * @vdd_io: Pointer to sensor's Vdd-IO power supply
/linux-4.1.27/drivers/mmc/core/
H A Dcore.c1305 * @supply: regulator to use
1312 int mmc_regulator_get_ocrmask(struct regulator *supply) mmc_regulator_get_ocrmask() argument
1320 count = regulator_count_voltages(supply); mmc_regulator_get_ocrmask()
1325 vdd_uV = regulator_list_voltage(supply, i); mmc_regulator_get_ocrmask()
1334 vdd_uV = regulator_get_voltage(supply); mmc_regulator_get_ocrmask()
1349 * @supply: regulator to use
1355 * a particular supply voltage. This would normally be called from the
1359 struct regulator *supply, mmc_regulator_set_ocr()
1383 result = regulator_set_voltage(supply, min_uV, max_uV); mmc_regulator_set_ocr()
1385 result = regulator_enable(supply); mmc_regulator_set_ocr()
1390 result = regulator_disable(supply); mmc_regulator_set_ocr()
1409 mmc->supply.vmmc = devm_regulator_get_optional(dev, "vmmc"); mmc_regulator_get_supply()
1410 mmc->supply.vqmmc = devm_regulator_get_optional(dev, "vqmmc"); mmc_regulator_get_supply()
1412 if (IS_ERR(mmc->supply.vmmc)) { mmc_regulator_get_supply()
1413 if (PTR_ERR(mmc->supply.vmmc) == -EPROBE_DEFER) mmc_regulator_get_supply()
1417 ret = mmc_regulator_get_ocrmask(mmc->supply.vmmc); mmc_regulator_get_supply()
1424 if (IS_ERR(mmc->supply.vqmmc)) { mmc_regulator_get_supply()
1425 if (PTR_ERR(mmc->supply.vqmmc) == -EPROBE_DEFER) mmc_regulator_get_supply()
1640 * This delay should be sufficient to allow the power supply mmc_power_up()
1358 mmc_regulator_set_ocr(struct mmc_host *mmc, struct regulator *supply, unsigned short vdd_bit) mmc_regulator_set_ocr() argument
/linux-4.1.27/drivers/media/i2c/m5mols/
H A Dm5mols_core.c42 .supply = "core", /* ARM core power, 1.2V */
44 .supply = "dig_18", /* digital power 1, 1.8V */
46 .supply = "d_sensor", /* sensor power 1, 1.8V */
48 .supply = "dig_28", /* digital power 2, 2.8V */
50 .supply = "a_sensor", /* analog power */
52 .supply = "dig_12", /* digital power 3, 1.2V */
793 * This function should be called after the supply voltage has been
/linux-4.1.27/drivers/media/platform/s5p-tv/
H A Dhdmi_drv.c812 static char *supply[] = { hdmi_resources_init() local
851 res->regul_bulk = kcalloc(ARRAY_SIZE(supply), hdmi_resources_init()
857 for (i = 0; i < ARRAY_SIZE(supply); ++i) { hdmi_resources_init()
858 res->regul_bulk[i].supply = supply[i]; hdmi_resources_init()
862 ret = regulator_bulk_get(dev, ARRAY_SIZE(supply), res->regul_bulk); hdmi_resources_init()
867 res->regul_count = ARRAY_SIZE(supply); hdmi_resources_init()
/linux-4.1.27/drivers/net/irda/
H A Dtoim3232-sir.c101 * high again, and wait for the capacitor to charge, the power supply
187 * For the IR320ST-2, we need to charge the main supply capacitor to toim3232_open()
328 * data mode after switching it off, waiting for the supply capacitor to
/linux-4.1.27/drivers/rtc/
H A Drtc-ab8500.c81 * 1900, even if we supply the offset from year 1900. get_elapsed_seconds()
462 /* For RTC supply test */ ab8500_rtc_probe()
478 dev_err(&pdev->dev, "RTC supply failure\n"); ab8500_rtc_probe()
/linux-4.1.27/drivers/hwmon/
H A Dmcp3021.c50 u32 vdd; /* device power supply */
H A Dsht15.c68 * @vdd: supply voltage in microvolts
76 /* Table 9 from datasheet - relates temperature calculation to supply voltage */
142 * @supply_uv: local copy of supply voltage used to allow use of
905 * sht15_invalidate_voltage() - mark supply voltage invalid when notified by reg
911 * to schedule an update of the supply voltage rather than getting it directly.
958 * query what the supply voltage actually is! sht15_probe()
/linux-4.1.27/drivers/iio/imu/
H A Dadis16400.h26 #define ADIS16400_SUPPLY_OUT 0x02 /* Power supply measurement */
/linux-4.1.27/drivers/net/wan/
H A Dhdlc_ppp.c300 /* SCA: RCR+ must supply id, len and data
301 SCN: RCR- must supply code, id, len and data
302 STA: RTR must supply id
303 SCJ: RUC must supply CP packet len and data */ ppp_cp_event()
/linux-4.1.27/drivers/staging/fbtft/
H A Dfb_bd663474.c54 write_reg(par, 0x100, 0x0000); /* power supply setup */ init_display()
/linux-4.1.27/drivers/net/ethernet/arc/
H A Demac_rockchip.c162 dev_err(dev, "failed to enable phy-supply (%d)\n", err); emac_rockchip_probe()
/linux-4.1.27/block/
H A Dblk-map.c142 * supply the original rq->bio from the blk_rq_map_user() return, since
/linux-4.1.27/arch/mips/alchemy/devboards/
H A Ddb1200.c875 /* NOTE: GPIO215 controls OTG VBUS supply. In SPI mode however db1200_dev_setup()
883 /* switch off OTG VBUS supply */ db1200_dev_setup()
897 printk(KERN_INFO " OTG port VBUS supply available!\n"); db1200_dev_setup()
905 printk(KERN_INFO " OTG port VBUS supply disabled\n"); db1200_dev_setup()
/linux-4.1.27/fs/ocfs2/
H A Ddlmglue.h133 /* 99% of the time we don't want to supply any additional flags --
/linux-4.1.27/arch/powerpc/include/asm/
H A Dhugetlb.h101 * If the arch doesn't supply something else, assume that hugepage
/linux-4.1.27/arch/arm/mach-pxa/include/mach/
H A Dmainstone.h113 #define MST_PCMCIA_PWR_MASK (0x000f) /* MAX1602 power-supply controls */
/linux-4.1.27/arch/arm/mach-pxa/
H A Dpalmte2.c208 * Power supply
/linux-4.1.27/arch/arm/include/asm/
H A Duser.h56 /* ptrace does not yet supply these. Someday.... */
/linux-4.1.27/include/linux/iio/adc/
H A Dad_sigma_delta.h171 _storagebits, _shift, "supply", IIO_VOLTAGE)
/linux-4.1.27/drivers/input/touchscreen/
H A Ducb1400_ts.c109 * supply. Measure current.
121 * supply. Measure current.
/linux-4.1.27/drivers/media/usb/au0828/
H A Dau0828-cards.c271 * 7 - power supply au0828_gpio_setup()
286 /* Bring power supply out of reset */ au0828_gpio_setup()
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-rk.c301 dev_err(dev, "%s: fail to enable phy-supply\n", phy_power_on()
306 dev_err(dev, "%s: fail to disable phy-supply\n", phy_power_on()
/linux-4.1.27/drivers/scsi/ufs/
H A Dufshcd-pltfrm.c154 snprintf(prop_name, MAX_PROP_SIZE, "%s-supply", name); ufshcd_populate_vreg()
182 if (of_property_read_bool(np, "vcc-supply-1p8")) { ufshcd_populate_vreg()
/linux-4.1.27/drivers/input/misc/
H A Dtwl6040-vibra.c318 info->supplies[0].supply = "vddvibl"; twl6040_vibra_probe()
319 info->supplies[1].supply = "vddvibr"; twl6040_vibra_probe()
/linux-4.1.27/drivers/cpufreq/
H A Dcpufreq-dt.c140 * If cpu's regulator supply node is present, but regulator is allocate_resources()
149 /* Try with "cpu-supply" */ allocate_resources()
/linux-4.1.27/drivers/video/fbdev/exynos/
H A Dexynos_mipi_dsi.c61 { .supply = "vdd11", },
62 { .supply = "vdd18", },

Completed in 3704 milliseconds

123