Home
last modified time | relevance | path

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

12345

/Linux-v6.1/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 += scnprintf(&buf[count], PAGE_SIZE - count, "%lld:", fps->trip_point); in show_state()
34 if (fps->speed == 0xFFFFFFFF) in show_state()
37 count += scnprintf(&buf[count], PAGE_SIZE - count, "%lld:", fps->speed); in show_state()
39 if (fps->noise_level == 0xFFFFFFFF) in show_state()
42 count += scnprintf(&buf[count], PAGE_SIZE - 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()
284 fan->fps = devm_kcalloc(&device->dev, in acpi_fan_get_fps()
287 if (!fan->fps) { in acpi_fan_get_fps()
294 struct acpi_buffer fps = { offsetof(struct acpi_fan_fps, name), in acpi_fan_get_fps() local
295 &fan->fps[i] }; in acpi_fan_get_fps()
297 &format, &fps); in acpi_fan_get_fps()
305 sort(fan->fps, fan->fps_count, sizeof(*fan->fps), in acpi_fan_get_fps()
/Linux-v6.1/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-v6.1/arch/arm64/boot/dts/nvidia/
Dtegra210-p2180.dtsi61 function = "fps-out";
63 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
64 maxim,active-fps-power-up-slot = <7>;
65 maxim,active-fps-power-down-slot = <0>;
70 function = "fps-out";
72 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
87 fps {
89 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
90 maxim,suspend-fps-time-period-us = <1280>;
94 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
[all …]
Dtegra194-p3668.dtsi132 function = "fps-out";
133 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
138 function = "fps-out";
139 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
144 function = "fps-out";
145 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
167 fps {
169 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
170 maxim,shutdown-fps-time-period-us = <640>;
174 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
[all …]
Dtegra210-p3450-0000.dts197 function = "fps-out";
199 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
200 maxim,active-fps-power-up-slot = <0>;
201 maxim,active-fps-power-down-slot = <7>;
206 function = "fps-out";
208 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
209 maxim,active-fps-power-up-slot = <0>;
210 maxim,active-fps-power-down-slot = <7>;
215 function = "fps-out";
217 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
[all …]
Dtegra186-p3310.dtsi246 function = "fps-out";
247 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
252 function = "fps-out";
253 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
258 function = "fps-out";
259 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
287 fps {
289 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
290 maxim,shutdown-fps-time-period-us = <640>;
294 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
[all …]
Dtegra194-p2888.dtsi158 function = "fps-out";
159 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
164 function = "fps-out";
165 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
170 function = "fps-out";
171 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
193 fps {
195 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
196 maxim,shutdown-fps-time-period-us = <640>;
200 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
[all …]
Dtegra210-smaug.dts1405 function = "fps-out";
1407 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
1408 maxim,active-fps-power-up-slot = <4>;
1409 maxim,active-fps-power-down-slot = <2>;
1424 fps {
1426 maxim,shutdown-fps-time-period-us = <5120>;
1427 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
1431 maxim,shutdown-fps-time-period-us = <5120>;
1432 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
1437 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
[all …]
Dtegra186-p3509-0000+p3636-0001.dts446 function = "fps-out";
447 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
452 function = "fps-out";
453 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
458 function = "fps-out";
459 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
487 fps {
489 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
490 maxim,shutdown-fps-time-period-us = <640>;
494 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
[all …]
/Linux-v6.1/drivers/staging/media/atomisp/i2c/
Dov2680.h148 int fps; member
761 .fps = 30,
774 .fps = 30,
786 .fps = 30,
799 .fps = 30,
812 .fps = 30,
825 .fps = 60,
838 .fps = 60,
851 .fps = 60,
864 .fps = 60,
[all …]
Dgc2235.h135 int fps; member
539 .fps = 30,
555 .fps = 30,
570 .fps = 30,
596 .fps = 30,
611 .fps = 30,
626 .fps = 30,
647 .fps = 30,
662 .fps = 30,
Dov2722.h178 int fps; member
1111 .fps = 30,
1127 .fps = 30,
1144 .fps = 30,
1169 .fps = 30,
1185 .fps = 30,
1202 .fps = 30,
1222 .fps = 30,
1238 .fps = 30,
1254 .fps = 30,
/Linux-v6.1/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-v6.1/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-v6.1/drivers/staging/media/atomisp/i2c/ov5693/
Dov5693.h197 int fps; member
1109 .fps = 30,
1123 .fps = 30,
1137 .fps = 30,
1151 .fps = 30,
1175 .fps = 30,
1189 .fps = 30,
1203 .fps = 30,
1217 .fps = 30,
1231 .fps = 30,
[all …]
/Linux-v6.1/drivers/staging/media/atomisp/pci/
Datomisp_v4l2.c116 .fps = ISP_FREQ_RULE_ANY,
123 .fps = ISP_FREQ_RULE_ANY,
130 .fps = ISP_FREQ_RULE_ANY,
137 .fps = ISP_FREQ_RULE_ANY,
144 .fps = ISP_FREQ_RULE_ANY,
163 .fps = ISP_FREQ_RULE_ANY,
170 .fps = ISP_FREQ_RULE_ANY,
177 .fps = ISP_FREQ_RULE_ANY,
184 .fps = ISP_FREQ_RULE_ANY,
191 .fps = ISP_FREQ_RULE_ANY,
[all …]
/Linux-v6.1/drivers/mfd/
Dmax77620.c602 int fps; in max77620_i2c_suspend() local
605 for (fps = 0; fps < MAX77620_FPS_COUNT; fps++) { in max77620_i2c_suspend()
606 if (chip->suspend_fps_period[fps] < 0) in max77620_i2c_suspend()
609 ret = max77620_set_fps_period(chip, fps, in max77620_i2c_suspend()
610 chip->suspend_fps_period[fps]); in max77620_i2c_suspend()
653 int fps; in max77620_i2c_resume() local
655 for (fps = 0; fps < MAX77620_FPS_COUNT; fps++) { in max77620_i2c_resume()
656 if (chip->shutdown_fps_period[fps] < 0) in max77620_i2c_resume()
659 ret = max77620_set_fps_period(chip, fps, in max77620_i2c_resume()
660 chip->shutdown_fps_period[fps]); in max77620_i2c_resume()
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/arch/sparc/kernel/
Dptrace_32.c347 struct fps { struct
365 struct fps __user *fps; in arch_ptrace() local
370 fps = (struct fps __user *) addr; in arch_ptrace()
393 fps); in arch_ptrace()
401 fps); in arch_ptrace()
/Linux-v6.1/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-v6.1/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 …]

12345