/linux/drivers/regulator/ |
H A D | devres.c | 237 struct regulator_bulk_data *consumers; member 262 devres->consumers = consumers; in _devm_regulator_bulk_get() 288 struct regulator_bulk_data *consumers) in devm_regulator_bulk_get() argument 357 return match->consumers == target; in devm_regulator_bulk_match() 408 struct regulator_bulk_data *consumers; in devm_regulator_bulk_get_enable() local 415 devres->consumers = devm_kcalloc(dev, num_consumers, sizeof(*consumers), in devm_regulator_bulk_get_enable() 417 consumers = devres->consumers; in devm_regulator_bulk_get_enable() 418 if (!consumers) in devm_regulator_bulk_get_enable() 424 consumers[i].supply = id[i]; in devm_regulator_bulk_get_enable() 442 regulator_disable(consumers[i].consumer); in devm_regulator_bulk_get_enable() [all …]
|
H A D | of_regulator.c | 753 struct regulator_bulk_data **consumers) in of_regulator_bulk_get_all() argument 761 *consumers = NULL; in of_regulator_bulk_get_all() 772 if (!*consumers) { in of_regulator_bulk_get_all() 783 (*consumers)[n].consumer = tmp; in of_regulator_bulk_get_all() 788 if (*consumers) in of_regulator_bulk_get_all() 792 *consumers = kmalloc_array(num_consumers, in of_regulator_bulk_get_all() 795 if (!*consumers) in of_regulator_bulk_get_all() 801 regulator_put(consumers[n]->consumer); in of_regulator_bulk_get_all()
|
H A D | core.c | 4899 consumers[i].consumer = NULL; in _regulator_bulk_get() 4907 consumers[i].supply); in _regulator_bulk_get() 4908 consumers[i].consumer = NULL; in _regulator_bulk_get() 4914 consumers[i].init_load_uA); in _regulator_bulk_get() 4987 if (consumers[i].ret != 0) { in regulator_bulk_enable() 4988 ret = consumers[i].ret; in regulator_bulk_enable() 4997 if (consumers[i].ret < 0) in regulator_bulk_enable() 5068 consumers[i].ret = in regulator_bulk_force_disable() 5072 if (consumers[i].ret && !ret) in regulator_bulk_force_disable() 5073 ret = consumers[i].ret; in regulator_bulk_force_disable() [all …]
|
/linux/include/linux/regulator/ |
H A D | consumer.h | 202 struct regulator_bulk_data *consumers); 204 struct regulator_bulk_data **consumers); 206 struct regulator_bulk_data *consumers); 209 struct regulator_bulk_data *consumers); 219 struct regulator_bulk_data *consumers); 221 struct regulator_bulk_data *consumers); 223 struct regulator_bulk_data *consumers); 443 struct regulator_bulk_data *consumers) in devm_regulator_bulk_get() argument 455 struct regulator_bulk_data *consumers) in regulator_bulk_enable() argument 468 struct regulator_bulk_data *consumers) in regulator_bulk_disable() argument [all …]
|
/linux/virt/lib/ |
H A D | irqbypass.c | 26 static LIST_HEAD(consumers); 107 list_for_each_entry(consumer, &consumers, node) { in irq_bypass_register_producer() 154 list_for_each_entry(consumer, &consumers, node) { in irq_bypass_unregister_producer() 196 list_for_each_entry(tmp, &consumers, node) { in irq_bypass_register_consumer() 212 list_add(&consumer->node, &consumers); in irq_bypass_register_consumer() 246 list_for_each_entry(tmp, &consumers, node) { in irq_bypass_unregister_consumer()
|
/linux/drivers/soc/microchip/ |
H A D | mpfs-sys-controller.c | 36 struct kref consumers; member 94 container_of(kref, struct mpfs_sys_controller, consumers); in mpfs_sys_controller_delete() 104 kref_put(&sys_controller->consumers, mpfs_sys_controller_delete); in mpfs_sys_controller_put() 163 kref_init(&sys_controller->consumers); in mpfs_sys_controller_probe() 210 if (!kref_get_unless_zero(&sys_controller->consumers)) in mpfs_sys_controller_get()
|
/linux/Documentation/power/regulator/ |
H A D | consumer.rst | 60 This may not disable the supply if it's shared with other consumers. The 69 consumers will be powered off. 137 Some consumers can further save system power by changing the operating mode of 138 their supply regulator to be more efficient when the consumers operating state 151 on all its consumers) and change operating mode (if necessary and permitted) 158 Most consumers will use indirect operating mode control since they have no 160 consumers. 172 Direct mode will only be used by consumers that *know* about the regulator and 173 are not sharing the regulator with other consumers. 180 consumers under regulator stress or failure conditions. [all …]
|
H A D | design.rst | 32 different consumers. 37 very easy to handle and so that consumers will work with shared
|
/linux/Documentation/driver-api/hte/ |
H A D | tegra-hte.rst | 21 below. The GPIO GTE code supports both kernel and userspace consumers. The 22 kernel space consumers can directly talk to HTE subsystem while userspace 23 consumers timestamp requests go through GPIOLIB CDEV framework to HTE 30 For userspace consumers, GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE flag must be 40 one-to-one mapping with IRQ GTE provider, consumers can simply specify the IRQ
|
H A D | hte.rst | 21 engine (HTE) framework. Both consumers and providers must include 30 The HTE framework APIs for the consumers 43 consumers and the providers. It expresses timestamp data in nanoseconds in
|
/linux/Documentation/driver-api/ |
H A D | wbrf.rst | 13 frequencies in use and consumers can use this information to avoid using 32 of their particular frequencies so that other consumers can make relative 62 param to get other consumers properly notified. 64 `acpi_amd_wbrf_add_remove` with 'remove' param to get other consumers notified. 66 The expected flow for the consumers:
|
H A D | interconnect.rst | 72 Interconnect consumers are the entities which make use of the data paths exposed 73 by the providers. The consumers send requests to providers requesting various 74 throughput, latency and priority. Usually the consumers are device drivers, that 87 Interconnect consumers 90 Interconnect consumers are the clients which use the interconnect APIs to
|
H A D | reset.rst | 19 consumers. 63 When requesting reset controls, consumers can use symbolic names for their 98 Note that since multiple consumers may be using a shared reset control, there 111 In general, these resets can not be shared between multiple consumers, since 118 All further calls to this function have no effect until all consumers have 181 Reset consumers can control a reset line using an opaque reset control handle, 184 Given the reset control, consumers can call reset_control_assert() and
|
H A D | regulator.rst | 68 When requesting regulators consumers use symbolic names for their 83 Note that since multiple consumers may be using a regulator and machine 126 consumers on a given system and what the valid operating parameters are 144 consumers are rated for. 151 static consumers.
|
/linux/Documentation/devicetree/bindings/interconnect/ |
H A D | interconnect.txt | 5 providers/consumers properties. 16 consumers, such as in the case where two network-on-chip fabrics interface 37 = interconnect consumers = 39 The interconnect consumers are device nodes which dynamically express their
|
/linux/Documentation/driver-api/driver-model/ |
H A D | driver.rst | 191 devices of the device have successfully probed. The list of consumers of the 197 attempt at calling sync_state(), if all the consumers of the device at that 199 away. If there are no consumers of the device during the first attempt, that 204 still consumers that haven't probed successfully, the sync_state() call is 205 postponed and reattempted in the future only when one or more consumers of the 207 there are one or more consumers of the device that haven't probed yet, then 214 consumers of the device have probed. Once all the consumers of the device have 216 match the aggregated software state requested by all the consumers. Hence the 221 resources like IOMMUs. For example, IOMMUs with multiple consumers (devices 223 fixed at (or additive to) the boot configuration until all its consumers have [all …]
|
/linux/drivers/firmware/ |
H A D | raspberrypi.c | 34 struct kref consumers; member 256 consumers); in rpi_firmware_delete() 264 kref_put(&fw->consumers, rpi_firmware_delete); in rpi_firmware_put() 300 kref_init(&fw->consumers); in rpi_firmware_probe() 365 if (!kref_get_unless_zero(&fw->consumers)) in rpi_firmware_get()
|
/linux/drivers/platform/x86/intel/int3472/ |
H A D | tps68470.c | 120 *clk_pdata = devm_kzalloc(dev, struct_size(*clk_pdata, consumers, n_consumers), in skl_int3472_fill_clk_pdata() 136 (*clk_pdata)->consumers[i].consumer_dev_name = sensor_name; in skl_int3472_fill_clk_pdata() 192 cells[0].pdata_size = struct_size(clk_pdata, consumers, n_consumers); in skl_int3472_tps68470_probe()
|
/linux/Documentation/infiniband/ |
H A D | core_locking.rst | 29 consumers: 60 consumers are not required to perform any serialization. However, 96 Upper level protocol consumers may not sleep in a callback. 102 consumers when it calls ib_register_device(), all initialization
|
/linux/tools/testing/selftests/bpf/ |
H A D | bench.c | 484 pthread_t *consumers; member 629 state.consumers = calloc(env.consumer_cnt, sizeof(*state.consumers)); in setup_benchmark() 632 if (!state.producers || !state.consumers || !state.results) in setup_benchmark() 645 err = pthread_create(&state.consumers[i], NULL, in setup_benchmark() 653 set_thread_affinity(state.consumers[i], in setup_benchmark()
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | vctrl.txt | 7 - regulator-min-microvolt : smallest voltage consumers may set 8 - regulator-max-microvolt : largest voltage consumers may set
|
/linux/Documentation/crypto/ |
H A D | intro.rst | 25 - consumers requesting cryptographic services 28 called by consumers using the kernel crypto API 30 This specification is intended for consumers of the kernel crypto API as
|
/linux/Documentation/devicetree/bindings/phy/ |
H A D | qcom,usb-8x16-phy.txt | 16 Definition: See clock-bindings.txt section "consumers". List of 43 Definition: See reset.txt section "consumers". PHY reset specifier.
|
/linux/include/linux/ |
H A D | fwnode.h | 54 struct list_head consumers; member 203 INIT_LIST_HEAD(&fwnode->consumers); in fwnode_init()
|
/linux/include/linux/platform_data/ |
H A D | tps68470.h | 37 struct tps68470_clk_consumer consumers[]; member
|