Home
last modified time | relevance | path

Searched refs:clock_type (Results 1 – 25 of 64) sorted by relevance

123

/linux-6.6.21/drivers/staging/sm750fb/
Dddk750_chip.h34 enum clock_type { enum
43 enum clock_type clock_type; member
Dddk750_mode.c85 if (pll->clock_type == SECONDARY_PLL) { in programModeRegisters()
138 } else if (pll->clock_type == PRIMARY_PLL) { in programModeRegisters()
210 int ddk750_setModeTiming(struct mode_parameter *parm, enum clock_type clock) in ddk750_setModeTiming()
215 pll.clock_type = clock; in ddk750_setModeTiming()
Dddk750_mode.h36 int ddk750_setModeTiming(struct mode_parameter *parm, enum clock_type clock);
Dddk750_chip.c69 pll.clock_type = MXCLK_PLL; in set_chip_clock()
345 if (pll->clock_type == MXCLK_PLL) in sm750_calc_pll_value()
/linux-6.6.21/drivers/nfc/fdp/
Di2c.c218 u8 *clock_type, u32 *clock_freq, in fdp_nci_i2c_read_device_properties() argument
224 r = device_property_read_u8(dev, FDP_DP_CLOCK_TYPE_NAME, clock_type); in fdp_nci_i2c_read_device_properties()
227 *clock_type = 0; in fdp_nci_i2c_read_device_properties()
268 *clock_type, *clock_freq, *fw_vsc_cfg != NULL ? "yes" : "no"); in fdp_nci_i2c_read_device_properties()
283 u8 clock_type; in fdp_nci_i2c_probe() local
328 fdp_nci_i2c_read_device_properties(dev, &clock_type, &clock_freq, in fdp_nci_i2c_probe()
334 clock_type, clock_freq, fw_vsc_cfg); in fdp_nci_i2c_probe()
Dfdp.c56 u8 clock_type; member
119 static int fdp_nci_set_clock(struct nci_dev *ndev, u8 clock_type, in fdp_nci_set_clock() argument
139 data[8] = clock_type; in fdp_nci_set_clock()
547 r = fdp_nci_set_clock(ndev, info->clock_type, info->clock_freq); in fdp_nci_post_setup()
701 int tx_tailroom, u8 clock_type, u32 clock_freq, in fdp_nci_probe() argument
716 info->clock_type = clock_type; in fdp_nci_probe()
Dfdp.h26 u8 clock_type, u32 clock_freq, const u8 *fw_vsc_cfg);
/linux-6.6.21/tools/testing/selftests/timers/
Dinconsistency-check.c94 int consistency_test(int clock_type, unsigned long seconds) in consistency_test() argument
102 clock_gettime(clock_type, &list[0]); in consistency_test()
114 clock_gettime(clock_type, &list[i]); in consistency_test()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/
Ddce112_clk_mgr.c87 dce_clk_params.clock_type = DCECLOCK_TYPE_DISPLAY_CLOCK; in dce112_set_clock()
102 dce_clk_params.clock_type = DCECLOCK_TYPE_DPREFCLK; in dce112_set_clock()
141 dce_clk_params.clock_type = DCECLOCK_TYPE_DISPLAY_CLOCK; in dce112_set_dispclk()
176 dce_clk_params.clock_type = DCECLOCK_TYPE_DPREFCLK; in dce112_set_dprefclk()
/linux-6.6.21/include/uapi/linux/hdlc/
Dioctl.h42 unsigned int clock_type; /* internal, external, TX-internal etc. */ member
48 unsigned int clock_type; /* internal, external, TX-internal etc. */ member
/linux-6.6.21/drivers/net/wan/
Dpci200syn.c119 switch (port->settings.clock_type) { in pci200_set_iface()
208 if (new_line.clock_type != CLOCK_EXT && in pci200_ioctl()
209 new_line.clock_type != CLOCK_TXFROMRX && in pci200_ioctl()
210 new_line.clock_type != CLOCK_INT && in pci200_ioctl()
211 new_line.clock_type != CLOCK_TXINT) in pci200_ioctl()
382 port->settings.clock_type = CLOCK_EXT; in pci200_pci_init_one()
Dc101.c146 switch (port->settings.clock_type) { in c101_set_iface()
256 if (new_line.clock_type != CLOCK_EXT && in c101_ioctl()
257 new_line.clock_type != CLOCK_TXFROMRX && in c101_ioctl()
258 new_line.clock_type != CLOCK_INT && in c101_ioctl()
259 new_line.clock_type != CLOCK_TXINT) in c101_ioctl()
369 card->settings.clock_type = CLOCK_EXT; in c101_run()
Dpc300too.c119 switch (port->settings.clock_type) { in pc300_set_iface()
231 if (new_line.clock_type != CLOCK_EXT && in pc300_ioctl()
232 new_line.clock_type != CLOCK_TXFROMRX && in pc300_ioctl()
233 new_line.clock_type != CLOCK_INT && in pc300_ioctl()
234 new_line.clock_type != CLOCK_TXINT) in pc300_ioctl()
443 port->settings.clock_type = CLOCK_EXT; in pc300_pci_init_one()
Dn2.c161 switch (port->settings.clock_type) { in n2_set_iface()
267 if (new_line.clock_type != CLOCK_EXT && in n2_ioctl()
268 new_line.clock_type != CLOCK_TXFROMRX && in n2_ioctl()
269 new_line.clock_type != CLOCK_INT && in n2_ioctl()
270 new_line.clock_type != CLOCK_TXINT) in n2_ioctl()
456 port->settings.clock_type = CLOCK_EXT; in n2_run()
Dixp4xx_hss.c278 unsigned int clock_type, clock_rate, loopback; member
408 if (port->clock_type == CLOCK_INT) in hss_config()
1292 static int hss_hdlc_set_clock(struct port *port, unsigned int clock_type) in hss_hdlc_set_clock() argument
1294 switch (clock_type) { in hss_hdlc_set_clock()
1324 new_line.clock_type = port->clock_type; in hss_hdlc_ioctl()
1338 clk = new_line.clock_type; in hss_hdlc_ioctl()
1347 port->clock_type = clk; /* Update settings */ in hss_hdlc_ioctl()
1502 port->clock_type = CLOCK_EXT; in ixp4xx_hss_probe()
Dwanxl.c58 unsigned int clock_type; member
360 line.clock_type = get_status(port)->clocking; in wanxl_ioctl()
378 if (line.clock_type != CLOCK_EXT && in wanxl_ioctl()
379 line.clock_type != CLOCK_TXFROMRX) in wanxl_ioctl()
385 get_status(port)->clocking = line.clock_type; in wanxl_ioctl()
/linux-6.6.21/tools/testing/selftests/cgroup/
Dtest_cpu.c31 enum hog_clock_type clock_type; member
159 if (param->clock_type == CPU_HOG_CLOCK_PROCESS) { in hog_cpus_timed()
210 .clock_type = CPU_HOG_CLOCK_PROCESS, in test_cpucg_stats()
310 .clock_type = CPU_HOG_CLOCK_WALL, in weight_hog_ncpus()
472 .clock_type = CPU_HOG_CLOCK_WALL, in run_cpucg_nested_weight_test()
595 .clock_type = CPU_HOG_CLOCK_WALL, in test_cpucg_max()
655 .clock_type = CPU_HOG_CLOCK_WALL, in test_cpucg_max_nested()
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_pp_smu.c434 pp_clock_request.clock_type = dc_to_pp_clock_type(clock_for_voltage_req->clk_type); in dm_pp_apply_clock_for_voltage_request()
437 if (!pp_clock_request.clock_type) in dm_pp_apply_clock_for_voltage_request()
605 clock_req.clock_type = amd_pp_dcef_clock; in pp_nv_set_hard_min_dcefclk_by_freq()
628 clock_req.clock_type = amd_pp_mem_clock; in pp_nv_set_hard_min_uclk_by_freq()
666 clock_req.clock_type = amd_pp_disp_clock; in pp_nv_set_voltage_by_freq()
669 clock_req.clock_type = amd_pp_phy_clock; in pp_nv_set_voltage_by_freq()
672 clock_req.clock_type = amd_pp_pixel_clock; in pp_nv_set_voltage_by_freq()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atombios.h155 u8 clock_type,
203 u8 clock_type,
/linux-6.6.21/sound/pci/pcxhr/
Dpcxhr_mix22.c403 enum pcxhr_clock_type clock_type, in hr222_get_external_clock() argument
410 if (clock_type == HR22_CLOCK_TYPE_AES_SYNC) { in hr222_get_external_clock()
416 } else if (clock_type == HR22_CLOCK_TYPE_AES_1 && mgr->board_has_aes1) { in hr222_get_external_clock()
425 clock_type); in hr222_get_external_clock()
431 "get_external_clock(%d) = 0 Hz\n", clock_type); in hr222_get_external_clock()
Dpcxhr_mix22.h19 enum pcxhr_clock_type clock_type,
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
Ddcn20_clk_mgr.h50 enum dc_clock_type clock_type,
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.h180 enum dc_clock_type clock_type,
184 enum dc_clock_type clock_type,
/linux-6.6.21/arch/x86/platform/uv/
Dbios_uv.c151 s64 uv_bios_freq_base(u64 clock_type, u64 *ticks_per_second) in uv_bios_freq_base() argument
153 return uv_bios_call(UV_BIOS_FREQ_BASE, clock_type, in uv_bios_freq_base()
/linux-6.6.21/sound/core/
Drawmidi.c787 unsigned int clock_type = params->mode & SNDRV_RAWMIDI_MODE_CLOCK_MASK; in snd_rawmidi_input_params() local
792 if (framing == SNDRV_RAWMIDI_MODE_FRAMING_NONE && clock_type != SNDRV_RAWMIDI_MODE_CLOCK_NONE) in snd_rawmidi_input_params()
794 else if (clock_type > SNDRV_RAWMIDI_MODE_CLOCK_MONOTONIC_RAW) in snd_rawmidi_input_params()
803 substream->clock_type = clock_type; in snd_rawmidi_input_params()
1144 switch (substream->clock_type) { in get_framing_tstamp()
1765 unsigned int clock_type; in snd_rawmidi_proc_info_read() local
1828 clock_type = substream->clock_type >> SNDRV_RAWMIDI_MODE_CLOCK_SHIFT; in snd_rawmidi_proc_info_read()
1829 if (!snd_BUG_ON(clock_type >= ARRAY_SIZE(clock_names))) in snd_rawmidi_proc_info_read()
1833 clock_names[clock_type]); in snd_rawmidi_proc_info_read()

123