| /linux/drivers/acpi/ |
| H A D | fan_attr.c | 21 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 D | fan_hwmon.c | 23 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 …]
|
| H A D | fan_core.c | 131 if (fst.control == fan->fps[i].control) in fan_get_state_acpi4() 135 dev_dbg(&device->dev, "No matching fps control value\n"); in fan_get_state_acpi4() 201 value = fan->fps[state].control; in fan_set_state_acpi4() 307 fan->fps = devm_kcalloc(&device->dev, in acpi_fan_get_fps() 310 if (!fan->fps) { in acpi_fan_get_fps() 317 struct acpi_buffer fps = { offsetof(struct acpi_fan_fps, name), in acpi_fan_get_fps() local 318 &fan->fps[i] }; in acpi_fan_get_fps() 320 &format, &fps); in acpi_fan_get_fps() 328 sort(fan->fps, fan->fps_count, sizeof(*fan->fps), in acpi_fan_get_fps()
|
| /linux/arch/arm64/boot/dts/nvidia/ |
| H A D | tegra210-p2180.dtsi | 138 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 D | tegra210-p3450-0000.dts | 197 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 D | tegra194-p3668.dtsi | 154 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 D | tegra186-p3310.dtsi | 219 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 D | tegra194-p2888.dtsi | 202 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 D | tegra210-p2894.dtsi | 1347 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 …]
|
| H A D | tegra186-p3509-0000+p3636-0001.dts | 862 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 …]
|
| /linux/tools/testing/selftests/powerpc/tm/ |
| H A D | tm-signal-context-chk-fpu.c | 35 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() 97 * array pointers to it, in that case 'fps', and invoke the in tm_signal_context_chk_fpu() 100 rc = tm_signal_self_context_load(pid, NULL, fps, NULL, NULL); in tm_signal_context_chk_fpu()
|
| /linux/drivers/media/usb/pwc/ |
| H A D | pwc-kiara.c | 38 /* 5 fps */ 45 /* 10 fps */ 52 /* 15 fps */ 59 /* 20 fps */ 66 /* 25 fps */ 73 /* 30 fps */ 83 /* 5 fps */ 90 /* 10 fps */ 97 /* 15 fps */ 104 /* 20 fps */ [all …]
|
| H A D | pwc-ctrl.c | 144 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 …]
|
| H A D | pwc-timon.c | 37 /* 5 fps */ 44 /* 10 fps */ 51 /* 15 fps */ 58 /* 20 fps */ 65 /* 25 fps */ 72 /* 30 fps */ 82 /* 5 fps */ 89 /* 10 fps */ 96 /* 15 fps */ 103 /* 20 fps */ [all …]
|
| /linux/drivers/media/usb/gspca/stv06xx/ |
| H A D | stv06xx_hdcs.c | 389 * 5 = 7.8 fps, in hdcs_probe_1x00() 390 * 6 = 6.9 fps, in hdcs_probe_1x00() 391 * 8 = 6.3 fps, in hdcs_probe_1x00() 392 * 10 = 5.5 fps, in hdcs_probe_1x00() 393 * 15 = 4.4 fps, in hdcs_probe_1x00() 394 * 31 = 2.8 fps in hdcs_probe_1x00() 399 * 19 = 7.3 fps in hdcs_probe_1x00() 400 * 20 = 7.4 fps in hdcs_probe_1x00() 401 * 21 = 7.4 fps in hdcs_probe_1x00() 402 * 22 = 7.4 fps in hdcs_probe_1x00() [all …]
|
| /linux/include/dt-bindings/mfd/ |
| H A D | max77620.h | 24 /* FPS event source */ 29 /* Device state when FPS event LOW */ 33 /* FPS source */
|
| /linux/drivers/net/ethernet/mscc/ |
| H A D | ocelot_police.h | 17 MSCC_QOS_RATE_MODE_FRAME, /* Measures frame rate in fps */ 27 u32 cir; /* CIR in kbps/fps (ignored in SLB mode) */ 29 u32 pir; /* PIR in kbps/fps */
|
| /linux/drivers/media/pci/solo6x10/ |
| H A D | solo6x10-v4l2-enc.c | 146 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 …]
|
| /linux/drivers/pinctrl/ |
| H A D | pinctrl-max77620.c | 52 .property = "maxim,active-fps-source", 55 .property = "maxim,active-fps-power-up-slot", 58 .property = "maxim,active-fps-power-down-slot", 61 .property = "maxim,suspend-fps-source", 64 .property = "maxim,suspend-fps-power-up-slot", 67 .property = "maxim,suspend-fps-power-down-slot", 149 FUNCTION_GROUP("fps-out", FLEXIBLE_POWER_SEQUENCER_OUT), 321 int addr, int *fps) in max77620_get_default_fps() argument 331 *fps = (val & MAX77620_FPS_SRC_MASK) >> MAX77620_FPS_SRC_SHIFT; in max77620_get_default_fps()
|
| /linux/sound/drivers/ |
| H A D | mts64.c | 61 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() 579 /* FPS */ [all …]
|
| /linux/arch/sparc/kernel/ |
| H A D | ptrace_32.c | 348 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/drivers/media/platform/mediatek/vcodec/encoder/venc/ |
| H A D | venc_vp8_if.c | 60 * @framerate: frame rate in fps 62 * support three temporal layers - 0: 7.5fps 1: 7.5fps 2: 15fps. 117 * support three temporal layers - 0: 7.5fps 1: 7.5fps 2: 15fps.
|
| /linux/arch/arm/boot/dts/nvidia/ |
| H A D | tegra30-asus-nexus7-grouper-maxim-pmic.dtsi | 31 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>;
|
| /linux/drivers/media/platform/via/ |
| H A D | via-camera.h | 44 #define VCR_CI_DIODD 0 /* De-interlace odd, 30fps */ 45 #define VCR_CI_DIEVEN 0x00001000 /* ...even field, 30fps */ 46 #define VCR_CI_DIBOTH 0x00002000 /* ...both fields, 60fps */ 47 #define VCR_CI_DIBOTH30 0x00003000 /* ...both fields, 30fps interlace */
|
| /linux/include/trace/events/ |
| H A D | v4l2.h | 68 { V4L2_TC_TYPE_24FPS, "24FPS" }, \ 69 { V4L2_TC_TYPE_25FPS, "25FPS" }, \ 70 { V4L2_TC_TYPE_30FPS, "30FPS" }, \ 71 { V4L2_TC_TYPE_50FPS, "50FPS" }, \ 72 { V4L2_TC_TYPE_60FPS, "60FPS" })
|