Home
last modified time | relevance | path

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

12

/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.
Dtrigger.txt35 consumer interface automatically created.
/drivers/regulator/
Ddevres.c164 consumers[i].consumer = NULL; in devm_regulator_bulk_get()
167 consumers[i].consumer = devm_regulator_get(dev, in devm_regulator_bulk_get()
169 if (IS_ERR(consumers[i].consumer)) { in devm_regulator_bulk_get()
170 ret = PTR_ERR(consumers[i].consumer); in devm_regulator_bulk_get()
173 consumers[i].consumer = NULL; in devm_regulator_bulk_get()
181 for (i = 0; i < num_consumers && consumers[i].consumer; i++) in devm_regulator_bulk_get()
182 devm_regulator_put(consumers[i].consumer); in devm_regulator_bulk_get()
Dcore.c3447 consumers[i].consumer = NULL; in regulator_bulk_get()
3450 consumers[i].consumer = regulator_get(dev, in regulator_bulk_get()
3452 if (IS_ERR(consumers[i].consumer)) { in regulator_bulk_get()
3453 ret = PTR_ERR(consumers[i].consumer); in regulator_bulk_get()
3456 consumers[i].consumer = NULL; in regulator_bulk_get()
3465 regulator_put(consumers[i].consumer); in regulator_bulk_get()
3475 bulk->ret = regulator_enable(bulk->consumer); in regulator_bulk_enable_async()
3498 if (consumers[i].consumer->always_on) in regulator_bulk_enable()
3523 regulator_disable(consumers[i].consumer); in regulator_bulk_enable()
3549 ret = regulator_disable(consumers[i].consumer); in regulator_bulk_disable()
[all …]
DKconfig8 provide voltage and current control to client or consumer drivers and
39 tristate "Virtual regulator consumer support"
41 This driver provides a virtual consumer for the voltage and
49 tristate "Userspace regulator consumer support"
52 from user space. Userspace consumer driver provides ability to
DMakefile10 obj-$(CONFIG_REGULATOR_USERSPACE_CONSUMER) += userspace-consumer.o
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c1364 u32 consumer = sds_ring->consumer; in qlcnic_process_rcv_ring() local
1367 desc = &sds_ring->desc_head[consumer]; in qlcnic_process_rcv_ring()
1390 qlcnic_handle_fw_message(desc_cnt, consumer, sds_ring); in qlcnic_process_rcv_ring()
1402 desc = &sds_ring->desc_head[consumer]; in qlcnic_process_rcv_ring()
1404 consumer = get_next_index(consumer, sds_ring->num_desc); in qlcnic_process_rcv_ring()
1427 sds_ring->consumer = consumer; in qlcnic_process_rcv_ring()
1428 writel(consumer, sds_ring->crb_sts_consumer); in qlcnic_process_rcv_ring()
1540 u32 consumer = sds_ring->consumer; in qlcnic_82xx_process_rcv_ring_diag() local
1542 desc = &sds_ring->desc_head[consumer]; in qlcnic_82xx_process_rcv_ring_diag()
1552 qlcnic_handle_fw_message(desc_cnt, consumer, sds_ring); in qlcnic_82xx_process_rcv_ring_diag()
[all …]
/drivers/media/i2c/
Ds5k6a3.c203 ret = regulator_enable(sensor->supplies[i].consumer); in __s5k6a3_power_on()
212 ret = regulator_enable(sensor->supplies[i].consumer); in __s5k6a3_power_on()
229 regulator_disable(sensor->supplies[i].consumer); in __s5k6a3_power_on()
242 regulator_disable(sensor->supplies[i].consumer); in __s5k6a3_power_off()
/drivers/input/misc/
Dtwl6040-vibra.c166 volt = regulator_get_voltage(info->supplies[0].consumer) / 1000; in twl6040_vibra_set_effect()
172 volt = regulator_get_voltage(info->supplies[1].consumer) / 1000; in twl6040_vibra_set_effect()
334 error = regulator_set_voltage(info->supplies[0].consumer, in twl6040_vibra_probe()
344 error = regulator_set_voltage(info->supplies[1].consumer, in twl6040_vibra_probe()
/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy.c181 if (regulator_can_change_voltage(s[i].consumer)) { in dsi_phy_regulator_init()
182 ret = regulator_set_voltage(s[i].consumer, in dsi_phy_regulator_init()
206 regulator_set_load(s[i].consumer, regs[i].disable_load); in dsi_phy_regulator_disable()
222 ret = regulator_set_load(s[i].consumer, in dsi_phy_regulator_enable()
243 regulator_set_load(s[i].consumer, regs[i].disable_load); in dsi_phy_regulator_enable()
/drivers/power/
Dcharger-manager.c385 err = regulator_enable(desc->charger_regulators[i].consumer); in try_charger_enable()
403 err = regulator_disable(desc->charger_regulators[i].consumer); in try_charger_enable()
416 desc->charger_regulators[i].consumer)) { in try_charger_enable()
418 desc->charger_regulators[i].consumer); in try_charger_enable()
1137 ret = regulator_set_current_limit(cable->charger->consumer, in charger_extcon_work()
1242 charger->consumer = regulator_get(cm->dev, in charger_manager_register_extcon()
1244 if (IS_ERR(charger->consumer)) { in charger_manager_register_extcon()
1247 return PTR_ERR(charger->consumer); in charger_manager_register_extcon()
1287 state = regulator_is_enabled(charger->consumer); in charger_state_show()
1841 regulator_put(desc->charger_regulators[i].consumer); in charger_manager_probe()
[all …]
/drivers/scsi/aacraid/
Dcommsup.c329 if (idx != le32_to_cpu(*(q->headers.consumer))) { in aac_get_entry()
336 if (idx != le32_to_cpu(*(q->headers.consumer))) in aac_get_entry()
349 if ((*index + 1) == le32_to_cpu(*(q->headers.consumer))) { in aac_get_entry()
662 if (le32_to_cpu(*q->headers.producer) == le32_to_cpu(*q->headers.consumer)) { in aac_consumer_get()
670 if (le32_to_cpu(*q->headers.consumer) >= q->entries) in aac_consumer_get()
673 index = le32_to_cpu(*q->headers.consumer); in aac_consumer_get()
695 if ((le32_to_cpu(*q->headers.producer)+1) == le32_to_cpu(*q->headers.consumer)) in aac_consumer_free()
698 if (le32_to_cpu(*q->headers.consumer) >= q->entries) in aac_consumer_free()
699 *q->headers.consumer = cpu_to_le32(1); in aac_consumer_free()
701 le32_add_cpu(q->headers.consumer, 1); in aac_consumer_free()
Dcomminit.c210 q->headers.consumer = (__le32 *)(mem+1); in aac_queue_init()
212 *(q->headers.consumer) = cpu_to_le32(qsize); in aac_queue_init()
/drivers/usb/phy/
Dphy-qcom-8x16-usb.c284 qphy->v3p3 = regs[0].consumer; in phy_8x16_read_devicetree()
285 qphy->v1p8 = regs[1].consumer; in phy_8x16_read_devicetree()
286 qphy->vdd = regs[2].consumer; in phy_8x16_read_devicetree()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_init.c1676 u32 consumer = sds_ring->consumer; in netxen_process_rcv_ring() local
1683 desc = &sds_ring->desc_head[consumer]; in netxen_process_rcv_ring()
1708 netxen_handle_fw_message(desc_cnt, consumer, sds_ring); in netxen_process_rcv_ring()
1720 desc = &sds_ring->desc_head[consumer]; in netxen_process_rcv_ring()
1723 consumer = get_next_index(consumer, sds_ring->num_desc); in netxen_process_rcv_ring()
1748 sds_ring->consumer = consumer; in netxen_process_rcv_ring()
1749 NXWRIO(adapter, sds_ring->crb_sts_consumer, consumer); in netxen_process_rcv_ring()
/drivers/of/unittest-data/
Dtests-phandle.dtsi28 consumer-a {
Dtestcases.dts29 consumer-a {
/drivers/iio/buffer/
DKconfig10 usage. That is, those where the data is pushed to the consumer.
/drivers/scsi/megaraid/
Dmegaraid_sas_base.c477 (le32_to_cpu(*instance->consumer) == in megasas_check_reset_xscale()
1901 u32 consumer; in megasas_complete_cmd_dpc() local
1915 consumer = le32_to_cpu(*instance->consumer); in megasas_complete_cmd_dpc()
1917 while (consumer != producer) { in megasas_complete_cmd_dpc()
1918 context = le32_to_cpu(instance->reply_queue[consumer]); in megasas_complete_cmd_dpc()
1929 consumer++; in megasas_complete_cmd_dpc()
1930 if (consumer == (instance->max_fw_cmds + 1)) { in megasas_complete_cmd_dpc()
1931 consumer = 0; in megasas_complete_cmd_dpc()
1935 *instance->consumer = cpu_to_le32(producer); in megasas_complete_cmd_dpc()
1975 *instance->consumer = cpu_to_le32(MEGASAS_ADPRESET_INPROG_SIGN); in megasas_do_ocr()
[all …]
/drivers/pps/
DKconfig33 bool "PPS kernel consumer support"
/drivers/gpu/drm/msm/dsi/
Ddsi_host.c225 regulator_set_load(s[i].consumer, in dsi_host_regulator_disable()
241 ret = regulator_set_load(s[i].consumer, in dsi_host_regulator_enable()
261 regulator_set_load(s[i].consumer, regs[i].disable_load); in dsi_host_regulator_enable()
283 if (regulator_can_change_voltage(s[i].consumer)) { in dsi_regulator_init()
284 ret = regulator_set_voltage(s[i].consumer, in dsi_regulator_init()
/drivers/staging/most/Documentation/
Ddriver_usage.txt16 Cars continue to evolve into sophisticated consumer electronics platforms,
19 consumer devices via optical or electrical physical layers directly to one
/drivers/media/i2c/s5c73m3/
Ds5c73m3-core.c1377 ret = regulator_enable(state->supplies[i].consumer); in __s5c73m3_power_on()
1403 regulator_disable(state->supplies[i].consumer); in __s5c73m3_power_on()
1423 ret = regulator_disable(state->supplies[i].consumer); in __s5c73m3_power_off()
1431 int r = regulator_enable(state->supplies[i].consumer); in __s5c73m3_power_off()
/drivers/iio/dac/
Dad5449.c154 scale_uv = regulator_get_voltage(reg->consumer); in ad5449_read_raw()
Dad5764.c218 return regulator_get_voltage(st->vref_reg[channel / 2].consumer); in ad5764_get_channel_vref()

12