Home
last modified time | relevance | path

Searched refs:clock_freq (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/spi/
Dspi-jcore.c41 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/
Dsparcspkr.c27 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/
Di2c.c220 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()
Dfdp.c57 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()
Dfdp.h26 u8 clock_type, u32 clock_freq, u8 *fw_vsc_cfg);
/kernel/linux/linux-5.10/drivers/media/i2c/
Dwm8739.c49 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/
Dspeedstep-centrino.c326 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/
Dwd33c93.h220 uchar clock_freq; member
334 dma_setup_t setup, dma_stop_t stop, int clock_freq);
Dwd33c93.c1527 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/
Di2c-algo-pca.h67 int clock_freq; member
/kernel/linux/linux-5.10/include/sound/
Dad1816a.h127 unsigned int clock_freq; member
/kernel/linux/linux-5.10/drivers/mmc/host/
Dushc.c110 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/
Di2c-algo-pca.c59 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/
Dad1816a_lib.c226 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()
Dad1816a.c155 chip->clock_freq = clockfreq[dev]; in snd_card_ad1816a_probe()
/kernel/linux/linux-5.10/drivers/net/can/
Dflexcan.c1947 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/
Dfiji_smumgr.c1664 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()
Dtonga_smumgr.c1575 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()