Home
last modified time | relevance | path

Searched defs:clk (Results 1 – 25 of 85) sorted by relevance

1234

/Zephyr-latest/drivers/clock_control/
Dclock_control_arm_scmi.c20 clock_control_subsys_t clk, bool on) in scmi_clock_on_off()
43 static int scmi_clock_on(const struct device *dev, clock_control_subsys_t clk) in scmi_clock_on()
48 static int scmi_clock_off(const struct device *dev, clock_control_subsys_t clk) in scmi_clock_off()
54 clock_control_subsys_t clk, uint32_t *rate) in scmi_clock_get_rate()
Dclock_control_smartbond.c208 enum smartbond_clock clk = (enum smartbond_clock)(sub_system); in smartbond_clock_control_on() local
260 enum smartbond_clock clk = (enum smartbond_clock)(sub_system); in smartbond_clock_control_off() local
327 static enum smartbond_clock smartbond_source_clock(enum smartbond_clock clk) in smartbond_source_clock()
355 static int smartbond_clock_get_rate(enum smartbond_clock clk, uint32_t *rate) in smartbond_clock_get_rate()
418 enum smartbond_clock clk = smartbond_dt_ord_to_clock(clock_id); in smartbond_clock_control_on_by_ord() local
426 enum smartbond_clock clk = smartbond_dt_ord_to_clock(clock_id); in smartbond_clock_control_off_by_ord() local
Dclock_control_adsp.c10 static int cavs_clock_ctrl_set_rate(const struct device *clk, in cavs_clock_ctrl_set_rate()
Dclock_control_r8a7795_cpg_mssr.c115 static int r8a7795_cpg_core_clock_endisable(const struct device *dev, struct rcar_cpg_clk *clk, in r8a7795_cpg_core_clock_endisable()
150 struct rcar_cpg_clk *clk = (struct rcar_cpg_clk *)sys; in r8a7795_cpg_mssr_start_stop() local
Dclock_control_r8a779f0_cpg_mssr.c110 static int r8a779f0_cpg_core_clock_endisable(const struct device *dev, struct rcar_cpg_clk *clk, in r8a779f0_cpg_core_clock_endisable()
144 struct rcar_cpg_clk *clk = (struct rcar_cpg_clk *)sys; in r8a779f0_cpg_mssr_start_stop() local
/Zephyr-latest/soc/nxp/kinetis/k2x/
Dsoc.c30 #define CLOCK_NODEID(clk) \ argument
33 #define CLOCK_DIVIDER(clk) \ argument
/Zephyr-latest/soc/nxp/kinetis/kl2x/
Dsoc.c17 #define CLOCK_NODEID(clk) \ argument
20 #define CLOCK_DIVIDER(clk) \ argument
/Zephyr-latest/soc/nxp/kinetis/kv5x/
Dsoc.c22 #define CLOCK_NODEID(clk) \ argument
25 #define CLOCK_DIVIDER(clk) \ argument
/Zephyr-latest/soc/nxp/kinetis/k6x/
Dsoc.c32 #define CLOCK_NODEID(clk) \ argument
35 #define CLOCK_DIVIDER(clk) \ argument
/Zephyr-latest/soc/nxp/kinetis/kwx/
Dsoc_kw4xz.c18 #define CLOCK_NODEID(clk) \ argument
21 #define CLOCK_DIVIDER(clk) \ argument
Dsoc_kw2xd.c29 #define CLOCK_NODEID(clk) \ argument
32 #define CLOCK_DIVIDER(clk) \ argument
/Zephyr-latest/soc/nxp/kinetis/k8x/
Dsoc.c25 #define CLOCK_NODEID(clk) \ argument
28 #define CLOCK_DIVIDER(clk) \ argument
/Zephyr-latest/drivers/fpga/
Dfpga_ice40_bitbang.c47 struct gpio_dt_spec clk; member
71 volatile gpio_port_pins_t *clear, gpio_port_pins_t clk, size_t n) in fpga_ice40_send_clocks()
83 gpio_port_pins_t clk, gpio_port_pins_t pico, uint8_t *z, in fpga_ice40_spi_send_data()
127 gpio_port_pins_t clk; in fpga_ice40_load() local
/Zephyr-latest/soc/nxp/mcx/mcxc/
Dsoc.c28 #define CLOCK_NODEID(clk) DT_CHILD(DT_INST(0, nxp_kinetis_sim), clk) argument
30 #define CLOCK_DIVIDER(clk) DT_PROP_OR(CLOCK_NODEID(clk), clock_div, 1) - 1 argument
/Zephyr-latest/soc/st/stm32/common/
Dstm32_backup_sram.c28 const struct device *const clk = DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE); in stm32_backup_sram_init() local
/Zephyr-latest/tests/net/ptp/clock/src/
Dmain.c308 const struct device *clk; in iface_cb() local
415 const struct device *clk; in test_ptp_clock_interfaces() local
445 const struct device *clk; in test_ptp_clock_iface() local
489 const struct device *clk, *clk_by_index; in test_ptp_clock_get_by_index() local
551 const struct device *clk; in test_ptp_clock_get_kernel() local
568 const struct device *clk; in setup() local
/Zephyr-latest/drivers/serial/
Duart_pl011_ambiq.h25 static inline int pl011_ambiq_clk_set(const struct device *dev, uint32_t clk) in pl011_ambiq_clk_set()
50 static inline int clk_enable_ambiq_uart(const struct device *dev, uint32_t clk) in clk_enable_ambiq_uart()
/Zephyr-latest/drivers/i2c/
Di2c_ll_stm32.c86 const struct device *clk = DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE); in i2c_stm32_runtime_configure() local
335 const struct device *const clk = DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE); in i2c_stm32_suspend() local
362 const struct device *const clk = DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE); in i2c_stm32_activate() local
384 const struct device *const clk = DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE); in i2c_stm32_init() local
/Zephyr-latest/drivers/usb/device/
Dusb_dc_dw_stm32.h22 static inline int clk_enable_st_stm32f4_fsotg(const struct usb_dw_stm32_clk *const clk) in clk_enable_st_stm32f4_fsotg()
Dusb_dc_stm32.c215 static int usb_dc_stm32u5_phy_clock_select(const struct device *const clk) in usb_dc_stm32u5_phy_clock_select()
249 static int usb_dc_stm32u5_phy_clock_enable(const struct device *const clk) in usb_dc_stm32u5_phy_clock_enable()
268 static int usb_dc_stm32_phy_specific_clock_enable(const struct device *const clk) in usb_dc_stm32_phy_specific_clock_enable()
319 static int usb_dc_stm32_phy_specific_clock_enable(const struct device *const clk) in usb_dc_stm32_phy_specific_clock_enable()
365 const struct device *const clk = DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE); in usb_dc_stm32_clock_enable() local
419 const struct device *clk = DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE); in usb_dc_stm32_clock_disable() local
/Zephyr-latest/tests/drivers/clock_control/stm32_clock_configuration/stm32_common_devices/src/
Dtest_stm32_clock_configuration_i2c.c28 static void i2c_set_clock(const struct stm32_pclken *clk) in i2c_set_clock()
/Zephyr-latest/drivers/memc/
Dmemc_stm32.c44 const struct device *clk; in memc_stm32_init() local
/Zephyr-latest/drivers/counter/
Dcounter_ll_stm32_rtc.c189 const struct device *const clk = DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE); in rtc_stm32_start() local
212 const struct device *const clk = DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE); in rtc_stm32_stop() local
552 const struct device *const clk = DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE); in rtc_stm32_init() local
654 const struct device *const clk = DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE); in rtc_stm32_pm_action() local
/Zephyr-latest/subsys/net/l2/ethernet/gptp/
Dgptp_user_api.c57 const struct device *clk; in gptp_event_capture() local
/Zephyr-latest/drivers/watchdog/
Dwdt_wwdg_stm32.c92 const struct device *const clk = DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE); in wwdg_stm32_get_pclk() local
282 const struct device *const clk = DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE); in wwdg_stm32_init() local

1234