Home
last modified time | relevance | path

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

123

/linux/drivers/nfc/fdp/
H A 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()
H A 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()
H A Dfdp.h26 u8 clock_type, u32 clock_freq, const u8 *fw_vsc_cfg);
/linux/drivers/staging/sm750fb/
H A Dddk750_chip.h34 enum clock_type { enum
43 enum clock_type clock_type; member
H A Dddk750_mode.c84 if (pll->clock_type == SECONDARY_PLL) { in program_mode_registers()
137 } else if (pll->clock_type == PRIMARY_PLL) { in program_mode_registers()
206 int ddk750_set_mode_timing(struct mode_parameter *parm, enum clock_type clock) in ddk750_set_mode_timing()
211 pll.clock_type = clock; in ddk750_set_mode_timing()
H A Dddk750_mode.h36 int ddk750_set_mode_timing(struct mode_parameter *parm, enum clock_type clock);
H A 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/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/
H A 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/tools/testing/selftests/timers/
H A Dinconsistency-check.c83 int consistency_test(int clock_type, unsigned long seconds) in in_order()
91 clock_gettime(clock_type, &list[0]);
103 clock_gettime(clock_type, &list[i]); in consistency_test()
94 consistency_test(int clock_type,unsigned long seconds) consistency_test() argument
/linux/drivers/net/wan/
H A 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()
H A 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()
H A 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()
H A 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()
H A Dfsl_qmc_hdlc.c160 switch (te1->clock_type) { in qmc_hdlc_framer_set_iface()
165 config.clock_type = FRAMER_CLOCK_EXT; in qmc_hdlc_framer_set_iface()
168 config.clock_type = FRAMER_CLOCK_INT; in qmc_hdlc_framer_set_iface()
204 switch (config.clock_type) { in qmc_hdlc_framer_get_iface()
206 te1->clock_type = CLOCK_EXT; in qmc_hdlc_framer_get_iface()
209 te1->clock_type = CLOCK_INT; in qmc_hdlc_framer_get_iface()
H A 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/tools/testing/selftests/cgroup/
H A Dtest_cpu.c32 enum hog_clock_type clock_type;
160 if (param->clock_type == CPU_HOG_CLOCK_PROCESS) { in hog_cpus_timed()
211 .clock_type = CPU_HOG_CLOCK_PROCESS, in test_cpucg_stats()
275 .clock_type = CPU_HOG_CLOCK_PROCESS, in run_cpucg_weight_test()
384 .clock_type = CPU_HOG_CLOCK_WALL,
546 .clock_type = CPU_HOG_CLOCK_WALL,
669 .clock_type = CPU_HOG_CLOCK_WALL, in test_cpucg_max_nested()
729 .clock_type = CPU_HOG_CLOCK_WALL,
29 enum hog_clock_type clock_type; global() member
/linux/include/uapi/linux/hdlc/
H A Dioctl.h42 unsigned int clock_type; /* internal, external, TX-internal etc. */ member
48 unsigned int clock_type; /* internal, external, TX-internal etc. */ member
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A 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/sound/pci/pcxhr/
H A 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()
H A Dpcxhr_mix22.h19 enum pcxhr_clock_type clock_type,
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
H A Ddcn20_clk_mgr.h50 enum dc_clock_type clock_type,
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
H A Ddcn10_hwseq.h183 enum dc_clock_type clock_type,
187 enum dc_clock_type clock_type,
/linux/arch/x86/platform/uv/
H A 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/sound/core/
H A Drawmidi.c764 unsigned int clock_type = params->mode & SNDRV_RAWMIDI_MODE_CLOCK_MASK; in snd_rawmidi_input_params()
769 if (framing == SNDRV_RAWMIDI_MODE_FRAMING_NONE && clock_type != SNDRV_RAWMIDI_MODE_CLOCK_NONE) in snd_rawmidi_input_params()
771 else if (clock_type > SNDRV_RAWMIDI_MODE_CLOCK_MONOTONIC_RAW) in snd_rawmidi_input_params()
780 substream->clock_type = clock_type; in snd_rawmidi_input_params()
1116 switch (substream->clock_type) { in get_framing_tstamp()
1704 unsigned int clock_type; in snd_rawmidi_proc_info_read()
1767 clock_type = substream->clock_type >> SNDRV_RAWMIDI_MODE_CLOCK_SHIFT; in snd_rawmidi_proc_info_read()
1768 if (!snd_BUG_ON(clock_type > in snd_rawmidi_proc_info_read()
762 unsigned int clock_type = params->mode & SNDRV_RAWMIDI_MODE_CLOCK_MASK; snd_rawmidi_input_params() local
1702 unsigned int clock_type; snd_rawmidi_proc_info_read() local
[all...]
/linux/Documentation/virt/kvm/x86/
H A Dhypercalls.rst114 a1: clock_type, ATM only KVM_CLOCK_PAIRING_WALLCLOCK (0)
128 * sec: seconds from clock_type clock.
129 * nsec: nanoseconds from clock_type clock.

123