Home
last modified time | relevance | path

Searched refs:consumers (Results 1 – 25 of 121) sorted by relevance

12345

/openbmc/linux/drivers/regulator/
H A Ddevres.c178 struct regulator_bulk_data *consumers; member
186 regulator_bulk_free(devres->num_consumers, devres->consumers); in devm_regulator_bulk_release()
190 struct regulator_bulk_data *consumers, in _devm_regulator_bulk_get() argument
201 ret = _regulator_bulk_get(dev, num_consumers, consumers, get_type); in _devm_regulator_bulk_get()
203 devres->consumers = consumers; in _devm_regulator_bulk_get()
229 struct regulator_bulk_data *consumers) in devm_regulator_bulk_get() argument
231 return _devm_regulator_bulk_get(dev, num_consumers, consumers, NORMAL_GET); in devm_regulator_bulk_get()
252 struct regulator_bulk_data *consumers) in devm_regulator_bulk_get_exclusive() argument
254 return _devm_regulator_bulk_get(dev, num_consumers, consumers, EXCLUSIVE_GET); in devm_regulator_bulk_get_exclusive()
298 return match->consumers == target; in devm_regulator_bulk_match()
[all …]
H A Dof_regulator.c756 struct regulator_bulk_data **consumers) in of_regulator_bulk_get_all() argument
764 *consumers = NULL; in of_regulator_bulk_get_all()
775 if (!*consumers) { in of_regulator_bulk_get_all()
786 (*consumers)[n].consumer = tmp; in of_regulator_bulk_get_all()
791 if (*consumers) in of_regulator_bulk_get_all()
795 *consumers = kmalloc_array(num_consumers, in of_regulator_bulk_get_all()
798 if (!*consumers) in of_regulator_bulk_get_all()
804 regulator_put(consumers[n]->consumer); in of_regulator_bulk_get_all()
H A Dcore.c4866 struct regulator_bulk_data *consumers, enum regulator_get_type get_type) in _regulator_bulk_get() argument
4872 consumers[i].consumer = NULL; in _regulator_bulk_get()
4875 consumers[i].consumer = _regulator_get(dev, in _regulator_bulk_get()
4876 consumers[i].supply, get_type); in _regulator_bulk_get()
4877 if (IS_ERR(consumers[i].consumer)) { in _regulator_bulk_get()
4878 ret = dev_err_probe(dev, PTR_ERR(consumers[i].consumer), in _regulator_bulk_get()
4880 consumers[i].supply); in _regulator_bulk_get()
4881 consumers[i].consumer = NULL; in _regulator_bulk_get()
4885 if (consumers[i].init_load_uA > 0) { in _regulator_bulk_get()
4886 ret = regulator_set_load(consumers[i].consumer, in _regulator_bulk_get()
[all …]
/openbmc/obmc-console/
H A Dringbuffer.c48 ringbuffer_consumer_unregister(rb->consumers[0]); in ringbuffer_fini()
72 rb->consumers = reallocarray(rb->consumers, rb->n_consumers, in ringbuffer_consumer_register()
73 sizeof(*rb->consumers)); in ringbuffer_consumer_register()
75 rb->consumers[n] = rbc; in ringbuffer_consumer_register()
86 if (rb->consumers[i] == rbc) { in ringbuffer_consumer_unregister()
99 memmove(&rb->consumers[i], &rb->consumers[i + 1], in ringbuffer_consumer_unregister()
101 sizeof(*rb->consumers) * (rb->n_consumers - i)); in ringbuffer_consumer_unregister()
104 free(rb->consumers); in ringbuffer_consumer_unregister()
105 rb->consumers = NULL; in ringbuffer_consumer_unregister()
107 rb->consumers = reallocarray( in ringbuffer_consumer_unregister()
[all …]
/openbmc/linux/include/linux/regulator/
H A Dconsumer.h246 struct regulator_bulk_data *consumers);
248 struct regulator_bulk_data **consumers);
250 struct regulator_bulk_data *consumers);
251 void devm_regulator_bulk_put(struct regulator_bulk_data *consumers);
253 struct regulator_bulk_data *consumers);
259 struct regulator_bulk_data *consumers);
263 struct regulator_bulk_data *consumers);
265 struct regulator_bulk_data *consumers);
267 struct regulator_bulk_data *consumers);
322 void regulator_bulk_set_supply_names(struct regulator_bulk_data *consumers,
[all …]
/openbmc/linux/virt/lib/
H A Dirqbypass.c26 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()
/openbmc/linux/drivers/soc/microchip/
H A Dmpfs-sys-controller.c33 struct kref consumers; member
89 container_of(kref, struct mpfs_sys_controller, consumers); in mpfs_sys_controller_delete()
99 kref_put(&sys_controller->consumers, mpfs_sys_controller_delete); in mpfs_sys_controller_put()
137 kref_init(&sys_controller->consumers); in mpfs_sys_controller_probe()
185 if (!kref_get_unless_zero(&sys_controller->consumers)) in mpfs_sys_controller_get()
/openbmc/linux/Documentation/power/regulator/
H A Dconsumer.rst60 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.
179 Regulators can notify consumers of external events. Events could be received by
[all …]
H A Ddesign.rst32 different consumers.
37 very easy to handle and so that consumers will work with shared
/openbmc/linux/Documentation/driver-api/hte/
H A Dtegra-hte.rst21 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 Dhte.rst21 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
/openbmc/linux/Documentation/devicetree/bindings/interconnect/
H A Dinterconnect.txt5 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
/openbmc/linux/Documentation/driver-api/driver-model/
H A Ddriver.rst191 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
200 too is considered as "all consumers of the device have probed" and sync_state()
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
[all …]
/openbmc/linux/drivers/firmware/
H A Draspberrypi.c34 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()
367 if (!kref_get_unless_zero(&fw->consumers)) in rpi_firmware_get()
/openbmc/docs/designs/
H A Dcertificate-revocation-list.md46 consumers which use old CRLs to refresh with the newly given CRLs
70 install multiple CRLs and notify consumers. The notification process is the
71 existing behaviour which phosphor-certificate-manager uses to tell consumers
75 replace all existing CRLs with multiple new CRLs and notify consumers
78 delete all existing CRLs and notify consumers
H A Dphysical-topology.md59 phosphor-dbus-interfaces, inventory managers, and inventory consumers such as
129 ### Inventory consumers
166 complexity of consumers of this information since they would have to support
179 consumers to understand the topology.
186 change. If consumers of inventory data such as bmcweb do not find the new
/openbmc/linux/drivers/platform/x86/intel/int3472/
H A Dtps68470.c120 *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()
195 cells[0].pdata_size = struct_size(clk_pdata, consumers, n_consumers); in skl_int3472_tps68470_probe()
/openbmc/linux/Documentation/driver-api/
H A Dinterconnect.rst72 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 Dreset.rst19 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 Dregulator.rst68 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.
/openbmc/linux/Documentation/infiniband/
H A Dcore_locking.rst29 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
/openbmc/linux/tools/testing/selftests/bpf/
H A Dbench.c481 pthread_t *consumers; member
599 state.consumers = calloc(env.consumer_cnt, sizeof(*state.consumers)); in setup_benchmark()
602 if (!state.producers || !state.consumers || !state.results) in setup_benchmark()
611 err = pthread_create(&state.consumers[i], NULL, in setup_benchmark()
619 set_thread_affinity(state.consumers[i], in setup_benchmark()
/openbmc/linux/Documentation/crypto/
H A Dintro.rst25 - 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
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Dvctrl.txt7 - regulator-min-microvolt : smallest voltage consumers may set
8 - regulator-max-microvolt : largest voltage consumers may set
/openbmc/linux/Documentation/devicetree/bindings/phy/
H A Dqcom,usb-8x16-phy.txt16 Definition: See clock-bindings.txt section "consumers". List of
43 Definition: See reset.txt section "consumers". PHY reset specifier.

12345