Home
last modified time | relevance | path

Searched refs:consumer (Results 1 – 25 of 72) sorted by relevance

123

/drivers/staging/iio/Documentation/
Dinkernel.txt20 consumer_dev_name allows identification of the consumer device.
21 This are then used to find the channel mapping from the consumer device (see
24 Finally consumer_channel is a string identifying the channel to the consumer.
37 to associate a given channel with the consumer requesting it.
39 Acting as an IIO consumer (consumer.h)
41 The consumer first has to obtain an iio_channel structure from the core
55 with a given consumer. This is useful for generic drivers such as
57 consumer driver. To do this, use iio_channel_get_all.
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c1366 u32 consumer = sds_ring->consumer; in qlcnic_process_rcv_ring() local
1369 desc = &sds_ring->desc_head[consumer]; in qlcnic_process_rcv_ring()
1392 qlcnic_handle_fw_message(desc_cnt, consumer, sds_ring); in qlcnic_process_rcv_ring()
1405 desc = &sds_ring->desc_head[consumer]; in qlcnic_process_rcv_ring()
1407 consumer = get_next_index(consumer, sds_ring->num_desc); in qlcnic_process_rcv_ring()
1430 sds_ring->consumer = consumer; in qlcnic_process_rcv_ring()
1431 writel(consumer, sds_ring->crb_sts_consumer); in qlcnic_process_rcv_ring()
1543 u32 consumer = sds_ring->consumer; in qlcnic_82xx_process_rcv_ring_diag() local
1545 desc = &sds_ring->desc_head[consumer]; in qlcnic_82xx_process_rcv_ring_diag()
1555 qlcnic_handle_fw_message(desc_cnt, consumer, sds_ring); in qlcnic_82xx_process_rcv_ring_diag()
[all …]
/drivers/base/
Dcore.c82 if (link->consumer == con) in fwnode_link_add()
93 link->consumer = con; in fwnode_link_add()
115 link->consumer, link->supplier); in __fwnode_link_del()
302 if (link->consumer == target) in device_is_dependent()
305 ret = device_is_dependent(link->consumer, target); in device_is_dependent()
313 struct device *consumer, in device_link_init_status() argument
318 switch (consumer->links.status) { in device_link_init_status()
335 switch (consumer->links.status) { in device_link_init_status()
375 device_reorder_to_tail(link->consumer, NULL); in device_reorder_to_tail()
501 put_device(link->consumer); in device_link_release_fn()
[all …]
/drivers/iio/adc/
Drcar-gyroadc.c179 struct regulator *consumer; in rcar_gyroadc_read_raw() local
189 consumer = priv->vref[0]; in rcar_gyroadc_read_raw()
191 consumer = priv->vref[chan->channel]; in rcar_gyroadc_read_raw()
199 if (!consumer) in rcar_gyroadc_read_raw()
223 if (!consumer) in rcar_gyroadc_read_raw()
226 vref = regulator_get_voltage(consumer); in rcar_gyroadc_read_raw()
/drivers/media/i2c/
Ds5k6a3.c205 ret = regulator_enable(sensor->supplies[i].consumer); in __s5k6a3_power_on()
214 ret = regulator_enable(sensor->supplies[i].consumer); in __s5k6a3_power_on()
231 regulator_disable(sensor->supplies[i].consumer); in __s5k6a3_power_on()
244 regulator_disable(sensor->supplies[i].consumer); in __s5k6a3_power_off()
/drivers/input/misc/
Dtwl6040-vibra.c151 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()
302 error = regulator_set_voltage(info->supplies[0].consumer, in twl6040_vibra_probe()
312 error = regulator_set_voltage(info->supplies[1].consumer, in twl6040_vibra_probe()
/drivers/power/supply/
Dcharger-manager.c396 err = regulator_enable(desc->charger_regulators[i].consumer); in try_charger_enable()
414 err = regulator_disable(desc->charger_regulators[i].consumer); in try_charger_enable()
427 desc->charger_regulators[i].consumer)) { in try_charger_enable()
429 desc->charger_regulators[i].consumer); in try_charger_enable()
920 ret = regulator_set_current_limit(cable->charger->consumer, in charger_extcon_work()
1040 charger->consumer = regulator_get(cm->dev, in charger_manager_register_extcon()
1042 if (IS_ERR(charger->consumer)) { in charger_manager_register_extcon()
1045 return PTR_ERR(charger->consumer); in charger_manager_register_extcon()
1089 state = regulator_is_enabled(charger->consumer); in charger_state_show()
1624 regulator_put(desc->charger_regulators[i].consumer); in charger_manager_probe()
[all …]
/drivers/of/unittest-data/
Dtests-phandle.dtsi48 consumer-a {
67 consumer-b {
/drivers/acpi/
Dresource.c942 struct acpi_device **consumer = (struct acpi_device **) ret; in acpi_res_consumer_cb() local
949 *consumer = adev; in acpi_res_consumer_cb()
966 struct acpi_device *consumer = NULL; in acpi_resource_consumer() local
968 acpi_get_devices(NULL, acpi_res_consumer_cb, res, (void **) &consumer); in acpi_resource_consumer()
969 return consumer; in acpi_resource_consumer()
/drivers/phy/qualcomm/
Dphy-qcom-usb-hs-28nm.c365 ret = regulator_set_load(priv->vregs[VDDA_1P8].consumer, 19000); in qcom_snps_hsphy_probe()
369 ret = regulator_set_load(priv->vregs[VDDA_3P3].consumer, 16000); in qcom_snps_hsphy_probe()
376 regulator_set_load(priv->vregs[VDDA_1P8].consumer, 0); in qcom_snps_hsphy_probe()
/drivers/iio/buffer/
DKconfig11 usage. That is, those where the data is pushed to the consumer.
40 Should be selected by drivers that want to use the generic Hw consumer
DMakefile10 obj-$(CONFIG_IIO_BUFFER_HW_CONSUMER) += industrialio-hw-consumer.o
/drivers/remoteproc/
Dqcom_wcnss_iris.c184 regulator_set_voltage(iris->vregs[i].consumer, in qcom_iris_probe()
189 regulator_set_load(iris->vregs[i].consumer, in qcom_iris_probe()
/drivers/gpio/
DTODO39 - Convert all consumer drivers to only #include <linux/gpio/consumer.h>
67 - Change all consumer drivers that #include <linux/of_gpio.h> to
68 #include <linux/gpio/consumer.h> and stop doing custom parsing of the
81 uses <linux/gpio/consumer.h> or <linux/gpio/driver.h> instead.
/drivers/regulator/
Dcore.c4847 consumers[i].consumer = NULL; in regulator_bulk_get()
4850 consumers[i].consumer = regulator_get(dev, in regulator_bulk_get()
4852 if (IS_ERR(consumers[i].consumer)) { in regulator_bulk_get()
4853 ret = PTR_ERR(consumers[i].consumer); in regulator_bulk_get()
4854 consumers[i].consumer = NULL; in regulator_bulk_get()
4870 regulator_put(consumers[i].consumer); in regulator_bulk_get()
4880 bulk->ret = regulator_enable(bulk->consumer); in regulator_bulk_enable_async()
4925 regulator_disable(consumers[i].consumer); in regulator_bulk_enable()
4951 ret = regulator_disable(consumers[i].consumer); in regulator_bulk_disable()
4961 r = regulator_enable(consumers[i].consumer); in regulator_bulk_disable()
[all …]
/drivers/gpu/drm/msm/dp/
Ddp_power.c37 regulator_set_load(s[i].consumer, in dp_power_regulator_disable()
53 ret = regulator_set_load(s[i].consumer, in dp_power_regulator_enable()
73 regulator_set_load(s[i].consumer, regs[i].disable_load); in dp_power_regulator_enable()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_init.c1655 u32 consumer = sds_ring->consumer; in netxen_process_rcv_ring() local
1662 desc = &sds_ring->desc_head[consumer]; in netxen_process_rcv_ring()
1687 netxen_handle_fw_message(desc_cnt, consumer, sds_ring); in netxen_process_rcv_ring()
1700 desc = &sds_ring->desc_head[consumer]; in netxen_process_rcv_ring()
1703 consumer = get_next_index(consumer, sds_ring->num_desc); in netxen_process_rcv_ring()
1728 sds_ring->consumer = consumer; in netxen_process_rcv_ring()
1729 NXWRIO(adapter, sds_ring->crb_sts_consumer, consumer); in netxen_process_rcv_ring()
/drivers/staging/greybus/
DTODO2 GPIO descriptor API in <linux/gpio/consumer.h> and look up GPIO
/drivers/staging/emxx_udc/
DTODO3 * convert VBUS GPIO to use GPIO descriptors from <linux/gpio/consumer.h>
/drivers/gpu/drm/panel/
Dpanel-visionox-rm69299.c238 ret = regulator_set_load(ctx->supplies[0].consumer, 32000); in visionox_rm69299_probe()
244 ret = regulator_set_load(ctx->supplies[1].consumer, 13200); in visionox_rm69299_probe()
Dpanel-ilitek-ili9322.c832 ret = regulator_set_voltage(ili->supplies[0].consumer, in ili9322_probe()
836 ret = regulator_set_voltage(ili->supplies[1].consumer, in ili9322_probe()
840 ret = regulator_set_voltage(ili->supplies[2].consumer, in ili9322_probe()
/drivers/firmware/arm_scmi/
Dbus.c219 void scmi_device_link_add(struct device *consumer, struct device *supplier) in scmi_device_link_add() argument
223 link = device_link_add(consumer, supplier, DL_FLAG_AUTOREMOVE_CONSUMER); in scmi_device_link_add()
/drivers/scsi/aacraid/
Dcommsup.c375 if (idx != le32_to_cpu(*(q->headers.consumer))) { in aac_get_entry()
382 if (idx != le32_to_cpu(*(q->headers.consumer))) in aac_get_entry()
395 if ((*index + 1) == le32_to_cpu(*(q->headers.consumer))) { in aac_get_entry()
804 if (le32_to_cpu(*q->headers.producer) == le32_to_cpu(*q->headers.consumer)) { in aac_consumer_get()
812 if (le32_to_cpu(*q->headers.consumer) >= q->entries) in aac_consumer_get()
815 index = le32_to_cpu(*q->headers.consumer); in aac_consumer_get()
837 if ((le32_to_cpu(*q->headers.producer)+1) == le32_to_cpu(*q->headers.consumer)) in aac_consumer_free()
840 if (le32_to_cpu(*q->headers.consumer) >= q->entries) in aac_consumer_free()
841 *q->headers.consumer = cpu_to_le32(1); in aac_consumer_free()
843 le32_add_cpu(q->headers.consumer, 1); in aac_consumer_free()
/drivers/iio/dac/
Dad5064.c312 return regulator_get_voltage(st->vref_reg[i].consumer); in ad5064_get_vref()
829 st->vref_reg[0].consumer = devm_regulator_get_optional(dev, "vref"); in ad5064_request_vref()
830 if (!IS_ERR(st->vref_reg[0].consumer)) in ad5064_request_vref()
833 ret = PTR_ERR(st->vref_reg[0].consumer); in ad5064_request_vref()
/drivers/gpu/drm/bridge/
Dlontium-lt9611uxc.c218 return regulator_set_load(lt9611uxc->supplies[0].consumer, 200000); in lt9611uxc_regulator_init()
225 ret = regulator_enable(lt9611uxc->supplies[0].consumer); in lt9611uxc_regulator_enable()
231 ret = regulator_enable(lt9611uxc->supplies[1].consumer); in lt9611uxc_regulator_enable()
233 regulator_disable(lt9611uxc->supplies[0].consumer); in lt9611uxc_regulator_enable()

123