Home
last modified time | relevance | path

Searched refs:fps (Results 1 – 25 of 110) sorted by relevance

12345

/linux-6.6.21/drivers/acpi/
Dfan_attr.c21 struct acpi_fan_fps *fps = container_of(attr, struct acpi_fan_fps, dev_attr); in show_state() local
24 if (fps->control == 0xFFFFFFFF || fps->control > 100) in show_state()
27 count = scnprintf(buf, PAGE_SIZE, "%lld:", fps->control); in show_state()
29 if (fps->trip_point == 0xFFFFFFFF || fps->trip_point > 9) in show_state()
32 count += sysfs_emit_at(buf, count, "%lld:", fps->trip_point); in show_state()
34 if (fps->speed == 0xFFFFFFFF) in show_state()
37 count += sysfs_emit_at(buf, count, "%lld:", fps->speed); in show_state()
39 if (fps->noise_level == 0xFFFFFFFF) in show_state()
42 count += sysfs_emit_at(buf, count, "%lld:", fps->noise_level * 100); in show_state()
44 if (fps->power == 0xFFFFFFFF) in show_state()
[all …]
Dfan_core.c101 if (fst.control == fan->fps[i].control) in fan_get_state_acpi4()
171 value = fan->fps[state].control; in fan_set_state_acpi4()
285 fan->fps = devm_kcalloc(&device->dev, in acpi_fan_get_fps()
288 if (!fan->fps) { in acpi_fan_get_fps()
295 struct acpi_buffer fps = { offsetof(struct acpi_fan_fps, name), in acpi_fan_get_fps() local
296 &fan->fps[i] }; in acpi_fan_get_fps()
298 &format, &fps); in acpi_fan_get_fps()
306 sort(fan->fps, fan->fps_count, sizeof(*fan->fps), in acpi_fan_get_fps()
/linux-6.6.21/drivers/gpu/drm/sti/
Dsti_plane.c48 struct sti_fps_info *fps; in sti_plane_update_fps() local
54 fps = &plane->fps_info; in sti_plane_update_fps()
57 fps->curr_field_counter++; in sti_plane_update_fps()
63 fps->curr_frame_counter++; in sti_plane_update_fps()
64 ms_since_last = ktime_to_ms(ktime_sub(now, fps->last_timestamp)); in sti_plane_update_fps()
65 num_frames = fps->curr_frame_counter - fps->last_frame_counter; in sti_plane_update_fps()
70 fps->last_timestamp = now; in sti_plane_update_fps()
71 fps->last_frame_counter = fps->curr_frame_counter; in sti_plane_update_fps()
85 if (fps->curr_field_counter) { in sti_plane_update_fps()
87 num_fields = fps->curr_field_counter - fps->last_field_counter; in sti_plane_update_fps()
[all …]
/linux-6.6.21/arch/arm64/boot/dts/nvidia/
Dtegra210-p2180.dtsi72 fps {
74 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
75 maxim,suspend-fps-time-period-us = <1280>;
79 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
80 maxim,suspend-fps-time-period-us = <1280>;
84 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
96 function = "fps-out";
98 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
99 maxim,active-fps-power-up-slot = <7>;
100 maxim,active-fps-power-down-slot = <0>;
[all …]
Dtegra194-p3668.dtsi124 fps {
126 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
127 maxim,shutdown-fps-time-period-us = <640>;
131 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
132 maxim,shutdown-fps-time-period-us = <640>;
137 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
138 maxim,shutdown-fps-time-period-us = <640>;
150 function = "fps-out";
151 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
156 function = "fps-out";
[all …]
Dtegra210-p3450-0000.dts191 fps {
193 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
194 maxim,suspend-fps-time-period-us = <5120>;
198 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
199 maxim,suspend-fps-time-period-us = <5120>;
203 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
215 function = "fps-out";
217 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
218 maxim,active-fps-power-up-slot = <0>;
219 maxim,active-fps-power-down-slot = <7>;
[all …]
Dtegra186-p3310.dtsi213 fps {
215 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
216 maxim,shutdown-fps-time-period-us = <640>;
220 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
221 maxim,shutdown-fps-time-period-us = <640>;
225 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
226 maxim,shutdown-fps-time-period-us = <640>;
238 function = "fps-out";
239 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
244 function = "fps-out";
[all …]
Dtegra194-p2888.dtsi150 fps {
152 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
153 maxim,shutdown-fps-time-period-us = <640>;
157 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
158 maxim,shutdown-fps-time-period-us = <640>;
163 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
164 maxim,shutdown-fps-time-period-us = <640>;
176 function = "fps-out";
177 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
182 function = "fps-out";
[all …]
Dtegra210-smaug.dts1416 fps {
1418 maxim,shutdown-fps-time-period-us = <5120>;
1419 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
1423 maxim,shutdown-fps-time-period-us = <5120>;
1424 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
1429 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
1446 function = "fps-out";
1448 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
1449 maxim,active-fps-power-up-slot = <4>;
1450 maxim,active-fps-power-down-slot = <2>;
[all …]
Dtegra186-p3509-0000+p3636-0001.dts855 fps {
857 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
858 maxim,shutdown-fps-time-period-us = <640>;
862 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
863 maxim,shutdown-fps-time-period-us = <640>;
867 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
868 maxim,shutdown-fps-time-period-us = <640>;
880 function = "fps-out";
881 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
886 function = "fps-out";
[all …]
/linux-6.6.21/tools/testing/selftests/powerpc/tm/
Dtm-signal-context-chk-fpu.c35 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v…
38 static double fps[] = { variable
55 fail = (ucp->uc_mcontext.fp_regs[FPR14 + i] != fps[i]); in signal_usr1()
59 FPR14 + i, ucp->uc_mcontext.fp_regs[FPR14 + i], fps[i]); in signal_usr1()
65 fail = (tm_ucp->uc_mcontext.fp_regs[FPR14 + i] != fps[NV_FPU_REGS + i]); in signal_usr1()
69 FPR14 + i, tm_ucp->uc_mcontext.fp_regs[FPR14 + i], fps[NV_FPU_REGS + i]); in signal_usr1()
100 rc = tm_signal_self_context_load(pid, NULL, fps, NULL, NULL); in tm_signal_context_chk_fpu()
/linux-6.6.21/Documentation/devicetree/bindings/pinctrl/
Dpinctrl-max77620.txt38 gpio, lpm-control-in, fps-out, 32k-out, sd0-dvs-in, sd1-dvs-in,
46 - maxim,active-fps-source: FPS source for the GPIOs to get
64 - maxim,active-fps-power-up-slot: Sequencing event slot number on which
71 - maxim,active-fps-power-down-slot: Sequencing event slot number on which
78 - maxim,suspend-fps-source: This is same as property
79 "maxim,active-fps-source" but value
83 - maxim,suspend-fps-power-up-slot: This is same as property
84 "maxim,active-fps-power-up-slot" but
91 - maxim,suspend-fps-power-down-slot: This is same as property
92 "maxim,active-fps-power-down-slot" but
[all …]
/linux-6.6.21/drivers/staging/media/atomisp/i2c/ov5693/
Dov5693.h197 int fps; member
1105 .fps = 30,
1116 .fps = 30,
1127 .fps = 30,
1138 .fps = 30,
1159 .fps = 30,
1170 .fps = 30,
1181 .fps = 30,
1192 .fps = 30,
1203 .fps = 30,
[all …]
/linux-6.6.21/drivers/staging/media/atomisp/i2c/
Dgc2235.h132 int fps; member
532 .fps = 30,
545 .fps = 30,
557 .fps = 30,
580 .fps = 30,
592 .fps = 30,
604 .fps = 30,
622 .fps = 30,
634 .fps = 30,
Dov2722.h175 int fps; member
1104 .fps = 30,
1117 .fps = 30,
1131 .fps = 30,
1153 .fps = 30,
1166 .fps = 30,
1180 .fps = 30,
1197 .fps = 30,
1210 .fps = 30,
1223 .fps = 30,
/linux-6.6.21/drivers/mfd/
Dmax77620.c600 int fps; in max77620_i2c_suspend() local
603 for (fps = 0; fps < MAX77620_FPS_COUNT; fps++) { in max77620_i2c_suspend()
604 if (chip->suspend_fps_period[fps] < 0) in max77620_i2c_suspend()
607 ret = max77620_set_fps_period(chip, fps, in max77620_i2c_suspend()
608 chip->suspend_fps_period[fps]); in max77620_i2c_suspend()
651 int fps; in max77620_i2c_resume() local
653 for (fps = 0; fps < MAX77620_FPS_COUNT; fps++) { in max77620_i2c_resume()
654 if (chip->shutdown_fps_period[fps] < 0) in max77620_i2c_resume()
657 ret = max77620_set_fps_period(chip, fps, in max77620_i2c_resume()
658 chip->shutdown_fps_period[fps]); in max77620_i2c_resume()
/linux-6.6.21/drivers/media/usb/pwc/
Dpwc-ctrl.c144 int fps, ret = 0; in set_video_mode_Nala() local
175 fps = frames2table[frames]; in set_video_mode_Nala()
176 pEntry = &Nala_table[size][fps]; in set_video_mode_Nala()
220 int fps, ret = 0; in set_video_mode_Timon() local
230 fps = (frames / 5) - 1; in set_video_mode_Timon()
234 pChoose = &Timon_table[size][fps][*compression]; in set_video_mode_Timon()
254 pdev->vframes = (fps + 1) * 5; in set_video_mode_Timon()
271 int fps, ret = 0; in set_video_mode_Kiara() local
281 fps = (frames / 5) - 1; in set_video_mode_Kiara()
285 pChoose = &Kiara_table[size][fps][*compression]; in set_video_mode_Kiara()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/mfd/
Dmax77620.txt63 The configuration parameters of FPS is provided through sub-node "fps"
78 -maxim,fps-event-source: u32, FPS event source like external
91 -maxim,shutdown-fps-time-period-us: u32, FPS time period in microseconds
95 -maxim,suspend-fps-time-period-us: u32, FPS time period in microseconds
146 fps {
148 maxim,shutdown-fps-time-period-us = <1280>;
149 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
153 maxim,shutdown-fps-time-period-us = <1280>;
154 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
158 maxim,shutdown-fps-time-period-us = <1280>;
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/regulator/
Dregulator-max77620.txt44 - maxim,active-fps-source: FPS source for the regulators to get
62 - maxim,active-fps-power-up-slot: Sequencing event slot number on which
69 - maxim,active-fps-power-down-slot: Sequencing event slot number on which
76 - maxim,suspend-fps-source: This is same as property
77 "maxim,active-fps-source" but value
81 - maxim,suspend-fps-power-up-slot: This is same as property
82 "maxim,active-fps-power-up-slot" but
89 - maxim,suspend-fps-power-down-slot: This is same as property
90 "maxim,active-fps-power-down-slot" but
134 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
[all …]
/linux-6.6.21/drivers/staging/media/atomisp/pci/
Datomisp_v4l2.c112 .fps = ISP_FREQ_RULE_ANY,
119 .fps = ISP_FREQ_RULE_ANY,
126 .fps = ISP_FREQ_RULE_ANY,
145 .fps = ISP_FREQ_RULE_ANY,
152 .fps = ISP_FREQ_RULE_ANY,
159 .fps = ISP_FREQ_RULE_ANY,
177 .fps = 30,
184 .fps = 30,
191 .fps = 45,
198 .fps = 45,
[all …]
/linux-6.6.21/arch/sparc/kernel/
Dptrace_32.c348 struct fps { struct
366 struct fps __user *fps; in arch_ptrace() argument
371 fps = (struct fps __user *) addr; in arch_ptrace()
394 fps); in arch_ptrace()
402 fps); in arch_ptrace()
/linux-6.6.21/arch/x86/kernel/fpu/
Dcore.c259 struct fpstate *fps = gfpu->fpstate; in fpu_free_guest_fpstate() local
261 if (!fps) in fpu_free_guest_fpstate()
264 if (WARN_ON_ONCE(!fps->is_valloc || !fps->is_guest || fps->in_use)) in fpu_free_guest_fpstate()
268 vfree(fps); in fpu_free_guest_fpstate()
319 struct fpstate *fps = current->thread.fpu.fpstate; in fpu_sync_guest_vmexit_xfd_state() local
323 rdmsrl(MSR_IA32_XFD, fps->xfd); in fpu_sync_guest_vmexit_xfd_state()
324 __this_cpu_write(xfd_state, fps->xfd); in fpu_sync_guest_vmexit_xfd_state()
/linux-6.6.21/drivers/media/pci/solo6x10/
Dsolo6x10-v4l2-enc.c146 solo_enc->bw_weight = max(solo_dev->fps / solo_enc->interval, 1); in solo_update_mode()
195 u16 fps = solo_dev->fps * 1000; in solo_update_mode() local
201 vop[22] = fps >> 4; in solo_update_mode()
202 vop[23] = ((fps << 4) & 0xf0) | 0x0c in solo_update_mode()
1002 fintv->stepwise.min.denominator = solo_dev->fps; in solo_enum_frameintervals()
1005 fintv->stepwise.max.denominator = solo_dev->fps; in solo_enum_frameintervals()
1008 fintv->stepwise.step.denominator = solo_dev->fps; in solo_enum_frameintervals()
1021 cp->timeperframe.denominator = solo_enc->solo_dev->fps; in solo_g_parm()
1029 static inline int calc_interval(u8 fps, u32 n, u32 d) in calc_interval() argument
1033 if (d == fps) in calc_interval()
[all …]
/linux-6.6.21/drivers/media/i2c/
Dmt9v111.c136 unsigned int fps; member
451 unsigned int fps = tpf->numerator ? in mt9v111_calc_frame_rate() local
469 diff = abs(fps - mt9v111_frame_intervals[i]); in mt9v111_calc_frame_rate()
475 fps = mt9v111_frame_intervals[idx]; in mt9v111_calc_frame_rate()
506 diff = abs(fps - t_fps); in mt9v111_calc_frame_rate()
729 unsigned int fps = tpf->numerator ? in mt9v111_s_frame_interval() local
744 if (mt9v111->fps == fps) { in mt9v111_s_frame_interval()
761 if (fps > max_fps) { in mt9v111_s_frame_interval()
768 mt9v111->fps = fps; in mt9v111_s_frame_interval()
785 tpf->denominator = mt9v111->fps; in mt9v111_g_frame_interval()
[all …]
/linux-6.6.21/arch/arm/boot/dts/nvidia/
Dtegra30-asus-nexus7-grouper-maxim-pmic.dtsi31 fps {
33 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
37 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
41 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;

12345