Home
last modified time | relevance | path

Searched refs:periph (Results 1 – 25 of 43) sorted by relevance

12

/Zephyr-latest/dts/arm/nuvoton/npcx/npcx9/
Dnpcx9-pinctrl.dtsi36 /omit-if-no-ref/ fiu_ext_io0_io1_clk_cs_gpa4_96_a2_a0: periph-fiu-ext {
41 /omit-if-no-ref/ ext_flash_cs1_gpa6: periph-ext-spi-flash-cs1 {
45 /omit-if-no-ref/ int_flash_sl: periph-fiu-int {
50 /omit-if-no-ref/ fiu_ext_quad_io2_io3_gp93_a7: periph-fiu-ext-quad {
55 /omit-if-no-ref/ espi_lpc_gp46_47_51_52_53_54_55_57: periph-lpc-espi {
60 /omit-if-no-ref/ i2c0_0_sda_scl_gpb4_b5: periph-i2c0-0 {
62 periph-pupd = <0x00 0>;
65 /omit-if-no-ref/ i2c1_0_sda_scl_gp87_90: periph-i2c1-0 {
67 periph-pupd = <0x00 2>;
70 /omit-if-no-ref/ i2c2_0_sda_scl_gp91_92: periph-i2c2-0 {
[all …]
/Zephyr-latest/dts/arm/nuvoton/npcx/npcx4/
Dnpcx4-pinctrl.dtsi51 /omit-if-no-ref/ fiu_ext_io0_io1_clk_cs_gpa4_96_a2_a0: periph-fiu-ext {
55 /omit-if-no-ref/ fiu_ext_quad_io2_io3_gp93_a7: periph-fiu-ext-quad {
59 /omit-if-no-ref/ ext_flash_cs1_sl: periph-ext-spi-flash-cs1 {
64 /omit-if-no-ref/ espi_lpc_gp46_47_51_52_53_54_55_57: periph-lpc-espi {
69 /omit-if-no-ref/ i2c0_0_sda_scl_gpb4_b5: periph-i2c0-0 {
71 periph-pupd = <0x00 0>;
74 /omit-if-no-ref/ i2c1_0_sda_scl_gp87_90: periph-i2c1-0 {
76 periph-pupd = <0x00 2>;
79 /omit-if-no-ref/ i2c2_0_sda_scl_gp91_92: periph-i2c2-0 {
81 periph-pupd = <0x00 4>;
[all …]
/Zephyr-latest/dts/arm/nuvoton/npcx/npcx7/
Dnpcx7-pinctrl.dtsi35 /omit-if-no-ref/ fiu_ext_io0_io1_clk_cs_gpa4_96_a2_a0: periph-fiu-ext {
40 /omit-if-no-ref/ int_flash_sl: periph-fiu-int {
46 /omit-if-no-ref/ espi_lpc_gp46_47_51_52_53_54_55_57: periph-lpc-espi {
51 /omit-if-no-ref/ i2c0_0_sda_scl_gpb4_b5: periph-i2c0-0 {
53 periph-pupd = <0x00 0>;
56 /omit-if-no-ref/ i2c1_0_sda_scl_gp87_90: periph-i2c1-0 {
58 periph-pupd = <0x00 2>;
61 /omit-if-no-ref/ i2c2_0_sda_scl_gp91_92: periph-i2c2-0 {
63 periph-pupd = <0x00 4>;
66 /omit-if-no-ref/ i2c3_0_sda_scl_gpd0_d1: periph-i2c3-0 {
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_peripheral.c77 lll->periph.window_widening_prepare_us += in lll_periph_prepare()
78 lll->periph.window_widening_periodic_us * (p->lazy + 1); in lll_periph_prepare()
79 if (lll->periph.window_widening_prepare_us > in lll_periph_prepare()
80 lll->periph.window_widening_max_us) { in lll_periph_prepare()
81 lll->periph.window_widening_prepare_us = in lll_periph_prepare()
82 lll->periph.window_widening_max_us; in lll_periph_prepare()
144 lll->periph.window_widening_event_us += in prepare_cb()
145 lll->periph.window_widening_prepare_us; in prepare_cb()
146 lll->periph.window_widening_prepare_us = 0; in prepare_cb()
147 if (lll->periph.window_widening_event_us > in prepare_cb()
[all …]
Dlll_conn.c602 lll->periph.window_widening_event_us; in isr_done()
606 lll->periph.window_widening_event_us = 0; in isr_done()
607 lll->periph.window_size_event_us = 0; in isr_done()
657 lll->periph.latency_enabled = 1; in isr_rx_pdu()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_peripheral.c157 lll->periph.window_widening_prepare_us +=
158 lll->periph.window_widening_periodic_us * (lll->lazy_prepare + 1U);
159 if (lll->periph.window_widening_prepare_us >
160 lll->periph.window_widening_max_us) {
161 lll->periph.window_widening_prepare_us =
162 lll->periph.window_widening_max_us;
166 lll->periph.window_widening_event_us +=
167 lll->periph.window_widening_prepare_us;
168 lll->periph.window_widening_prepare_us = 0;
169 if (lll->periph.window_widening_event_us >
[all …]
Dlll_conn.c248 lll->periph.window_widening_prepare_us += in lll_conn_abort_cb()
249 lll->periph.window_widening_periodic_us * in lll_conn_abort_cb()
251 if (lll->periph.window_widening_prepare_us > in lll_conn_abort_cb()
252 lll->periph.window_widening_max_us) { in lll_conn_abort_cb()
253 lll->periph.window_widening_prepare_us = in lll_conn_abort_cb()
254 lll->periph.window_widening_max_us; in lll_conn_abort_cb()
999 lll->periph.window_widening_event_us;
1003 lll->periph.window_widening_event_us = 0;
1004 lll->periph.window_size_event_us = 0;
1053 lll->periph.latency_enabled = 1;
/Zephyr-latest/soc/nuvoton/npcx/common/
Dpinctrl_soc.h123 struct npcx_periph periph; member
179 .cfg.periph.type = NPCX_PINCTRL_TYPE_PERIPH_PINMUX, \
180 .cfg.periph.group = DT_PHA(DT_PROP(node_id, prop), alts, group), \
181 .cfg.periph.bit = DT_PHA(DT_PROP(node_id, prop), alts, bit), \
182 .cfg.periph.inverted = DT_PHA(DT_PROP(node_id, prop), alts, inv), \
210 .cfg.periph.type = NPCX_PINCTRL_TYPE_PERIPH_PUPD, \
211 .cfg.periph.group = DT_PROP_BY_IDX(node_id, prop, 0), \
212 .cfg.periph.bit = DT_PROP_BY_IDX(node_id, prop, 1), \
225 .cfg.periph.type = NPCX_PINCTRL_TYPE_PERIPH_DRIVE, \
226 .cfg.periph.group = DT_PROP(node_periph, pwm_channel), \
/Zephyr-latest/drivers/pinctrl/
Dpinctrl_npcx.c84 static void npcx_periph_pwm_drive_mode_configure(const struct npcx_periph *periph, in npcx_periph_pwm_drive_mode_configure() argument
91 if (periph->group == pwm_pinctrl_cfg[i].channel) { in npcx_periph_pwm_drive_mode_configure()
112 if (pin->cfg.periph.type == NPCX_PINCTRL_TYPE_PERIPH_PINMUX) { in npcx_periph_configure()
114 npcx_periph_pinmux_configure(&pin->cfg.periph, in npcx_periph_configure()
117 } else if (pin->cfg.periph.type == NPCX_PINCTRL_TYPE_PERIPH_PUPD) { in npcx_periph_configure()
119 npcx_periph_pupd_configure(&pin->cfg.periph, in npcx_periph_configure()
121 } else if (pin->cfg.periph.type == NPCX_PINCTRL_TYPE_PERIPH_DRIVE) { in npcx_periph_configure()
123 npcx_periph_pwm_drive_mode_configure(&pin->cfg.periph, in npcx_periph_configure()
/Zephyr-latest/drivers/mfd/
Dmfd_nxp_lp_flexcomm.c20 uint8_t periph; member
72 LP_FLEXCOMM_PERIPH_T periph, child_isr_t handler) in nxp_lp_flexcomm_setirqhandler() argument
77 child = &data->children[periph]; in nxp_lp_flexcomm_setirqhandler()
96 if (child->periph == LP_FLEXCOMM_PERIPH_LPSPI) { in nxp_lp_flexcomm_init()
99 if (child->periph == LP_FLEXCOMM_PERIPH_LPI2C) { in nxp_lp_flexcomm_init()
102 if (child->periph == LP_FLEXCOMM_PERIPH_LPUART) { in nxp_lp_flexcomm_init()
131 .periph = DT_NODE_CHILD_IDX(child_node_id) + 1, \
/Zephyr-latest/soc/nxp/imx/imx8m/a53/
Dsoc.c32 periphConfig.periph = kRDC_Periph_UART2; in soc_rdc_init()
38 periphConfig.periph = kRDC_Periph_UART4; in soc_rdc_init()
44 periphConfig.periph = kRDC_Periph_ENET1; in soc_rdc_init()
/Zephyr-latest/tests/drivers/smbus/smbus_emul/src/
Demul.h39 static inline void peripheral_clear_smbalert(struct smbus_peripheral *periph) in peripheral_clear_smbalert() argument
41 periph->smbalert_handled = false; in peripheral_clear_smbalert()
/Zephyr-latest/drivers/spi/
Dspi_cc13xx_cc26xx.c259 uint32_t domain, periph; \
264 periph = PRCM_PERIPH_SSI0; \
267 periph = PRCM_PERIPH_SSI1; \
273 PRCMPeripheralRunEnable(periph); \
274 PRCMPeripheralSleepEnable(periph); \
275 PRCMPeripheralDeepSleepEnable(periph); \
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_peripheral.c197 conn->periph.sca = pdu_adv->connect_ind.sca;
198 lll->periph.window_widening_periodic_us =
200 lll_clock_ppm_get(conn->periph.sca)) *
202 lll->periph.window_widening_max_us = (conn_interval_us >> 1) -
204 lll->periph.window_size_event_us = pdu_adv->connect_ind.win_size *
236 memcpy((void *)&conn->periph.force, &lll->access_addr[0],
237 sizeof(conn->periph.force));
282 cc->sca = conn->periph.sca;
420 conn_interval_us -= lll->periph.window_widening_periodic_us;
505 if (conn->lll.latency_event && !conn->periph.latency_cancel) {
[all …]
Dull_conn.c1078 if (!conn->periph.drift_skip) { in ull_conn_done()
1083 conn->periph.drift_skip = in ull_conn_done()
1087 conn->periph.drift_skip--; in ull_conn_done()
1098 } else if (lll->periph.latency_enabled) { in ull_conn_done()
1174 force = conn->periph.force & 0x01; in ull_conn_done()
1177 conn->periph.force >>= 1U; in ull_conn_done()
1179 conn->periph.force |= BIT(31); in ull_conn_done()
2361 lll->periph.window_widening_prepare_us -= in ull_conn_update_parameters()
2362 lll->periph.window_widening_periodic_us * instant_latency; in ull_conn_update_parameters()
2364 lll->periph.window_widening_periodic_us = in ull_conn_update_parameters()
[all …]
Dlll_conn.h100 } periph; member
Dull_peripheral_iso.c211 lll_clock_ppm_get(acl->periph.sca)) * in ull_peripheral_iso_acquire()
414 cig->sca_update = acl->periph.sca + 1; in ull_peripheral_iso_update_peer_sca()
/Zephyr-latest/include/zephyr/drivers/mfd/
Dnxp_lp_flexcomm.h14 LP_FLEXCOMM_PERIPH_T periph, child_isr_t handler);
/Zephyr-latest/samples/boards/microchip/mec15xxevb_assy6853/power_management/
Dmec15xxevb_assy6853.overlay14 periph-32k-src = <MCHP_XEC_PERIPH_CLK32K_SRC_SO_SO>;
/Zephyr-latest/dts/arm/renesas/smartbond/
Dda1469x.dtsi272 periph-clock-config = <0x01>;
280 periph-clock-config = <0x02>;
289 periph-clock-config = <0x08>;
331 periph-clock-config = <0x0200>;
341 periph-clock-config = <0x0800>;
358 periph-clock-config = <0x20>;
368 periph-clock-config = <0x80>;
/Zephyr-latest/samples/drivers/clock_control_xec/boards/
Dmec1501modular_assy6885.overlay14 periph-32k-src = <MCHP_XEC_PERIPH_CLK32K_SRC_SO_SO>;
Dmec15xxevb_assy6853.overlay14 periph-32k-src = <MCHP_XEC_PERIPH_CLK32K_SRC_SO_SO>;
Dmec172xevb_assy6906.overlay14 periph-32k-src = <MCHP_XEC_PERIPH_CLK32K_SRC_SO_SO>;
/Zephyr-latest/drivers/serial/
Duart_cc13xx_cc26xx.c516 uint32_t domain, periph; \
521 periph = PRCM_PERIPH_UART0; \
524 periph = PRCM_PERIPH_UART1; \
529 PRCMPeripheralRunEnable(periph); \
530 PRCMPeripheralSleepEnable(periph); \
/Zephyr-latest/drivers/i2c/
Di2c_ll_stm32.h98 uint16_t periph);

12