| /linux/security/ipe/ |
| H A D | eval.c | 30 * @ctx: Supplies a pointer to the context to be populated. 31 * @file: Supplies the file struct of the file triggered IPE event. 41 * @ctx: Supplies a pointer to the context to be populated. 42 * @ino: Supplies the inode struct of the file triggered IPE event. 71 * @ctx: Supplies a pointer to the context to be populated. 72 * @ino: Supplies the inode struct of the file triggered IPE event. 87 * @ctx: Supplies a pointer to the context to be populated. 88 * @file: Supplies a pointer to the file to associated with the evaluation. 89 * @op: Supplies the IPE policy operation associated with the evaluation. 90 * @hook: Supplies the LSM hook associated with the evaluation. [all …]
|
| H A D | policy_fs.c | 34 * @f: Supplies a file structure representing the securityfs node. 35 * @data: Supplies a buffer passed to the write syscall. 36 * @len: Supplies the length of @data. 78 * @f: Supplies a file structure representing the securityfs node. 79 * @data: Supplies a buffer passed to the write syscall. 80 * @len: Supplies the length of @data. 116 * @f: Supplies a file structure representing the securityfs node. 117 * @data: Supplies a buffer passed to the write syscall. 118 * @len: Supplies the length of @data. 154 * @f: Supplies a file structure representing the securityfs node. [all …]
|
| H A D | fs.c | 20 * @f: Supplies a file structure representing the securityfs node. 21 * @data: Supplies a buffer passed to the write syscall. 22 * @len: Supplies the length of @data. 49 * @f: Supplies a file structure representing the securityfs node. 50 * @data: Supplies a buffer passed to the read syscall. 51 * @len: Supplies the length of @data. 68 * @f: Supplies a file structure representing the securityfs node. 69 * @data: Supplies a buffer passed to the write syscall. 70 * @len: Supplies the length of @data. 101 * @f: Supplies a file structure representing the securityfs node. [all …]
|
| H A D | audit.c | 69 * @ab: Supplies a pointer to the audit_buffer to append to. 70 * @rh: Supplies a pointer to the digest structure. 80 * @ab: Supplies a pointer to the audit_buffer to append to. 81 * @d: Supplies a pointer to the digest structure. 91 * @ab: Supplies a pointer to the audit_buffer to append to. 92 * @r: Supplies a pointer to the ipe_rule to approximate a string form for. 121 * @ctx: Supplies a pointer to the evaluation context that was used in the 123 * @match_type: Supplies the scope of the match: rule, operation default, 125 * @act: Supplies the IPE's evaluation decision, deny or allow. 126 * @r: Supplies [all...] |
| H A D | policy.c | 43 * @p: Supplies the policy to free. 77 * @root: Supplies a pointer to the securityfs inode saved the policy. 78 * @text: Supplies a pointer to the plain text policy. 79 * @textlen: Supplies the length of @text. 80 * @pkcs7: Supplies a pointer to a buffer containing a pkcs7 message. 81 * @pkcs7len: Supplies the length of @pkcs7len. 143 * @text: Supplies a pointer to the plain-text policy to parse. 144 * @textlen: Supplies the length of @text. 145 * @pkcs7: Supplies a pointer to a pkcs7-signed IPE policy. 146 * @pkcs7len: Supplies the length of @pkcs7. [all …]
|
| H A D | policy_parser.c | 52 * @line: Supplies a policy line string for preprocessing. 65 * @line: Supplies a policy line string for preprocessing. 84 * @ver: Supplies a version string to be parsed. 85 * @p: Supplies the partial parsed policy. 133 * @line: Supplies header line to be parsed. 134 * @p: Supplies the partial parsed policy. 198 * @token: Supplies the token string to be compared. 211 * @r: Supplies the ipe_rule struct to be freed. 245 * @t: Supplies the token string to be parsed. 264 * @t: Supplies the token string to be parsed. [all …]
|
| H A D | digest.c | 11 * @valstr: Supplies the string parsed from the policy. 77 * @expected: Supplies the policy-provided digest value. 78 * @digest: Supplies the digest to compare against the policy digest value. 94 * @info: Supplies a pointer the policy-provided digest to free. 108 * @ab: Supplies the audit_buffer to append the formatted result. 109 * @info: Supplies a pointer to source the audit record from.
|
| H A D | hooks.c | 20 * @bprm: Supplies a pointer to a linux_binprm structure to source the file 40 * @bprm: Supplies a pointer to a linux_binprm structure to source the file 127 * @file: Supplies a pointer to the file structure being read in from disk. 128 * @id: Supplies the enumeration identifying the purpose of the read. 174 * @id: Supplies the enumeration identifying the purpose of the load. 228 * @bdev: Supplies a pointer to a block_device that contains the structure 255 * @bdev: Supplies a pointer to a block_device that contains the LSM blob. 256 * @type: Supplies the integrity type. 257 * @value: Supplies the value to store. 319 * @type: Supplies the integrity type.
|
| /linux/sound/soc/codecs/ |
| H A D | wm8782.c | 33 struct regulator_bulk_data supplies[ARRAY_SIZE(supply_names)]; member 78 return regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in wm8782_soc_probe() 84 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in wm8782_soc_remove() 91 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in wm8782_soc_suspend() 98 return regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in wm8782_soc_resume() 133 priv->supplies[i].supply = supply_names[i]; in wm8782_probe() 135 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(priv->supplies), in wm8782_probe() 136 priv->supplies); in wm8782_probe()
|
| H A D | ak5386.c | 26 struct regulator_bulk_data supplies[ARRAY_SIZE(supply_names)]; member 42 return regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_probe() 48 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_remove() 55 regulator_bulk_disable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_suspend() 62 return regulator_bulk_enable(ARRAY_SIZE(priv->supplies), priv->supplies); in ak5386_soc_resume() 173 priv->supplies[i].supply = supply_names[i]; in ak5386_probe() 175 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(priv->supplies), in ak5386_probe() 176 priv->supplies); in ak5386_probe()
|
| H A D | bd28623.c | 25 struct regulator_bulk_data supplies[BD28623_NUM_SUPPLIES]; member 51 ret = regulator_bulk_enable(ARRAY_SIZE(bd->supplies), bd->supplies); in bd28623_power_on() 53 dev_err(bd->dev, "Failed to enable supplies: %d\n", ret); in bd28623_power_on() 67 regulator_bulk_disable(ARRAY_SIZE(bd->supplies), bd->supplies); in bd28623_power_off() 189 for (i = 0; i < ARRAY_SIZE(bd->supplies); i++) in bd28623_probe() 190 bd->supplies[i].supply = bd28623_supply_names[i]; in bd28623_probe() 192 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(bd->supplies), in bd28623_probe() 193 bd->supplies); in bd28623_probe() [all...] |
| H A D | wm8523.c | 39 struct regulator_bulk_data supplies[WM8523_NUM_SUPPLIES]; member 334 ret = regulator_bulk_enable(ARRAY_SIZE(wm8523->supplies), in wm8523_set_bias_level() 335 wm8523->supplies); in wm8523_set_bias_level() 338 "Failed to enable supplies: %d\n", in wm8523_set_bias_level() 365 regulator_bulk_disable(ARRAY_SIZE(wm8523->supplies), in wm8523_set_bias_level() 366 wm8523->supplies); in wm8523_set_bias_level() 463 for (i = 0; i < ARRAY_SIZE(wm8523->supplies); i++) in wm8523_i2c_probe() 464 wm8523->supplies[i].supply = wm8523_supply_names[i]; in wm8523_i2c_probe() 466 ret = devm_regulator_bulk_get(&i2c->dev, ARRAY_SIZE(wm8523->supplies), in wm8523_i2c_probe() 467 wm8523->supplies); in wm8523_i2c_probe() [all …]
|
| H A D | wm8737.c | 41 struct regulator_bulk_data supplies[WM8737_NUM_SUPPLIES]; member 469 ret = regulator_bulk_enable(ARRAY_SIZE(wm8737->supplies), in wm8737_set_bias_level() 470 wm8737->supplies); in wm8737_set_bias_level() 473 "Failed to enable supplies: %d\n", in wm8737_set_bias_level() 506 regulator_bulk_disable(ARRAY_SIZE(wm8737->supplies), in wm8737_set_bias_level() 507 wm8737->supplies); in wm8737_set_bias_level() 543 ret = regulator_bulk_enable(ARRAY_SIZE(wm8737->supplies), in wm8737_probe() 544 wm8737->supplies); in wm8737_probe() 546 dev_err(component->dev, "Failed to enable supplies: %d\n", ret); in wm8737_probe() 564 regulator_bulk_disable(ARRAY_SIZE(wm8737->supplies), wm8737->supplies); in wm8737_probe() [all …]
|
| H A D | wm8770.c | 81 struct regulator_bulk_data supplies[WM8770_NUM_SUPPLIES]; member 511 ret = regulator_bulk_enable(ARRAY_SIZE(wm8770->supplies), in wm8770_set_bias_level() 512 wm8770->supplies); in wm8770_set_bias_level() 515 "Failed to enable supplies: %d\n", in wm8770_set_bias_level() 529 regulator_bulk_disable(ARRAY_SIZE(wm8770->supplies), in wm8770_set_bias_level() 530 wm8770->supplies); in wm8770_set_bias_level() 576 ret = regulator_bulk_enable(ARRAY_SIZE(wm8770->supplies), in wm8770_probe() 577 wm8770->supplies); in wm8770_probe() 579 dev_err(component->dev, "Failed to enable supplies: %d\n", ret); in wm8770_probe() 605 regulator_bulk_disable(ARRAY_SIZE(wm8770->supplies), wm8770->supplies); in wm8770_probe() [all …]
|
| H A D | ak5558.c | 40 struct regulator_bulk_data supplies[AK5558_NUM_SUPPLIES]; member 351 regulator_bulk_disable(ARRAY_SIZE(ak5558->supplies), in ak5558_runtime_suspend() 352 ak5558->supplies); in ak5558_runtime_suspend() 361 ret = regulator_bulk_enable(ARRAY_SIZE(ak5558->supplies), in ak5558_runtime_resume() 362 ak5558->supplies); in ak5558_runtime_resume() 364 dev_err(dev, "Failed to enable supplies: %d\n", ret); in ak5558_runtime_resume() 381 regulator_bulk_disable(ARRAY_SIZE(ak5558->supplies), ak5558->supplies); in ak5558_runtime_resume() 451 for (i = 0; i < ARRAY_SIZE(ak5558->supplies); i++) in ak5558_i2c_probe() 452 ak5558->supplies[ in ak5558_i2c_probe() [all...] |
| H A D | tas2552.c | 67 struct regulator_bulk_data supplies[TAS2552_NUM_SUPPLIES]; member 585 ret = regulator_bulk_enable(ARRAY_SIZE(tas2552->supplies), in tas2552_component_probe() 586 tas2552->supplies); in tas2552_component_probe() 589 dev_err(component->dev, "Failed to enable supplies: %d\n", in tas2552_component_probe() 621 regulator_bulk_disable(ARRAY_SIZE(tas2552->supplies), in tas2552_component_remove() 622 tas2552->supplies); in tas2552_component_remove() 641 ret = regulator_bulk_disable(ARRAY_SIZE(tas2552->supplies), 642 tas2552->supplies); in tas2552_resume() 645 dev_err(component->dev, "Failed to disable supplies: %d\n", in tas2552_resume() 655 ret = regulator_bulk_enable(ARRAY_SIZE(tas2552->supplies), in tas2552_resume() [all...] |
| /linux/drivers/input/rmi4/ |
| H A D | rmi_i2c.c | 28 * @supplies: Array of voltage regulators 41 struct regulator_bulk_data supplies[2]; member 190 regulator_bulk_disable(ARRAY_SIZE(rmi_i2c->supplies), in rmi_i2c_regulator_bulk_disable() 191 rmi_i2c->supplies); in rmi_i2c_regulator_bulk_disable() 230 rmi_i2c->supplies[0].supply = "vdd"; in rmi_i2c_probe() 231 rmi_i2c->supplies[1].supply = "vio"; in rmi_i2c_probe() 233 ARRAY_SIZE(rmi_i2c->supplies), in rmi_i2c_probe() 234 rmi_i2c->supplies); in rmi_i2c_probe() 238 error = regulator_bulk_enable(ARRAY_SIZE(rmi_i2c->supplies), in rmi_i2c_probe() 239 rmi_i2c->supplies); in rmi_i2c_probe() [all …]
|
| /linux/drivers/gpu/drm/panel/ |
| H A D | panel-sony-td4353-jdi.c | 36 struct regulator_bulk_data supplies[3]; member 98 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in sony_td4353_jdi_prepare() 109 regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in sony_td4353_jdi_prepare() 123 regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in sony_td4353_jdi_unprepare() 186 ctx->supplies[0].supply = "vddio"; in sony_td4353_jdi_probe() 187 ctx->supplies[1].supply = "vsp"; in sony_td4353_jdi_probe() 188 ctx->supplies[2].supply = "vsn"; in sony_td4353_jdi_probe() 189 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(ctx->supplies), in sony_td4353_jdi_probe() 190 ctx->supplies); in sony_td4353_jdi_probe()
|
| /linux/drivers/pci/controller/dwc/ |
| H A D | pci-exynos.c | 57 struct regulator_bulk_data supplies[2]; member 306 ep->supplies[0].supply = "vdd18"; in exynos_pcie_probe() 307 ep->supplies[1].supply = "vdd10"; in exynos_pcie_probe() 308 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(ep->supplies), in exynos_pcie_probe() 309 ep->supplies); in exynos_pcie_probe() 313 ret = regulator_bulk_enable(ARRAY_SIZE(ep->supplies), ep->supplies); in exynos_pcie_probe() 327 regulator_bulk_disable(ARRAY_SIZE(ep->supplies), ep->supplies); in exynos_pcie_probe() 340 regulator_bulk_disable(ARRAY_SIZE(ep->supplies), ep->supplies); in exynos_pcie_remove() 350 regulator_bulk_disable(ARRAY_SIZE(ep->supplies), ep->supplies); in exynos_pcie_suspend_noirq() 362 ret = regulator_bulk_enable(ARRAY_SIZE(ep->supplies), ep->supplies); in exynos_pcie_resume_noirq()
|
| /linux/drivers/mfd/ |
| H A D | wm8994-core.c | 74 * Supplies for the main bulk of CODEC; the LDO supplies are ignored 168 wm8994->supplies); in wm8994_suspend() 170 dev_err(dev, "Failed to disable supplies: %d\n", ret); in wm8994_suspend() 187 wm8994->supplies); in wm8994_resume() 189 dev_err(dev, "Failed to enable supplies: %d\n", ret); in wm8994_resume() 210 regulator_bulk_disable(wm8994->num_supplies, wm8994->supplies); in wm8994_resume() 347 wm8994->supplies = devm_kcalloc(wm8994->dev, in wm8994_device_init() 351 if (!wm8994->supplies) { in wm8994_device_init() 359 wm8994->supplies[i].supply = wm1811_main_supplies[i]; in wm8994_device_init() 363 wm8994->supplies[i].supply = wm8994_main_supplies[i]; in wm8994_device_init() [all …]
|
| H A D | wcd934x.c | 234 ddata->supplies[0].supply = "vdd-buck"; in wcd934x_slim_probe() 235 ddata->supplies[1].supply = "vdd-buck-sido"; in wcd934x_slim_probe() 236 ddata->supplies[2].supply = "vdd-tx"; in wcd934x_slim_probe() 237 ddata->supplies[3].supply = "vdd-rx"; in wcd934x_slim_probe() 238 ddata->supplies[4].supply = "vdd-io"; in wcd934x_slim_probe() 240 ret = regulator_bulk_get(dev, WCD934X_MAX_SUPPLY, ddata->supplies); in wcd934x_slim_probe() 242 return dev_err_probe(dev, ret, "Failed to get supplies\n"); in wcd934x_slim_probe() 244 ret = regulator_bulk_enable(WCD934X_MAX_SUPPLY, ddata->supplies); in wcd934x_slim_probe() 246 return dev_err_probe(dev, ret, "Failed to enable supplies\n"); in wcd934x_slim_probe() 270 regulator_bulk_disable(WCD934X_MAX_SUPPLY, ddata->supplies); in wcd934x_slim_probe() [all …]
|
| /linux/tools/testing/selftests/power_supply/ |
| H A D | test_power_supply_properties.sh | 9 # By default all power supplies available are tested. Optionally the name of a 18 SUPPLIES=$1 25 for i in $SUPPLIES; do 37 supplies=$(ls "$SYSFS_SUPPLIES") 39 supplies=$1 42 ktap_set_plan "$(count_tests "$supplies")" 44 for DEVNAME in $supplies; do
|
| /linux/drivers/input/misc/ |
| H A D | twl6040-vibra.c | 48 struct regulator_bulk_data supplies[TWL6040_NUM_SUPPLIES]; member 79 ret = regulator_bulk_enable(ARRAY_SIZE(info->supplies), info->supplies); in twl6040_vibra_enable() 115 regulator_bulk_disable(ARRAY_SIZE(info->supplies), info->supplies); in twl6040_vibra_disable() 151 volt = regulator_get_voltage(info->supplies[0].consumer) / 1000; in twl6040_vibra_set_effect() 157 volt = regulator_get_voltage(info->supplies[1].consumer) / 1000; in twl6040_vibra_set_effect() 284 info->supplies[0].supply = "vddvibl"; in twl6040_vibra_probe() 285 info->supplies[1].supply = "vddvibr"; in twl6040_vibra_probe() 291 ARRAY_SIZE(info->supplies), in twl6040_vibra_probe() 292 info->supplies); in twl6040_vibra_probe() 299 error = regulator_set_voltage(info->supplies[0].consumer, in twl6040_vibra_probe() [all …]
|
| /linux/drivers/input/touchscreen/ |
| H A D | zet6223.c | 29 struct regulator_bulk_data supplies[2]; member 100 regulator_bulk_disable(ARRAY_SIZE(ts->supplies), ts->supplies); in zet6223_power_off() 108 ts->supplies[0].supply = "vio"; in zet6223_power_on() 109 ts->supplies[1].supply = "vcc"; in zet6223_power_on() 111 error = devm_regulator_bulk_get(dev, ARRAY_SIZE(ts->supplies), in zet6223_power_on() 112 ts->supplies); in zet6223_power_on() 116 error = regulator_bulk_enable(ARRAY_SIZE(ts->supplies), ts->supplies); in zet6223_power_on()
|
| /linux/include/linux/regulator/ |
| H A D | userspace-consumer.h | 12 * @num_supplies: Number of supplies feeding the line 13 * @supplies: Supplies configuration. 21 struct regulator_bulk_data *supplies; member
|