hz 71 arch/m68k/amiga/amisound.c void amiga_mksound( unsigned int hz, unsigned int ticks ) hz 81 arch/m68k/amiga/amisound.c if (hz > 20 && hz < 32767) { hz 82 arch/m68k/amiga/amisound.c unsigned long period = (clock_constant / hz); hz 54 arch/m68k/atari/atasound.c void atari_mksound (unsigned int hz, unsigned int ticks) hz 71 arch/m68k/atari/atasound.c if (hz) { hz 75 arch/m68k/atari/atasound.c period = PSG_FREQ / hz; hz 111 arch/m68k/q40/q40ints.c void q40_mksound(unsigned int hz, unsigned int ticks) hz 115 arch/m68k/q40/q40ints.c if (hz == 0) { hz 33 arch/mips/bcm47xx/time.c unsigned long hz = 0; hz 49 arch/mips/bcm47xx/time.c hz = ssb_cpu_clock(&bcm47xx_bus.ssb.mipscore) / 2; hz 55 arch/mips/bcm47xx/time.c hz = bcma_cpu_clock(&bcm47xx_bus.bcma.bus.drv_mips) / 2; hz 64 arch/mips/bcm47xx/time.c hz = 100000000; hz 70 arch/mips/bcm47xx/time.c hz = 100000000; hz 76 arch/mips/bcm47xx/time.c if (!hz) hz 77 arch/mips/bcm47xx/time.c hz = 100000000; hz 80 arch/mips/bcm47xx/time.c mips_hpt_frequency = hz; hz 20 arch/mips/kernel/cevt-ds1287.c int ds1287_set_base_clock(unsigned int hz) hz 24 arch/mips/kernel/cevt-ds1287.c switch (hz) { hz 11 arch/x86/realmode/rm/wakemain.c static void beep(unsigned int hz) hz 15 arch/x86/realmode/rm/wakemain.c if (!hz) { hz 18 arch/x86/realmode/rm/wakemain.c u16 div = 1193181/hz; hz 50 drivers/clocksource/mmio.c unsigned long hz, int rating, unsigned bits, hz 69 drivers/clocksource/mmio.c return clocksource_register_hz(&cs->clksrc, hz); hz 226 drivers/gpu/drm/i915/display/intel_display_types.h u32 (*hz_to_pwm)(struct intel_connector *connector, u32 hz); hz 463 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c u32 khz = (head->asy.hz >> ior->asy.rgdiv) / 1000; hz 22 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.h u32 hz; hz 68 drivers/gpu/drm/nouveau/nvkm/engine/disp/headgf119.c state->hz = nvkm_rd32(device, 0x640450 + hoff); hz 67 drivers/gpu/drm/nouveau/nvkm/engine/disp/headgv100.c state->hz = nvkm_rd32(device, 0x68200c + hoff); hz 76 drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv50.c state->hz = (nvkm_rd32(device, 0x610ad0 + hoff) & 0x003fffff) * 1000; hz 317 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c nv50_disp_super_ied_on(head, ior, 1, head->asy.hz / 1000); hz 328 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c const u32 khz = head->asy.hz / 1000; hz 433 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c const u32 khz = head->asy.hz / 1000; hz 481 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c const u32 khz = head->asy.hz / 1000; hz 115 drivers/gpu/drm/via/via_verifier.c hazard_t hz; hz 348 drivers/gpu/drm/via/via_verifier.c investigate_hazard(uint32_t cmd, hazard_t hz, drm_via_state_t *cur_seq) hz 352 drivers/gpu/drm/via/via_verifier.c if (cur_seq->unfinished && (cur_seq->unfinished != seqs[hz])) { hz 358 drivers/gpu/drm/via/via_verifier.c switch (hz) { hz 630 drivers/gpu/drm/via/via_verifier.c hazard_t hz; hz 697 drivers/gpu/drm/via/via_verifier.c if ((hz = hz_table[cmd >> 24])) { hz 698 drivers/gpu/drm/via/via_verifier.c if ((hz_mode = investigate_hazard(cmd, hz, hc_state))) { hz 1101 drivers/gpu/drm/via/via_verifier.c table[init_table[i].code] = init_table[i].hz; hz 292 drivers/gpu/host1x/intr.c u32 hz = clk_get_rate(host->clk); hz 296 drivers/gpu/host1x/intr.c err = host1x_hw_intr_init_host_sync(host, DIV_ROUND_UP(hz, 1000000), hz 92 drivers/i2c/busses/i2c-brcmstb.c u32 hz; hz 124 drivers/i2c/busses/i2c-brcmstb.c .hz = 375000, hz 129 drivers/i2c/busses/i2c-brcmstb.c .hz = 390000, hz 134 drivers/i2c/busses/i2c-brcmstb.c .hz = 187500, hz 139 drivers/i2c/busses/i2c-brcmstb.c .hz = 200000, hz 144 drivers/i2c/busses/i2c-brcmstb.c .hz = 93750, hz 149 drivers/i2c/busses/i2c-brcmstb.c .hz = 97500, hz 154 drivers/i2c/busses/i2c-brcmstb.c .hz = 46875, hz 159 drivers/i2c/busses/i2c-brcmstb.c .hz = 50000, hz 551 drivers/i2c/busses/i2c-brcmstb.c if (bsc_clk[i].hz == clk_freq_hz) { hz 566 drivers/i2c/busses/i2c-brcmstb.c bsc_clk[i].hz); hz 637 drivers/i2c/busses/i2c-brcmstb.c bsc_clk[0].hz); hz 638 drivers/i2c/busses/i2c-brcmstb.c dev->clk_freq_hz = bsc_clk[0].hz; hz 462 drivers/iio/accel/mma8452.c static int mma8452_read_hp_filter(struct mma8452_data *data, int *hz, int *uHz) hz 476 drivers/iio/accel/mma8452.c *hz = mma8452_hp_filter_cutoff[j][i][ret][0]; hz 112 drivers/iio/accel/st_accel_core.c { .hz = 1, .value = 0x01, }, hz 113 drivers/iio/accel/st_accel_core.c { .hz = 10, .value = 0x02, }, hz 114 drivers/iio/accel/st_accel_core.c { .hz = 25, .value = 0x03, }, hz 115 drivers/iio/accel/st_accel_core.c { .hz = 50, .value = 0x04, }, hz 116 drivers/iio/accel/st_accel_core.c { .hz = 100, .value = 0x05, }, hz 117 drivers/iio/accel/st_accel_core.c { .hz = 200, .value = 0x06, }, hz 118 drivers/iio/accel/st_accel_core.c { .hz = 400, .value = 0x07, }, hz 119 drivers/iio/accel/st_accel_core.c { .hz = 1600, .value = 0x08, }, hz 194 drivers/iio/accel/st_accel_core.c { .hz = 50, .value = 0x00, }, hz 195 drivers/iio/accel/st_accel_core.c { .hz = 100, .value = 0x01, }, hz 196 drivers/iio/accel/st_accel_core.c { .hz = 400, .value = 0x02, }, hz 197 drivers/iio/accel/st_accel_core.c { .hz = 1000, .value = 0x03, }, hz 273 drivers/iio/accel/st_accel_core.c { .hz = 3, .value = 0x01, }, hz 274 drivers/iio/accel/st_accel_core.c { .hz = 6, .value = 0x02, }, hz 275 drivers/iio/accel/st_accel_core.c { .hz = 12, .value = 0x03, }, hz 276 drivers/iio/accel/st_accel_core.c { .hz = 25, .value = 0x04, }, hz 277 drivers/iio/accel/st_accel_core.c { .hz = 50, .value = 0x05, }, hz 278 drivers/iio/accel/st_accel_core.c { .hz = 100, .value = 0x06, }, hz 279 drivers/iio/accel/st_accel_core.c { .hz = 200, .value = 0x07, }, hz 280 drivers/iio/accel/st_accel_core.c { .hz = 400, .value = 0x08, }, hz 281 drivers/iio/accel/st_accel_core.c { .hz = 800, .value = 0x09, }, hz 282 drivers/iio/accel/st_accel_core.c { .hz = 1600, .value = 0x0a, }, hz 363 drivers/iio/accel/st_accel_core.c { .hz = 40, .value = 0x00, }, hz 364 drivers/iio/accel/st_accel_core.c { .hz = 160, .value = 0x01, }, hz 365 drivers/iio/accel/st_accel_core.c { .hz = 640, .value = 0x02, }, hz 366 drivers/iio/accel/st_accel_core.c { .hz = 2560, .value = 0x03, }, hz 435 drivers/iio/accel/st_accel_core.c { .hz = 100, .value = 0x00, }, hz 436 drivers/iio/accel/st_accel_core.c { .hz = 400, .value = 0x01, }, hz 507 drivers/iio/accel/st_accel_core.c { .hz = 50, .value = 0x00, }, hz 508 drivers/iio/accel/st_accel_core.c { .hz = 100, .value = 0x01, }, hz 509 drivers/iio/accel/st_accel_core.c { .hz = 400, .value = 0x02, }, hz 510 drivers/iio/accel/st_accel_core.c { .hz = 1000, .value = 0x03, }, hz 577 drivers/iio/accel/st_accel_core.c { .hz = 280, .value = 0x00, }, hz 578 drivers/iio/accel/st_accel_core.c { .hz = 560, .value = 0x01, }, hz 579 drivers/iio/accel/st_accel_core.c { .hz = 1120, .value = 0x02, }, hz 580 drivers/iio/accel/st_accel_core.c { .hz = 4480, .value = 0x03, }, hz 635 drivers/iio/accel/st_accel_core.c { .hz = 1, .value = 0x01, }, hz 636 drivers/iio/accel/st_accel_core.c { .hz = 10, .value = 0x02, }, hz 637 drivers/iio/accel/st_accel_core.c { .hz = 25, .value = 0x03, }, hz 638 drivers/iio/accel/st_accel_core.c { .hz = 50, .value = 0x04, }, hz 639 drivers/iio/accel/st_accel_core.c { .hz = 100, .value = 0x05, }, hz 640 drivers/iio/accel/st_accel_core.c { .hz = 200, .value = 0x06, }, hz 641 drivers/iio/accel/st_accel_core.c { .hz = 400, .value = 0x07, }, hz 642 drivers/iio/accel/st_accel_core.c { .hz = 1600, .value = 0x08, }, hz 710 drivers/iio/accel/st_accel_core.c { .hz = 1, .value = 0x01, }, hz 711 drivers/iio/accel/st_accel_core.c { .hz = 12, .value = 0x02, }, hz 712 drivers/iio/accel/st_accel_core.c { .hz = 25, .value = 0x03, }, hz 713 drivers/iio/accel/st_accel_core.c { .hz = 50, .value = 0x04, }, hz 714 drivers/iio/accel/st_accel_core.c { .hz = 100, .value = 0x05, }, hz 715 drivers/iio/accel/st_accel_core.c { .hz = 200, .value = 0x06, }, hz 790 drivers/iio/accel/st_accel_core.c { .hz = 1100, .value = 0x00, }, hz 843 drivers/iio/accel/st_accel_core.c { .hz = 1, .value = 0x01, }, hz 844 drivers/iio/accel/st_accel_core.c { .hz = 10, .value = 0x02, }, hz 845 drivers/iio/accel/st_accel_core.c { .hz = 25, .value = 0x03, }, hz 846 drivers/iio/accel/st_accel_core.c { .hz = 50, .value = 0x04, }, hz 847 drivers/iio/accel/st_accel_core.c { .hz = 100, .value = 0x05, }, hz 848 drivers/iio/accel/st_accel_core.c { .hz = 200, .value = 0x06, }, hz 849 drivers/iio/accel/st_accel_core.c { .hz = 400, .value = 0x07, }, hz 850 drivers/iio/accel/st_accel_core.c { .hz = 1620, .value = 0x08, }, hz 851 drivers/iio/accel/st_accel_core.c { .hz = 5376, .value = 0x09, }, hz 1210 drivers/iio/accel/st_accel_core.c adata->odr = adata->sensor_settings->odr.odr_avl[0].hz; hz 62 drivers/iio/common/st_sensors/st_sensors_core.c if (sensor_settings->odr.odr_avl[i].hz == 0) hz 65 drivers/iio/common/st_sensors/st_sensors_core.c if (sensor_settings->odr.odr_avl[i].hz == odr) { hz 66 drivers/iio/common/st_sensors/st_sensors_core.c odr_out->hz = sensor_settings->odr.odr_avl[i].hz; hz 109 drivers/iio/common/st_sensors/st_sensors_core.c sdata->odr = odr_out.hz; hz 193 drivers/iio/common/st_sensors/st_sensors_core.c sdata->odr = odr_out.hz; hz 667 drivers/iio/common/st_sensors/st_sensors_core.c if (sdata->sensor_settings->odr.odr_avl[i].hz == 0) hz 671 drivers/iio/common/st_sensors/st_sensors_core.c sdata->sensor_settings->odr.odr_avl[i].hz); hz 110 drivers/iio/gyro/fxas21002c_core.c unsigned int hz) hz 116 drivers/iio/gyro/fxas21002c_core.c if (fxas21002c_odr_values[i] == hz) hz 132 drivers/iio/gyro/fxas21002c_core.c unsigned int hz) hz 138 drivers/iio/gyro/fxas21002c_core.c if (fxas21002c_lpf_values[i] == hz) hz 154 drivers/iio/gyro/fxas21002c_core.c unsigned int hz) hz 160 drivers/iio/gyro/fxas21002c_core.c if (fxas21002c_hpf_values[i] == hz) hz 70 drivers/iio/gyro/st_gyro_core.c { .hz = 100, .value = 0x00, }, hz 71 drivers/iio/gyro/st_gyro_core.c { .hz = 200, .value = 0x01, }, hz 72 drivers/iio/gyro/st_gyro_core.c { .hz = 400, .value = 0x02, }, hz 73 drivers/iio/gyro/st_gyro_core.c { .hz = 800, .value = 0x03, }, hz 148 drivers/iio/gyro/st_gyro_core.c { .hz = 95, .value = 0x00, }, hz 149 drivers/iio/gyro/st_gyro_core.c { .hz = 190, .value = 0x01, }, hz 150 drivers/iio/gyro/st_gyro_core.c { .hz = 380, .value = 0x02, }, hz 151 drivers/iio/gyro/st_gyro_core.c { .hz = 760, .value = 0x03, }, hz 222 drivers/iio/gyro/st_gyro_core.c { .hz = 95, .value = 0x00, }, hz 223 drivers/iio/gyro/st_gyro_core.c { .hz = 190, .value = 0x01, }, hz 224 drivers/iio/gyro/st_gyro_core.c { .hz = 380, .value = 0x02, }, hz 225 drivers/iio/gyro/st_gyro_core.c { .hz = 760, .value = 0x03, }, hz 296 drivers/iio/gyro/st_gyro_core.c { .hz = 100, .value = 0x00, }, hz 297 drivers/iio/gyro/st_gyro_core.c { .hz = 200, .value = 0x01, }, hz 298 drivers/iio/gyro/st_gyro_core.c { .hz = 400, .value = 0x02, }, hz 299 drivers/iio/gyro/st_gyro_core.c { .hz = 800, .value = 0x03, }, hz 483 drivers/iio/gyro/st_gyro_core.c gdata->odr = gdata->sensor_settings->odr.odr_avl[0].hz; hz 50 drivers/iio/humidity/hts221_core.c u8 hz; hz 158 drivers/iio/humidity/hts221_core.c if (hts221_odr_table[i].hz == odr) hz 210 drivers/iio/humidity/hts221_core.c hts221_odr_table[i].hz); hz 596 drivers/iio/humidity/hts221_core.c err = hts221_update_odr(hw, hts221_odr_table[0].hz); hz 655 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c static const int hz[] = {188, 98, 42, 20, 10, 5}; hz 666 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c while ((h < hz[i]) && (i < ARRAY_SIZE(d) - 1)) hz 84 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h u16 hz; hz 983 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c if (odr_table->odr_avl[i].hz >= odr) hz 990 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c return odr_table->odr_avl[i].hz; hz 1205 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c hw->settings->odr_table[id].odr_avl[i].hz); hz 1459 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c sensor->odr = hw->settings->odr_table[id].odr_avl[0].hz; hz 327 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c if (settings->odr_table.odr_avl[i].hz == odr) hz 541 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c u16 val = settings->odr_table.odr_avl[i].hz; hz 610 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c sensor->odr = info->odr_table.odr_avl[0].hz; hz 117 drivers/iio/magnetometer/st_magn_core.c { .hz = 1, .value = 0x00 }, hz 118 drivers/iio/magnetometer/st_magn_core.c { .hz = 2, .value = 0x01 }, hz 119 drivers/iio/magnetometer/st_magn_core.c { .hz = 3, .value = 0x02 }, hz 120 drivers/iio/magnetometer/st_magn_core.c { .hz = 8, .value = 0x03 }, hz 121 drivers/iio/magnetometer/st_magn_core.c { .hz = 15, .value = 0x04 }, hz 122 drivers/iio/magnetometer/st_magn_core.c { .hz = 30, .value = 0x05 }, hz 123 drivers/iio/magnetometer/st_magn_core.c { .hz = 75, .value = 0x06 }, hz 196 drivers/iio/magnetometer/st_magn_core.c { .hz = 1, .value = 0x00 }, hz 197 drivers/iio/magnetometer/st_magn_core.c { .hz = 2, .value = 0x01 }, hz 198 drivers/iio/magnetometer/st_magn_core.c { .hz = 3, .value = 0x02 }, hz 199 drivers/iio/magnetometer/st_magn_core.c { .hz = 8, .value = 0x03 }, hz 200 drivers/iio/magnetometer/st_magn_core.c { .hz = 15, .value = 0x04 }, hz 201 drivers/iio/magnetometer/st_magn_core.c { .hz = 30, .value = 0x05 }, hz 202 drivers/iio/magnetometer/st_magn_core.c { .hz = 75, .value = 0x06 }, hz 203 drivers/iio/magnetometer/st_magn_core.c { .hz = 220, .value = 0x07 }, hz 275 drivers/iio/magnetometer/st_magn_core.c { .hz = 1, .value = 0x00 }, hz 276 drivers/iio/magnetometer/st_magn_core.c { .hz = 2, .value = 0x01 }, hz 277 drivers/iio/magnetometer/st_magn_core.c { .hz = 3, .value = 0x02 }, hz 278 drivers/iio/magnetometer/st_magn_core.c { .hz = 5, .value = 0x03 }, hz 279 drivers/iio/magnetometer/st_magn_core.c { .hz = 10, .value = 0x04 }, hz 280 drivers/iio/magnetometer/st_magn_core.c { .hz = 20, .value = 0x05 }, hz 281 drivers/iio/magnetometer/st_magn_core.c { .hz = 40, .value = 0x06 }, hz 282 drivers/iio/magnetometer/st_magn_core.c { .hz = 80, .value = 0x07 }, hz 347 drivers/iio/magnetometer/st_magn_core.c { .hz = 10, .value = 0x00 }, hz 348 drivers/iio/magnetometer/st_magn_core.c { .hz = 20, .value = 0x01 }, hz 349 drivers/iio/magnetometer/st_magn_core.c { .hz = 50, .value = 0x02 }, hz 350 drivers/iio/magnetometer/st_magn_core.c { .hz = 100, .value = 0x03 }, hz 512 drivers/iio/magnetometer/st_magn_core.c mdata->odr = mdata->sensor_settings->odr.odr_avl[0].hz; hz 249 drivers/iio/pressure/st_pressure_core.c { .hz = 1, .value = 0x01 }, hz 250 drivers/iio/pressure/st_pressure_core.c { .hz = 7, .value = 0x05 }, hz 251 drivers/iio/pressure/st_pressure_core.c { .hz = 13, .value = 0x06 }, hz 252 drivers/iio/pressure/st_pressure_core.c { .hz = 25, .value = 0x07 }, hz 322 drivers/iio/pressure/st_pressure_core.c { .hz = 1, .value = 0x01 }, hz 323 drivers/iio/pressure/st_pressure_core.c { .hz = 7, .value = 0x02 }, hz 324 drivers/iio/pressure/st_pressure_core.c { .hz = 13, .value = 0x03 }, hz 374 drivers/iio/pressure/st_pressure_core.c { .hz = 1, .value = 0x01 }, hz 375 drivers/iio/pressure/st_pressure_core.c { .hz = 7, .value = 0x02 }, hz 376 drivers/iio/pressure/st_pressure_core.c { .hz = 13, .value = 0x03 }, hz 377 drivers/iio/pressure/st_pressure_core.c { .hz = 25, .value = 0x04 }, hz 443 drivers/iio/pressure/st_pressure_core.c { .hz = 1, .value = 0x01 }, hz 444 drivers/iio/pressure/st_pressure_core.c { .hz = 10, .value = 0x02 }, hz 445 drivers/iio/pressure/st_pressure_core.c { .hz = 25, .value = 0x03 }, hz 446 drivers/iio/pressure/st_pressure_core.c { .hz = 50, .value = 0x04 }, hz 447 drivers/iio/pressure/st_pressure_core.c { .hz = 75, .value = 0x05 }, hz 510 drivers/iio/pressure/st_pressure_core.c { .hz = 1, .value = 0x01 }, hz 511 drivers/iio/pressure/st_pressure_core.c { .hz = 10, .value = 0x02 }, hz 512 drivers/iio/pressure/st_pressure_core.c { .hz = 25, .value = 0x03 }, hz 513 drivers/iio/pressure/st_pressure_core.c { .hz = 50, .value = 0x04 }, hz 514 drivers/iio/pressure/st_pressure_core.c { .hz = 75, .value = 0x05 }, hz 515 drivers/iio/pressure/st_pressure_core.c { .hz = 100, .value = 0x06 }, hz 516 drivers/iio/pressure/st_pressure_core.c { .hz = 200, .value = 0x07 }, hz 716 drivers/iio/pressure/st_pressure_core.c press_data->odr = press_data->sensor_settings->odr.odr_avl[0].hz; hz 82 drivers/iio/pressure/zpa2326.c int hz; hz 91 drivers/iio/pressure/zpa2326.c { .hz = 1, .odr = 1 << ZPA2326_CTRL_REG3_ODR_SHIFT }, hz 92 drivers/iio/pressure/zpa2326.c { .hz = 5, .odr = 5 << ZPA2326_CTRL_REG3_ODR_SHIFT }, hz 93 drivers/iio/pressure/zpa2326.c { .hz = 11, .odr = 6 << ZPA2326_CTRL_REG3_ODR_SHIFT }, hz 94 drivers/iio/pressure/zpa2326.c { .hz = 23, .odr = 7 << ZPA2326_CTRL_REG3_ODR_SHIFT }, hz 426 drivers/iio/pressure/zpa2326.c zpa2326_dbg(indio_dev, "one shot mode setup @%dHz", freq->hz); hz 1378 drivers/iio/pressure/zpa2326.c priv->frequency->hz); hz 1436 drivers/iio/pressure/zpa2326.c return ((struct zpa2326_private *)iio_priv(indio_dev))->frequency->hz; hz 1439 drivers/iio/pressure/zpa2326.c static int zpa2326_set_frequency(struct iio_dev *indio_dev, int hz) hz 1447 drivers/iio/pressure/zpa2326.c if (zpa2326_sampling_frequencies[freq].hz == hz) hz 444 drivers/input/keyboard/lm8323.c int div512, perstep, steps, hz, up, kill; hz 469 drivers/input/keyboard/lm8323.c hz = 32768 / 512; hz 472 drivers/input/keyboard/lm8323.c hz = 32768 / 16; hz 475 drivers/input/keyboard/lm8323.c perstep = (hz * pwm->fade_time) / (steps * 1000); hz 328 drivers/media/dvb-frontends/cxd2841er.c u32 hz; hz 333 drivers/media/dvb-frontends/cxd2841er.c &priv->frontend, &hz); hz 335 drivers/media/dvb-frontends/cxd2841er.c hz = def_hz; hz 337 drivers/media/dvb-frontends/cxd2841er.c return hz; hz 755 drivers/media/i2c/saa7115.c u32 hz; hz 770 drivers/media/i2c/saa7115.c hz = (state->std & V4L2_STD_525_60) ? 5994 : 5000; hz 772 drivers/media/i2c/saa7115.c acpf = (25600 * freq) / hz; hz 926 drivers/mmc/core/core.c void mmc_set_clock(struct mmc_host *host, unsigned int hz) hz 928 drivers/mmc/core/core.c WARN_ON(hz && hz < host->f_min); hz 930 drivers/mmc/core/core.c if (hz > host->f_max) hz 931 drivers/mmc/core/core.c hz = host->f_max; hz 933 drivers/mmc/core/core.c host->ios.clock = hz; hz 43 drivers/mmc/core/core.h void mmc_set_clock(struct mmc_host *host, unsigned int hz); hz 25 drivers/mmc/host/cb710-mmc.c static void cb710_mmc_select_clock_divider(struct mmc_host *mmc, int hz) hz 43 drivers/mmc/host/cb710-mmc.c if (hz >= src_hz >> cb710_clock_divider_log2[divider_idx]) hz 57 drivers/mmc/host/cb710-mmc.c hz, src_freq_idx, divider_idx & 7, divider_idx & 8); hz 749 drivers/mmc/host/mtk-sd.c static void msdc_set_mclk(struct msdc_host *host, unsigned char timing, u32 hz) hz 757 drivers/mmc/host/mtk-sd.c if (!hz) { hz 780 drivers/mmc/host/mtk-sd.c if (hz >= (host->src_clk_freq >> 2)) { hz 784 drivers/mmc/host/mtk-sd.c div = (host->src_clk_freq + ((hz << 2) - 1)) / (hz << 2); hz 790 drivers/mmc/host/mtk-sd.c hz >= (host->src_clk_freq >> 1)) { hz 800 drivers/mmc/host/mtk-sd.c } else if (hz >= host->src_clk_freq) { hz 806 drivers/mmc/host/mtk-sd.c if (hz >= (host->src_clk_freq >> 1)) { hz 810 drivers/mmc/host/mtk-sd.c div = (host->src_clk_freq + ((hz << 2) - 1)) / (hz << 2); hz 840 drivers/mmc/host/mtk-sd.c host->mclk = hz; hz 1874 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h int hz, int ticks); hz 10051 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c int hz, int ticks) hz 10076 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c if (idma->idma_stalled[i] >= SGE_IDMA_WARN_THRESH * hz) hz 10080 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c idma->idma_stalled[i] / hz); hz 10095 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c idma->idma_stalled[i] = hz; hz 10102 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c if (idma->idma_stalled[i] < SGE_IDMA_WARN_THRESH * hz) hz 10109 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c idma->idma_warn[i] = SGE_IDMA_WARN_REPEAT * hz; hz 10126 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c idma->idma_stalled[i] / hz, hz 70 drivers/pwm/pwm-tegra.c unsigned long long c = duty_ns, hz; hz 92 drivers/pwm/pwm-tegra.c hz = DIV_ROUND_CLOSEST_ULL(100ULL * NSEC_PER_SEC, period_ns); hz 93 drivers/pwm/pwm-tegra.c rate = DIV_ROUND_CLOSEST_ULL(100ULL * rate, hz); hz 224 drivers/spi/spi-au1550.c unsigned bpw, hz; hz 229 drivers/spi/spi-au1550.c hz = t->speed_hz; hz 232 drivers/spi/spi-au1550.c hz = spi->max_speed_hz; hz 235 drivers/spi/spi-au1550.c if (!hz) hz 254 drivers/spi/spi-au1550.c cfg |= au1550_spi_baudcfg(hw, hz); hz 129 drivers/spi/spi-bcm63xx-hsspi.c struct spi_device *spi, int hz) hz 134 drivers/spi/spi-bcm63xx-hsspi.c reg = DIV_ROUND_UP(2048, DIV_ROUND_UP(bs->speed_hz, hz)); hz 139 drivers/spi/spi-bcm63xx-hsspi.c if (hz > HSSPI_MAX_SYNC_CLOCK) hz 142 drivers/spi/spi-bitbang.c u32 hz; hz 146 drivers/spi/spi-bitbang.c hz = t->speed_hz; hz 149 drivers/spi/spi-bitbang.c hz = 0; hz 165 drivers/spi/spi-bitbang.c if (!hz) hz 166 drivers/spi/spi-bitbang.c hz = spi->max_speed_hz; hz 167 drivers/spi/spi-bitbang.c if (hz) { hz 168 drivers/spi/spi-bitbang.c cs->nsecs = (1000000000/2) / hz; hz 277 drivers/spi/spi-davinci.c u32 hz = 0, spifmt = 0; hz 287 drivers/spi/spi-davinci.c hz = t->speed_hz; hz 308 drivers/spi/spi-davinci.c if (!hz) hz 309 drivers/spi/spi-davinci.c hz = spi->max_speed_hz; hz 313 drivers/spi/spi-davinci.c prescale = davinci_spi_get_prescale(dspi, hz); hz 328 drivers/spi/spi-fsl-espi.c u32 pm, hz = t ? t->speed_hz : spi->max_speed_hz; hz 337 drivers/spi/spi-fsl-espi.c pm = DIV_ROUND_UP(espi->spibrg, hz * 4) - 1; hz 341 drivers/spi/spi-fsl-espi.c pm = DIV_ROUND_UP(espi->spibrg, hz * 16 * 4) - 1; hz 231 drivers/spi/spi-fsl-spi.c u32 hz = 0; hz 238 drivers/spi/spi-fsl-spi.c hz = t->speed_hz; hz 245 drivers/spi/spi-fsl-spi.c if (!hz) hz 246 drivers/spi/spi-fsl-spi.c hz = spi->max_speed_hz; hz 270 drivers/spi/spi-fsl-spi.c if ((mpc8xxx_spi->spibrg / hz) > 64) { hz 272 drivers/spi/spi-fsl-spi.c pm = (mpc8xxx_spi->spibrg - 1) / (hz * 64) + 1; hz 275 drivers/spi/spi-fsl-spi.c dev_name(&spi->dev), hz, mpc8xxx_spi->spibrg / 1024); hz 279 drivers/spi/spi-fsl-spi.c pm = (mpc8xxx_spi->spibrg - 1) / (hz * 4) + 1; hz 69 drivers/spi/spi-mxs.c const unsigned int hz = min(dev->max_speed_hz, t->speed_hz); hz 71 drivers/spi/spi-mxs.c if (hz == 0) { hz 76 drivers/spi/spi-mxs.c if (hz != spi->sck) { hz 77 drivers/spi/spi-mxs.c mxs_ssp_set_clk_rate(ssp, hz); hz 83 drivers/spi/spi-mxs.c spi->sck = hz; hz 62 drivers/spi/spi-oc-tiny.c static unsigned int tiny_spi_baud(struct spi_device *spi, unsigned int hz) hz 66 drivers/spi/spi-oc-tiny.c return min(DIV_ROUND_UP(hw->freq, hz * 2), (1U << hw->baudwidth)) - 1; hz 314 drivers/spi/spi-omap-uwire.c unsigned hz; hz 348 drivers/spi/spi-omap-uwire.c hz = t->speed_hz; hz 350 drivers/spi/spi-omap-uwire.c hz = spi->max_speed_hz; hz 352 drivers/spi/spi-omap-uwire.c if (!hz) { hz 375 drivers/spi/spi-omap-uwire.c div2 = (rate / div1 + hz - 1) / hz; hz 381 drivers/spi/spi-omap-uwire.c dev_name(&spi->dev), rate / 10 / 8, hz); hz 38 drivers/spi/spi-s3c24xx.c unsigned int hz; hz 120 drivers/spi/spi-s3c24xx.c unsigned int hz; hz 124 drivers/spi/spi-s3c24xx.c hz = t ? t->speed_hz : spi->max_speed_hz; hz 126 drivers/spi/spi-s3c24xx.c if (!hz) hz 127 drivers/spi/spi-s3c24xx.c hz = spi->max_speed_hz; hz 142 drivers/spi/spi-s3c24xx.c if (cs->hz != hz) { hz 144 drivers/spi/spi-s3c24xx.c div = DIV_ROUND_UP(clk, hz * 2) - 1; hz 150 drivers/spi/spi-s3c24xx.c div, hz, clk / (2 * (div + 1))); hz 152 drivers/spi/spi-s3c24xx.c cs->hz = hz; hz 188 drivers/spi/spi-s3c24xx.c cs->hz = -1; hz 130 drivers/spi/spi-sc18is602.c static int sc18is602_setup_transfer(struct sc18is602 *hw, u32 hz, u8 mode) hz 143 drivers/spi/spi-sc18is602.c if (hz >= hw->freq / 4) { hz 146 drivers/spi/spi-sc18is602.c } else if (hz >= hw->freq / 16) { hz 149 drivers/spi/spi-sc18is602.c } else if (hz >= hw->freq / 64) { hz 874 drivers/spi/spi-sirf.c int hz = 0; hz 880 drivers/spi/spi-sirf.c hz = t && t->speed_hz ? t->speed_hz : spi->max_speed_hz; hz 882 drivers/spi/spi-sirf.c usp_mode2 = regval = (sspi->ctrl_freq / (2 * hz)) - 1; hz 884 drivers/spi/spi-sirf.c dev_err(&spi->dev, "Speed %d not supported\n", hz); hz 185 drivers/spi/spi-st-ssc4.c u32 hz = spi->max_speed_hz; hz 189 drivers/spi/spi-st-ssc4.c if (!hz) { hz 212 drivers/spi/spi-st-ssc4.c sscbrg = spi_st_clk / (2 * hz); hz 215 drivers/spi/spi-st-ssc4.c "baudrate %d outside valid range %d\n", sscbrg, hz); hz 228 drivers/spi/spi-st-ssc4.c hz, spi_st->baud, sscbrg); hz 1114 drivers/spi/spi.c u32 hz; hz 1134 drivers/spi/spi.c hz = xfer->effective_speed_hz ?: xfer->speed_hz / 2; hz 1135 drivers/spi/spi.c delay *= DIV_ROUND_UP(1000000000, hz); hz 297 drivers/ssb/driver_mipscore.c unsigned long hz, ns; hz 306 drivers/ssb/driver_mipscore.c hz = ssb_clockspeed(bus); hz 307 drivers/ssb/driver_mipscore.c if (!hz) hz 308 drivers/ssb/driver_mipscore.c hz = 100000000; hz 309 drivers/ssb/driver_mipscore.c ns = 1000000000 / hz; hz 236 drivers/tty/vt/keyboard.c unsigned int *hz = data; hz 241 drivers/tty/vt/keyboard.c input_inject_event(handle, EV_SND, SND_TONE, *hz); hz 242 drivers/tty/vt/keyboard.c if (*hz) hz 246 drivers/tty/vt/keyboard.c input_inject_event(handle, EV_SND, SND_BELL, *hz ? 1 : 0); hz 261 drivers/tty/vt/keyboard.c void kd_mksound(unsigned int hz, unsigned int ticks) hz 265 drivers/tty/vt/keyboard.c input_handler_for_each_handle(&kbd_handler, &hz, kd_sound_helper); hz 267 drivers/tty/vt/keyboard.c if (hz && ticks) hz 584 drivers/video/fbdev/aty/radeon_base.c unsigned long long hz, vclk; hz 620 drivers/video/fbdev/aty/radeon_base.c hz = USEC_PER_SEC/(u32)total_usecs; hz 624 drivers/video/fbdev/aty/radeon_base.c vclk = (long long)hTotal * (long long)vTotal * hz; hz 720 drivers/video/fbdev/core/fbmon.c int num_modes, hz, hscan, pixclock; hz 746 drivers/video/fbdev/core/fbmon.c hz = (hscan + vtotal / 2) / vtotal; hz 760 drivers/video/fbdev/core/fbmon.c if (specs->vfmax == 0 || specs->vfmax < hz) hz 761 drivers/video/fbdev/core/fbmon.c specs->vfmax = hz; hz 763 drivers/video/fbdev/core/fbmon.c if (specs->vfmin == 0 || specs->vfmin > hz) hz 764 drivers/video/fbdev/core/fbmon.c specs->vfmin = hz; hz 81 drivers/video/fbdev/sm712.h int hz; hz 52 drivers/video/fbdev/sm712fb.c u_int hz; hz 1188 drivers/video/fbdev/sm712fb.c sfb->width, sfb->height, sfb->fb->var.bits_per_pixel, sfb->hz); hz 1194 drivers/video/fbdev/sm712fb.c vgamode[j].hz != sfb->hz) hz 1200 drivers/video/fbdev/sm712fb.c vgamode[j].bpp, vgamode[j].hz); hz 1344 drivers/video/fbdev/sm712fb.c sfb->hz = 60; hz 4055 fs/ceph/mds_client.c unsigned hz = round_jiffies_relative(HZ * delay); hz 4056 fs/ceph/mds_client.c schedule_delayed_work(&mdsc->delayed_work, hz); hz 166 include/linux/clocksource.h static inline u32 clocksource_hz2mult(u32 hz, u32 shift_constant) hz 168 include/linux/clocksource.h return clocksource_freq2mult(hz, shift_constant, NSEC_PER_SEC); hz 224 include/linux/clocksource.h static inline int clocksource_register_hz(struct clocksource *cs, u32 hz) hz 226 include/linux/clocksource.h return __clocksource_register_scale(cs, 1, hz); hz 234 include/linux/clocksource.h static inline void __clocksource_update_freq_hz(struct clocksource *cs, u32 hz) hz 236 include/linux/clocksource.h __clocksource_update_freq_scale(cs, 1, hz); hz 77 include/linux/iio/common/st_sensors.h unsigned int hz; hz 31 include/linux/vt_kern.h extern void kd_mksound(unsigned int hz, unsigned int ticks); hz 686 sound/hda/hdac_device.c unsigned int hz; hz 741 sound/hda/hdac_device.c for (i = 0; rate_bits[i].hz; i++) hz 742 sound/hda/hdac_device.c if (rate_bits[i].hz == rate) { hz 746 sound/hda/hdac_device.c if (!rate_bits[i].hz) hz 138 sound/isa/sb/emu8000_pcm.c static int calc_rate_offset(int hz) hz 140 sound/isa/sb/emu8000_pcm.c return snd_sf_linear_to_log(hz, OFFSET_SAMPLERATE, SAMPLERATE_RATIO); hz 60 sound/pci/hda/hda_beep.c static int beep_linear_tone(struct hda_beep *beep, int hz) hz 62 sound/pci/hda/hda_beep.c if (hz <= 0) hz 64 sound/pci/hda/hda_beep.c hz *= 1000; /* fixed point */ hz 65 sound/pci/hda/hda_beep.c hz = hz - DIGBEEP_HZ_MIN hz 67 sound/pci/hda/hda_beep.c if (hz < 0) hz 68 sound/pci/hda/hda_beep.c hz = 0; /* turn off PC beep*/ hz 69 sound/pci/hda/hda_beep.c else if (hz >= (DIGBEEP_HZ_MAX - DIGBEEP_HZ_MIN)) hz 70 sound/pci/hda/hda_beep.c hz = 1; /* max frequency */ hz 72 sound/pci/hda/hda_beep.c hz /= DIGBEEP_HZ_STEP; hz 73 sound/pci/hda/hda_beep.c hz = 255 - hz; hz 75 sound/pci/hda/hda_beep.c return hz; hz 84 sound/pci/hda/hda_beep.c static int beep_standard_tone(struct hda_beep *beep, int hz) hz 86 sound/pci/hda/hda_beep.c if (hz <= 0) hz 88 sound/pci/hda/hda_beep.c hz = 12000 / hz; hz 89 sound/pci/hda/hda_beep.c if (hz > 0xff) hz 91 sound/pci/hda/hda_beep.c if (hz <= 0) hz 93 sound/pci/hda/hda_beep.c return hz; hz 97 sound/pci/hda/hda_beep.c unsigned int code, int hz) hz 103 sound/pci/hda/hda_beep.c if (hz) hz 104 sound/pci/hda/hda_beep.c hz = 1000; hz 108 sound/pci/hda/hda_beep.c beep->tone = beep_linear_tone(beep, hz); hz 110 sound/pci/hda/hda_beep.c beep->tone = beep_standard_tone(beep, hz); hz 23 sound/ppc/beep.c int hz; hz 87 sound/ppc/beep.c unsigned int code, int hz) hz 102 sound/ppc/beep.c case SND_BELL: if (hz) hz = 1000; hz 111 sound/ppc/beep.c if (! hz) { hz 122 sound/ppc/beep.c if (hz <= srate / BEEP_BUFLEN || hz > srate / 2) hz 123 sound/ppc/beep.c hz = 1000; hz 133 sound/ppc/beep.c if (hz == beep->hz && beep->volume == beep->volume_play) { hz 136 sound/ppc/beep.c period = srate * 256 / hz; /* fixed point */ hz 146 sound/ppc/beep.c beep->hz = hz; hz 935 sound/soc/codecs/cs42l52.c unsigned int code, int hz) hz 940 sound/soc/codecs/cs42l52.c dev_dbg(component->dev, "Beep event %x %x\n", code, hz); hz 944 sound/soc/codecs/cs42l52.c if (hz) hz 945 sound/soc/codecs/cs42l52.c hz = 261; hz 953 sound/soc/codecs/cs42l52.c cs42l52->beep_rate = hz; hz 999 sound/soc/codecs/cs42l56.c unsigned int code, int hz) hz 1004 sound/soc/codecs/cs42l56.c dev_dbg(component->dev, "Beep event %x %x\n", code, hz); hz 1008 sound/soc/codecs/cs42l56.c if (hz) hz 1009 sound/soc/codecs/cs42l56.c hz = 261; hz 1017 sound/soc/codecs/cs42l56.c cs42l56->beep_rate = hz; hz 3191 sound/soc/codecs/wm8962.c unsigned int code, int hz) hz 3196 sound/soc/codecs/wm8962.c dev_dbg(component->dev, "Beep event %x %x\n", code, hz); hz 3200 sound/soc/codecs/wm8962.c if (hz) hz 3201 sound/soc/codecs/wm8962.c hz = 1000; hz 3209 sound/soc/codecs/wm8962.c wm8962->beep_rate = hz; hz 833 sound/synth/emux/soundfont.c calc_rate_offset(int hz) hz 835 sound/synth/emux/soundfont.c return snd_sf_linear_to_log(hz, OFFSET_SAMPLERATE, SAMPLERATE_RATIO); hz 449 tools/perf/util/svghelper.c static char *HzToHuman(unsigned long hz) hz 456 tools/perf/util/svghelper.c Hz = hz;