/linux/Documentation/fb/ |
H A D | viafb.modes | 10 # 640x480, 60 Hz, Non-Interlaced (25.175 MHz dotclock) 14 # Scan Frequency 31.469 kHz 59.94 Hz 29 # D: 25.175 MHz, H: 31.469 kHz, V: 59.94 Hz 32 # D: 24.823 MHz, H: 39.780 kHz, V: 60.00 Hz 33 geometry 480 640 480 640 32 timings 39722 72 24 19 1 48 3 endmode 35 # 640x480, 75 Hz, Non-Interlaced (31.50 MHz dotclock) 39 # Scan Frequency 37.500 kHz 75.00 Hz 43 # 2 chars 1 lines 53 # D: 31.50 MHz, H: 37.500 kHz, V: 75.00 Hz 54 geometry 640 480 640 480 32 timings 31747 120 16 16 1 64 3 endmode [all …]
|
H A D | viafb.rst | 21 640x480(60, 75, 85, 100, 120 Hz), 720x480(60 Hz), 22 720x576(60 Hz), 800x600(60, 75, 85, 100, 120 Hz), 23 848x480(60 Hz), 856x480(60 Hz), 1024x512(60 Hz), 24 1024x768(60, 75, 85, 100 Hz), 1152x864(75 Hz), 25 1280x768(60 Hz), 1280x960(60 Hz), 1280x1024(60, 75, 85 Hz), 26 1440x1050(60 Hz), 1600x1200(60, 75 Hz), 1280x720(60 Hz), 27 1920x1080(60 Hz), 1400x1050(60 Hz), 800x480(60 Hz) 44 viafb_SAMM_ON=1 60 - 1 : centering 64 1 : LCD panel with MSB data format input [all …]
|
/linux/drivers/pwm/ |
H A D | pwm-ab8500.c | 51 * The period is always 1024 q, duty_cycle is between 1q and 1024q. in ab8500_pwm_apply() 54 * | (from manual) | (1 / 1024q) | = 1 / freq in ab8500_pwm_apply() 56 * b0000 | 293 Hz | 292.968750 Hz | 3413333.33 ns in ab8500_pwm_apply() 57 * b0001 | 302 Hz | 302.419355 Hz | 3306666.66 ns in ab8500_pwm_apply() 58 * b0010 | 312 Hz | 312.500000 Hz | 3200000 ns in ab8500_pwm_apply() 59 * b0011 | 323 Hz | 323.275862 Hz | 3093333.33 ns in ab8500_pwm_apply() 60 * b0100 | 334 Hz | 334.821429 Hz | 2986666.66 ns in ab8500_pwm_apply() 61 * b0101 | 347 Hz | 347.222222 Hz | 2880000 ns in ab8500_pwm_apply() 62 * b0110 | 360 Hz | 360.576923 Hz | 2773333.33 ns in ab8500_pwm_apply() 63 * b0111 | 375 Hz | 375.000000 Hz | 2666666.66 ns in ab8500_pwm_apply() [all …]
|
/linux/kernel/time/ |
H A D | timeconst.bc | 17 return (2^b*n+d-1)/d; 25 v = 2^b*(d-1)/d; 30 which brings the mul value into the range 2^b-1 <= x < 2^b. Such 35 for (s = 0; 1; s++) { 37 if (m >= 2^(b-1)) 43 define timeconst(hz) { 45 print "/* Time conversion constants for HZ == ", hz, " */\n" 54 print "#if HZ != ", hz, "\n" 55 print "#error \qinclude/generated/timeconst.h has the wrong HZ value!\q\n" 58 if (hz < 2) { [all …]
|
/linux/drivers/video/fbdev/ |
H A D | controlfb.h | 42 /* Vertical parameters are in units of 1/2 scan line */ 74 /* Vertical parameters are in units of 1/2 scan line */ 97 * 3.9064MHz * 2**clock_params[2] * clock_params[1] / clock_params[0]. 113 int m[2]; /* 0: 2MB vram, 1: 4MB vram */ 120 {{-1,-1}}, /* 512x384, 60Hz interlaced (NTSC) */ 121 {{-1,-1}}, /* 512x384, 60Hz */ 122 {{-1,-1}}, /* 640x480, 50Hz interlaced (PAL) */ 123 {{-1,-1}}, /* 640x480, 60Hz interlaced (NTSC) */ 124 {{ 2, 2}}, /* 640x480, 60Hz (VGA) */ 125 {{ 2, 2}}, /* 640x480, 67Hz */ [all …]
|
H A D | macmodes.h | 21 #define VMODE_512_384_60I 1 /* 512x384, 60Hz interlaced (NTSC) */ 22 #define VMODE_512_384_60 2 /* 512x384, 60Hz */ 23 #define VMODE_640_480_50I 3 /* 640x480, 50Hz interlaced (PAL) */ 24 #define VMODE_640_480_60I 4 /* 640x480, 60Hz interlaced (NTSC) */ 25 #define VMODE_640_480_60 5 /* 640x480, 60Hz (VGA) */ 26 #define VMODE_640_480_67 6 /* 640x480, 67Hz */ 27 #define VMODE_640_870_75P 7 /* 640x870, 75Hz (portrait) */ 28 #define VMODE_768_576_50I 8 /* 768x576, 50Hz (PAL full frame) */ 29 #define VMODE_800_600_56 9 /* 800x600, 56Hz */ 30 #define VMODE_800_600_60 10 /* 800x600, 60Hz */ [all …]
|
H A D | macmodes.c | 36 /* 512x384, 60Hz, Non-Interlaced (15.67 MHz dot clock) */ 37 "mac2", 60, 512, 384, 63828, 80, 16, 19, 1, 32, 3, 40 /* 640x480, 60 Hz, Non-Interlaced (25.175 MHz dotclock) */ 44 /* 640x480, 67Hz, Non-Interlaced (30.0 MHz dotclock) */ 48 /* 640x870, 75Hz (portrait), Non-Interlaced (57.28 MHz dot clock) */ 52 /* 800x600, 56 Hz, Non-Interlaced (36.00 MHz dotclock) */ 53 "mac9", 56, 800, 600, 27778, 112, 40, 22, 1, 72, 2, 56 /* 800x600, 60 Hz, Non-Interlaced (40.00 MHz dotclock) */ 57 "mac10", 60, 800, 600, 25000, 72, 56, 23, 1, 128, 4, 60 /* 800x600, 72 Hz, Non-Interlaced (50.00 MHz dotclock) */ [all …]
|
/linux/drivers/iio/accel/ |
H A D | st_accel_core.c | 57 ST_SENSORS_SCAN_X, 1, IIO_MOD_X, 's', IIO_LE, 8, 8, 58 ST_ACCEL_DEFAULT_OUT_X_L_ADDR+1, 62 ST_SENSORS_SCAN_Y, 1, IIO_MOD_Y, 's', IIO_LE, 8, 8, 63 ST_ACCEL_DEFAULT_OUT_Y_L_ADDR+1, 67 ST_SENSORS_SCAN_Z, 1, IIO_MOD_Z, 's', IIO_LE, 8, 8, 68 ST_ACCEL_DEFAULT_OUT_Z_L_ADDR+1, 76 ST_SENSORS_SCAN_X, 1, IIO_MOD_X, 's', IIO_LE, 12, 16, 81 ST_SENSORS_SCAN_Y, 1, IIO_MOD_Y, 's', IIO_LE, 12, 16, 86 ST_SENSORS_SCAN_Z, 1, IIO_MOD_Z, 's', IIO_LE, 12, 16, 95 ST_SENSORS_SCAN_X, 1, IIO_MOD_X, 's', IIO_LE, 16, 16, [all …]
|
/linux/Documentation/leds/ |
H A D | leds-mlxcpld.rst | 57 - [0,1,0,1] = Red static ON 58 - [1,1,0,1] = Green static ON 59 - [0,1,1,0] = Red blink 3Hz 60 - [1,1,1,0] = Green blink 3Hz 61 - [0,1,1,1] = Red blink 6Hz 62 - [1,1,1,1] = Green blink 6Hz 102 - [0,1,0,1] = Red static ON 103 - [1,1,0,1] = Green static ON 104 - [0,1,1,0] = Red blink 3Hz 105 - [1,1,1,0] = Green blink 3Hz [all …]
|
/linux/sound/pci/hda/ |
H A D | hda_beep.c | 18 DIGBEEP_HZ_STEP = 46875, /* 46.875 Hz */ 19 DIGBEEP_HZ_MIN = 93750, /* 93.750 Hz */ 32 beep->playing = 1; in generate_tone() 56 * defined from the 8bit tone parameter, in Hz, 58 * that is from 12kHz to 93.75Hz in steps of 46.875 Hz 60 static int beep_linear_tone(struct hda_beep *beep, int hz) in beep_linear_tone() argument 62 if (hz <= 0) in beep_linear_tone() 64 hz *= 1000; /* fixed point */ in beep_linear_tone() 65 hz = hz - DIGBEEP_HZ_MIN in beep_linear_tone() 67 if (hz < 0) in beep_linear_tone() [all …]
|
/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_pixpll.c | 29 unsigned locked : 1; /* 39 PLL locked indicator */ 30 unsigned sel_out : 1; /* 40 output clk selector */ 32 unsigned set_param : 1; /* 43 Trigger the update */ 33 unsigned bypass : 1; /* 44 */ 34 unsigned powerdown : 1; /* 45 */ 58 {148500, 1920, 1080, 60, 11, 49, 3}, /* 1920x1080@60Hz */ 59 {141750, 1920, 1080, 60, 11, 78, 5}, /* 1920x1080@60Hz */ 60 /* 1920x1080@50Hz */ 61 {174500, 1920, 1080, 75, 17, 89, 3}, /* 1920x1080@75Hz */ 62 {181250, 2560, 1080, 75, 8, 58, 4}, /* 2560x1080@75Hz */ [all …]
|
/linux/include/sound/sof/ |
H A D | stream.h | 21 #define SOF_RATE_8000 (1 << 0) /**< 8000Hz */ 22 #define SOF_RATE_11025 (1 << 1) /**< 11025Hz */ 23 #define SOF_RATE_12000 (1 << 2) /**< 12000Hz */ 24 #define SOF_RATE_16000 (1 << 3) /**< 16000Hz */ 25 #define SOF_RATE_22050 (1 << 4) /**< 22050Hz */ 26 #define SOF_RATE_24000 (1 << 5) /**< 24000Hz */ 27 #define SOF_RATE_32000 (1 << 6) /**< 32000Hz */ 28 #define SOF_RATE_44100 (1 << 7) /**< 44100Hz */ 29 #define SOF_RATE_48000 (1 << 8) /**< 48000Hz */ 30 #define SOF_RATE_64000 (1 << 9) /**< 64000Hz */ [all …]
|
/linux/include/linux/ |
H A D | jiffies.h | 13 #include <asm/param.h> /* for HZ */ 18 * model. The HZ variable establishes the timer interrupt frequency, 100 Hz 19 * for the SunOS kernel, 256 Hz for the Ultrix kernel and 1024 Hz for the 20 * OSF/1 kernel. The SHIFT_HZ define expresses the same value as the 23 #if HZ >= 12 && HZ < 24 25 #elif HZ >= 24 && HZ < 48 27 #elif HZ >= 48 && HZ < 96 29 #elif HZ >= 96 && HZ < 192 31 #elif HZ >= 192 && HZ < 384 33 #elif HZ >= 384 && HZ < 768 [all …]
|
/linux/drivers/gpu/drm/ast/ |
H A D | ast_tables.h | 29 #define EGAModeIndex 1 109 {0x3b, 0x2c, 0x81}, /* 1A: VCLK118_25 */ 139 {0x44, 0x20, 0x43}, /* 1A: VCLK118_25 */ 216 { 800, 640, 8, 96, 525, 480, 2, 2, VCLK25_175, /* 60Hz */ 217 (SyncNN | HBorder | VBorder | Charx8Dot), 60, 1, 0x2E }, 218 { 832, 640, 16, 40, 520, 480, 1, 3, VCLK31_5, /* 72Hz */ 220 { 840, 640, 16, 64, 500, 480, 1, 3, VCLK31_5, /* 75Hz */ 222 { 832, 640, 56, 56, 509, 480, 1, 3, VCLK36, /* 85Hz */ 224 { 832, 640, 56, 56, 509, 480, 1, 3, VCLK36, /* end */ 229 {1024, 800, 24, 72, 625, 600, 1, 2, VCLK36, /* 56Hz */ [all …]
|
/linux/arch/microblaze/include/asm/ |
H A D | delay.h | 16 "1: addi %0, %0, -1\t\n" \ in __delay() 17 "bneid %0, 1b \t\n" \ in __delay() 25 * loops = (4294 * usecs * loops_per_jiffy * HZ) / 2^32. 28 * We choose a = usecs * 19 * HZ and b = loops_per_jiffy * 226 29 * because this lets us support a wide range of HZ and 31 * Thus we need usecs * HZ <= (2^32 - 1) / 19 = 226050910 and 32 * loops_per_jiffy <= (2^32 - 1) / 226 = 19004280 33 * (which corresponds to ~3800 bogomips at HZ = 100). 36 #define __MAX_UDELAY (226050910UL/HZ) /* maximum udelay argument */ 37 #define __MAX_NDELAY (4294967295UL/HZ) /* maximum ndelay argument */ [all …]
|
/linux/drivers/iio/magnetometer/ |
H A D | st_magn_core.c | 74 ST_SENSORS_SCAN_X, 1, IIO_MOD_X, 's', IIO_BE, 16, 16, 79 ST_SENSORS_SCAN_Y, 1, IIO_MOD_Y, 's', IIO_BE, 16, 16, 84 ST_SENSORS_SCAN_Z, 1, IIO_MOD_Z, 's', IIO_BE, 16, 16, 93 ST_SENSORS_SCAN_X, 1, IIO_MOD_X, 's', IIO_LE, 16, 16, 98 ST_SENSORS_SCAN_Y, 1, IIO_MOD_Y, 's', IIO_LE, 16, 16, 103 ST_SENSORS_SCAN_Z, 1, IIO_MOD_Z, 's', IIO_LE, 16, 16, 112 ST_SENSORS_SCAN_X, 1, IIO_MOD_X, 's', IIO_LE, 16, 16, 117 ST_SENSORS_SCAN_Y, 1, IIO_MOD_Y, 's', IIO_LE, 16, 16, 122 ST_SENSORS_SCAN_Z, 1, IIO_MOD_Z, 's', IIO_LE, 16, 16, 131 ST_SENSORS_SCAN_X, 1, IIO_MOD_X, 's', IIO_LE, 16, 16, [all …]
|
/linux/drivers/video/fbdev/core/ |
H A D | modedb.c | 38 /* 640x400 @ 70 Hz, 31.5 kHz hsync */ 42 /* 640x480 @ 60 Hz, 31.5 kHz hsync */ 46 /* 800x600 @ 56 Hz, 35.15 kHz hsync */ 47 { NULL, 56, 800, 600, 27777, 128, 24, 22, 1, 72, 2, 0, 50 /* 1024x768 @ 87 Hz interlaced, 35.5 kHz hsync */ 54 /* 640x400 @ 85 Hz, 37.86 kHz hsync */ 55 { NULL, 85, 640, 400, 31746, 96, 32, 41, 1, 64, 3, 58 /* 640x480 @ 72 Hz, 36.5 kHz hsync */ 62 /* 640x480 @ 75 Hz, 37.50 kHz hsync */ 63 { NULL, 75, 640, 480, 31746, 120, 16, 16, 1, 64, 3, 0, [all …]
|
/linux/include/linux/iio/frequency/ |
H A D | adf4350.h | 13 #define ADF4350_REG1 1 26 #define ADF4350_REG1_PRESCALER (1 << 27) 29 #define ADF4350_REG2_COUNTER_RESET_EN (1 << 3) 30 #define ADF4350_REG2_CP_THREESTATE_EN (1 << 4) 31 #define ADF4350_REG2_POWER_DOWN_EN (1 << 5) 32 #define ADF4350_REG2_PD_POLARITY_POS (1 << 6) 33 #define ADF4350_REG2_LDP_6ns (1 << 7) 36 #define ADF4350_REG2_LDF_INT_N (1 << 8) 38 #define ADF4350_REG2_DOUBLE_BUFF_EN (1 << 13) 40 #define ADF4350_REG2_RDIV2_EN (1 << 24) [all …]
|
/linux/drivers/video/fbdev/kyro/ |
H A D | fbdev.c | 49 /* 640x480, 16bpp @ 60 Hz */ 59 .height = -1, 60 .width = -1, 84 static int nowrap = 1; 93 /* 640x350 @ 85Hz */ 98 /* 640x400 @ 85Hz */ 100 96, 32, 41, 1, 64, 3, 103 /* 720x400 @ 85Hz */ 105 108, 36, 42, 1, 72, 3, 108 /* 640x480 @ 60Hz */ [all …]
|
/linux/drivers/iio/pressure/ |
H A D | st_pressure_core.c | 36 * = raw / (sensitivity * 10) (1) 40 * Therefore, from (1), "gain" becomes : 142 .scan_index = 1, 176 .scan_index = 1, 209 .scan_index = 1, 242 { .hz = 1, .value = 0x01 }, 243 { .hz = 7, .value = 0x05 }, 244 { .hz = 13, .value = 0x06 }, 245 { .hz = 25, .value = 0x07 }, 315 { .hz = 1, .value = 0x01 }, [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sa8540p.dtsi | 18 opp-hz = /bits/ 64 <300000000>; 22 opp-hz = /bits/ 64 <403200000>; 26 opp-hz = /bits/ 64 <499200000>; 30 opp-hz = /bits/ 64 <595200000>; 34 opp-hz = /bits/ 64 <710400000>; 38 opp-hz = /bits/ 64 <806400000>; 42 opp-hz = /bits/ 64 <902400000>; 46 opp-hz = /bits/ 64 <1017600000>; 50 opp-hz = /bits/ 64 <1113600000>; 54 opp-hz = /bits/ 64 <1209600000>; [all …]
|
/linux/arch/mips/sni/ |
H A D | time.c | 15 #define SNI_COUNTER0_DIV ((SNI_CLOCK_TICK_RATE / SNI_COUNTER2_DIV) / HZ) 60 * Counter 2 output is connected to Counter 0 & 1 input. 76 #define SNI_8254_TCSAMP_COUNTER ((SNI_8254_TICK_RATE / HZ) + 255) 103 * for every 1/HZ seconds. We round off the nearest 1 MHz of master in dosample() 104 * clock (= 1000000 / HZ / 2). in dosample() 106 /*return (ct1 - ct0 + (500000/HZ/2)) / (500000/HZ) * (500000/HZ);*/ in dosample() 107 return (ct1 - ct0) / (500000/HZ) * (500000/HZ); in dosample() 135 r4k_ticks[1] = dosample(); in plat_time_init() 136 } while (!r4k_ticks[1]); in plat_time_init() 138 if (r4k_ticks[0] != r4k_ticks[1]) { in plat_time_init() [all …]
|
/linux/Documentation/devicetree/bindings/opp/ |
H A D | opp-v2.yaml | 24 * Example 1: Single cluster Dual-core ARM cortex A9, switch DVFS states 28 #address-cells = <1>; 42 cpu@1 { 45 reg = <1>; 59 opp-hz = /bits/ 64 <1000000000>; 66 opp-hz = /bits/ 64 <1100000000>; 72 opp-hz = /bits/ 64 <1200000000>; 85 #address-cells = <1>; 99 cpu@1 { 102 reg = <1>; [all …]
|
/linux/Documentation/devicetree/bindings/cpufreq/ |
H A D | cpufreq-mediatek.txt | 34 Example 1 (MT7623 SoC): 41 opp-hz = /bits/ 64 <598000000>; 46 opp-hz = /bits/ 64 <747500000>; 51 opp-hz = /bits/ 64 <1040000000>; 56 opp-hz = /bits/ 64 <1196000000>; 61 opp-hz = /bits/ 64 <1300000000>; 76 cpu@1 { 101 opp-hz = /bits/ 64 <507000000>; 106 opp-hz = /bits/ 64 <702000000>; 111 opp-hz = /bits/ 64 <1001000000>; [all …]
|
/linux/drivers/gpu/drm/ |
H A D | drm_edid.c | 69 /* First detailed mode wrong, use largest 60Hz mode */ 70 #define EDID_QUIRK_PREFER_LARGE_60 (1 << 0) 72 #define EDID_QUIRK_135_CLOCK_TOO_HIGH (1 << 1) 73 /* Prefer the largest mode at 75 Hz */ 74 #define EDID_QUIRK_PREFER_LARGE_75 (1 << 2) 76 #define EDID_QUIRK_DETAILED_IN_CM (1 << 3) 80 #define EDID_QUIRK_DETAILED_USE_MAXIMUM_SIZE (1 << 4) 82 #define EDID_QUIRK_DETAILED_SYNC_PP (1 << 6) 84 #define EDID_QUIRK_FORCE_REDUCED_BLANKING (1 << 7) 86 #define EDID_QUIRK_FORCE_8BPC (1 << 8) [all …]
|