Home
last modified time | relevance | path

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

12345

/linux-6.15/drivers/acpi/
H A Dfan_attr.c24 if (fps->control == 0xFFFFFFFF || fps->control > 100) in show_state()
29 if (fps->trip_point == 0xFFFFFFFF || fps->trip_point > 9) in show_state()
34 if (fps->speed == 0xFFFFFFFF) in show_state()
39 if (fps->noise_level == 0xFFFFFFFF) in show_state()
44 if (fps->power == 0xFFFFFFFF) in show_state()
101 struct acpi_fan_fps *fps = &fan->fps[i]; in acpi_fan_create_attributes() local
104 sysfs_attr_init(&fps->dev_attr.attr); in acpi_fan_create_attributes()
105 fps->dev_attr.show = show_state; in acpi_fan_create_attributes()
106 fps->dev_attr.store = NULL; in acpi_fan_create_attributes()
107 fps->dev_attr.attr.name = fps->name; in acpi_fan_create_attributes()
[all …]
H A Dfan_hwmon.c27 if (fan->fps[i].control == control) in acpi_fan_get_current_fps()
28 return &fan->fps[i]; in acpi_fan_get_current_fps()
80 if (fan->fps[i].power != FAN_POWER_UNAVAILABLE) in acpi_fan_hwmon_is_visible()
98 struct acpi_fan_fps *fps; in acpi_fan_hwmon_read() local
119 fps = acpi_fan_get_current_fps(fan, fst.control); in acpi_fan_hwmon_read()
120 if (!fps) in acpi_fan_hwmon_read()
123 if (fps->speed > LONG_MAX) in acpi_fan_hwmon_read()
126 *val = fps->speed; in acpi_fan_hwmon_read()
135 if (!fps) in acpi_fan_hwmon_read()
138 if (fps->power == FAN_POWER_UNAVAILABLE) in acpi_fan_hwmon_read()
[all …]
H A 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()
289 fan->fps = devm_kcalloc(&device->dev, in acpi_fan_get_fps()
292 if (!fan->fps) { in acpi_fan_get_fps()
299 struct acpi_buffer fps = { offsetof(struct acpi_fan_fps, name), in acpi_fan_get_fps() local
300 &fan->fps[i] }; in acpi_fan_get_fps()
302 &format, &fps); in acpi_fan_get_fps()
310 sort(fan->fps, fan->fps_count, sizeof(*fan->fps), in acpi_fan_get_fps()
/linux-6.15/drivers/gpu/drm/sti/
H A 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()
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()
88 fps->last_field_counter = fps->curr_field_counter; in sti_plane_update_fps()
[all …]
/linux-6.15/arch/arm64/boot/dts/nvidia/
H A Dtegra210-p2180.dtsi130 fps {
133 maxim,suspend-fps-time-period-us = <1280>;
138 maxim,suspend-fps-time-period-us = <1280>;
154 function = "fps-out";
156 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
157 maxim,active-fps-power-up-slot = <7>;
158 maxim,active-fps-power-down-slot = <0>;
163 function = "fps-out";
165 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
314 maxim,active-fps-power-up-slot = <7>;
[all …]
H A Dtegra194-p3668.dtsi151 fps {
153 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
154 maxim,shutdown-fps-time-period-us = <640>;
159 maxim,shutdown-fps-time-period-us = <640>;
165 maxim,shutdown-fps-time-period-us = <640>;
177 function = "fps-out";
178 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
183 function = "fps-out";
184 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
189 function = "fps-out";
[all …]
H A Dtegra210-p3450-0000.dts191 fps {
215 function = "fps-out";
218 maxim,active-fps-power-up-slot = <0>;
224 function = "fps-out";
227 maxim,active-fps-power-up-slot = <0>;
233 function = "fps-out";
236 maxim,active-fps-power-up-slot = <4>;
273 maxim,active-fps-power-up-slot = <1>;
287 maxim,active-fps-power-up-slot = <5>;
301 maxim,active-fps-power-up-slot = <2>;
[all …]
H A Dtegra186-p3310.dtsi213 fps {
215 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
216 maxim,shutdown-fps-time-period-us = <640>;
221 maxim,shutdown-fps-time-period-us = <640>;
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";
245 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
250 function = "fps-out";
[all …]
H A Dtegra194-p2888.dtsi200 fps {
202 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
203 maxim,shutdown-fps-time-period-us = <640>;
208 maxim,shutdown-fps-time-period-us = <640>;
214 maxim,shutdown-fps-time-period-us = <640>;
226 function = "fps-out";
227 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
232 function = "fps-out";
233 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
238 function = "fps-out";
[all …]
H A Dtegra210-smaug.dts1461 fps {
1491 function = "fps-out";
1494 maxim,active-fps-power-up-slot = <4>;
1523 maxim,active-fps-power-up-slot = <1>;
1534 maxim,active-fps-power-up-slot = <5>;
1545 maxim,active-fps-power-up-slot = <2>;
1556 maxim,active-fps-power-up-slot = <3>;
1568 maxim,active-fps-power-up-slot = <0>;
1579 maxim,active-fps-power-up-slot = <0>;
1592 maxim,active-fps-power-up-slot = <0>;
[all …]
/linux-6.15/tools/testing/selftests/powerpc/tm/
H A 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.15/Documentation/devicetree/bindings/pinctrl/
H A Dpinctrl-max77620.txt46 - maxim,active-fps-source: FPS source for the GPIOs to get
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
117 function = "fps-out";
118 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
123 function = "fps-out";
[all …]
/linux-6.15/drivers/staging/media/atomisp/i2c/
H A Dgc2235.h116 int fps; member
516 .fps = 30,
529 .fps = 30,
541 .fps = 30,
564 .fps = 30,
576 .fps = 30,
588 .fps = 30,
606 .fps = 30,
618 .fps = 30,
H A Dov2722.h164 int fps; member
1092 .fps = 30,
1105 .fps = 30,
1119 .fps = 30,
1141 .fps = 30,
1154 .fps = 30,
1168 .fps = 30,
1185 .fps = 30,
1198 .fps = 30,
1211 .fps = 30,
/linux-6.15/drivers/mfd/
H A 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.15/drivers/media/usb/pwc/
H A 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.15/drivers/media/platform/qcom/iris/
H A Diris_vpu3.c89 u32 fps = DEFAULT_FPS; in iris_vpu3_calculate_frequency() local
95 mbs_per_second = mbpf * fps; in iris_vpu3_calculate_frequency()
97 fw_cycles = fps * caps->mb_cycles_fw; in iris_vpu3_calculate_frequency()
98 fw_vpp_cycles = fps * caps->mb_cycles_fw_vpp; in iris_vpu3_calculate_frequency()
108 vsp_cycles = fps * data_size * 8; in iris_vpu3_calculate_frequency()
H A Diris_vpu2.c15 u32 fps = DEFAULT_FPS; in iris_vpu2_calc_freq() local
21 mbs_per_second = mbpf * fps; in iris_vpu2_calc_freq()
30 vsp_freq += ((fps * data_size * 8) * 10) / 7; in iris_vpu2_calc_freq()
/linux-6.15/Documentation/devicetree/bindings/mfd/
H A 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.15/drivers/staging/media/atomisp/pci/
H A Datomisp_v4l2.c91 .fps = ISP_FREQ_RULE_ANY,
98 .fps = ISP_FREQ_RULE_ANY,
105 .fps = ISP_FREQ_RULE_ANY,
124 .fps = ISP_FREQ_RULE_ANY,
131 .fps = ISP_FREQ_RULE_ANY,
138 .fps = ISP_FREQ_RULE_ANY,
156 .fps = 30,
163 .fps = 30,
170 .fps = 45,
177 .fps = 45,
[all …]
/linux-6.15/Documentation/devicetree/bindings/regulator/
H A 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.15/arch/sparc/kernel/
H A 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.15/arch/x86/kernel/fpu/
H A Dcore.c266 struct fpstate *fps = gfpu->fpstate; in fpu_free_guest_fpstate() local
268 if (!fps) in fpu_free_guest_fpstate()
271 if (WARN_ON_ONCE(!fps->is_valloc || !fps->is_guest || fps->in_use)) in fpu_free_guest_fpstate()
275 vfree(fps); in fpu_free_guest_fpstate()
326 struct fpstate *fps = current->thread.fpu.fpstate; in fpu_sync_guest_vmexit_xfd_state() local
330 rdmsrl(MSR_IA32_XFD, fps->xfd); in fpu_sync_guest_vmexit_xfd_state()
331 __this_cpu_write(xfd_state, fps->xfd); in fpu_sync_guest_vmexit_xfd_state()
/linux-6.15/drivers/media/pci/solo6x10/
H A Dsolo6x10-v4l2-enc.c195 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()
1000 fintv->stepwise.min.denominator = solo_dev->fps; in solo_enum_frameintervals()
1003 fintv->stepwise.max.denominator = solo_dev->fps; in solo_enum_frameintervals()
1006 fintv->stepwise.step.denominator = solo_dev->fps; in solo_enum_frameintervals()
1031 if (d == fps) in calc_interval()
1033 n *= fps; in calc_interval()
1034 return min(15U, n / d + (n % d >= (fps >> 1))); in calc_interval()
1042 u8 fps = solo_enc->solo_dev->fps; in solo_s_parm() local
[all …]
/linux-6.15/drivers/media/i2c/
H A Dmt9v111.c134 unsigned int fps; member
449 unsigned int fps = tpf->numerator ? in mt9v111_calc_frame_rate() local
473 fps = mt9v111_frame_intervals[idx]; in mt9v111_calc_frame_rate()
504 diff = abs(fps - t_fps); in mt9v111_calc_frame_rate()
728 unsigned int fps = tpf->numerator ? in mt9v111_set_frame_interval() local
750 if (mt9v111->fps == fps) { in mt9v111_set_frame_interval()
767 if (fps > max_fps) { in mt9v111_set_frame_interval()
774 mt9v111->fps = fps; in mt9v111_set_frame_interval()
799 tpf->denominator = mt9v111->fps; in mt9v111_get_frame_interval()
1206 mt9v111->fps = 15; in mt9v111_probe()
[all …]

12345