Home
last modified time | relevance | path

Searched refs:cs (Results 1 – 25 of 437) sorted by relevance

12345678910>>...18

/Zephyr-latest/subsys/settings/src/
Dsettings_store.c27 void settings_src_register(struct settings_store *cs) in settings_src_register() argument
29 sys_slist_append(&settings_load_srcs, &cs->cs_next); in settings_src_register()
32 void settings_dst_register(struct settings_store *cs) in settings_dst_register() argument
34 settings_save_dst = cs; in settings_dst_register()
44 struct settings_store *cs; in settings_load_subtree() local
57 SYS_SLIST_FOR_EACH_CONTAINER(&settings_load_srcs, cs, cs_next) { in settings_load_subtree()
58 cs->cs_itf->csi_load(cs, &arg); in settings_load_subtree()
70 struct settings_store *cs; in settings_load_subtree_direct() local
84 SYS_SLIST_FOR_EACH_CONTAINER(&settings_load_srcs, cs, cs_next) { in settings_load_subtree_direct()
85 cs->cs_itf->csi_load(cs, &arg); in settings_load_subtree_direct()
[all …]
Dsettings_fcb.c30 static int settings_fcb_load(struct settings_store *cs,
32 static int settings_fcb_save(struct settings_store *cs, const char *name,
34 static void *settings_fcb_storage_get(struct settings_store *cs);
146 static int settings_fcb_load_priv(struct settings_store *cs, in settings_fcb_load_priv() argument
151 struct settings_fcb *cf = CONTAINER_OF(cs, struct settings_fcb, cf_store); in settings_fcb_load_priv()
189 static int settings_fcb_load(struct settings_store *cs, in settings_fcb_load() argument
193 cs, in settings_fcb_load()
324 static int settings_fcb_save_priv(struct settings_store *cs, const char *name, in settings_fcb_save_priv() argument
327 struct settings_fcb *cf = CONTAINER_OF(cs, struct settings_fcb, cf_store); in settings_fcb_save_priv()
367 static int settings_fcb_save(struct settings_store *cs, const char *name, in settings_fcb_save() argument
[all …]
Dsettings_file.c27 static int settings_file_load(struct settings_store *cs,
29 static int settings_file_save(struct settings_store *cs, const char *name,
31 static void *settings_file_storage_get(struct settings_store *cs);
114 static int settings_file_load_priv(struct settings_store *cs, line_load_cb cb, in settings_file_load_priv() argument
117 struct settings_file *cf = CONTAINER_OF(cs, struct settings_file, cf_store); in settings_file_load_priv()
181 static int settings_file_load(struct settings_store *cs, in settings_file_load() argument
184 return settings_file_load_priv(cs, in settings_file_load()
371 static int settings_file_save_priv(struct settings_store *cs, const char *name, in settings_file_save_priv() argument
374 struct settings_file *cf = CONTAINER_OF(cs, struct settings_file, cf_store); in settings_file_save_priv()
423 static int settings_file_save(struct settings_store *cs, const char *name, in settings_file_save() argument
[all …]
/Zephyr-latest/subsys/bluetooth/host/
Dhci_common.c45 struct bt_hci_evt_cmd_status *cs; in bt_hci_cmd_status_create() local
47 buf = bt_hci_evt_create(BT_HCI_EVT_CMD_STATUS, sizeof(*cs)); in bt_hci_cmd_status_create()
49 cs = net_buf_add(buf, sizeof(*cs)); in bt_hci_cmd_status_create()
50 cs->status = status; in bt_hci_cmd_status_create()
51 cs->ncmd = 1U; in bt_hci_cmd_status_create()
52 cs->opcode = sys_cpu_to_le16(op); in bt_hci_cmd_status_create()
/Zephyr-latest/tests/drivers/spi/dt_spec/src/
Dmain.c21 LOG_DBG("spi_cs.config.cs.gpio.port = %p", spi_cs.config.cs.gpio.port); in ZTEST()
22 LOG_DBG("spi_cs.config.cs.gpio.pin = %u", spi_cs.config.cs.gpio.pin); in ZTEST()
26 zassert_equal(spi_cs.config.cs.gpio.port, DEVICE_DT_GET(DT_NODELABEL(test_gpio)), ""); in ZTEST()
27 zassert_equal(spi_cs.config.cs.gpio.pin, 0x10, ""); in ZTEST()
33 LOG_DBG("spi_no_cs.config.cs.gpio.port = %p", spi_no_cs.config.cs.gpio.port); in ZTEST()
/Zephyr-latest/samples/drivers/spi_bitbang/src/
Dmain.c23 struct spi_cs_control *cs) in test_basic_write_9bit_words() argument
30 config.cs = *cs; in test_basic_write_9bit_words()
50 struct spi_cs_control *cs) in test_9bit_loopback_partial() argument
57 config.cs = *cs; in test_9bit_loopback_partial()
89 void test_8bit_xfer(const struct device *dev, struct spi_cs_control *cs) in test_8bit_xfer() argument
96 config.cs = *cs; in test_8bit_xfer()
/Zephyr-latest/soc/atmel/sam0/common/
Dsoc_samr3x_radio_off.c15 const struct gpio_dt_spec cs = GPIO_DT_SPEC_GET(DT_NODELABEL(sercom4), cs_gpios); in radio_off_setup() local
17 if (!gpio_is_ready_dt(&reset) || !gpio_is_ready_dt(&cs)) { in radio_off_setup()
26 ret = gpio_pin_configure_dt(&cs, GPIO_OUTPUT_INACTIVE); in radio_off_setup()
/Zephyr-latest/include/zephyr/settings/
Dsettings.h445 int (*csi_load)(struct settings_store *cs,
460 int (*csi_save_start)(struct settings_store *cs);
467 int (*csi_save)(struct settings_store *cs, const char *name,
478 int (*csi_save_end)(struct settings_store *cs);
490 void *(*csi_storage_get)(struct settings_store *cs);
499 void settings_src_register(struct settings_store *cs);
507 void settings_dst_register(struct settings_store *cs);
/Zephyr-latest/drivers/fpga/
Dfpga_ice40_bitbang.c82 volatile gpio_port_pins_t *clear, gpio_port_pins_t cs, in fpga_ice40_spi_send_data() argument
89 *clear |= cs; in fpga_ice40_spi_send_data()
113 *set |= cs; in fpga_ice40_spi_send_data()
126 gpio_port_pins_t cs; in fpga_ice40_load() local
146 cs = BIT(config->bus.config.cs.gpio.pin); in fpga_ice40_load()
167 gpio_pin_configure_dt(&config->bus.config.cs.gpio, GPIO_OUTPUT_HIGH) || in fpga_ice40_load()
174 *config_bitbang->clear |= (creset | cs); in fpga_ice40_load()
193 *config_bitbang->set |= cs; in fpga_ice40_load()
203 config_bitbang->clear, cs, clk, pico, (uint8_t *)image_ptr, in fpga_ice40_load()
228 (void)gpio_pin_configure_dt(&config->bus.config.cs.gpio, GPIO_OUTPUT_HIGH); in fpga_ice40_load()
Dfpga_ice40_spi.c41 bus.config.cs.gpio.port = NULL; in fpga_ice40_load()
59 gpio_pin_configure_dt(&config->bus.config.cs.gpio, GPIO_OUTPUT_HIGH); in fpga_ice40_load()
70 ret = gpio_pin_configure_dt(&config->bus.config.cs.gpio, GPIO_OUTPUT_LOW); in fpga_ice40_load()
97 ret = gpio_pin_configure_dt(&config->bus.config.cs.gpio, GPIO_OUTPUT_HIGH); in fpga_ice40_load()
113 ret = gpio_pin_configure_dt(&config->bus.config.cs.gpio, GPIO_OUTPUT_LOW); in fpga_ice40_load()
129 ret = gpio_pin_configure_dt(&config->bus.config.cs.gpio, GPIO_OUTPUT_HIGH); in fpga_ice40_load()
162 (void)gpio_pin_configure_dt(&config->bus.config.cs.gpio, GPIO_OUTPUT_HIGH); in fpga_ice40_load()
/Zephyr-latest/arch/x86/core/ia32/
Dfatal.c51 .cs = ssf_ptr->cs, in arch_syscall_oops()
55 if (oops.cs == USER_CODE_SEG) { in arch_syscall_oops()
153 .cs = CODE_SEG,
179 uint16_t df_esf_cs = _df_esf.cs; in df_handler_bottom()
205 _df_esf.cs = _main_tss.cs; in df_handler_top()
211 _main_tss.cs = CODE_SEG; in df_handler_top()
/Zephyr-latest/tests/bluetooth/host/cs/bt_le_cs_parse_pct/
DCMakeLists.txt10 ${ZEPHYR_BASE}/tests/bluetooth/host/cs/mocks
14 add_subdirectory(${ZEPHYR_BASE}/tests/bluetooth/host/cs/mocks mocks)
22 ${ZEPHYR_BASE}/subsys/bluetooth/host/cs.c
/Zephyr-latest/tests/bluetooth/host/cs/bt_le_cs_step_data_parse/
DCMakeLists.txt10 ${ZEPHYR_BASE}/tests/bluetooth/host/cs/mocks
14 add_subdirectory(${ZEPHYR_BASE}/tests/bluetooth/host/cs/mocks mocks)
22 ${ZEPHYR_BASE}/subsys/bluetooth/host/cs.c
/Zephyr-latest/tests/bluetooth/host/cs/bt_le_cs_set_valid_chmap_bits/
DCMakeLists.txt11 ${ZEPHYR_BASE}/tests/bluetooth/host/cs/mocks
15 add_subdirectory(${ZEPHYR_BASE}/tests/bluetooth/host/cs/mocks mocks)
23 ${ZEPHYR_BASE}/subsys/bluetooth/host/cs.c
/Zephyr-latest/tests/drivers/spi/spi_loopback/
Doverlay-mcux-flexio-spi.overlay11 <&iomuxc_gpio_ad_b0_03_gpio1_io03>, /* cs */
23 <&iomuxc_gpio_ad_b0_02_gpio1_io02>, /* cs */
41 cs-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
59 cs-gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
/Zephyr-latest/drivers/espi/
Despi_saf_mchp_xec.c72 static inline void mchp_saf_cs_descr_wr(MCHP_SAF_HW_REGS *regs, uint8_t cs, in mchp_saf_cs_descr_wr() argument
75 regs->SAF_CS_OP[cs].OP_DESCR = val; in mchp_saf_cs_descr_wr()
78 static inline void mchp_saf_poll2_mask_wr(MCHP_SAF_HW_REGS *regs, uint8_t cs, in mchp_saf_poll2_mask_wr() argument
81 LOG_DBG("%s cs: %d mask %x", __func__, cs, val); in mchp_saf_poll2_mask_wr()
82 if (cs == 0) { in mchp_saf_poll2_mask_wr()
89 static inline void mchp_saf_cm_prefix_wr(MCHP_SAF_HW_REGS *regs, uint8_t cs, in mchp_saf_cm_prefix_wr() argument
92 if (cs == 0) { in mchp_saf_cm_prefix_wr()
346 static void saf_flash_misc_cfg(MCHP_SAF_HW_REGS *regs, uint8_t cs, in saf_flash_misc_cfg() argument
354 if (cs) { in saf_flash_misc_cfg()
366 if (cs) { in saf_flash_misc_cfg()
[all …]
Despi_saf_mchp_xec_v2.c96 static inline void mchp_saf_cs_descr_wr(struct mchp_espi_saf *regs, uint8_t cs, in mchp_saf_cs_descr_wr() argument
99 regs->SAF_CS_OP[cs].OP_DESCR = val; in mchp_saf_cs_descr_wr()
102 static inline void mchp_saf_poll2_mask_wr(struct mchp_espi_saf *regs, uint8_t cs, in mchp_saf_poll2_mask_wr() argument
105 LOG_DBG("%s cs: %d mask %x", __func__, cs, val); in mchp_saf_poll2_mask_wr()
106 if (cs == 0) { in mchp_saf_poll2_mask_wr()
113 static inline void mchp_saf_cm_prefix_wr(struct mchp_espi_saf *regs, uint8_t cs, in mchp_saf_cm_prefix_wr() argument
116 if (cs == 0) { in mchp_saf_cm_prefix_wr()
383 static void saf_flash_misc_cfg(struct mchp_espi_saf * const regs, uint8_t cs, in saf_flash_misc_cfg() argument
391 if (cs) { in saf_flash_misc_cfg()
403 if (cs) { in saf_flash_misc_cfg()
[all …]
/Zephyr-latest/arch/x86/core/
Dfatal.c48 bool z_x86_check_stack_bounds(uintptr_t addr, size_t size, uint16_t cs) in z_x86_check_stack_bounds() argument
66 } else if ((cs & 0x3U) == 0U && in z_x86_check_stack_bounds()
133 uint16_t cs; in walk_stackframe() local
143 cs = esf->cs; in walk_stackframe()
169 sizeof(*frame), cs)) { in walk_stackframe()
235 if ((esf->cs & 0x3) != 0) { in get_cr3()
265 esf->rsp, esf->rflags, esf->cs & 0xFFFFU, get_cr3(esf)); in dump_regs()
278 esf->cs & 0xFFFFU, get_cr3(esf)); in dump_regs()
449 bool was_user = ((esf->cs & 0x3) != 0U); in z_x86_page_fault_handler()
504 if (z_x86_check_stack_bounds(esf_get_sp(esf), 0, esf->cs)) { in z_x86_page_fault_handler()
[all …]
/Zephyr-latest/boards/nxp/mimxrt1050_evk/
Dmimxrt1050_evk_mimxrt1052_hyperflash.dts35 cs-interval-unit = <1>;
36 cs-interval = <2>;
37 cs-hold-time = <0>;
38 cs-setup-time = <3>;
/Zephyr-latest/boards/nxp/mimxrt1060_evk/
Dmimxrt1060_evk_mimxrt1062_hyperflash.dts33 cs-interval-unit = <1>;
34 cs-interval = <2>;
35 cs-hold-time = <0>;
36 cs-setup-time = <3>;
/Zephyr-latest/doc/_extensions/zephyr/domain/static/css/
Dcodesample-livesearch.css5 .cs-search-bar {
13 .cs-search-bar input {
25 .cs-search-bar i {
/Zephyr-latest/include/zephyr/arch/x86/ia32/
Dexception.h48 unsigned int cs; member
56 uint32_t cs; member
/Zephyr-latest/tests/drivers/spi/spi_loopback/boards/
Dintel_rpl_p_crb.overlay10 pw,cs-mode = <0>;
11 pw,cs-output = <0>;
Dintel_rpl_s_crb.overlay10 pw,cs-mode = <0>;
11 pw,cs-output = <0>;
/Zephyr-latest/boards/shields/x_nucleo_idb05a1/
Dx_nucleo_idb05a1.overlay14 cs-gpios = <&arduino_header 1 GPIO_ACTIVE_LOW>; /* A1 */
22 spi-hold-cs;

12345678910>>...18