Home
last modified time | relevance | path

Searched refs:uv (Results 1 – 27 of 27) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
Dgk20a.c107 int i, uv; in gk20a_volt_vid_get() local
109 uv = regulator_get_voltage(priv->vdd); in gk20a_volt_vid_get()
112 if (volt->vid[i].uv >= uv) in gk20a_volt_vid_get()
123 nv_debug(volt, "set voltage as %duv\n", volt->vid[vid].uv); in gk20a_volt_vid_set()
124 return regulator_set_voltage(priv->vdd, volt->vid[vid].uv, 1200000); in gk20a_volt_vid_set()
132 int target_uv = volt->vid[id].uv; in gk20a_volt_set_id()
156 int i, ret, uv; in gk20a_volt_ctor() local
167 uv = regulator_get_voltage(plat->gpu->vdd); in gk20a_volt_ctor()
168 nv_info(priv, "The default voltage is %duV\n", uv); in gk20a_volt_ctor()
179 volt->vid[i].uv = gk20a_volt_calc_voltage(&gk20a_cvb_coef[i], in gk20a_volt_ctor()
[all …]
Dbase.c37 return volt->vid[i].uv; in nvkm_volt_get()
47 nvkm_volt_set(struct nvkm_volt *volt, u32 uv) in nvkm_volt_set() argument
52 if (volt->vid[i].uv == uv) { in nvkm_volt_set()
54 nv_debug(volt, "set %duv: %d\n", uv, ret); in nvkm_volt_set()
116 volt->vid[volt->vid_nr].uv = info.base; in nvkm_volt_parse_bios()
128 volt->vid[volt->vid_nr].uv = ivid.voltage; in nvkm_volt_parse_bios()
190 volt->vid[i].vid, volt->vid[i].uv); in nvkm_volt_create_()
/linux-4.1.27/arch/arm/mach-omap2/
Domap_twl.c57 static u8 twl4030_uv_to_vsel(unsigned long uv) in twl4030_uv_to_vsel() argument
59 return DIV_ROUND_UP(uv - 600000, 12500); in twl4030_uv_to_vsel()
96 static u8 twl6030_uv_to_vsel(unsigned long uv) in twl6030_uv_to_vsel() argument
112 if (!uv) in twl6030_uv_to_vsel()
121 if (uv > twl6030_vsel_to_uv(0x39)) { in twl6030_uv_to_vsel()
122 if (uv == 1350000) in twl6030_uv_to_vsel()
125 __func__, uv, twl6030_vsel_to_uv(0x39)); in twl6030_uv_to_vsel()
130 return DIV_ROUND_UP(uv - 709000, 12660) + 1; in twl6030_uv_to_vsel()
132 return DIV_ROUND_UP(uv - 607700, 12660) + 1; in twl6030_uv_to_vsel()
/linux-4.1.27/drivers/misc/sgi-xp/
Dxpc_uv.c76 part_uv = &xpc_partitions[partid].sn.uv; in xpc_setup_partitions_uv()
93 part_uv = &xpc_partitions[partid].sn.uv; in xpc_teardown_partitions_uv()
382 if (part->sn.uv.act_state_req == 0) in xpc_process_activate_IRQ_rcvd_uv()
388 act_state_req = part->sn.uv.act_state_req; in xpc_process_activate_IRQ_rcvd_uv()
389 part->sn.uv.act_state_req = 0; in xpc_process_activate_IRQ_rcvd_uv()
405 XPC_DEACTIVATE_PARTITION(part, part->sn.uv.reason); in xpc_process_activate_IRQ_rcvd_uv()
426 struct xpc_partition_uv *part_uv = &part->sn.uv; in xpc_handle_activate_mq_msg_uv()
676 struct xpc_partition_uv *part_uv = &part->sn.uv; in xpc_send_activate_IRQ_uv()
761 struct xpc_partition_uv *part_uv = &part->sn.uv; in xpc_send_local_activate_IRQ_uv()
815 &xpc_partitions[sn_partition_id].sn.uv.cached_heartbeat; in xpc_setup_rsvd_page_uv()
[all …]
Dxpc.h101 } uv; member
583 struct xpc_channel_uv uv; member
778 struct xpc_partition_uv uv; member
/linux-4.1.27/drivers/regulator/
Dtps65912-regulator.c159 unsigned long uv; in tps65912_vsel_to_uv_range0() local
161 uv = ((vsel * 12500) + 500000); in tps65912_vsel_to_uv_range0()
162 return uv; in tps65912_vsel_to_uv_range0()
167 unsigned long uv; in tps65912_vsel_to_uv_range1() local
169 uv = ((vsel * 12500) + 700000); in tps65912_vsel_to_uv_range1()
170 return uv; in tps65912_vsel_to_uv_range1()
175 unsigned long uv; in tps65912_vsel_to_uv_range2() local
177 uv = ((vsel * 25000) + 500000); in tps65912_vsel_to_uv_range2()
178 return uv; in tps65912_vsel_to_uv_range2()
183 unsigned long uv; in tps65912_vsel_to_uv_range3() local
[all …]
Dfixed-helper.c30 struct regulator_consumer_supply *supplies, int num_supplies, int uv) in regulator_register_always_on() argument
44 data->cfg.microvolts = uv; in regulator_register_always_on()
Drk808-regulator.c100 static int rk808_set_suspend_voltage(struct regulator_dev *rdev, int uv) in rk808_set_suspend_voltage() argument
103 int sel = regulator_map_voltage_linear_range(rdev, uv, uv); in rk808_set_suspend_voltage()
/linux-4.1.27/arch/arm/boot/dts/
Dcros-adc-thermistors.dtsi18 pullup-uv = <1800000>;
25 pullup-uv = <1800000>;
32 pullup-uv = <1800000>;
39 pullup-uv = <1800000>;
Dexynos3250-monk.dts128 pullup-uv = <1800000>;
136 pullup-uv = <1800000>;
Dexynos3250-rinato.dts119 pullup-uv = <1800000>;
127 pullup-uv = <1800000>;
Dexynos4412-trats2.dts917 pullup-uv = <1800000>; /* VCC_1.8V_AP */
925 pullup-uv = <1800000>; /* VCC_1.8V_AP */
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dvolt.h6 u32 uv; member
16 int (*set)(struct nvkm_volt *, u32 uv);
22 u32 uv; member
/linux-4.1.27/include/linux/regulator/
Dfixed.h64 struct regulator_consumer_supply *supplies, int num_supplies, int uv);
67 struct regulator_consumer_supply *supplies, int num_supplies, int uv) in regulator_register_always_on() argument
/linux-4.1.27/Documentation/devicetree/bindings/hwmon/
Dntc_thermistor.txt20 - "pullup-uv" Pull up voltage in micro volts
37 pullup-uv = <1800000>;
/linux-4.1.27/arch/ia64/uv/kernel/
Dmachvec.c9 #define MACHVEC_PLATFORM_NAME uv
/linux-4.1.27/arch/x86/platform/
DMakefile13 obj-y += uv/
/linux-4.1.27/net/unix/
Ddiag.c27 struct unix_diag_vfs uv = { in sk_diag_dump_vfs() local
32 return nla_put(nlskb, UNIX_DIAG_VFS, sizeof(uv), &uv); in sk_diag_dump_vfs()
/linux-4.1.27/arch/ia64/
DMakefile55 core-$(CONFIG_IA64_SGI_UV) += arch/ia64/uv/
61 …64_GENERIC) += arch/ia64/hp/common/ arch/ia64/hp/zx1/ arch/ia64/hp/sim/ arch/ia64/sn/ arch/ia64/uv/
/linux-4.1.27/Documentation/devicetree/bindings/regulator/
Dpwm-regulator.txt7 brackets, first one is voltage(unit: uv), the next is duty(unit: percent)
/linux-4.1.27/fs/fuse/
Dinode.c479 unsigned uv; in parse_fuse_opt() local
503 if (fuse_match_uint(&args[0], &uv)) in parse_fuse_opt()
505 d->user_id = make_kuid(current_user_ns(), uv); in parse_fuse_opt()
512 if (fuse_match_uint(&args[0], &uv)) in parse_fuse_opt()
514 d->group_id = make_kgid(current_user_ns(), uv); in parse_fuse_opt()
/linux-4.1.27/drivers/hwmon/
Dntc_thermistor.c309 static int get_ohm_of_thermistor(struct ntc_data *data, unsigned int uv) in get_ohm_of_thermistor() argument
312 u64 mv = uv / 1000; in get_ohm_of_thermistor()
Dlm93.c378 const long uv = mv * 1000; in LM93_IN_TO_REG() local
387 u8 result = ((uv - intercept + (slope/2)) / slope); in LM93_IN_TO_REG()
/linux-4.1.27/drivers/media/pci/ivtv/
Divtv-yuv.c157 int i, y, uv; in ivtv_yuv_filter_check() local
159 for (i = 0, y = 16, uv = 4; i < 16; i++, y += 24, uv += 12) { in ivtv_yuv_filter_check()
161 (read_dec(IVTV_YUV_VERTICAL_FILTER_OFFSET + uv) != i << 16)) { in ivtv_yuv_filter_check()
/linux-4.1.27/Documentation/devicetree/bindings/arm/samsung/
Dexynos-adc.txt92 pullup-uv = <1800000>;
/linux-4.1.27/drivers/media/usb/gspca/
Dsonixj.c1872 const s16 *uv; in setcolors() local
1885 uv = uv_mi0360b; in setcolors()
1887 uv = uv_com; in setcolors()
1889 v = uv[i] * colors / COLORS_DEF; in setcolors()
/linux-4.1.27/Documentation/networking/
Dpacket_mmap.txt17 Ulisses Alonso Camaró <uaca@i.hate.spam.alumni.uv.es>
261 see http://pusa.uv.es/~ulisses/packet_mmap/packet_mmap.pre-2.4.26_2.6.5.txt