Home
last modified time | relevance | path

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

123

/AliOS-Things-master/components/ble_host/bt_host/port/core/settings/src/
A Dsettings_store.c35 settings_save_dst = cs; in settings_dst_register()
46 struct settings_store *cs; in settings_load_subtree() local
60 cs->cs_itf->csi_load(cs, &arg); in settings_load_subtree()
87 cs->cs_itf->csi_load(cs, &arg); in settings_load_subtree_direct()
101 cs = settings_save_dst; in settings_save_one()
102 if (!cs) { in settings_save_one()
108 rc = cs->cs_itf->csi_save(cs, name, (char *)value, val_len); in settings_save_one()
126 cs = settings_save_dst; in settings_save()
127 if (!cs) { in settings_save()
132 cs->cs_itf->csi_save_start(cs); in settings_save()
[all …]
A Dsettings_fcb.c26 static int settings_fcb_load(struct settings_store *cs,
28 static int settings_fcb_save(struct settings_store *cs, const char *name,
125 static int settings_fcb_load_priv(struct settings_store *cs, in settings_fcb_load_priv() argument
130 struct settings_fcb *cf = (struct settings_fcb *)cs; in settings_fcb_load_priv()
168 static int settings_fcb_load(struct settings_store *cs, in settings_fcb_load() argument
172 cs, in settings_fcb_load()
303 static int settings_fcb_save_priv(struct settings_store *cs, const char *name, in settings_fcb_save_priv() argument
306 struct settings_fcb *cf = (struct settings_fcb *)cs; in settings_fcb_save_priv()
348 static int settings_fcb_save(struct settings_store *cs, const char *name, in settings_fcb_save() argument
364 settings_fcb_load_priv(cs, settings_line_dup_check_cb, &cdca, false); in settings_fcb_save()
[all …]
A Dsettings_file.c26 static int settings_file_load(struct settings_store *cs,
28 static int settings_file_save(struct settings_store *cs, const char *name,
111 static int settings_file_load_priv(struct settings_store *cs, line_load_cb cb, in settings_file_load_priv() argument
114 struct settings_file *cf = (struct settings_file *)cs; in settings_file_load_priv()
172 static int settings_file_load(struct settings_store *cs, in settings_file_load() argument
175 return settings_file_load_priv(cs, in settings_file_load()
359 static int settings_file_save_priv(struct settings_store *cs, const char *name, in settings_file_save_priv() argument
362 struct settings_file *cf = (struct settings_file *)cs; in settings_file_save_priv()
409 static int settings_file_save(struct settings_store *cs, const char *name, in settings_file_save() argument
425 settings_file_load_priv(cs, settings_line_dup_check_cb, &cdca, false); in settings_file_save()
[all …]
A Dsettings_kv.c21 static int settings_kv_load(struct settings_store *cs,
23 static int settings_kv_save(struct settings_store *cs, const char *name,
95 static int settings_kv_load(struct settings_store *cs, in settings_kv_load() argument
111 static int settings_kv_save(struct settings_store *cs, const char *name, in settings_kv_save() argument
A Dsettings_nvs.c24 static int settings_nvs_load(struct settings_store *cs,
26 static int settings_nvs_save(struct settings_store *cs, const char *name,
67 static int settings_nvs_load(struct settings_store *cs, in settings_nvs_load() argument
71 struct settings_nvs *cf = (struct settings_nvs *)cs; in settings_nvs_load()
131 static int settings_nvs_save(struct settings_store *cs, const char *name, in settings_nvs_save() argument
134 struct settings_nvs *cf = (struct settings_nvs *)cs; in settings_nvs_save()
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/
A Dvj.c245 lcs = cs; cs = cs->cs_next; in vj_compress_tcp()
270 if (cs == lastcs) { in vj_compress_tcp()
421 *cp++ = cs->cs_id; in vj_compress_tcp()
467 struct cstate *cs; in vj_uncompress_uncomp() local
505 struct cstate *cs; in vj_uncompress_tcp() local
552 u32_t i = lwip_ntohs(IPH_LEN(&cs->cs_ip)) - cs->cs_hlen; in vj_uncompress_tcp()
563 tmp = lwip_ntohl(th->seqno) + lwip_ntohs(IPH_LEN(&cs->cs_ip)) - cs->cs_hlen; in vj_uncompress_tcp()
588 IPH_ID_SET(&cs->cs_ip, lwip_ntohs(IPH_ID(&cs->cs_ip)) + 1); in vj_uncompress_tcp()
589 IPH_ID_SET(&cs->cs_ip, lwip_htons(IPH_ID(&cs->cs_ip))); in vj_uncompress_tcp()
612 IPH_LEN_SET(&cs->cs_ip, lwip_htons(n0->tot_len - vjlen + cs->cs_hlen)); in vj_uncompress_tcp()
[all …]
/AliOS-Things-master/components/SDL2/src/thread/windows/
A DSDL_sysmutex.c34 CRITICAL_SECTION cs; member
49 InitializeCriticalSectionEx(&mutex->cs, 2000, 0); in SDL_CreateMutex()
51 InitializeCriticalSectionAndSpinCount(&mutex->cs, 2000); in SDL_CreateMutex()
64 DeleteCriticalSection(&mutex->cs); in SDL_DestroyMutex()
77 EnterCriticalSection(&mutex->cs); in SDL_LockMutex()
90 if (TryEnterCriticalSection(&mutex->cs) == 0) { in SDL_TryLockMutex()
104 LeaveCriticalSection(&mutex->cs); in SDL_UnlockMutex()
/AliOS-Things-master/components/py_engine/engine/drivers/sdcard/
A Dsdcard.py44 self.cs = cs
68 self.cs.init(self.cs.OUT, value=1)
138 self.cs(0)
167 self.cs(1)
172 self.cs(0)
181 self.cs(1)
194 self.cs(1)
198 self.cs(0)
216 self.cs(1)
220 self.cs(0)
[all …]
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/hal/
A Dhal_spi.h40 uint8_t cs; member
60 void hal_ispi_rom_activate_cs(uint32_t cs);
84 int hal_ispi_close(uint32_t cs);
86 void hal_ispi_activate_cs(uint32_t cs);
108 int hal_spi_close(uint32_t cs);
110 int hal_spi_activate_cs(uint32_t cs);
146 int hal_spilcd_close(uint32_t cs);
148 int hal_spilcd_activate_cs(uint32_t cs);
178 int hal_spiphy_close(uint32_t cs);
180 void hal_spiphy_activate_cs(uint32_t cs);
[all …]
A Dhal_phyif.h13 int hal_phyif_open(uint32_t cs);
15 int hal_phyif_close(uint32_t cs);
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/dotzlib/DotZLib/
A DDotZLib.csproj93 RelPath = "AssemblyInfo.cs"
98 RelPath = "ChecksumImpl.cs"
103 RelPath = "CircularBuffer.cs"
108 RelPath = "CodecBase.cs"
113 RelPath = "Deflater.cs"
118 RelPath = "DotZLib.cs"
123 RelPath = "GZipStream.cs"
128 RelPath = "Inflater.cs"
133 RelPath = "UnitTests.cs"
/AliOS-Things-master/components/py_engine/engine/drivers/display/
A Dssd1306.py131 def __init__(self, width, height, spi, dc, res, cs, external_vcc=False): argument
135 cs.init(cs.OUT, value=1)
139 self.cs = cs
151 self.cs(1)
153 self.cs(0)
155 self.cs(1)
159 self.cs(1)
161 self.cs(0)
163 self.cs(1)
/AliOS-Things-master/components/amp/modules/
A Dsh1106.js22 constructor(width, height, spi, dc, res, cs) { argument
28 this.cs = cs;
62 if (this.cs != undefined && this.cs_var == 1) {
63 this.cs.writeValue(0)
74 if (this.cs != undefined && this.cs_var == 1) {
75 this.cs.writeValue(0)
182 if (this.cs != undefined) {
183 this.cs.writeValue(1)
/AliOS-Things-master/components/ble_host/bt_host/include/settings/
A Dsettings.h427 int (*csi_load)(struct settings_store *cs,
442 int (*csi_save_start)(struct settings_store *cs);
449 int (*csi_save)(struct settings_store *cs, const char *name,
460 int (*csi_save_end)(struct settings_store *cs);
474 void settings_src_register(struct settings_store *cs);
482 void settings_dst_register(struct settings_store *cs);
/AliOS-Things-master/components/py_engine/framework/
A Dsh1106.py216 def __init__(self, width, height, spi, dc, res=None, cs=None): argument
220 self.cs = cs
224 if self.cs is not None:
225 self.cs.write(1)
227 self.cs.write(0)
229 self.cs.write(1)
235 if self.cs is not None:
236 self.cs.write(1)
238 self.cs.write(0)
240 self.cs.write(1)
A Dst7789py.py181 cs=None, backlight=None, xstart=-1, ystart=-1, rotation=0): argument
197 self.cs = cs
222 if self.cs:
223 self.cs.off()
231 if self.cs:
232 self.cs.on()
238 if self.cs:
239 self.cs.off()
249 if self.cs:
250 self.cs.on()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/swlib/string/
A Dstrpbrk.c24 _LONG_CALL_ char *_strpbrk(const char *cs, const char *ct) in _strpbrk() argument
28 for (sc1 = cs; *sc1 != '\0'; ++sc1) { in _strpbrk()
A Dstrproc.h36 extern _LONG_CALL_ int _strcmp(const char *cs, const char *ct);
41 extern _LONG_CALL_ int _strncmp(const char *cs, const char *ct, size_t count);
45 extern _LONG_CALL_ char *_strpbrk(const char *cs, const char *ct);
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/dotzlib/
A Dreadme.txt5 for the checksum parts of zlib. See DotZLib/UnitTests.cs for examples.
16 DotZLib\*.cs - Source files for the class library
20 The file DotZLib/UnitTests.cs contains unit tests for use with NUnit 2.1 or higher.
31 DotZLib/UnitTests.cs for instructions on how to include unit tests in the
/AliOS-Things-master/components/drivers/peripheral/spi/include/aos/
A Dspi.h27 uint32_t cs; member
41 .cs = 0, \
/AliOS-Things-master/components/drivers/peripheral/spi/src/
A Dspi_dev.c202 spi_cs_e cs = 0; in _arg_to_cs() local
207 cs = SPI_CS_DIS; in _arg_to_cs()
211 cs = SPI_CS_EN; in _arg_to_cs()
215 return cs; in _arg_to_cs()
246 config->cs = _arg_to_cs(arg); in spi_device_ioctl()
248 … config->role, config->firstbit, config->mode, config->t_mode, config->data_size, config->cs); in spi_device_ioctl()
507 .cs = SPI_CS_EN,
/AliOS-Things-master/components/py_engine/engine/drivers/memory/
A Dspiflash.c77 mp_hal_pin_write(c->bus.u_spi.cs, 0); in mp_spiflash_write_cmd_data()
79 mp_hal_pin_write(c->bus.u_spi.cs, 1); in mp_spiflash_write_cmd_data()
90 mp_hal_pin_write(c->bus.u_spi.cs, 0); in mp_spiflash_transfer_cmd_addr_data()
98 mp_hal_pin_write(c->bus.u_spi.cs, 1); in mp_spiflash_transfer_cmd_addr_data()
112 mp_hal_pin_write(c->bus.u_spi.cs, 0); in mp_spiflash_read_cmd()
115 mp_hal_pin_write(c->bus.u_spi.cs, 1); in mp_spiflash_read_cmd()
165 mp_hal_pin_write(self->config->bus.u_spi.cs, 1); in mp_spiflash_init()
166 mp_hal_pin_output(self->config->bus.u_spi.cs); in mp_spiflash_init()
/AliOS-Things-master/components/py_engine/engine/drivers/bus/
A Dsoftqspi.c29 #define CS_LOW(self) mp_hal_pin_write(self->cs, 0)
30 #define CS_HIGH(self) mp_hal_pin_write(self->cs, 1)
64 mp_hal_pin_high(self->cs); in mp_soft_qspi_ioctl()
65 mp_hal_pin_output(self->cs); in mp_soft_qspi_ioctl()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/api/platform/
A Dplatform_stdlib_rtl8721d.h86 #define strpbrk(cs, ct) _strpbrk(cs, ct) // for B-cut ROM argument
/AliOS-Things-master/components/py_engine/tests/
A Drun-tests49 cs = []
54 cs.append(c)
58 cs.append('\\' + c)
60 cs.append(c)
62 if cs[-1] == '\n':
63 cs[-1] = '\r*\n'
64 return bytes(''.join(cs), 'utf8')

Completed in 39 milliseconds

123