| /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() 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/drivers/gpu/drm/sti/ |
| H A D | sti_plane.c | 49 struct sti_fps_info *fps; in sti_plane_update_fps() local 55 fps = &plane->fps_info; in sti_plane_update_fps() 58 fps->curr_field_counter++; in sti_plane_update_fps() 64 fps->curr_frame_counter++; in sti_plane_update_fps() 65 ms_since_last = ktime_to_ms(ktime_sub(now, fps->last_timestamp)); in sti_plane_update_fps() 66 num_frames = fps->curr_frame_counter - fps->last_frame_counter; in sti_plane_update_fps() 71 fps->last_timestamp = now; in sti_plane_update_fps() 72 fps->last_frame_counter = fps->curr_frame_counter; in sti_plane_update_fps() 86 if (fps->curr_field_counter) { in sti_plane_update_fps() 88 num_fields = fps->curr_field_counter - fps->last_field_counter; in sti_plane_update_fps() [all …]
|
| /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 | 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 | 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 | 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-smaug.dts | 1473 fps { 1475 maxim,shutdown-fps-time-period-us = <5120>; 1476 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 1480 maxim,shutdown-fps-time-period-us = <5120>; 1481 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>; 1486 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 1503 function = "fps-out"; 1505 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 1506 maxim,active-fps-power-up-slot = <4>; 1507 maxim,active-fps-power-down-slot = <2>; [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() 100 rc = tm_signal_self_context_load(pid, NULL, fps, NULL, NULL); in tm_signal_context_chk_fpu()
|
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | pinctrl-max77620.txt | 38 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/drivers/mfd/ |
| H A D | max77620.c | 607 int fps; in max77620_i2c_suspend() local 610 for (fps = 0; fps < MAX77620_FPS_COUNT; fps++) { in max77620_i2c_suspend() 611 if (chip->suspend_fps_period[fps] < 0) in max77620_i2c_suspend() 614 ret = max77620_set_fps_period(chip, fps, in max77620_i2c_suspend() 615 chip->suspend_fps_period[fps]); in max77620_i2c_suspend() 658 int fps; in max77620_i2c_resume() local 660 for (fps = 0; fps < MAX77620_FPS_COUNT; fps++) { in max77620_i2c_resume() 661 if (chip->shutdown_fps_period[fps] < 0) in max77620_i2c_resume() 664 ret = max77620_set_fps_period(chip, fps, in max77620_i2c_resume() 665 chip->shutdown_fps_period[fps]); in max77620_i2c_resume()
|
| /linux/drivers/staging/media/atomisp/i2c/ |
| H A D | gc2235.h | 116 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 D | ov2722.h | 164 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/drivers/media/usb/pwc/ |
| 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 …]
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | max77620.txt | 63 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/drivers/staging/media/atomisp/pci/ |
| H A D | atomisp_v4l2.c | 90 .fps = ISP_FREQ_RULE_ANY, 97 .fps = ISP_FREQ_RULE_ANY, 104 .fps = ISP_FREQ_RULE_ANY, 123 .fps = ISP_FREQ_RULE_ANY, 130 .fps = ISP_FREQ_RULE_ANY, 137 .fps = ISP_FREQ_RULE_ANY, 155 .fps = 30, 162 .fps = 30, 169 .fps = 45, 176 .fps = 45, [all …]
|
| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | regulator-max77620.txt | 44 - 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/drivers/media/platform/qcom/iris/ |
| H A D | iris_vpu2.c | 21 u32 fps = DEFAULT_FPS; in iris_vpu2_calc_freq() local 27 mbs_per_second = mbpf * fps; in iris_vpu2_calc_freq() 36 vsp_freq += ((fps * data_size * 8) * 10) / 7; in iris_vpu2_calc_freq()
|
| /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/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/i2c/ |
| H A D | mt9v111.c | 134 unsigned int fps; member 447 unsigned int fps = tpf->numerator ? in mt9v111_calc_frame_rate() local 465 diff = abs(fps - mt9v111_frame_intervals[i]); in mt9v111_calc_frame_rate() 471 fps = mt9v111_frame_intervals[idx]; in mt9v111_calc_frame_rate() 502 diff = abs(fps - t_fps); in mt9v111_calc_frame_rate() 726 unsigned int fps = tpf->numerator ? in mt9v111_set_frame_interval() local 748 if (mt9v111->fps == fps) { in mt9v111_set_frame_interval() 765 if (fps > max_fps) { in mt9v111_set_frame_interval() 772 mt9v111->fps = fps; in mt9v111_set_frame_interval() 797 tpf->denominator = mt9v111->fps; in mt9v111_get_frame_interval() [all …]
|
| H A D | lt6911uxe.c | 85 u32 fps; member 119 lt6911uxe->cur_mode.fps * 16; in get_pixel_rate() 222 u64 byte_clk, half_pix_clk, fps, format; in lt6911uxe_status_update() local 256 fps = div_u64(half_pix_clk, half_htotal * vtotal); in lt6911uxe_status_update() 257 if (fps > 60) { in lt6911uxe_status_update() 259 "max fps is 60, current fps: %llu\n", fps); in lt6911uxe_status_update() 283 lt6911uxe->cur_mode.fps = fps; in lt6911uxe_status_update() 295 lt6911uxe->cur_mode.fps = 0; in lt6911uxe_status_update()
|