Home
last modified time | relevance | path

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

123

/Linux-v5.15/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-v5.15/drivers/nfc/fdp/
Di2c.c220 u8 *clock_type, u32 *clock_freq, in fdp_nci_i2c_read_device_properties() argument
226 r = device_property_read_u8(dev, FDP_DP_CLOCK_TYPE_NAME, clock_type); in fdp_nci_i2c_read_device_properties()
229 *clock_type = 0; 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()
281 u8 clock_type; 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.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()
539 r = fdp_nci_set_clock(ndev, info->clock_type, info->clock_freq); in fdp_nci_post_setup()
693 int tx_tailroom, u8 clock_type, u32 clock_freq, in fdp_nci_probe() argument
708 info->clock_type = clock_type; in fdp_nci_probe()
Dfdp.h26 u8 clock_type, u32 clock_freq, const u8 *fw_vsc_cfg);
/Linux-v5.15/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-v5.15/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()
143 dce_clk_params.clock_type = DCECLOCK_TYPE_DISPLAY_CLOCK; in dce112_set_dispclk()
180 dce_clk_params.clock_type = DCECLOCK_TYPE_DPREFCLK; in dce112_set_dprefclk()
/Linux-v5.15/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-v5.15/drivers/net/wan/
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()
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()
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()
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()
Dixp4xx_hss.c262 unsigned int clock_type, clock_rate, loopback; member
400 if (port->clock_type == CLOCK_INT) in hss_config()
1274 new_line.clock_type = port->clock_type; in hss_hdlc_ioctl()
1288 clk = new_line.clock_type; in hss_hdlc_ioctl()
1298 port->clock_type = clk; /* Update settings */ in hss_hdlc_ioctl()
1368 port->clock_type = CLOCK_EXT; in hss_init_one()
/Linux-v5.15/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_pp_smu.c453 pp_clock_request.clock_type = dc_to_pp_clock_type(clock_for_voltage_req->clk_type); in dm_pp_apply_clock_for_voltage_request()
456 if (!pp_clock_request.clock_type) in dm_pp_apply_clock_for_voltage_request()
668 clock_req.clock_type = amd_pp_dcef_clock; in pp_nv_set_hard_min_dcefclk_by_freq()
692 clock_req.clock_type = amd_pp_mem_clock; in pp_nv_set_hard_min_uclk_by_freq()
735 clock_req.clock_type = amd_pp_disp_clock; in pp_nv_set_voltage_by_freq()
738 clock_req.clock_type = amd_pp_phy_clock; in pp_nv_set_voltage_by_freq()
741 clock_req.clock_type = amd_pp_pixel_clock; in pp_nv_set_voltage_by_freq()
/Linux-v5.15/include/linux/platform_data/
Dwan_ixp4xx_hss.h9 int (*set_clock)(int port, unsigned int clock_type);
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atombios.h158 u8 clock_type,
199 u8 clock_type,
/Linux-v5.15/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-v5.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
Ddcn20_clk_mgr.h50 enum dc_clock_type clock_type,
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.h181 enum dc_clock_type clock_type,
185 enum dc_clock_type clock_type,
/Linux-v5.15/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-v5.15/sound/core/
Drawmidi.c727 unsigned int clock_type = params->mode & SNDRV_RAWMIDI_MODE_CLOCK_MASK; in snd_rawmidi_input_params() local
730 if (framing == SNDRV_RAWMIDI_MODE_FRAMING_NONE && clock_type != SNDRV_RAWMIDI_MODE_CLOCK_NONE) in snd_rawmidi_input_params()
732 else if (clock_type > SNDRV_RAWMIDI_MODE_CLOCK_MONOTONIC_RAW) in snd_rawmidi_input_params()
742 substream->clock_type = clock_type; in snd_rawmidi_input_params()
1036 switch (substream->clock_type) { in get_framing_tstamp()
1632 unsigned int clock_type; in snd_rawmidi_proc_info_read() local
1690 clock_type = substream->clock_type >> SNDRV_RAWMIDI_MODE_CLOCK_SHIFT; in snd_rawmidi_proc_info_read()
1691 if (!snd_BUG_ON(clock_type >= ARRAY_SIZE(clock_names))) in snd_rawmidi_proc_info_read()
1695 clock_names[clock_type]); in snd_rawmidi_proc_info_read()

123