/kernel/linux/linux-5.10/drivers/spi/ |
D | spi-jcore.c | 41 unsigned int clock_freq; member 87 if (speed >= hw->clock_freq / 2) in jcore_spi_baudrate() 90 hw->speed_reg = ((hw->clock_freq / 2 / speed) - 1) << 27; in jcore_spi_baudrate() 146 u32 clock_freq; in jcore_spi_probe() local 186 clock_freq = 50000000; in jcore_spi_probe() 190 clock_freq = clk_get_rate(clk); in jcore_spi_probe() 195 hw->clock_freq = clock_freq; in jcore_spi_probe()
|
/kernel/linux/linux-5.10/drivers/input/misc/ |
D | sparcspkr.c | 27 u32 clock_freq; member 44 u32 val, clock_freq = info->clock_freq; in bbc_count_to_reg() local 50 if (count <= clock_freq >> 20) in bbc_count_to_reg() 53 if (count >= clock_freq >> 12) in bbc_count_to_reg() 59 if (count <= clock_freq >> i) in bbc_count_to_reg() 207 info->clock_freq = of_getintprop_default(dp, "clock-frequency", 0); in bbc_beep_probe() 209 if (!info->clock_freq) in bbc_beep_probe()
|
/kernel/linux/linux-5.10/drivers/nfc/fdp/ |
D | i2c.c | 220 u8 *clock_type, u32 *clock_freq, in fdp_nci_i2c_read_device_properties() argument 232 r = device_property_read_u32(dev, FDP_DP_CLOCK_FREQ_NAME, clock_freq); in fdp_nci_i2c_read_device_properties() 235 *clock_freq = 26000; in fdp_nci_i2c_read_device_properties() 266 *clock_type, *clock_freq, *fw_vsc_cfg != NULL ? "yes" : "no"); in fdp_nci_i2c_read_device_properties() 282 u32 clock_freq; in fdp_nci_i2c_probe() local 326 fdp_nci_i2c_read_device_properties(dev, &clock_type, &clock_freq, in fdp_nci_i2c_probe() 332 clock_type, clock_freq, fw_vsc_cfg); in fdp_nci_i2c_probe()
|
D | fdp.c | 57 u32 clock_freq; member 120 u32 clock_freq) in fdp_nci_set_clock() argument 126 nd = (24 * fc) / clock_freq; in fdp_nci_set_clock() 127 delta = 24 * fc - nd * clock_freq; in fdp_nci_set_clock() 128 num = (32768 * delta) / clock_freq; in fdp_nci_set_clock() 563 r = fdp_nci_set_clock(ndev, info->clock_type, info->clock_freq); in fdp_nci_post_setup() 716 int tx_tailroom, u8 clock_type, u32 clock_freq, in fdp_nci_probe() argument 732 info->clock_freq = clock_freq; in fdp_nci_probe()
|
D | fdp.h | 26 u8 clock_type, u32 clock_freq, u8 *fw_vsc_cfg);
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
D | wm8739.c | 49 u32 clock_freq; member 125 state->clock_freq = audiofreq; in wm8739_s_clock_freq() 153 v4l2_info(sd, "Frequency: %u Hz\n", state->clock_freq); in wm8739_log_status() 215 state->clock_freq = 48000; in wm8739_probe()
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
D | speedstep-centrino.c | 326 unsigned clock_freq; in get_cur_freq() local 329 clock_freq = extract_clock(l, cpu, 0); in get_cur_freq() 331 if (unlikely(clock_freq == 0)) { in get_cur_freq() 339 clock_freq = extract_clock(l, cpu, 1); in get_cur_freq() 341 return clock_freq; in get_cur_freq()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | wd33c93.h | 220 uchar clock_freq; member 334 dma_setup_t setup, dma_stop_t stop, int clock_freq);
|
D | wd33c93.c | 1527 instance->this_id | hostdata->clock_freq); in reset_wd33c93() 1928 dma_setup_t setup, dma_stop_t stop, int clock_freq) in wd33c93_init() argument 1942 hostdata->clock_freq = set_clk_freq(clock_freq, &i); in wd33c93_init() 1985 hostdata->clock_freq = set_clk_freq(val, &val); in wd33c93_init() 2016 if (WD33C93_FS_16_20 == hostdata->clock_freq /* divisor 4 */ in wd33c93_init() 2139 hd->clock_freq, hd->no_sync, hd->no_dma, hd->dma_mode, hd->fast); in wd33c93_show_info()
|
/kernel/linux/linux-5.10/include/linux/ |
D | i2c-algo-pca.h | 67 int clock_freq; member
|
/kernel/linux/linux-5.10/include/sound/ |
D | ad1816a.h | 127 unsigned int clock_freq; member
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
D | ushc.c | 110 int clock_freq; member 269 if (req->data && ushc->clock_freq < 6000000) { in ushc_request() 367 ushc->clock_freq = clk; in ushc_set_bus_freq()
|
/kernel/linux/linux-5.10/drivers/i2c/algos/ |
D | i2c-algo-pca.c | 59 pca_set_con(adap, I2C_PCA_CON_ENSIO | adap->bus_settings.clock_freq); in pca_reset() 445 pca_data->bus_settings.clock_freq = clock; in pca_init()
|
/kernel/linux/linux-5.10/sound/isa/ad1816a/ |
D | ad1816a_lib.c | 226 if (chip->clock_freq) in snd_ad1816a_playback_prepare() 227 rate = (rate * 33000) / chip->clock_freq; in snd_ad1816a_playback_prepare() 258 if (chip->clock_freq) in snd_ad1816a_capture_prepare() 259 rate = (rate * 33000) / chip->clock_freq; in snd_ad1816a_capture_prepare()
|
D | ad1816a.c | 155 chip->clock_freq = clockfreq[dev]; in snd_card_ad1816a_probe()
|
/kernel/linux/linux-5.10/drivers/net/can/ |
D | flexcan.c | 1947 u32 clock_freq = 0; in flexcan_probe() local 1959 "clock-frequency", &clock_freq); in flexcan_probe() 1964 if (!clock_freq) { in flexcan_probe() 1976 clock_freq = clk_get_rate(clk_per); in flexcan_probe() 2026 priv->can.clock.freq = clock_freq; in flexcan_probe()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
D | fiji_smumgr.c | 1664 uint32_t ro, efuse, efuse2, clock_freq, volt_without_cks, in fiji_populate_clock_stretcher_data_table() local 1790 clock_freq = PP_SMC_TO_HOST_UL( in fiji_populate_clock_stretcher_data_table() 1797 if (clock_freq >= in fiji_populate_clock_stretcher_data_table() 1800 if (clock_freq < in fiji_populate_clock_stretcher_data_table()
|
D | tonga_smumgr.c | 1575 uint32_t ro, efuse, efuse2, clock_freq, volt_without_cks, in tonga_populate_clock_stretcher_data_table() local 1717 clock_freq = PP_SMC_TO_HOST_UL( in tonga_populate_clock_stretcher_data_table() 1724 if (clock_freq >= tonga_clock_stretcher_ddt_table[type][i][0] * 100) { in tonga_populate_clock_stretcher_data_table() 1726 if (clock_freq < tonga_clock_stretcher_ddt_table[type][i][1] * 100) in tonga_populate_clock_stretcher_data_table()
|