Home
last modified time | relevance | path

Searched refs:scfg (Results 1 – 19 of 19) sorted by relevance

/Zephyr-Core-3.7.0/dts/arm/nuvoton/npcx/npcx4/
Dnpcx4-lvol-ctrl-map.dtsi17 lvols = <&scfg 1 7>;
22 lvols = <&scfg 2 6>;
27 lvols = <&scfg 5 4>;
30 lvols = <&scfg 5 5>;
33 lvols = <&scfg 5 6>;
36 lvols = <&scfg 5 7>;
41 lvols = <&scfg 6 0>;
44 lvols = <&scfg 6 1>;
47 lvols = <&scfg 6 2>;
50 lvols = <&scfg 6 3>;
[all …]
Dnpcx4-alts-map.dtsi17 alts = <&scfg 0x00 0x4 0>;
20 alts = <&scfg 0x00 0x6 0>;
25 alts = <&scfg 0x02 0x7 0>;
30 alts = <&scfg 0x05 0x1 0>;
33 alts = <&scfg 0x05 0x7 0>;
38 alts = <&scfg 0x0E 0x6 0>;
41 alts = <&scfg 0x0E 0x7 0>;
46 alts = <&scfg 0x0F 0x5 0>;
49 alts = <&scfg 0x0F 0x6 0>;
54 alts = <&scfg 0x0A 0x3 0>;
[all …]
/Zephyr-Core-3.7.0/tests/drivers/pinctrl/nrf/src/
Dmain.c17 const struct pinctrl_state *scfg; in ZTEST() local
22 scfg = &pcfg->states[0]; in ZTEST()
24 zassert_equal(scfg->id, PINCTRL_STATE_DEFAULT); in ZTEST()
25 zassert_equal(scfg->pin_cnt, 7U); in ZTEST()
27 zassert_equal(NRF_GET_FUN(scfg->pins[0]), NRF_FUN_UART_TX); in ZTEST()
28 zassert_equal(NRF_GET_LP(scfg->pins[0]), NRF_LP_DISABLE); in ZTEST()
29 zassert_equal(NRF_GET_DRIVE(scfg->pins[0]), NRF_DRIVE_S0S1); in ZTEST()
30 zassert_equal(NRF_GET_PULL(scfg->pins[0]), NRF_PULL_NONE); in ZTEST()
31 zassert_equal(NRF_GET_PIN(scfg->pins[0]), 1U); in ZTEST()
33 zassert_equal(NRF_GET_FUN(scfg->pins[1]), NRF_FUN_UART_RTS); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/dts/arm/nuvoton/npcx/
Dnpcx-alts-map.dtsi14 alts = <&scfg 0x00 0x0 0>;
17 alts = <&scfg 0x00 0x3 1>;
21 alts = <&scfg 0x00 0x7 1>;
26 alts = <&scfg 0x01 0x0 0>;
29 alts = <&scfg 0x01 0x2 0>;
32 alts = <&scfg 0x01 0x3 0>;
35 alts = <&scfg 0x01 0x4 1>;
38 alts = <&scfg 0x01 0x5 0>;
41 alts = <&scfg 0x01 0x6 0>;
44 alts = <&scfg 0x01 0x7 1>;
[all …]
Dnpcx-lvol-ctrl-map.dtsi13 lvols = <&scfg 0 0>;
16 lvols = <&scfg 0 1>;
19 lvols = <&scfg 0 2>;
22 lvols = <&scfg 0 3>;
25 lvols = <&scfg 0 4>;
28 lvols = <&scfg 0 5>;
31 lvols = <&scfg 0 6>;
34 lvols = <&scfg 0 7>;
39 lvols = <&scfg 1 0>;
42 lvols = <&scfg 1 1>;
[all …]
Dnpcx.dtsi94 scfg: scfg@400c3000 { label
95 compatible = "nuvoton,npcx-scfg";
102 reg-names = "scfg", "dbg", "glue";
/Zephyr-Core-3.7.0/tests/drivers/pinctrl/api/src/
Dmain.c39 const struct pinctrl_state *scfg; in ZTEST() local
46 scfg = &pcfg0->states[0]; in ZTEST()
47 zassert_equal(scfg->id, PINCTRL_STATE_DEFAULT); in ZTEST()
48 zassert_equal(TEST_GET_PIN(scfg->pins[0]), 0); in ZTEST()
49 zassert_equal(TEST_GET_PULL(scfg->pins[0]), TEST_PULL_UP); in ZTEST()
50 zassert_equal(TEST_GET_PIN(scfg->pins[1]), 1); in ZTEST()
51 zassert_equal(TEST_GET_PULL(scfg->pins[1]), TEST_PULL_DOWN); in ZTEST()
63 const struct pinctrl_state *scfg; in ZTEST() local
70 scfg = &pcfg1->states[0]; in ZTEST()
71 zassert_equal(scfg->id, PINCTRL_STATE_DEFAULT); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/dts/arm/nuvoton/npcx/npcx9/
Dnpcx9-alts-map.dtsi17 alts = <&scfg 0x00 0x4 0>;
20 alts = <&scfg 0x00 0x6 0>;
25 alts = <&scfg 0x05 0x1 0>;
30 alts = <&scfg 0x0E 0x6 0>;
33 alts = <&scfg 0x0E 0x7 0>;
38 alts = <&scfg 0x0F 0x5 0>;
41 alts = <&scfg 0x0F 0x6 0>;
46 alts = <&scfg 0x10 0x4 0>;
49 alts = <&scfg 0x10 0x5 0>;
52 alts = <&scfg 0x10 0x6 0>;
[all …]
Dnpcx9-lvol-ctrl-map.dtsi17 lvols = <&scfg 1 7>;
/Zephyr-Core-3.7.0/dts/arm/nuvoton/npcx/npcx7/
Dnpcx7-alts-map.dtsi17 alts = <&scfg 0x05 0x1 1>;
20 alts = <&scfg 0x05 0x2 1>;
25 alts = <&scfg 0x01 0x1 0>;
30 alts = <&scfg 0x0A 0x5 0>;
33 alts = <&scfg 0x0A 0x7 0>;
38 alts = <&scfg 0x0C 0x0 0>;
43 alts = <&scfg 0x0E 0x0 0>;
46 alts = <&scfg 0x0E 0x1 0>;
49 alts = <&scfg 0x0E 0x2 0>;
Dnpcx7-lvol-ctrl-map.dtsi17 lvols = <&scfg 4 0>;
/Zephyr-Core-3.7.0/tests/drivers/pinctrl/gd32/src/
Dmain_af.c16 const struct pinctrl_state *scfg; in ZTEST() local
21 scfg = &pcfg->states[0]; in ZTEST()
23 zassert_equal(scfg->id, PINCTRL_STATE_DEFAULT); in ZTEST()
24 zassert_equal(scfg->pin_cnt, 12U); in ZTEST()
26 pin = scfg->pins[0]; in ZTEST()
34 pin = scfg->pins[1]; in ZTEST()
42 pin = scfg->pins[2]; in ZTEST()
50 pin = scfg->pins[3]; in ZTEST()
58 pin = scfg->pins[4]; in ZTEST()
66 pin = scfg->pins[5]; in ZTEST()
[all …]
Dmain_afio.c16 const struct pinctrl_state *scfg; in ZTEST() local
21 scfg = &pcfg->states[0]; in ZTEST()
23 zassert_equal(scfg->id, PINCTRL_STATE_DEFAULT); in ZTEST()
24 zassert_equal(scfg->pin_cnt, 14U); in ZTEST()
26 pin = scfg->pins[0]; in ZTEST()
32 pin = scfg->pins[1]; in ZTEST()
39 pin = scfg->pins[2]; in ZTEST()
47 pin = scfg->pins[3]; in ZTEST()
58 pin = scfg->pins[4]; in ZTEST()
68 pin = scfg->pins[5]; in ZTEST()
[all …]
/Zephyr-Core-3.7.0/soc/nuvoton/npcx/npcx7/
Dsoc.c18 DT_REG_ADDR_BY_NAME(DT_NODELABEL(scfg), scfg); in soc_npcx7_init()
/Zephyr-Core-3.7.0/soc/nuvoton/npcx/npcx9/
Dsoc.c18 uintptr_t scfg_base = DT_REG_ADDR_BY_NAME(DT_NODELABEL(scfg), scfg); in soc_npcx9_init()
/Zephyr-Core-3.7.0/soc/nuvoton/npcx/common/
Dscfg.c48 .base_scfg = DT_REG_ADDR_BY_NAME(DT_NODELABEL(scfg), scfg),
49 .base_dbg = DT_REG_ADDR_BY_NAME(DT_NODELABEL(scfg), dbg),
50 .base_glue = DT_REG_ADDR_BY_NAME(DT_NODELABEL(scfg), glue),
Dsoc_dt.h408 #define NPCX_SCFG_REG_ADDR DT_REG_ADDR_BY_NAME(DT_NODELABEL(scfg), scfg)
416 #define NPCX_GLUE_REG_ADDR DT_REG_ADDR_BY_NAME(DT_NODELABEL(scfg), glue)
DCMakeLists.txt6 scfg.c
/Zephyr-Core-3.7.0/doc/releases/
Drelease-notes-3.2.rst1262 * :dtcompatible:`nuvoton,npcx-scfg`: removed ``io_port``, ``io_bit``