/nrf52832-nimble/rt-thread/libcpu/mips/loongson_1c/ |
H A D | cache.c | 115 unsigned int start = K0BASE; in invalidate_writeback_dcache_all() local 116 unsigned int end = (start + pcacheinfo->dcache_size); in invalidate_writeback_dcache_all() 118 while (start < end) in invalidate_writeback_dcache_all() 120 Writeback_Invalidate_Dcache(start); //hit writeback invalidate in invalidate_writeback_dcache_all() 121 start += pcacheinfo->dcacheline_size; in invalidate_writeback_dcache_all() 127 unsigned long start, end; in invalidate_writeback_dcache() local 129 start = (addr +pcacheinfo->dcacheline_size -1) & (- pcacheinfo->dcacheline_size); in invalidate_writeback_dcache() 132 while (start <end) in invalidate_writeback_dcache() 134 Writeback_Invalidate_Dcache(start); in invalidate_writeback_dcache() 135 start += pcacheinfo->dcacheline_size; in invalidate_writeback_dcache() [all …]
|
/nrf52832-nimble/rt-thread/libcpu/mips/loongson_1b/ |
H A D | cache.c | 114 unsigned int start = K0BASE; in invalidate_writeback_dcache_all() local 115 unsigned int end = (start + pcacheinfo->dcache_size); in invalidate_writeback_dcache_all() 117 while (start < end) in invalidate_writeback_dcache_all() 119 Writeback_Invalidate_Dcache(start); //hit writeback invalidate in invalidate_writeback_dcache_all() 120 start += pcacheinfo->dcacheline_size; in invalidate_writeback_dcache_all() 126 unsigned long start, end; in invalidate_writeback_dcache() local 128 start = (addr +pcacheinfo->dcacheline_size -1) & (- pcacheinfo->dcacheline_size); in invalidate_writeback_dcache() 131 while (start <end) in invalidate_writeback_dcache() 133 Writeback_Invalidate_Dcache(start); in invalidate_writeback_dcache() 134 start += pcacheinfo->dcacheline_size; in invalidate_writeback_dcache() [all …]
|
/nrf52832-nimble/rt-thread/libcpu/mips/common/ |
H A D | mips_cache.h | 196 rt_ubase_t start = KSEG0BASE; in blast_dcache16() local 197 rt_ubase_t end = start + g_mips_core.dcache_size; in blast_dcache16() 200 for (addr = start; addr < end; addr += g_mips_core.dcache_line_size) in blast_dcache16() 206 rt_ubase_t start = KSEG0BASE; in inv_dcache16() local 207 rt_ubase_t end = start + g_mips_core.dcache_size; in inv_dcache16() 210 for (addr = start; addr < end; addr += g_mips_core.dcache_line_size) in inv_dcache16() 216 rt_ubase_t start = KSEG0BASE; in blast_icache16() local 217 rt_ubase_t end = start + g_mips_core.icache_size; in blast_icache16() 220 for (addr = start; addr < end; addr += g_mips_core.icache_line_size) in blast_icache16()
|
H A D | mips_cache.c | 126 #define dma_cache_wback_inv(start,size) \ argument 127 do { (void) (start); (void) (size); } while (0) 128 #define dma_cache_wback(start,size) \ argument 129 do { (void) (start); (void) (size); } while (0) 130 #define dma_cache_inv(start,size) \ argument 131 do { (void) (start); (void) (size); } while (0)
|
/nrf52832-nimble/rt-thread/components/drivers/spi/ |
H A D | spi_msd.h | 52 /* Start Data tokens */ 54 #define MSD_TOKEN_READ_START 0xFE /* Data token start byte, Start Single Block Read… 55 #define MSD_TOKEN_WRITE_SINGLE_START 0xFE /* Data token start byte, Start Single Block Writ… 57 #define MSD_TOKEN_WRITE_MULTIPLE_START 0xFC /* Data token start byte, Start Multiple Block Wr…
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/controller/src/ |
H A D | ble_ll_sched.c | 75 * schedule items can end and start at the same time. 172 /* Set schedule start and end times */ in ble_ll_sched_conn_reschedule() 336 * earliest possible time that the master can start the connection with a in ble_ll_sched_master_new() 352 * schedule start time is determined, the master has to determine if this in ble_ll_sched_master_new() 355 * from the earliest possible time to when the actual transmit start will in ble_ll_sched_master_new() 357 * transmission start has to occur within the transmit window. The transmit in ble_ll_sched_master_new() 361 * exact start of the transmission and if we are too early or too late we in ble_ll_sched_master_new() 363 * start (the anchor point) is sched offset ticks from the schedule start in ble_ll_sched_master_new() 367 * we are transmitting 1253 usecs from the earliest start. This would cause in ble_ll_sched_master_new() 415 * Are there any allocated periods? If not, set epoch start to earliest in ble_ll_sched_master_new() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ipv6/ |
H A D | ip6_frag.c | 94 PACK_STRUCT_FIELD(u16_t start); 158 if (iprh->start == 0) { in ip6_reass_free_complete_datagram() 277 u16_t offset, len, start, end; in ip6_reass() local 309 start = (offset & IP6_FRAG_OFFSET_MASK); in ip6_reass() 310 if (start > (0xFFFF - len)) { in ip6_reass() 428 end = (u16_t)(start + len); in ip6_reass() 435 if (start < iprh_tmp->start) { in ip6_reass() 437 if (end > iprh_tmp->start) { in ip6_reass() 443 if (start < iprh_prev->end) { in ip6_reass() 460 } else if (start == iprh_tmp->start) { in ip6_reass() [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/uffs/src/emu/ |
H A D | cmdline.c | 80 * return pointer to start of new command line 436 static BOOL match_cmd(const char *src, int start, int end, const char *des) in match_cmd() argument 438 while (src[start] == ' ' && start < end) in match_cmd() 439 start++; in match_cmd() 441 while (src[end] == ' ' && start < end) in match_cmd() 444 if ((int)strlen(des) == (end - start + 1)) { in match_cmd() 445 if (memcmp(src + start, des, end - start + 1) == 0) { in match_cmd() 455 int start, end; in check_cmd() local 457 for (start = end = 0; cmds[end] != 0 && cmds[end] != '|'; end++); in check_cmd() 459 while (end > start) { in check_cmd() [all …]
|
H A D | test_cmds.c | 634 * usage: t_pfs <start> <n> 639 * 1) create <n> files under <start>, write full file name as file content 640 * 2) list files under <start>, check files are all listed once 646 const char *start = "/"; in cmd_TestPopulateFiles() local 660 start = argv[1]; in cmd_TestPopulateFiles() 670 sprintf(name, "%sFile%03d", start, i); in cmd_TestPopulateFiles() 687 sprintf(name, "%sFile%03d", start, i); in cmd_TestPopulateFiles() 698 dirp = uffs_opendir(start); in cmd_TestPopulateFiles() 700 MSGLN("Can't open dir %s !", start); in cmd_TestPopulateFiles() 709 memcmp(ent->d_name, "File", strlen("File")) == 0) { // file name start with "File" in cmd_TestPopulateFiles() [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/apps/btshell/src/ |
H A D | cmd_gatt.c | 55 console_printf("invalid 'conn start end' parameter\n"); in cmd_gatt_discover_characteristic() 92 console_printf("invalid 'conn start end' parameter\n"); in cmd_gatt_discover_descriptor() 234 uint16_t start; in cmd_gatt_read() local 285 start = parse_arg_uint16("start", &rc); in cmd_gatt_read() 287 start = 0; in cmd_gatt_read() 289 console_printf("invalid 'start' parameter\n"); in cmd_gatt_read() 318 if (start == 0 || end == 0) { in cmd_gatt_read() 321 rc = btshell_read_by_uuid(conn_handle, start, end, &uuid.u); in cmd_gatt_read() 343 uint16_t start; in cmd_gatt_service_changed() local 352 start = parse_arg_uint16("start", &rc); in cmd_gatt_service_changed() [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/jffs2/src/ |
H A D | gc.c | 35 uint32_t start, uint32_t end); 38 uint32_t start, uint32_t end); 119 * start erasing one eraseblock. 137 /* We can't start doing GC yet. We haven't finished checking in jffs2_garbage_collect_pass() 301 by the time we actually start doing any GC, and since in jffs2_garbage_collect_pass() 322 /* And because we dropped the alloc_sem we must start again from the in jffs2_garbage_collect_pass() 386 /* If we've finished this block, start it erasing */ in jffs2_garbage_collect_pass() 409 uint32_t start = 0, end = 0, nrfrags = 0; in jffs2_garbage_collect_live() local 445 start = frag->ofs; in jffs2_garbage_collect_live() 461 if((start >> PAGE_CACHE_SHIFT) < ((end-1) >> PAGE_CACHE_SHIFT)) { in jffs2_garbage_collect_live() [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/drivers/nrf52/src/ |
H A D | ble_phy.c | 146 /* packet start offsets (in usecs) */ 154 /* delay between EVENTS_READY and start of tx */ 266 /* Packet start offset (in usecs). This is the preamble plus access address. 506 * We need to adjust start time to include radio ramp-up and TX pipeline in ble_phy_set_start_time() 536 * Can we set the RTC compare to start TIMER0? We can do it if: in ble_phy_set_start_time() 563 /* Set RTC compare to start TIMER0 */ in ble_phy_set_start_time() 594 * Set RTC compare to start TIMER0. We need to set it to at least N+2 ticks in ble_phy_set_start_now() 610 * less than N+2) so in rare cases actual start time may be 2 ticks earlier in ble_phy_set_start_now() 644 /* RX shall start exactly T_IFS after TX end captured in CC[2] */ in ble_phy_wfr_enable() 651 * It's possible that we'll capture PDU start time at the end of timer in ble_phy_wfr_enable() [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/pts/ |
H A D | pts-gatt.txt | 34 b find inc_svcs conn=<handle> start=1 end=0xffff 40 b disc chr conn=<handle> start=<start hdl> end=<end hdl> 47 b disc chr conn=<handle> uuid=<uuid> start=<start hdl> end=<end hdl> 54 b disc chr conn=<handle> start=<start-hdl> end=<end-hdl> 55 b disc dsc conn=<handle> start=<start-hdl> end=<end-hdl> 88 b read conn=<handle> uuid=<uuid> start=1 end=0xffff 93 b read conn=<handle> uuid=<uuid> start=<start hdl> end=<end hdl> 97 b read conn=<handle> uuid=<uuid> start=<start hdl> end=<end hdl> 101 b read conn=<handle> uuid=<uuid> start=<start hdl> end=<end hdl> 105 b read conn=<handle> uuid=<uuid> start=<start hdl> end=<end hdl> [all …]
|
/nrf52832-nimble/rt-thread/components/drivers/i2c/ |
H A D | i2c-bit-ops.c | 43 rt_tick_t start; in SCL_H() local 50 start = rt_tick_get(); in SCL_H() 53 if ((rt_tick_get() - start) > ops->timeout) in SCL_H() 58 if (rt_tick_get() != start) in SCL_H() 61 rt_tick_get() - start); in SCL_H() 297 bit_dbg("send start condition\n"); in i2c_send_address() 341 bit_dbg("send repeated start condition\n"); in i2c_bit_send_address() 376 bit_dbg("send start condition\n"); in i2c_bit_xfer()
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/apps/tftp/ |
H A D | tftp_port.c | 74 rt_kprintf("TFTP server start successfully.\n"); in tftp_server() 78 rt_kprintf("TFTP server start failed.\n"); in tftp_server() 81 FINSH_FUNCTION_EXPORT(tftp_server, start tftp server.); 84 MSH_CMD_EXPORT(tftp_server, start tftp server.);
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/tftp/ |
H A D | tftp_port.c | 74 rt_kprintf("TFTP server start successfully.\n"); in tftp_server() 78 rt_kprintf("TFTP server start failed.\n"); in tftp_server() 81 FINSH_FUNCTION_EXPORT(tftp_server, start tftp server.); 84 MSH_CMD_EXPORT(tftp_server, start tftp server.);
|
/nrf52832-nimble/rt-thread/libcpu/ppc/ppc405/ |
H A D | cache.h | 7 void flush_dcache_range(unsigned long start, unsigned long stop); 8 void clean_dcache_range(unsigned long start, unsigned long stop); 9 void invalidate_dcache_range(unsigned long start, unsigned long stop);
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/jffs2/cyg/compress/src/ |
H A D | Make_vms.com | 196 $ start = f$locate("=",cparm) + 1 197 $ len = f$length(cparm) - start 198 $ ccopt = ccopt + f$extract(start,len,cparm) 205 $ start = f$locate("=",cparm) + 1 206 $ len = f$length(cparm) - start 207 $ lopts = lopts + f$extract(start,len,cparm) 211 $ start = f$locate("=",cparm) + 1 212 $ len = f$length(cparm) - start 213 $ cc_com = f$extract(start,len,cparm) 228 $ start = f$locate("=",cparm) + 1 [all …]
|
/nrf52832-nimble/rt-thread/libcpu/arm/lpc24xx/ |
H A D | start_gcc.S | 74 * rtthread kernel start and end 86 * rtthread bss start and end which are defined in linker script 126 ldr r1, =_sidata /* .data start in image */ 128 ldr r3, =_sdata /* sram data start */ 141 ldr r1,=__bss_start /* bss start */ 164 /* start RT-Thread Kernel */
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/ipv6/ |
H A D | ip6_frag.c | 92 PACK_STRUCT_FIELD(u16_t start); 156 if (iprh->start == 0) { in ip6_reass_free_complete_datagram() 391 iprh->start = (offset & IP6_FRAG_OFFSET_MASK); in ip6_reass() 399 if (iprh->start < iprh_tmp->start) { in ip6_reass() 401 if (iprh->end > iprh_tmp->start) { in ip6_reass() 408 if (iprh->start < iprh_prev->end) { in ip6_reass() 426 } else if (iprh->start == iprh_tmp->start) { in ip6_reass() 431 } else if (iprh->start < iprh_tmp->end) { in ip6_reass() 440 if (iprh_prev->end != iprh_tmp->start) { in ip6_reass() 457 LWIP_ASSERT("check fragments don't overlap", iprh_prev->end <= iprh->start); in ip6_reass() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ipv4/ |
H A D | ip4_frag.c | 100 PACK_STRUCT_FIELD(u16_t start); 179 if (iprh->start == 0) { in ip_reass_free_complete_datagram() 371 iprh->start = offset; in ip_reass_chain_frag_into_datagram_and_validate() 382 if (iprh->start < iprh_tmp->start) { in ip_reass_chain_frag_into_datagram_and_validate() 388 if ((iprh->start < iprh_prev->end) || (iprh->end > iprh_tmp->start)) { in ip_reass_chain_frag_into_datagram_and_validate() 394 if (iprh_prev->end != iprh->start) { in ip_reass_chain_frag_into_datagram_and_validate() 401 if (iprh->end > iprh_tmp->start) { in ip_reass_chain_frag_into_datagram_and_validate() 410 } else if (iprh->start == iprh_tmp->start) { in ip_reass_chain_frag_into_datagram_and_validate() 414 } else if (iprh->start < iprh_tmp->end) { in ip_reass_chain_frag_into_datagram_and_validate() 421 if (iprh_prev->end != iprh_tmp->start) { in ip_reass_chain_frag_into_datagram_and_validate() [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/porting/nimble/include/hal/ |
H A D | hal_timer.h | 80 * Config a HW timer at the given frequency and start it. If the exact 136 * Start a timer that will expire in 'ticks' ticks. Ticks cannot be 0 138 * @param tmr The timer to start 146 * Start a timer that will expire when the timer reaches 'tick'. If tick 150 * @param tmr The timer to start
|
/nrf52832-nimble/rt-thread/components/net/lwip_dhcpd/ |
H A D | dhcp_server_raw.c | 120 ip4_addr_t start; member 254 ipaddr = ntohl(dhcpserver->start.addr); in dhcp_client_alloc() 599 * start dhcp server for a netif 602 * @param start The Start IP address 609 dhcp_server_start(struct netif *netif, ip4_addr_t *start, ip4_addr_t *end) in dhcp_server_start() argument 618 dhcp_server->start = *start; in dhcp_server_start() 620 dhcp_server->current = *start; in dhcp_server_start() 642 dhcp_server->start = *start; in dhcp_server_start() 644 dhcp_server->current = *start; in dhcp_server_start()
|
/nrf52832-nimble/rt-thread/components/net/uip/uip/ |
H A D | uip_timer.c | 68 t->start = clock_time(); in timer_set() 75 * given to the timer_set() function. The start point of the interval 87 t->start += t->interval; in timer_reset() 94 * given to the timer_set() function. The timer will start at the 107 t->start = clock_time(); in timer_restart() 189 if ((clock_time() - t->start) >= (clock_time_t)t->interval) in timer_expired()
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/ipv4/ |
H A D | ip4_frag.c | 96 PACK_STRUCT_FIELD(u16_t start); 175 if (iprh->start == 0) { in ip_reass_free_complete_datagram() 359 iprh->start = offset; in ip_reass_chain_frag_into_datagram_and_validate() 366 if (iprh->start < iprh_tmp->start) { in ip_reass_chain_frag_into_datagram_and_validate() 372 if ((iprh->start < iprh_prev->end) || (iprh->end > iprh_tmp->start)) { in ip_reass_chain_frag_into_datagram_and_validate() 383 } else if (iprh->start == iprh_tmp->start) { in ip_reass_chain_frag_into_datagram_and_validate() 387 } else if (iprh->start < iprh_tmp->end) { in ip_reass_chain_frag_into_datagram_and_validate() 394 if (iprh_prev->end != iprh_tmp->start) { in ip_reass_chain_frag_into_datagram_and_validate() 411 LWIP_ASSERT("check fragments don't overlap", iprh_prev->end <= iprh->start); in ip_reass_chain_frag_into_datagram_and_validate() 414 if (iprh_prev->end != iprh->start) { in ip_reass_chain_frag_into_datagram_and_validate() [all …]
|