| /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/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 | 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 …]
|
| 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 …]
|
| /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/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/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/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()
|
| H A D | ptrace_64.c | 932 struct compat_fps __user *fps; in compat_arch_ptrace() local 939 fps = (struct compat_fps __user *) addr; in compat_arch_ptrace() 964 fps); in compat_arch_ptrace() 971 fps); in compat_arch_ptrace() 1005 struct fps { struct 1016 struct fps __user *fps; in arch_ptrace() argument 1021 fps = (struct fps __user *) addr; in arch_ptrace() 1047 fps); in arch_ptrace() 1054 fps); in arch_ptrace()
|
| /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>;
|
| H A D | tegra30-lg-x3.dtsi | 1153 fps { 1155 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 1159 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>; 1163 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 1190 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>; 1204 maxim,active-fps-source = <MAX77620_FPS_SRC_1>; 1214 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>; 1224 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>; 1234 maxim,active-fps-source = <MAX77620_FPS_SRC_1>; 1244 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>; [all …]
|
| /linux/drivers/media/i2c/ |
| H A D | ov772x.c | 431 unsigned int fps; member 618 unsigned int fps = tpf->numerator ? in ov772x_select_fps() local 629 diff = abs(fps - ov772x_frame_intervals[i]); in ov772x_select_fps() 640 unsigned int fps, in ov772x_set_frame_rate() argument 666 pclk = fps * fsize; in ov772x_set_frame_rate() 735 tpf->denominator = priv->fps; in ov772x_get_frame_interval() 746 unsigned int fps; in ov772x_set_frame_interval() local 763 fps = ov772x_select_fps(priv, tpf); in ov772x_set_frame_interval() 771 ret = ov772x_set_frame_rate(priv, fps, priv->cfmt, priv->win); in ov772x_set_frame_interval() 777 tpf->denominator = fps; in ov772x_set_frame_interval() [all …]
|
| H A D | thp7312.c | 173 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/staging/fbtft/ |
| H A D | fbtft-core.c | 231 long fps, throughput; in fbtft_update_display() local 283 fps = ktime_us_delta(ts_start, par->update_time); in fbtft_update_display() 285 fps = fps ? 1000000 / fps : 0; in fbtft_update_display() 293 throughput, fps); in fbtft_update_display() 510 unsigned int fps = display->fps; in fbtft_framebuffer_alloc() local 525 if (!fps) in fbtft_framebuffer_alloc() 526 fps = 20; in fbtft_framebuffer_alloc() 536 if (pdata->fps) in fbtft_framebuffer_alloc() 537 fps = pdata->fps; in fbtft_framebuffer_alloc() 602 fbdefio->delay = HZ / fps; in fbtft_framebuffer_alloc() [all …]
|
| /linux/drivers/scsi/fcoe/ |
| H A D | fcoe_transport.c | 471 struct fcoe_percpu_s *fps) in fcoe_get_paged_crc_eof() argument 475 page = fps->crc_eof_page; in fcoe_get_paged_crc_eof() 481 fps->crc_eof_page = page; in fcoe_get_paged_crc_eof() 482 fps->crc_eof_offset = 0; in fcoe_get_paged_crc_eof() 487 fps->crc_eof_offset, tlen); in fcoe_get_paged_crc_eof() 491 fps->crc_eof_offset += sizeof(struct fcoe_crc_eof); in fcoe_get_paged_crc_eof() 493 if (fps->crc_eof_offset >= PAGE_SIZE) { in fcoe_get_paged_crc_eof() 494 fps->crc_eof_page = NULL; in fcoe_get_paged_crc_eof() 495 fps->crc_eof_offset = 0; in fcoe_get_paged_crc_eof()
|
| /linux/drivers/media/usb/go7007/ |
| H A D | go7007-fw.c | 778 int fps = go->sensor_framerate / go->fps_scale; in mpeg4_sequence_header() local 797 CODE_ADD(c, fps, 16); in mpeg4_sequence_header() 929 int fps = go->sensor_framerate / go->fps_scale; in brctrl_to_package() local 932 u32 sgop_expt_addr = go->bitrate / 32 * (go->ipb ? 3 : 1) * 1001 / fps; in brctrl_to_package() 933 u32 sgop_peak_addr = peak_rate / 32 * 1001 / fps; in brctrl_to_package() 934 u32 total_expt_addr = go->bitrate / 32 * 1000 / fps * (fps / 1000); in brctrl_to_package() 1078 int fps = go->sensor_framerate / go->fps_scale / 1000; in config_package() local 1080 int brc_window_size = fps; in config_package() 1177 0xbfe7, fps << 8, in config_package() 1203 int fps = go->sensor_framerate / go->fps_scale * in seqhead_to_package() local [all …]
|
| /linux/drivers/media/usb/hdpvr/ |
| H A D | hdpvr-control.c | 70 vidinf->fps = dev->usbc_buf[4]; in get_video_info() 71 vidinf->valid = vidinf->width && vidinf->height && vidinf->fps; in get_video_info()
|