/linux-master/arch/m68k/amiga/ |
H A D | amiga.h | 5 void amiga_mksound(unsigned int hz, unsigned int ticks);
|
H A D | amisound.c | 73 void amiga_mksound( unsigned int hz, unsigned int ticks ) argument 83 if (hz > 20 && hz < 32767) { 84 unsigned long period = (clock_constant / hz);
|
/linux-master/arch/m68k/q40/ |
H A D | q40.h | 5 void q40_mksound(unsigned int hz, unsigned int ticks);
|
/linux-master/arch/mips/bcm47xx/ |
H A D | time.c | 33 unsigned long hz = 0; local 49 hz = ssb_cpu_clock(&bcm47xx_bus.ssb.mipscore) / 2; 55 hz = bcma_cpu_clock(&bcm47xx_bus.bcma.bus.drv_mips) / 2; 64 hz = 100000000; 70 hz = 100000000; 76 if (!hz) 77 hz = 100000000; 80 mips_hpt_frequency = hz;
|
/linux-master/arch/m68k/atari/ |
H A D | atari.h | 10 void atari_mksound(unsigned int hz, unsigned int ticks);
|
H A D | atasound.c | 54 void atari_mksound (unsigned int hz, unsigned int ticks) argument 71 if (hz) { 75 period = PSG_FREQ / hz; 79 /* Set generator A frequency to hz. */
|
/linux-master/sound/pci/hda/ |
H A D | hda_beep.c | 60 static int beep_linear_tone(struct hda_beep *beep, int hz) argument 62 if (hz <= 0) 64 hz *= 1000; /* fixed point */ 65 hz = hz - DIGBEEP_HZ_MIN 67 if (hz < 0) 68 hz = 0; /* turn off PC beep*/ 69 else if (hz >= (DIGBEEP_HZ_MAX - DIGBEEP_HZ_MIN)) 70 hz = 1; /* max frequency */ 72 hz / 84 beep_standard_tone(struct hda_beep *beep, int hz) argument 96 snd_hda_beep_event(struct input_dev *dev, unsigned int type, unsigned int code, int hz) argument [all...] |
/linux-master/arch/x86/realmode/rm/ |
H A D | wakemain.c | 11 static void beep(unsigned int hz) argument 15 if (!hz) { 18 u16 div = 1193181/hz;
|
/linux-master/drivers/iio/accel/ |
H A D | st_accel_core.c | 130 { .hz = 1, .value = 0x01, }, 131 { .hz = 10, .value = 0x02, }, 132 { .hz = 25, .value = 0x03, }, 133 { .hz = 50, .value = 0x04, }, 134 { .hz = 100, .value = 0x05, }, 135 { .hz = 200, .value = 0x06, }, 136 { .hz = 400, .value = 0x07, }, 137 { .hz = 1600, .value = 0x08, }, 212 { .hz = 50, .value = 0x00, }, 213 { .hz [all...] |
/linux-master/drivers/iio/pressure/ |
H A D | st_pressure_core.c | 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 }, 316 { .hz = 7, .value = 0x02 }, 317 { .hz = 13, .value = 0x03 }, 367 { .hz = 1, .value = 0x01 }, 368 { .hz = 7, .value = 0x02 }, 369 { .hz [all...] |
/linux-master/drivers/iio/magnetometer/ |
H A D | st_magn_core.c | 156 { .hz = 1, .value = 0x00 }, 157 { .hz = 2, .value = 0x01 }, 158 { .hz = 3, .value = 0x02 }, 159 { .hz = 8, .value = 0x03 }, 160 { .hz = 15, .value = 0x04 }, 161 { .hz = 30, .value = 0x05 }, 162 { .hz = 75, .value = 0x06 }, 235 { .hz = 1, .value = 0x00 }, 236 { .hz = 2, .value = 0x01 }, 237 { .hz [all...] |
/linux-master/drivers/iio/gyro/ |
H A D | st_gyro_core.c | 81 { .hz = 100, .value = 0x00, }, 82 { .hz = 200, .value = 0x01, }, 83 { .hz = 400, .value = 0x02, }, 84 { .hz = 800, .value = 0x03, }, 159 { .hz = 95, .value = 0x00, }, 160 { .hz = 190, .value = 0x01, }, 161 { .hz = 380, .value = 0x02, }, 162 { .hz = 760, .value = 0x03, }, 233 { .hz = 95, .value = 0x00, }, 234 { .hz [all...] |
/linux-master/sound/ppc/ |
H A D | beep.c | 23 int hz; member in struct:pmac_beep 87 unsigned int code, int hz) 102 case SND_BELL: if (hz) hz = 1000; break; 114 if (! hz) { 125 if (hz <= srate / BEEP_BUFLEN || hz > srate / 2) 126 hz = 1000; 136 if (hz == beep->hz 86 snd_pmac_beep_event(struct input_dev *dev, unsigned int type, unsigned int code, int hz) argument [all...] |
/linux-master/include/linux/ |
H A D | clocksource.h | 178 * clocksource_hz2mult - calculates mult from hz and shift 179 * @hz: Clocksource frequency in Hz 182 * Helper functions that converts a hz counter 186 static inline u32 clocksource_hz2mult(u32 hz, u32 shift_constant) argument 188 return clocksource_freq2mult(hz, shift_constant, NSEC_PER_SEC); 244 static inline int clocksource_register_hz(struct clocksource *cs, u32 hz) argument 246 return __clocksource_register_scale(cs, 1, hz); 254 static inline void __clocksource_update_freq_hz(struct clocksource *cs, u32 hz) argument 256 __clocksource_update_freq_scale(cs, 1, hz);
|
/linux-master/drivers/clocksource/ |
H A D | mmio.c | 44 * @hz: Frequency of the clocksource in Hz 50 unsigned long hz, int rating, unsigned bits, 69 return clocksource_register_hz(&cs->clksrc, hz); 49 clocksource_mmio_init(void __iomem *base, const char *name, unsigned long hz, int rating, unsigned bits, u64 (*read)(struct clocksource *)) argument
|
/linux-master/drivers/spi/ |
H A D | spi-loongson.h | 36 unsigned int hz; member in struct:loongson_spi
|
H A D | spi-bitbang.c | 145 u32 hz; local 149 hz = t->speed_hz; 152 hz = 0; 168 if (!hz) 169 hz = spi->max_speed_hz; 170 if (hz) { 171 cs->nsecs = (1000000000/2) / hz;
|
H A D | spi-loongson-core.c | 40 static void loongson_spi_set_clk(struct loongson_spi *loongson_spi, unsigned int hz) argument 46 div = clamp_val(DIV_ROUND_UP_ULL(loongson_spi->clk_rate, hz), 2, 4096); 58 loongson_spi->hz = hz; 80 if (t && loongson_spi->hz != t->speed_hz) 100 loongson_spi->hz = 0;
|
H A D | spi-omap-uwire.c | 311 unsigned hz; local 345 hz = t->speed_hz; 347 hz = spi->max_speed_hz; 349 if (!hz) { 372 div2 = (rate / div1 + hz - 1) / hz; 378 dev_name(&spi->dev), rate / 10 / 8, hz);
|
/linux-master/arch/mips/kernel/ |
H A D | cevt-ds1287.c | 20 int ds1287_set_base_clock(unsigned int hz) argument 24 switch (hz) {
|
/linux-master/drivers/iio/common/scmi_sensors/ |
H A D | scmi_iio.c | 239 static void convert_ns_to_freq(u64 interval_ns, u64 *hz, u64 *uhz) argument 245 *hz = freq; 252 u64 sensor_update_interval, sensor_interval_mult, hz, uhz; local 280 convert_ns_to_freq(sensor_update_interval, &hz, &uhz); 281 *val = hz; 519 hz, uhz; local 536 convert_ns_to_freq(low_interval_ns, &hz, &uhz); 537 sensor->freq_avail[0] = hz; 543 convert_ns_to_freq(step_size_ns, &hz, &uhz); 544 sensor->freq_avail[2] = hz; [all...] |
/linux-master/drivers/i2c/busses/ |
H A D | i2c-brcmstb.c | 81 u32 hz; member in struct:bsc_clk_param 113 .hz = 375000, 118 .hz = 390000, 123 .hz = 187500, 128 .hz = 200000, 133 .hz = 93750, 138 .hz = 97500, 143 .hz = 46875, 148 .hz = 50000, 559 if (bsc_clk[i].hz [all...] |
/linux-master/drivers/gpu/host1x/ |
H A D | intr.c | 123 u32 hz = clk_get_rate(host->clk); local 127 err = host1x_hw_intr_init_host_sync(host, DIV_ROUND_UP(hz, 1000000));
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | head.h | 23 u32 hz; member in struct:nvkm_head::nvkm_head_state
|
/linux-master/drivers/ssb/ |
H A D | driver_mipscore.c | 297 unsigned long hz, ns; local 306 hz = ssb_clockspeed(bus); 307 if (!hz) 308 hz = 100000000; 309 ns = 1000000000 / hz;
|