Home
last modified time | relevance | path

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

12

/linux/drivers/acpi/
H A 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 = sysfs_emit(buf, "%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 …]
H A Dfan_hwmon.c23 if (fan->fps[i].control == control) in acpi_fan_get_current_fps()
24 return &fan->fps[i]; in acpi_fan_get_current_fps()
76 if (acpi_fan_power_valid(fan->fps[i].power)) in acpi_fan_hwmon_is_visible()
93 struct acpi_fan_fps *fps; in acpi_fan_hwmon_read() local
114 fps = acpi_fan_get_current_fps(fan, fst.control); in acpi_fan_hwmon_read()
115 if (!fps) in acpi_fan_hwmon_read()
118 if (fps->speed > LONG_MAX) in acpi_fan_hwmon_read()
121 *val = fps->speed; in acpi_fan_hwmon_read()
129 fps = acpi_fan_get_current_fps(fan, fst.control); in acpi_fan_hwmon_read()
130 if (!fps) in acpi_fan_hwmon_read()
[all …]
/linux/arch/arm64/boot/dts/nvidia/
H A Dtegra210-p2180.dtsi138 fps {
140 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
141 maxim,suspend-fps-time-period-us = <1280>;
145 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
146 maxim,suspend-fps-time-period-us = <1280>;
150 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
162 function = "fps-out";
164 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
165 maxim,active-fps-power-up-slot = <7>;
166 maxim,active-fps-power-down-slot = <0>;
[all …]
H A Dtegra194-p3668.dtsi154 fps {
156 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
157 maxim,shutdown-fps-time-period-us = <640>;
161 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
162 maxim,shutdown-fps-time-period-us = <640>;
167 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
168 maxim,shutdown-fps-time-period-us = <640>;
180 function = "fps-out";
181 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
186 function = "fps-out";
[all …]
H A Dtegra210-p3450-0000.dts197 fps {
199 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
200 maxim,suspend-fps-time-period-us = <5120>;
204 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
205 maxim,suspend-fps-time-period-us = <5120>;
209 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
221 function = "fps-out";
223 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
224 maxim,active-fps-power-up-slot = <0>;
225 maxim,active-fps-power-down-slot = <7>;
[all …]
H A Dtegra186-p3310.dtsi219 fps {
221 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
222 maxim,shutdown-fps-time-period-us = <640>;
226 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
227 maxim,shutdown-fps-time-period-us = <640>;
231 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
232 maxim,shutdown-fps-time-period-us = <640>;
244 function = "fps-out";
245 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
250 function = "fps-out";
[all …]
H A Dtegra194-p2888.dtsi202 fps {
204 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
205 maxim,shutdown-fps-time-period-us = <640>;
209 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
210 maxim,shutdown-fps-time-period-us = <640>;
215 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
216 maxim,shutdown-fps-time-period-us = <640>;
228 function = "fps-out";
229 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
234 function = "fps-out";
[all …]
H A Dtegra186-p3509-0000+p3636-0001.dts862 fps {
864 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
865 maxim,shutdown-fps-time-period-us = <640>;
869 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
870 maxim,shutdown-fps-time-period-us = <640>;
874 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
875 maxim,shutdown-fps-time-period-us = <640>;
887 function = "fps-out";
888 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
893 function = "fps-out";
[all …]
H A Dtegra210-p2894.dtsi1347 fps {
1353 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
1358 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
1364 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
1383 function = "fps-out";
1385 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
1386 maxim,active-fps-power-up-slot = <7>;
1387 maxim,active-fps-power-down-slot = <0>;
1392 function = "fps-out";
1394 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
[all …]
/linux/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()
H A Dtm-signal-context-chk-gpr.c35 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v…
H A Dtm-signal-context-chk-vmx.c36 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v…
H A Dtm-signal-context-chk-vsx.c37 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v…
/linux/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/drivers/media/pci/solo6x10/
H A 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()
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()
1019 cp->timeperframe.denominator = solo_enc->solo_dev->fps; in solo_g_parm()
1027 static inline int calc_interval(u8 fps, u32 n, u32 d) in calc_interval() argument
1031 if (d == fps) in calc_interval()
[all …]
H A Dsolo6x10-disp.c266 solo_dev->fps = 30; in solo_disp_init()
269 solo_dev->fps = 25; in solo_disp_init()
/linux/drivers/staging/fbtft/
H A Dfbtft-core.c230 long fps, throughput; in fbtft_update_display() local
282 fps = ktime_us_delta(ts_start, par->update_time); in fbtft_update_display()
284 fps = fps ? 1000000 / fps : 0; in fbtft_update_display()
292 throughput, fps); in fbtft_update_display()
506 unsigned int fps = display->fps; in fbtft_framebuffer_alloc() local
521 if (!fps) in fbtft_framebuffer_alloc()
522 fps = 20; in fbtft_framebuffer_alloc()
532 if (pdata->fps) in fbtft_framebuffer_alloc()
533 fps = pdata->fps; in fbtft_framebuffer_alloc()
598 fbdefio->delay = HZ / fps; in fbtft_framebuffer_alloc()
[all …]
/linux/sound/drivers/
H A Dmts64.c61 u8 fps; member
345 * 0 24 fps
346 * 1 25 fps
347 * 2 29.97 fps
348 * 3 30 fps (Drop-frame)
349 * 4 30 fps
356 static const u8 fps[5] = { MTS64_CMD_SMPTE_FPS_24, in mts64_smpte_start() local
369 mts64_write_command(p, fps[idx]); in mts64_smpte_start()
458 mts->fps); in snd_mts64_ctl_smpte_switch_put()
596 uctl->value.enumerated.item[0] = mts->fps; in snd_mts64_ctl_smpte_fps_get()
[all...]
/linux/drivers/media/v4l2-core/
H A Dv4l2-dv-timings.c302 u32 fps; in v4l2_print_dv_timings() local
312 fps = (htot * vtot) > 0 ? div_u64((100 * (u64)bt->pixelclock), in v4l2_print_dv_timings()
320 fps / 100, fps % 100, htot, vtot); in v4l2_print_dv_timings()
412 u32 htot, vtot, fps; in v4l2_calc_timeperframe() local
426 fps = (htot * vtot) > 0 ? div_u64((100 * pclk), (htot * vtot)) : 0; in v4l2_calc_timeperframe()
427 if (!fps) in v4l2_calc_timeperframe()
430 rational_best_approximation(fps, 100, fps, 100, &n, &d); in v4l2_calc_timeperframe()
/linux/drivers/media/i2c/
H A Dthp7312.c173 u32 fps; member
325 thp7312_find_rate(const struct thp7312_mode_info *mode, unsigned int fps, in thp7312_find_rate() argument
335 for (rate = mode->rates; rate->fps && best_delta; ++rate) { in thp7312_find_rate()
336 unsigned int delta = abs(rate->fps - fps); in thp7312_find_rate()
719 for (rate = mode->rates; rate->fps; ++rate, --index) { in thp7312_enum_frame_interval()
722 fie->interval.denominator = rate->fps; in thp7312_enum_frame_interval()
760 interval->denominator = mode->rates[0].fps; in thp7312_set_fmt()
777 unsigned int fps; in thp7312_set_frame_interval() local
780 fps = fi->interval.numerator in thp7312_set_frame_interval()
786 rate = thp7312_find_rate(mode, fps, true); in thp7312_set_frame_interval()
[all …]
/linux/drivers/media/usb/hdpvr/
H A Dhdpvr-control.c70 vidinf->fps = dev->usbc_buf[4]; in get_video_info()
71 vidinf->valid = vidinf->width && vidinf->height && vidinf->fps; in get_video_info()
H A Dhdpvr-video.c299 vidinf.height, vidinf.fps); in hdpvr_start_streaming()
699 interlaced = vid_info.fps <= 30; in vidioc_query_dv_timings()
704 unsigned fps; in vidioc_query_dv_timings() local
708 fps = (unsigned)bt->pixelclock / (hsize * vsize); in vidioc_query_dv_timings()
712 (fps != vid_info.fps && fps + 1 != vid_info.fps)) in vidioc_query_dv_timings()
/linux/drivers/accel/amdxdna/
H A Daie2_solver.h33 u32 fps; /* Frames per second */ member
/linux/sound/soc/sof/
H A Dipc4-fw-reg.h131 u32 fps; member
/linux/drivers/media/platform/qcom/venus/
H A Dvenc.c397 u64 us_per_frame, fps; in venc_s_parm() local
416 fps = USEC_PER_SEC / (u32)us_per_frame; in venc_s_parm()
417 fps = min(VENUS_MAX_FPS, fps); in venc_s_parm()
420 inst->fps = fps; in venc_s_parm()
684 frate.framerate = inst->fps * (1 << 16); in venc_set_properties()
1456 inst->fps = 15; in venc_inst_init()

12